Search found 1 match
- Wed May 28, 2025 9:25 am
- Forum: Implemented mod requests
- Topic: [2.0.16] Please add LuaRecord.active_index and LuaItemCommon.contents
- Replies: 5
- Views: 814
Re: [2.0.16] Please add LuaRecord.active_index and LuaItemCommon.contents
You can access the blueprint book item contents with LuaItemCommon::get_inventory(defines.inventory.item_main).
As for the disparity between the two APIs, they are fundamentally different things in the engine, so it is impossible to represent them identically.
Thanks for posting this! It's ...