I want the player to be able to wash things (only himself, currently) in a river or other water source (checking whether something is large enough to wash in will come later, if I decide to make more things in different sizes washable). I am basing this on the Eddystone example, and currently have [code]A thing can be dirty or clean. A thing is usually clean. The player is dirty.
A thing can be wet or dry. A thing is usually dry.
Instead of examining the player:
say “[if dirty]You are tired and worn from your travels, and your outward appearance reflects that. [otherwise if clean]You are still tired, but no one could guess that just by looking at you. [end if]”.
Understand “wash [something] in [something]” as cleaning it in. Cleaning it in is an action applying to two things.
Instead of washing something, say “Try specifying you want to wash [the noun] in.”
Check cleaning it in: if the noun is not dirty, say “[The noun] is already clean. Why wash it?” instead; if the noun is a person, say “You doubt [if the noun is female]she[otherwise if the noun is male]he[otherwise][the noun][end if] would appreciate that.” instead; if the second noun is dry, say “You cannot wash [the noun] in the dry [second noun].” instead.
Carry out cleaning it in:
The noun is now clean.
Report cleaning it in: say “You wash [the noun] in [the second noun], removing the dirt and grime.”[/code] This mostly works, but the line “Instead of washing something, say ‘Try specifying you want to wash [the noun] in.’” is giving me problems. In Eddystone this was used to see if the player left off the direction to turn the light towards, but I cannot figure out how to change it for my purposes, as the line I have now gives me an error:
Also, how would I allow the player to wash himself now that I have prevented him from washing people?
Finally, completely unrelated, but is there any way that I can get the chapter name, other than creating a variable and changing it to the name of current chapter at the beginning of each one?