Posted February 28, 2018 by Liam Twose @ #PitchYaGame
UPDATE 1.1.60.7
28 FEBRUARY - LORD SHARPE Updates in 1.1.60.7
// NEW CHOOSE YOUR ADVENTURE FUNCTIONALITY //
You enable CYOA mode per room. Which gives 1-4 choice buttons.
room is cyoa
You can turn on / off choices using
To set the text of a choice;
When you set the text it will default the command to the same as you wrote for the text, for example take dirt, would run the command take dirt.
To manually set what command a choice calls;
They can be used to call single commands OR run scripts using;
// NEW ON-START SCRIPT //
If script on-start is found it will be run AFTER the level has loaded. Create this script using the in-built editor;
editor
// THEME EDITING / MANIPULATION //
All major theme elements can be edited now. To list them use;
You can then edit / delete any theme element listed: i.e.
etc
// ADVANCED SCRIPTING //
Added new commands to fetch / filter data.
The fetch commands grab all data matching your query preparing it for filtering.
Use the filter commands to prepare data for filtering.
Once you have the filtered data you can then use the strip command to keep what you want, please note the aim is to finish up with a single piece of data. You will get a warning if you have no results OR too results are too broad.
e.g.
This will return the key ie. '0|0|0|obj-box-islocked' and the value ie 'y'
You can then access this data with the following %special%.