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

Rewarded new and modified locations with associated location-missions don't generate missions #360

Closed scrom closed 8 years ago

scrom commented 8 years ago

looks like the mission data is lost when generating map data for reward locations.

scrom commented 8 years ago

This is now tested and working for modifying locations (see startoflunch/endoflunch events). Still no data for new location with new location-only mission to test that part but good enough for now.

As part of implementing this, we also needed to add support for cancelling a mission and associated "removeMission(s)" mission/event reward.

scrom commented 8 years ago

cancelling a mission does actually remove the mission from the game data :)

scrom commented 8 years ago

this is tested and working :)