1.1.60.7 - CYOA / THEME / ADVANCED FILTER COMMANDS


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

  • cyoa 1 is on / off
  • cyoa 2 is on / off
  • cyoa 3 is on / off
  • cyoa 4 is on / off

To set the text of a choice;

  • 1 is ...
  • 2 is ...
  • 3 is ...
  • 4 is ...

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;

  • 1 does ...
  • 2 does ...
  • 3 does ...
  • 4 does ... 

They can be used to call single commands OR run scripts using;

 

  • do ...

// 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;

  • listui

You can then edit / delete any theme element listed: i.e.

  • {text-debug}.delete
  • {image-main}.width=800
  • {image-main}.width=600

etc

// ADVANCED SCRIPTING //

Added new commands to fetch / filter data.

  • fetchlocal ____
  • fetchglobal ____
  • fetchprivate _____

The fetch commands grab all data matching your query preparing it for filtering.

Use the filter commands to prepare data for filtering.

  • filterlocal ____
  • filterglobal ____
  • filterprivate ____

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.

  • keep ____

e.g.

  • fetchlocal box
  • filterlocal box
  • keep -islocked

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%.

  • %SYS[FILTERKEY] for the kept key
  • %SYS[FILTERVALUE] for the kept value

Files

embed.zip 35 MB
Feb 28, 2018
WEBFILES - 1.1.60.7.tar.gz 36 MB
Feb 28, 2018
WEBFILES - 1.1.60.7.zip 36 MB
Feb 28, 2018
win32.zip 91 MB
Feb 28, 2018
win64.zip 94 MB
Feb 28, 2018
MACOSX - DIRECT 1.1.60.7 (EXPERIMENTAL)
Feb 26, 2018
LINUX - DIRECT 1.1.60.7 (EXPERIMENTAL)
Feb 26, 2018

Get ADLENGINE - Roleplay / Text Adventure Engine

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.