RCRPG/Inform 7: Difference between revisions

Content added Content deleted
(→‎Code: sledge damage, "sledging with", moved "every turn" rule for equipped items)
m (→‎Code: wrapped)
Line 265: Line 265:


Definition: a thing is accessible if the location of it is a connected room.
Definition: a thing is accessible if the location of it is a connected room.
Definition: a room is connected if the number of moves from it to the location is not -1.
Definition: a room is connected if the number of moves from it to the location
is not -1.


Carry out sledging when a random chance of 1 in 4 succeeds and an unequipped sledge is accessible:
Carry out sledging when a random chance of 1 in 4 succeeds and an unequipped
sledge is accessible:
remove the active sledge from play.
remove the active sledge from play.