Change rocket-silo.lua to check for normal rocket-silo
Posted: Sat Apr 12, 2025 2:41 pm
A simple change would allow for modded, but freeplay-based, games to use rocket silos for other purposes, without triggering the win condition.
On line 33 of rocket-silo.lua, there's:
These lines could be added, underneath:
Then mods wouldn't have to use workarounds or alternative win conditions.
There's still the achievement which would probably get raised for non-rocket-silo based launches
Launching a cargo pod might provide a way this, but it is a lot more moving parts than a generic inventory for a rocket silo (is launching cargo even possible without SA?)
On line 33 of rocket-silo.lua, there's:
Code: Select all
if not (rocket and rocket.valid) then return end
Code: Select all
local silo = event.rocket_silo
if (silo and silo.valid and silo.name ~= "rocket-silo") then return end
There's still the achievement which would probably get raised for non-rocket-silo based launches
Launching a cargo pod might provide a way this, but it is a lot more moving parts than a generic inventory for a rocket silo (is launching cargo even possible without SA?)