• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(229589)

Second Lieutenant
1 Badges
Oct 3, 2010
148
0
  • Arsenal of Democracy
It appears that when reading high number events for minors, the engine gets confused.
For example this:

##############################################################################
# The Austro-Hungarian Empire - the 'Ersatz Monarch' class.
# Event 140141
# CORE 2 Ver 0.62
# by Vermin69
##############################################################################

event = {
id = 140141
random = no
country = AUS

trigger = {
ai=no
flag = AUS_HUN_EMPIRE
local_flag = Navy_AUS_HUN
random = 95
}

name = "The Austro-Hungarian Empire - the 'Ersatz Monarch' class."
desc = "Whilst voluntarily limiting ourselves to the current naval treaty limit of 35,000t," # blah

style = 0
picture = "naval_construction_org"

date = { hour = 7 day = 1 month = february year = 1936 }
offset = 14
deathdate = { hour = 4 day = 29 month = december year = 1953 }

action_a = {
name = "Yes - we must be able to defend ourselves against hostile navies."
ai_chance = 0
command = { type = free_supplies value = -1 }
command = { type = trigger which = 140142 value = 30 }
}

action_b = {
name = "No, we cannot afford this."
ai_chance = 100
command = { type = free_supplies value = 1 }
}
}

Shows in-game as (when option 'a' is chosen):
"free supplies value -1
free supplies value -1 "
This is repeatable with other events numbered over 140
Earlier number events work perfectly.
Is there an event limit for minors?
I thought it might be a corrupt game engine so I replaced mine with a back up but the results are maddeningly the same.
Any ideas?
 
Six and seven digit event numbers should be absolutely no problem and are used frequently in CORE. Run the validator, maybe you have some brackets incorrect or one " too many in a strange place.