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

marking non-door named objects as doors causes oddness (e.g. lift buttons) #365

Open scrom opened 9 years ago

scrom commented 9 years ago

"Chris walks in through the exit button" is just plain wrong.

The quick solution is to make buttons and similar not "door" type objects. This also stops creatures automatically using them I think.

This probably means in the longer-term being able to have door objects that can only be opened and closed by a controlling object instead.

For now I'm just going for the basics (change the object type for lift buttons)

scrom commented 9 years ago

The same issue also prevents using autoLock with the lift doors - it'd say the "exit button closed" rather than lift door.