All of them now fail with this error message : attempt to index field 'player' (a nil value)
This is where it fails in one of the mods in data.lua:
Code: Select all
data.raw.player.player.running_speed
Code: Select all
data.raw["player"]["player"].reach_distance = 10000
Code: Select all
local mplayer = util.table.deepcopy(data.raw["player"]["player"])
mplayer.collision_box = {{0,0},{0,0}}
data:extend{mplayer}
Code: Select all
data.raw["player"]["player"].inventory_size = my_inventory_size
Everywhere 'player' is used it now fails. How can I change them to get them working again?
Thanks in advance for the help!