Events.data

Back to modding

Events.data
The events.data file contains an array of 'events' that can be randomly chosen by the game to affect Cure demand. Related entries in strings-en.data provide the text for the events.

Example Event
{ "id":"moneyproblems", "ramp":50, "duration":360, "delay":20, "cureDemandChanges": [  {"cureId":"migraine","change":15}, {"cureId":"insomnia","change":15}, {"cureId":"anxiety","change":10} ] }

Event Keys

 * id - the unique id for this event. This is used to look up the display text associated with this event in strings-xx.data.
 * ramp (optional) -the number of game ticks to ramp up/down the change in cure demand
 * duration (optional) - the number of game ticks the change in Cure Demand will be in affected
 * delay (optional) - the number of game ticks to delay the start of change in Cure Demand after event announcement
 * cureDemandChanges - array of cure(s) to be changed
 * cureDemandChanges:cureID - the cure being affected
 * cureDemandChanges:change - the change in the current Cure Demand