Persephone
Example 65
★★★If we wanted, we might replace the rule for taking inventory as follows:
"Persephone"
Instead of taking inventory:
say "[if the player carries something][We]['re] carrying [a list of things carried by the player][otherwise][We]['re] empty-handed";
say "[if the player wears something]. [We]['re] wearing [a list of things worn by the player][end if]."
The Fancy Party is a room. The player carries a sword, a strawberry stem, and 20 credits worth of platinum. The player wears a sash indicating lordhood.
Test me with "i / take off sash / i / drop all / i".
Test me with "i / take off sash / i / drop all / i".
Fancy Party
>(Testing.)
>[1] i
You're carrying a sword, a strawberry stem and 20 credits worth of platinum. You're wearing a sash indicating lordhood.
>[2] take off sash
You take off the sash indicating lordhood.
>[3] i
You're carrying a sword, a strawberry stem, 20 credits worth of platinum and a sash indicating lordhood.
>[4] drop all
sword: Dropped.
strawberry stem: Dropped.
20 credits worth of platinum: Dropped.
sash indicating lordhood: Dropped.
>[5] i
You're empty-handed.
>(Testing.)
>[1] i
You're carrying a sword, a strawberry stem and 20 credits worth of platinum. You're wearing a sash indicating lordhood.
>[2] take off sash
You take off the sash indicating lordhood.
>[3] i
You're carrying a sword, a strawberry stem, 20 credits worth of platinum and a sash indicating lordhood.
>[4] drop all
sword: Dropped.
strawberry stem: Dropped.
20 credits worth of platinum: Dropped.
sash indicating lordhood: Dropped.
>[5] i
You're empty-handed.