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

exploding bus and destroy screen missions only check outcome if player is in location #418

Closed scrom closed 8 years ago

scrom commented 8 years ago

Any active mission that has a timer for outcome (pass or fail) should be checked regardless of player location and regardless of conversation/staticness.

(events attach to the player so these seem to work fine)

scrom commented 8 years ago

turns out this is a bit of a knot to resolve. we deliberately don't manage all locations when checking missions at the moment but then have a "special case" for creature-owned events.

changing how this all works may well have unknown impacts on other mission processing - eek

scrom commented 8 years ago

I have a fix for the bus mission with minimal risk and no sign of regressions. I've decided not to add a fix for the screen though.