Building text.csv for random events, we (Aegnor and I) have a problem with random events. Some different ids refer to same description... It is the case for duplicated events or tweaked triggers for same events and we faced little numbering errors (Conversion of Heretics for example).
I propose to change the numbering scheme as follows (not a revolution, just a required evolution):
New scheme: 9ADDSXXX
A => same as now: 0-5 for scale - 6 - 7 - 8 - 9
DD => counter for duplicated events or tweaked triggers (allows 100 "tweakings" for same event, more than enough)
S => same as now: 0-7 not specific - 8 = AI - 9 = Human
XXX => same as now (last part of id to be combined with S)
Scheme for entries in text.csv:
EVENTNAME_RANDOM<id>
EVENTHIST_RANDOM<id>
ACTIONNAME_RANDOM<id>A
ACTIONNAME_RANDOM<id>B
ACTIONNAME_RANDOM<id>C
ACTIONNAME_RANDOM<id>D
where <id> is SXXX
Example for "Conversion of Heretics":
1st event: 96000001 (wrong 960000 actually)
2nd event: 96010001 (960001 actually)
=> <id> = 0001 is the only one entry in text.csv for "Conversion of Heretics" (and bug is fixed because <id> = 0000 is already used for "Random Revolt").
Logic of random events is not changed but we can fix all bugs an really have a single entry in text.csv for each group of random events.
With this solution, it will be easier to create new versions of events when stab = 3 for example... in next 1.41 version maybe