Reading spidertron settings from LuaItemStack

Kraskaska
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 28, 2021 2:08 pm
Contact:

Reading spidertron settings from LuaItemStack

Post by Kraskaska »

I would like to have APIs to read spidertron settings from LuaItemStack.
To be more exact, i need:
  • Logistic settings: if it's enabled, if it's enabled while moving, if buffer requests are allowed, logistic requests
  • Targeting information (with/without gunner)
Bilka
Factorio Staff
Factorio Staff
Posts: 3644
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Reading spidertron settings from LuaItemStack

Post by Bilka »

Added LuaItemCommon::entity_logistic_sections and entity_request_from_buffers read/write for 2.0.67.

Also, added LuaItemCommon::entity_logistics_enabled, entity_enable_logistics_while_moving, entity_driver_is_gunner, entity_auto_target_without_gunner and entity_auto_target_with_gunner for 2.0.69.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”