type = add_prov_resource which = [prov id/-1/-4] value = X where = [energy/metal/oil/rare_materials] # -1 is random province, -4 is province with nuclear reactor
OK, so it seems that parameter does not give actual resource values into a province, but claims to be a 'percentage' of that resource added/subtracted to the province. Annoying - look at the following example I recently had occur.
I created an event that gave 15 oil into a random province:
which = -1 value = 15 where = oil
When the event fired it stated that the oil value of the province would be increased by 15%, not 15 points of oil (for lack of a better term). The province had ZERO oil to begin with. It ended up with an oil value of 7 (seven), roughly less that 50% of the 15 oil I had scripted.
Alternately, I had another event fire 5 metal into a random province (which initially had none). The result? 5 metal were installed into that province. That is, 100% of what I had scripted. :wacko:
Do I even have to mention how odd this whole calculation thing is???
OK, so it seems that parameter does not give actual resource values into a province, but claims to be a 'percentage' of that resource added/subtracted to the province. Annoying - look at the following example I recently had occur.
I created an event that gave 15 oil into a random province:
which = -1 value = 15 where = oil
When the event fired it stated that the oil value of the province would be increased by 15%, not 15 points of oil (for lack of a better term). The province had ZERO oil to begin with. It ended up with an oil value of 7 (seven), roughly less that 50% of the 15 oil I had scripted.
Alternately, I had another event fire 5 metal into a random province (which initially had none). The result? 5 metal were installed into that province. That is, 100% of what I had scripted. :wacko:
Do I even have to mention how odd this whole calculation thing is???
Last edited: