First of all, first post here so hi to all mod-semi gods and mod-peasants out there!
What I want to do:
I want to infect a number of regions with the plague within a given timescale randomly based on a percentage, not all at the same time,although it wouldn't hurt if this happened once or twice so no excluding factor has to be done. Once this works I want to alternate between plague, locusts and famine.
My first idea was to do this entirely in the descr_events file. Wouldn't work due to the "not all at the same time" part. Second approach was to salvage a script written by alpaca and try to adapt it.
Would this work? Would the plague be recognized correctly with the position? How much would a thing like this in the campaign script affect performance if you do it for a lot of regions? Does anybody have a better idea? I would love to see the functionality in DLV and would give full credit to anybody helping me with this.
The alternate idea is to make a console_command version that only deducts from the population, but this would take away the diminishing garrison, not much of a problem though if this is a lot easier to make and less performance affecting.