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

plant room door seems to be one-way (npcs trapped) #370

Closed scrom closed 8 years ago

scrom commented 8 years ago

On play-testing. The plant room door is left open on the outside and locked on the inside trapping NPCs in there. Probably a linked doors, door name or key problem of some sort.

As part of this, most NPC should also be avoiding the roof (possibly only "climb" if fleeing?)

scrom commented 8 years ago

Need to add if (_destinations.length > 0) can climb/run - otherwise these locations aren't accessible. (creature line 3061)

In addition - need to check "flee" for similar restrictions

scrom commented 8 years ago

if location requires climb/run - a creature will only go there if they have a reason to - (fleeing, has destination, is an animal, or is hunting player)

scrom commented 8 years ago

fixed