Page 1 of 1

[2.0.69] Space platform logistics provider Lua control not working until location change

Posted: Fri Oct 10, 2025 6:09 pm
by rycieos
When a LuaLogisticPoint of member type defines.logistic_member_index.space_platform_hub_provider has its enabled field toggled, no change happens until the space platform changes its location.
Reproduction steps:
1. Have a space platform in orbit above Nauvis.
2. Hover the space platform hub, and run the console command

Code: Select all

/c game.player.selected.get_logistic_point(defines.logistic_member_index.space_platform_hub_provider).enabled = false
3. Open the landing pad on Nauvis and add a request for some item that the space platform has available (and does not have its own request for).
Actual result:
The space platform will send down the requested item.
Expected result:
The space platform does not make its inventory available to the landing pad, and does not send any items down.
Additional information:
Attached is a save file with a space platform and landing pad ready for reproduction. However, the steps are simple enough that the save is not required.

If, in between steps 2 and 3, the platform is sent away from Nauvis, and then sent back, the expected result happens. This suggests that the enabled state of the logistics point is cached from when the platform enters a space location until it leaves.

Note this works as expected for the defines.logistic_member_index.space_platform_hub_requester member type, updating instantly.