using modifier values in a mod
Posted: Wed Jul 25, 2018 11:52 am
I have been looking on the internet and forum, but couldn't find a solution for my problem.
For a mod I'm working on, I need to get te value of a modifier used in the base game.
I don't have to use it on a new entity, I just need to read the value (i.e. the bonus given in the mining-drill-productivity-bonus).
Can anyone tell me how to read this value to be usable in the mod?
For a mod I'm working on, I need to get te value of a modifier used in the base game.
I don't have to use it on a new entity, I just need to read the value (i.e. the bonus given in the mining-drill-productivity-bonus).
Can anyone tell me how to read this value to be usable in the mod?