33 lines
876 B
Plaintext
33 lines
876 B
Plaintext
DuctTape:
|
|
str="Duct Tape"
|
|
status=[.Full, .Empty]
|
|
location=Warehouse
|
|
|
|
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...
|