mirror of
https://github.com/ganelson/inform.git
synced 2024-07-05 00:24:22 +03:00
Added BANISH debugging command
This commit is contained in:
parent
153766ec77
commit
fe3dc5dbf1
|
@ -45,6 +45,16 @@ ACTIONS turns tracing of actions on.
|
||||||
[ ActionsOnSub; trace_actions = 1; say__p = 1; "Actions listing on."; ];
|
[ ActionsOnSub; trace_actions = 1; say__p = 1; "Actions listing on."; ];
|
||||||
[ ActionsOffSub; trace_actions = 0; say__p = 1; "Actions listing off."; ];
|
[ ActionsOffSub; trace_actions = 0; say__p = 1; "Actions listing off."; ];
|
||||||
|
|
||||||
|
@h Banish Command.
|
||||||
|
Like ABSTRACT, except that it removes something from play.
|
||||||
|
|
||||||
|
=
|
||||||
|
[ XBanishSub;
|
||||||
|
if (XTestMove(noun, nothing)) return;
|
||||||
|
remove noun;
|
||||||
|
say__p = 1; "[Banished.]";
|
||||||
|
];
|
||||||
|
|
||||||
@h Gonear Command.
|
@h Gonear Command.
|
||||||
GONEAR teleports the player to the vicinity of some named item.
|
GONEAR teleports the player to the vicinity of some named item.
|
||||||
|
|
||||||
|
@ -540,6 +550,8 @@ not picked up) and able to accept multiple objects.
|
||||||
|
|
||||||
Verb meta 'abstract'
|
Verb meta 'abstract'
|
||||||
* scope=testcommandnoun 'to' scope=testcommandnoun -> XAbstract;
|
* scope=testcommandnoun 'to' scope=testcommandnoun -> XAbstract;
|
||||||
|
Verb meta 'banish'
|
||||||
|
* scope=testcommandnoun -> XBanish;
|
||||||
Verb meta 'actions'
|
Verb meta 'actions'
|
||||||
* -> ActionsOn
|
* -> ActionsOn
|
||||||
* 'on' -> ActionsOn
|
* 'on' -> ActionsOn
|
||||||
|
|
Loading…
Reference in a new issue