TheOneHitPupper
Chieftain
- Joined
- Jun 15, 2017
- Messages
- 98
Hello, I'm trying to make a mod incorporating more Events into the Vox Populi mod, specifically using the Unhappiness system to make events more realistic.
An example is a bank robbery CityEvent that when the CityEventChoices is picked, the city produces -1 Unhappiness from Distress. I see that the CityEventChoices table does not have a column for DistressFlatReduction like the Buildings, Policies, and Projects tables do. I've added
Is there an easy way to alter the CityEventChoices table to incorporate that column as it already exists elsewhere in the VP framework? Or do I have to write code in LUA to get it to work?
Moderator Action: Moved to VP subforum. - Recursive
An example is a bank robbery CityEvent that when the CityEventChoices is picked, the city produces -1 Unhappiness from Distress. I see that the CityEventChoices table does not have a column for DistressFlatReduction like the Buildings, Policies, and Projects tables do. I've added
which produces no errors, but does not seem to actually add the column when I view the table in SQLite.ALTER TABLE CityEventChoices ADD COLUMN 'DistressFlatReduction' INTEGER DEFAULT 0;
Is there an easy way to alter the CityEventChoices table to incorporate that column as it already exists elsewhere in the VP framework? Or do I have to write code in LUA to get it to work?
Moderator Action: Moved to VP subforum. - Recursive
Last edited by a moderator: