Do widget

The do widget is the macro that handles most links in Incubus City. It was first introduced in v1.5 probably.

Conditions
Links can be set to display under certain conditions.

Operators

 * < : less than
 * > : greater than
 * <= : less than or equal
 * >= : greater than or equal
 * = : equals
 * != : does not equal

Shorthand variables

 * hypno : Checking hypno level.
 * incubus : Checking 'inhuman nature' level.
 * brutal : Checking brutality level.
 * sex : Checking sexual ability.
 * money : Checking money havingness.
 * morality : I'm not sure if this one works.

Examples
<7 >> <5 brutal<=9 >>

Other conditions

 * have&#58;ITEMKEY	: checks if have item
 * !have&#58;ITEMKEY	: checks if don't have item
 * lose&#58;ITEMKEY	: checks if have item, which you'll lose on press
 * gain&#58;ITEMKEY	: gain item on press
 * pay&#58;AMT	: checks if have money amount and takes it on press
 * paid&#58;AMT	: gives money amount on press

Note: The 'item keys' are: gun, chemicals, drugs, dropper, sponge, fob, gear, tokenbox, keycard, mellow, some other stuff I forget.

Actions
These act as commands, telling the game what to do when the link is pressed.


 * goto&#58;WHERE	: where to send on press, default is current passage
 * set&#58;VAR&#58;VAL	: sets $VAR to VAL
 * change&#58;VAR&#58;VAL : adds VAL to $VAR, both must be numbers, use negatives to subtract from $VAR
 * icon&#58;ICONKEY	: shows icon to left instead of raquo
 * choice&#58;STRING	: sets $CHOICE to "STRING"
 * topic&#58;STRING	: adds "STRING" to $TOPICS

Formatting
Affects how links look.


 * icon : sets the icon next to the link, default is raquo or something related to its conditions (eg item used, hypno symbol, etc) - picks icons from images/items/~.png and images/misc/icon_~.png (the latter folder only if prefixed by "icon_").
 * failhide : hides it if conditions fail
 * failhidereason : hides the auto-generated explanation in parenthesis the game makes for the link failing to qualify due to conditions specified
 * failjumble : jumbles it if the link fails to qualify due to conditions specified
 * inline : makes it an inline link
 * class&#58;CLASSNAME : adds a class to the link element
 * isquote : makes the link a quote, like POV is saying it
 * sayonce : or is it justonce? it will only be clickable once