Code: Select all
for _, resource in pairs(data.raw.resource) do
if string.find(resource.name,"zircon",1,true) then
resource.autoplace.control = nil
resource.autoplace = nil
end
end
If someone knows how to get the control sliders to disappear, and/or how to tell if Space Exploration ignores this resource when placing resources on other planets, could you help me out?
Thanks.