This is ridiculous. You know you'll get hit with the bubonic and the pneumonic plague at some point during the game, it's a game not a historical simulation...so how could having the plagues come earlier make the game "unplayable"?Real said:Please, can somebody type the text reflecting MrT suggestion. I would copy and paste into Global_Deseases_Events. I know it is beta, but with current set-up it is unplayable for me.
But, because I am filled with love for all God's children, even the ones that make hyperbolic comments on the forums, I offer the following untested revisions of the bubonic and pneumonic events:
Code:
#################################
# The Bubonic Plague arrives #
#################################
province_event = {
id = 1069
picture = "event_plague"
trigger = {
condition = { type = year value = 1100 } # RUC - plague not possible before 1100
condition = { type = not value = { type = has_province_effect value = { bubonic_plague = yes } } }
condition = { type = not value = { type = has_province_effect value = { bubonic_plague_immunity = yes } } }
condition = {
type = or
condition = { type = area value = 693 } #Baghdad
condition = { type = area value = 628 } #Bukhara
condition = { type = area value = 796 } #Fustat
condition = { type = area value = 646 } #Isfahan
}
}
mean_time_to_happen = {
years = 1000
# RUC - MTTH 100,000 years 1100-1175
modifier = {
condition = { type = year value = 1100 }
condition = { type = not value = { type = year value = 1175 } }
factor = 100
}
# RUC - MTTH 50,000 years 1175-1250
modifier = {
condition = { type = year value = 1175 }
condition = { type = not value = { type = year value = 1250 } }
factor = 50
}
# RUC - MTTH 10,000 years 1250-1325
modifier = {
condition = { type = year value = 1250 }
condition = { type = not value = { type = year value = 1325 } }
factor = 10
}
# RUC - removed old 1340-1350 modifier, 1325-end of game
# is the normal 1000 year MTTH
}
action_a = {
effect = { type = add_province_effect value = bubonic_plague }
}
}
#################################
# The Pneumonic Plague arrives #
#################################
province_event = {
id = 1070
picture = "event_plague"
trigger = {
condition = { type = year value = 1100 } # RUC - plague not possible before 1100
condition = { type = not value = { type = has_province_effect value = { pneumonic_plague = yes } } }
condition = { type = not value = { type = has_province_effect value = { pneumonic_plague_immunity = yes } } }
condition = {
type = or
condition = { type = area value = 693 } #Baghdad
condition = { type = area value = 628 } #Bukhara
condition = { type = area value = 796 } #Fustat
condition = { type = area value = 646 } #Isfahan
}
}
mean_time_to_happen = {
years = 1000
# RUC - MTTH 100,000 years 1100-1175
modifier = {
condition = { type = year value = 1100 }
condition = { type = not value = { type = year value = 1175 } }
factor = 100
}
# RUC - MTTH 50,000 years 1175-1250
modifier = {
condition = { type = year value = 1175 }
condition = { type = not value = { type = year value = 1250 } }
factor = 50
}
# RUC - MTTH 10,000 years 1250-1325
modifier = {
condition = { type = year value = 1250 }
condition = { type = not value = { type = year value = 1325 } }
factor = 10
}
# RUC - removed old 1355-1365 modifier, 1325-end of game
# is the normal 1000 year MTTH
}
action_a = {
effect = { type = add_province_effect value = pneumonic_plague }
}
}
-Richard Campbell.
Edit by MrT to remove the duplicate in the second event that would cause it to crash
Edit by ulmont to add the 1100 requirement in the second event, or you'll still get the pneumonic plague in 1067 - how'd you miss that, T?
Last edited: