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

shake, rub and wave verbs all need player passed to object #491

Closed scrom closed 8 years ago

scrom commented 8 years ago

if the result of any of these actions is to have an impact on the player, we need access to the player. these actions exist on both creature and artefact.

in the first instance, it's most likely to be creatures that respond but worth having.

scrom commented 8 years ago

"rub" is called from "play" on creature so "play" also needs to pass player.

scrom commented 8 years ago

Done - follow-on issue #501 is to actually do something with this now available.