🌐Planetaris: Tellus

by Syen_ce

Tellus, a planet full of life, mycelia and chlorophyll, infected by dangerous parasites and clouds of pollen corrode materials. Create and plant living machinery and try to keep it alive

Content
a day ago
2.0 - 2.1
21.5K
Factorio: Space Age Icon Space Age Mod
Planets Logistics Combat Enemies Environment Mining Fluids Logistic network Manufacturing Power

b Wasp Spawners do not absorb Pollen

15 days ago
(updated 15 days ago)

On Tellus, Wasp Spawners (and the Small version) do not absorb pollen.
In code, they absorb spores. That means that no pollen will be absorbed even if the wasps absorb pollen.

This line here: https://github.com/Syen-ce/planetaris-tellus/blob/79e3fec16b9f10c04b32462eb0a3a5865f3f72a7/prototypes/entity/enemies.lua#L328 should be changed to:
absorptions_per_second = { pollen = { absolute = 20, proportional = 0.01 } },

Additionally, tellus-spawner-small does not have any absorption. This seems a copy-paste from Gleba, which has it disabled due to one of the spawned entities having zero absorption. Tellus entities all have pollen absorption > 0, so line 650 can be enabled (and with spores replaced with pollen).

After making these changes a factory on Tellus observed the spawners absorbing pollution and attacks forming. Before this, >48h had passed without attacks.

Additionally, the agricultural towers do not produce pollen. This is done in Gleba to allow enemies to target them (see https://github.com/wube/factorio-data/blob/374934f81f82b09ec9fc459f92a316bd642ddd82/space-age/prototypes/entity/entities.lua#L1461 ).

I have fixed this by adding pollen to them, plus the above spawner fixes for my playthrough on a companion mod. Might be good to patch here directly :)

-- fix tellus spawner not absorbing pollen
if data.raw["unit-spawner"]["tellus-spawner"] then
    data.raw["unit-spawner"]["tellus-spawner"].absorptions_per_second = { pollen = { absolute = 20, proportional = 0.01 } }
end
if data.raw["unit-spawner"]["tellus-spawner-small"] then
    data.raw["unit-spawner"]["tellus-spawner-small"].absorptions_per_second = { pollen = { absolute = 4, proportional = 0.002 } }
end

-- units must find source of pollen, and agricultural towers need to be a source of it to be targeted
for _, v in pairs(data.raw["agricultural-tower"]) do
    if v.energy_source and v.energy_source.emissions_per_minute then
        v.energy_source.emissions_per_minute.pollen = 4
    end
end
11 days ago

Fixed, Thanks!

New response