Democracy has been designed to be easily added to and modified.
you can add new events into the game using nothing but a
text editor such as MS Notepad. A spreadsheet program such
as MS Works Spreadsheet or Microsoft Excel may make it easier.
The events for the game all live in a 'csv' file in:-
"C:\Program Files\Democracy\data\simulation\Events.csv"
A csv file is 'comma separated' which means its a text
file with a lot of values separated by a comma on each line.
Before amending the simulation files we recommend you back
up the simulation folder by
creating a folder named 'simulationbu' and copying all the
files in the simulation folder to it.
You cn either modify the existing events in the events.csv
file, or you can add new events by creating a new text file
in this directory:
"C:\Program Files\Democracy\data\mods\events"
In this case, each event is a separate text file, although
its a text file with just one line in it (Don't add any
line breaks!). Whichever method you use, you end up with
a line of text like this:
#,EventName,GUIName,description,income,expenditure
,sound,trigger,trigger,#,effect,effect
Here's a breakdown of what they mean: -
# = this is the first value/first column if entering via
a spreadsheet), it has to be # and that indicates that this
is a valid line in the file.
EventName = this is a piece of text used to uniquely identify
the event.this is an 'object name'. (Object Names must not
have embedded spaces)
GUI Name = this is the title of the message shown to the
player. its the 'human-friendly' name of the event.
description = the text shown to the player when the event
dialog is shown
income = this is the amount of money that the government
earns as a result of the event being triggered. This is
a relative amount, and its scaled depending on the size
of the country and the level of difficulty the game is running
at.
expenditure - as above, but the cost of the event