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 "shake" / "rattle" as their own verbs #413

Closed scrom closed 8 years ago

scrom commented 8 years ago

much like rub/wave. At the moment "hit" is being way overloaded and these don't fit there. shaking an artefact should check for a custom action and if not found, behave differently depending on contents. shaking a creature should make the player unpopular. - no custom actionchecking

scrom commented 8 years ago

done - some tests written and passing. A few test left to finish writing (currently left failing(

scrom commented 8 years ago

tests complete and changes made as a result of testing. I'd forgotten how much more sensible it is not to overload verbs. :)