WIP scanning, analysis and AST todo
This commit is contained in:
@@ -1,4 +1,32 @@
|
||||
[Duct Tape]
|
||||
d:The tape that does it all.
|
||||
DuctTape:
|
||||
str="Duct Tape"
|
||||
status=[.Full, .Empty]
|
||||
location=Warehouse
|
||||
|
||||
[Flash Light]
|
||||
FlashLight:
|
||||
str="Flash Light"
|
||||
status=[.Bright, .Dead, .Broken]
|
||||
_onExamine:
|
||||
if $self.status = .Bright:
|
||||
A handy tool for seeing your way out.
|
||||
else if $self.status = .Dead:
|
||||
A handy tool for seeing your way out, unfortunately its out of batteries.
|
||||
else:
|
||||
A handy tool for seeing your way out, unfortunately its busted.
|
||||
|
||||
_onUse:
|
||||
if $context.args.contains(Batteries) and $self.status = .Dead:
|
||||
$self.status = .Bright
|
||||
$player.inventory.remove(Batteries)
|
||||
|
||||
You screw the back on tight, and the light comes on!
|
||||
_onFix:
|
||||
if $context.args.contains(DuctTape) and $self.status = .Broken:
|
||||
$self.status = .Dead
|
||||
$DuctTape.status = .Empty
|
||||
|
||||
Nothing duct tape cant fix! The flashlight just needs some power.
|
||||
|
||||
Batteries:
|
||||
_onExamine:
|
||||
Energized little cylinders, good for something...
|
||||
|
||||
Reference in New Issue
Block a user