🌐Planetaris: Hyarion

by Syen_ce

Hyarion, a planet made from crystals and lava, light refraction rays fall from the sky and destroys the surface.

Content
10 days ago
2.0
11.9K
Factorio: Space Age Icon Space Age Mod
Planets Environment Mining Fluids Logistic network Manufacturing Power

b magnetic field requirement

23 days ago

How should I protect myself from lightning if the planet has an 80% magnetic field, and the refraction collector requires a magnetic field of at least 99%?

23 days ago

There is refraction ray collectors that works like the Fulgora ones

23 days ago

There is refraction ray collectors that works like the Fulgora ones

I cant place it on Hyarion!
Magnetic fied is low

https://ibb.co/HDSpmbdf

23 days ago

let me check

23 days ago

Are you using any other mods?

it works for me https://files.catbox.moe/utr26a.png

23 days ago
(updated 23 days ago)

ill check, prob there is another planet messing with it

23 days ago
(updated 23 days ago)

After checking, is planet Arcanyx that is modifying some entities including the ray collectors. You could remove it and there will be no problems. I already sent the bug report.

22 days ago
(updated 22 days ago)

data-final-fixes.lua

-- =============================================
-- FIX: Refraction Ray Collectors magnetic field
-- Allows them to be built on Hyarion (magnetic field 80)
-- =============================================

local function fix_hyarion_collector(name)
local entity = data.raw["lightning-attractor"][name]
if not entity then return end

-- Удаляем все жёсткие требования magnetic-field >= 99
if entity.surface_conditions then
    for i = #entity.surface_conditions, 1, -1 do
        local cond = entity.surface_conditions[i]
        if cond.property == "magnetic-field" and cond.min and cond.min >= 99 then
            table.remove(entity.surface_conditions, i)
        end
    end
else
    entity.surface_conditions = {}
end

-- Добавляем подходящие условия для Hyarion
table.insert(entity.surface_conditions, {
    property = "magnetic-field",
    min = 70
})

table.insert(entity.surface_conditions, {
    property = "planetaris-crystalization-resistance",
    min = 50,
    max = 100
})

end

fix_hyarion_collector("planetaris-refraction-ray-collector")
fix_hyarion_collector("planetaris-big-refraction-ray-collector")

log("Hyarion: Fixed surface conditions for Refraction Ray Collectors")

22 days ago

Oh, i haven't played arcanyx yet so i didnt know how or why it was blocking them but i can fix it that way, give me a sec

22 days ago

Fixed, thanks!

New response