🌐 Rabbasca, the forgotten Moon

by .Talon

This Moon of Gleba emits strange energy signatures which interfere with conventional energy sources. Use the limited power it provides to explore ancient vaults of a long gone civilization. Discover new ways to construct your machines and conquer space with your very own tool-assisted legs.

Content
a day ago
2.0
1.31K
Planets Transportation Logistics Armor Enemies Manufacturing

g [Solved] Bunny hop engine cheesing Cargo Locked Planets

15 days ago
(updated 15 days ago)

You can currently use the bunny hop engine to smuggle items into cargo-locked planets. Please add the following logic to the bunny hop code to prevent hopping to currently locked planets.

local cargo_lock_name = “planetslib-“ .. planet_name .. “-cargo-drops”
if prototypes.technology[cargo_lock_name] and not player.force.technologies[cargo_lock_name].researched then
CANCEL_HOP

I do not recommend manually blacklisting planets, as it is overly draconian. I do not recommend blocking just the bringing of items, because that would skip Rubia’s landing cutscene and equipment checks (and at a minimum would require using Rubia’s remote interface to do more logic with the planet).

15 days ago

Huh, that is exactly what it does currently. Will check what's wrong later. Did this happen specifically on Rubia for you?

15 days ago

A user reported it to me earlier today. I can follow up with them.

15 days ago
(updated 15 days ago)

Testing it myself, I got this when trying to use the bunny hop engine twice (the first use failed due to being overweight, but the UI wouldn't go away):

The mod ○ Rabbasca (0.7.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event planet-rabbasca::on_script_trigger_effect (ID 173)
__planet-rabbasca__/bunnyhop.lua:65: attempt to index local 'player' (a nil value)
stack traceback:
    __planet-rabbasca__/bunnyhop.lua:65: in function 'clear_bunnyhop_ui'
    __planet-rabbasca__/bunnyhop.lua:199: in function 'show_bunnyhop_ui'
    __planet-rabbasca__/control.lua:70: in function <__planet-rabbasca__/control.lua:6>

I can confirm that Rubia disappears from the UI tho, when the cargo lock tech is not researched. So something must have been wrong when the user reported it to me. My apologies.

15 days ago

Can not reproduce it on my side too, happy to take a closer look though with more info. This crash will be fixed with 0.7.2.

15 days ago

It was reported by Samario on your channel on the Foundry discord. He should have more information.

New response