Almost a no-operation. Certain variable/subfield combinations for characters
change some attribute about the character. nop allows those changes to be used
legally on lines that do not need to process the result.
* this returns the amount of gold on the actor
%echo% %actor.name% has %actor.gold% gold coins.
* this will award the actor with 10 gold
nop %actor.gold(10)%
* this takes away 10 experience
nop %actor.exp(-10)%
* or you can use a defined variable
set number %random.40%
nop %actor.exp(%number%)%
* Experience can be modified up to 1000 Xp.
Can also be used to turn flags on or off:
nop %actor.is_killer(on)%
nop %actor.is_thief(off)%
Player positions including sleeping, resting, sitting, fighting, and standing
can be set by:
nop %self.pos(sleeping)%
nop %actor.pos(sitting)%
Examples: TSTAT 1399, 20997
See also:: MEDIT-POSITIONS