Jabarto
Emperor
I'm making a mod that redesigns the game's policies, and I've come across an odd problem. See, my mod doesn't actually add or remove any of the policies; it just gives the existing ones different effects. For example, I changed "Citizenship" to give a 25% combat bonus when inside cultural borders, instead of increasing worker speed by 25%.
So what I need to do is get rid of the <WorkerSpeedModifier> tag. What I'm unsure of is whether I need to use the Delete function or the Update function to accomplish this. Should I use Update to set the modifier to zero? Or do I need to use Delete to erase the field? Because I read the modding guide and I don't see how to delete a field for one specific policy.
So what I need to do is get rid of the <WorkerSpeedModifier> tag. What I'm unsure of is whether I need to use the Delete function or the Update function to accomplish this. Should I use Update to set the modifier to zero? Or do I need to use Delete to erase the field? Because I read the modding guide and I don't see how to delete a field for one specific policy.