I'm trying to remove the autoplace from my worms, but the result is the opposite. I get all worms.
I'm copying the base game worm, and updating it's values
I thought all I had to do was give autoplace = {}
Code: Select all
local big_player_worm = util.table.deepcopy(data.raw["turret"]["big-worm-turret"])
big_player_worm.name = "big-worm-turret-player"
big_player_worm.flag = {"placeable-player", "not-repairable", "player-creation", "breaths-air"}
big_player_worm.minable = {hardness = 1.5, mining_time = 1.6, result = "big-worm-hatching-exhausted"}
big_player_worm.autoplace = {}
data:extend({big_player_worm})
How do I remove the autoplace?
Thanks.