Hi,mcc1903 wrote:hi,
first: thnx for this amazing mods, vanilla laser animations are kinda boring.
but when i try to use it on 0.13 it removes all my laser turrets for some reason. i used 0.1.4 on 0.12 and just replaced it with the one i downloaded from mod portal.
also i also want to know if there is a way to remove this mod without losing all laser turrets
thnx
You can run this script in 0.12 with the mod enabled:
Code: Select all
/c
for k, s in pairs (game.surfaces) do
for c in s.get_chunks() do
for key, b in pairs(s.find_entities_filtered({area={{c.x * 32, c.y * 32}, {c.x * 32 + 32, c.y * 32 + 32}}, name = laser-turret-purple"})) do
local p = b.position
local f = b.force
b.destroy()
s.create_entity{name = "laser-turret", position = p, force = f}
end
end
end