Page 1 of 1
LuaSpacePlatform.send_drop_pod(), receive_drop_pod()
Posted: Mon Nov 04, 2024 10:34 pm
by Mylon
Code: Select all
send_drop_pod{
target=surface,
payload=Itemstack,
abort_if_missing_item=bool (default true),
now=bool (wait until destination can receive, default false),
void=bool (default false, destroy items, replaces need for target.)
}
Returns true if successful, or false if aborted. It might be helpful to document that platform.space_location and target.space_location do not have to match.
Code: Select all
receive_drop_pod{
payload=itemstack,
force=bool (catch it even if hub is busy, otherwise wait),
delay=int (number of ticks before drop pod spawns on the surface to simulate a rocket launch, default is same as ground launch)
}
Use case, I want space platforms to be able to send items to each other and do this in a way that triggers the pretty animations, keeps the behavior synced with the animations, and uses other mechanics like limited needing additional cargo bays to support higher throughput.
Either send_drop_pod could enable this mod on its own, or send_drop_pod{void=true} + receive_drop_pod{}
Re: LuaSpacePlatform.send_drop_pod(), receive_drop_pod()
Posted: Fri Nov 08, 2024 3:45 pm
by redplasticstraw
+1 to this.
would be interesting as well if this could also send items between space platforms in some way, which could enable more interesting space platform exclusive processing.
Re: LuaSpacePlatform.send_drop_pod(), receive_drop_pod()
Posted: Wed Dec 04, 2024 2:38 am
by waterwheels
I think inter-platform logistics could be very fun, so I also support this!
Re: LuaSpacePlatform.send_drop_pod(), receive_drop_pod()
Posted: Fri Dec 06, 2024 12:21 am
by protocol_1903
+1