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

'Find' should exclude intangibles and scenery #404

Closed scrom closed 8 years ago

scrom commented 8 years ago

For example, asking vic to find coffee will direct player to the atrium. Map.getobject should take an extra parameter 'ignoreScenery' and use this to filter out non-significant objects When calling 'find' this should be set to true. Both for creature and player finding.

scrom commented 8 years ago

"Inventory.getObject" (used extremely heavily - eek) needs a new parameter and clever handling of it without breaking anything else.

scrom commented 8 years ago

There's some irony in the fact that this is issue #404 :)

scrom commented 8 years ago

implemented, testing and working.