Not urgent, but nice to have:
Analog to this solved request:
I would like to ask if you could also improve other code, to not use local variables that are saving TUNING values.
For example in the evergreens.lua (and maybe other scripts with growable stages), you define "builds" and "growth_stages" outside of any function, which makes it very hard to change anything about grow stages by changing the TUNING values.
This is not only helpful for mods, but also for your "new" system of "Worldsettings" that can be changed anytime. In applyoverrides_pre from worldsettings_overrides.lua you are changing TUNING values. So if you one day want to add a setting to multiply the grow time of evergreens, your current system with local variables won't work.
Apply the same changes you applied to eyeofterror.lua (putting the local variables into functions) to evergreens.lua, so changing eg. TUNING.EVERGREEN_GROW_TIME values does have an affect midgame.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now