Allow cargo pod scripting

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Moterius
Burner Inserter
Burner Inserter
Posts: 14
Joined: Wed Jun 07, 2023 7:39 am
Contact:

Allow cargo pod scripting

Post by Moterius »

I'm trying to code 'deliveries' to/from another faction (cargo pods), but there seems to be no way to manually spawn in a cargo pod (LuaEntity can only force it to instantly ascend/descend).

My request is thus: Add a script function that allows spawning in a cargo pod along the lines of Surface#spawn_cargo_pod(Surface, {contents}, procession_tick?)
s6x
Inserter
Inserter
Posts: 21
Joined: Fri Nov 15, 2024 8:22 pm
Contact:

Re: Allow cargo pod scripting

Post by s6x »

You can create_entity a cargo pod and it'll work, but the pod will just sit there. So I agree some API to tell it to start a procession would be useful.
Moterius
Burner Inserter
Burner Inserter
Posts: 14
Joined: Wed Jun 07, 2023 7:39 am
Contact:

Re: Allow cargo pod scripting

Post by Moterius »

Isn't that the already landed pod?
s6x
Inserter
Inserter
Posts: 21
Joined: Fri Nov 15, 2024 8:22 pm
Contact:

Re: Allow cargo pod scripting

Post by s6x »

No, a landed pod is a "cargo-pod-container" which is a distinct entity (but looks very similar) to a "cargo-pod" entity.
Oarc
Fast Inserter
Fast Inserter
Posts: 122
Joined: Sun Sep 18, 2016 2:04 pm
Contact:

Re: Allow cargo pod scripting

Post by Oarc »

+1 on this. There are LOTS of multiplayer mod and scenario use cases where this would be helpful.
Ability to send cargo pods to different locations other than 0,0 if there are no landing pads, and to be able to direct them to other landing hubs (either on same force or other) would be fantastic.
Post Reply

Return to “Modding interface requests”