scrom / Experiments

a NodeJS text adventure - deliberately coded badly to re-experience the pain of legacy code
http://mvta.herokuapp.com/
2 stars 0 forks source link

implement "turn" verb to actually rotate things #263

Open scrom opened 10 years ago

scrom commented 10 years ago

The turn action is supported to rotate things now (as well as switch on or off) but it doesn't actually do anything useful.

Need to determine what would be useful to do here.

scrom commented 9 years ago

Now that items can be hidden behind/under other items, this might be more viable but it's still tricky. We'd need to flag is an object can be "turn"ed and what the outcome is.

Does turning a handle expose a door, unlock or open a door or all these? Does turning a statue head expose a hidden gem? (I guess that's another combination of unlock/open)

Does turning a wheel open a flood gate and let water in? (It's another open/close but where the contents immediately escape into the room. Is that the same as undo/tighten?

Do we turn left, right, clockwise or anticlockwise? - and does it matter. Do we turn an item a number of degrees? Towards another item or in a compass direction?

Maybe worth thinking about "pressurised" items/containers as a related issue to this.

scrom commented 9 years ago

this also relates to "undo" and "tighten" as other potential verbs