calling entity.get_logistic_point() on a cargo landing pad entity yields a single LuaLogisticPoint.
However, it is not clear, which constant can be used to call entity.get_logistic_point(defines.logistic_member_index.<mumble>)
It is not defines.logistic_member_index.logistic_container:
It seems like this is missing a constant such as defines.logistic_member_index.cargo_landing_pad_provider
[2.0.70] defines.logistic_member_index lacks a value for cargo landing pad
- hgschmie
- Fast Inserter

- Posts: 216
- Joined: Tue Feb 06, 2024 5:18 am
- Contact:
- hgschmie
- Fast Inserter

- Posts: 216
- Joined: Tue Feb 06, 2024 5:18 am
- Contact:
Re: [2.0.70] defines.logistic_member_index lacks a value for cargo landing pad
also https://lua-api.factorio.com/latest/cla ... mber_index should probably be defined using defines.logistic_member_index
-
Rseding91
- Factorio Staff

- Posts: 17342
- Joined: Wed Jun 11, 2014 5:23 am
- Contact:
Re: [2.0.70] defines.logistic_member_index lacks a value for cargo landing pad
Thanks for the report. This is now fixed for 2.1.
If you want to get ahold of me I'm almost always on Discord.
-
Bilka
- Factorio Staff

- Posts: 3838
- Joined: Sat Aug 13, 2016 9:20 am
- Contact:
Re: [2.0.70] defines.logistic_member_index lacks a value for cargo landing pad
Fix backported to 2.0, will be available in the next release.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.