ADLENGINE BUILD 1.1.55.1i... NOW LIVE!


ADLENGINE BUILD 1.1.55.1i... NOW LIVE!

31 AUGUST - LORD SHARPE
-------------------------------------------------
-------------------------------------------------

WHAT'S NEW?

-------------------------------------------------
-------------------------------------------------

SHOWDATA:

show / hide data for the game...
showdata

-------------------------------------------------

IN-GAME SCRIPT EDITOR:

Launch using:
.editor

Scripts can be exported, stored as a local script (only works in that location) OR global (works anywhere)

all script entries must be terminated with ;

to run stored scripts use the do command which matches the name of the script. you can also import .verbose scripts into the editor (allowing external creation) using the file choose dialog.

you can also start / stop scripts (which enables / disables them)

stop scriptname
start scriptname

-------------------------------------------------

YOU CAN NOW SET VARIABLES:

Variables can be set to numbers, strings, other variables, object / player / target properties... for example..

#boo=100
#boo=baa
#boo=player.health
#boo=orc.health
#boo=target.strength

-------------------------------------------------

AND MANIPULATE THEM:

#baa=10

Minusing:
#boo-baa
#boo-10

Dividing:
#boo/baa
#boo/10

Multiplying:
#boo*baa
#boo*100

Adding:
#boo+baa
#boo+50

Appending (stringing sentences together)
#boo=hello
#baa=there
#boo&baa

Result: hello there

-------------------------------------------------

QUERYING VARIABLES

Equal To:
random 1xd6
#rolled=random
?rolled=1:narrate you escaped!narrate you were caught

the : indicates what to do if TRUE, ! indicates FALSE. IF you dont put anything for either of these two values it wont do anything, but both must be present...

For example:
?rolled=1:narrate you escaped!narrate you were caught [BOTH ACTIVE]
?rolled=1:narrate you escaped! [TRUE ONLY]
?rolled=1:!narrate you escaped [FALSE ONLY]
?rolled=0:! [NULL]

Less Than:
#isalive=target.health
?isalive<1:narrate it died!

More Than:
random 2xd6
#rolled=random
?rolled>4:narrate you scaled the ladder!narrate the ladder broke under your feet

Not Equal To:
random 2xd6
#rolled=random
?rolledx12:narrate nothing happened!you triggered the trap

-------------------------------------------------

ROLLING DICE

The random command can be used to roll a number of dice. The 1 below indicates the number of dice, which could be any number. The 6 below indicates the number of sides on each dice.

random 1xd6
random 2xd20

Once you have rolled the dice, the rolled value can be stored in a variable for further use / querying.

i.e.

#rolled=random
#strengthtest=random

You can then use this variable in setting / querying properties and more.

RANDOM CHOICE

The random choice command allows you to choose between a set number of strings / numbers i.e. you can specify up to 16 values currently.

choose 1,2,3,4,5,6

orchoose a,b,c,d,e,f

For example: you could choose a random encounter.

choose rat,goblin,orc,mummy

or choose a random sentence of a similar nature to vary the text... i.e.

choose you disarm the trap,you disable the trap, your expertise cancels out the trap.

You can then set this to a variable:
#result=chosen

Then you can either narrate it, append it, or query it.

You CAN also set commands to choose from i.e.

choose look, force n, drop skull

-------------------------------------------------

SETTING OBJECT PROPERTIES:
gun.ammo=10

-------------------------------------------------

SETTING PROPERTIES OF "YOUR" PLAYER:
player.health=100

-------------------------------------------------

SETTING PROPERTIES OF "OTHER" CHARS / OBJECTS:
focus orc
target.health=100 (or) orc.health=100

IF a property doesn't exist it will be created.

target orc is used when playing to target a specific creature to attack
focus orc is used in scripting... (no feedback - just points to the object you want to focus certain scripting commands on)

-------------------------------------------------

Lets say we want to attack an orc and have it receive damage.

focus orc
random 1xd6
#dam=random
target.healh-dam
?dam=6:narrate you score a critical hit!

-------------------------------------------------
-------------------------------------------------

BUG FIXES / AMENDS:

-------------------------------------------------
-------------------------------------------------

NEW COMMAND: object is unequipable / object is not unequipable
NEW COMMAND: object is readable / object is not readable
FIX: help command now launches manual in a new browser window!
FIX: narrate command now accepts variables. i.e. narrate health
FIX: player data moves with the player
FIX: blank entries for specific commands i.e. drop are no longer processed and return "you can't drop that" etc..
FIX: custom commands can no longer be called outside of creative mode.
FIX: removed debug feedback for query (?) command
FIX: start.verbose is now present (now detectable) - place anything in here you want to run when the engine has finished launching.

-------------------------------------------------

~ Liam

Get ADLENGINE - Roleplay / Text Adventure Engine

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.