This:
Loads correctly, but doesn't fire when prompted on the console.
The events.txt file looks like this:
I fire with 1881 Spain... All triggers are met, and there's no reason for the commands not to work.
Any help?
Code:
##########################
### Exploiting aristocrats
##########################
event = {
id = 1000000
random = yes
invention = no
name = "EVT_1000000_NAME"
desc = "EVT_1000000_DESC"
trigger = {
NOT = { constitution = { type = proletarian_dictatorship }}
NOT = { government = { type = communist }}
NOT = { policy = { type = laissez_faires }}
NOT = { reform = { type = maximum_workhours level = 24 }}
NOT = { reform = { type = trade_unions level = none }}
civilized = yes
slavery = no
atwar = no
}
style = 0
picture = organisation
action_a = {
name = "Stop the exploiting"
ai_chance = 60
command = { type = pop_militancy which = aristocrats value = 1 where = -1 }
command = { type = pop_dominant_issue which = aristocrats value = slavery where = -3 }
}
action_b = {
name = "Their masters have the right"
ai_chance = 10
command = { type = pop_militancy which = labourers value = 1 where = -3 }
}
action_c = {
name = "Try to mediate"
ai_chance = 30
command = { type = prestige value = -3 }
}
}
Loads correctly, but doesn't fire when prompted on the console.
The events.txt file looks like this:
Code:
# Random Events
# event = "db\events\randomevents.txt"
event = "db\events\economic_events.txt"
event = "db\events\political_events.txt"
event = "db\events\campaign_events.txt"
event = "Event workshop\my_r_events.txt"
I fire with 1881 Spain... All triggers are met, and there's no reason for the commands not to work.
Any help?
Last edited: