[2.0.47] Issue with LuaPlanet associate_surface
Posted: Fri May 02, 2025 5:47 pm
I have been trying to make RSO work with warptorio correctly but I don't seem to be able to follow planet=surface associacion after warptorio used associate_surface call on planet.
After that call surface that was just created has planet set to nil in lua, at the same time if I iterate on planets and check their surface the planet in question has nil as surface.
I'm attaching Test save (just click warp to jump to gleba that won't spawn resources).
Attached also rso and warptorio mods with logging.
Log output points shows that RSO can't find surface/planet connection when trying to figure out which config use for resources:
Game will correctly spawn gleba on warpzone_5 sufrace.
After that call surface that was just created has planet set to nil in lua, at the same time if I iterate on planets and check their surface the planet in question has nil as surface.
I'm attaching Test save (just click warp to jump to gleba that won't spawn resources).
Attached also rso and warptorio mods with logging.
Log output points shows that RSO can't find surface/planet connection when trying to figure out which config use for resources:
Code: Select all
98.852 Script @__rso-mod__/control.lua:1931: RSO: Updated resource configurations
101.144 Script @__warptorio-space-age__/control.lua:392: Generating surface:gleba
101.147 Script @__rso-mod__/control.lua:1823: Checking nauvis surface nauvis
101.147 Script @__rso-mod__/control.lua:1823: Checking vulcanus surface none
101.147 Script @__rso-mod__/control.lua:1823: Checking gleba surface none
101.147 Script @__rso-mod__/control.lua:1823: Checking fulgora surface none
101.147 Script @__rso-mod__/control.lua:1823: Checking aquilo surface none
101.147 Script @__rso-mod__/control.lua:1831: surface warpzone_5 planet name none