WIP scanning, analysis and AST todo
This commit is contained in:
@@ -1 +1,25 @@
|
||||
[Bathroom]
|
||||
Bathroom:
|
||||
washed=false
|
||||
|
||||
_onEnter:
|
||||
Its a normal bathroom.
|
||||
if not $washed:
|
||||
Should probably wash up.
|
||||
|
||||
_onLook:
|
||||
Bathroom complete with sink, faucet, the whole lot.
|
||||
|
||||
_onWash:
|
||||
$washed=true
|
||||
Nice cold water.
|
||||
|
||||
_beforeOnWash:
|
||||
if $washed:
|
||||
You dont need to wash again.
|
||||
_block
|
||||
|
||||
_afterOnWash:
|
||||
if not $previous.bathroom.washed:
|
||||
You feel refreshed.
|
||||
<pause2>
|
||||
Time to get to work.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
[Bathroom]
|
||||
Reference in New Issue
Block a user