Mod syntax error, can't figure out why
Posted: Thu Dec 13, 2018 8:53 pm
I've been trying to make a mod that can modify the rocket animation speed so that it's easier to get neat ratios between it and other science setups. The game continues to throw messages that I have made a syntax error near the '-', but I don't know how to fix it, or why I've messed up.
data.raw.rocket-silo['rocket-silo'].light_blinking_speed = 1/(120)
data.raw.rocket-silo['rocket-silo'].door_opening_speed = 1/(151)
These two are the only lines in the data.lua file that I've created. I have attached both the data.lua and info.json files. I would appreciate some help with this.
data.raw.rocket-silo['rocket-silo'].light_blinking_speed = 1/(120)
data.raw.rocket-silo['rocket-silo'].door_opening_speed = 1/(151)
These two are the only lines in the data.lua file that I've created. I have attached both the data.lua and info.json files. I would appreciate some help with this.