Some help with settings pls

Place to get help with not working mods / modding interface.
Aidan647
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Dec 16, 2016 5:54 pm
Contact:

Some help with settings pls

Post by Aidan647 »

I need to somehow "migrate" settings.
For example:

Code: Select all

default_value = "15kW",
allowed_values = {"100kW","60kW","30kW","15kW","7kW","0kW"},
TO

Code: Select all

default_value = "15kW",
allowed_values = {"70kW","40kW","20kW","15kW","7kW","0kW"},
If user had 100kW it become 70kW
60kW to 40kW
30kW to 20kW
Post Reply

Return to “Modding help”