[2.0.32] defines.inventory.assembling_machine_dump

Place to get help with not working mods / modding interface.
lckd
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Dec 04, 2023 9:10 am
Contact:

[2.0.32] defines.inventory.assembling_machine_dump

Post by lckd »

Not sure where to post this, but anyway when I tried to access assembling machine trash/dump slot using global constant defines.inventory.assembling_machine_dump, it seems point to false index.
dump_constant.jpg
dump_constant.jpg (19.95 KiB) Viewed 121 times
assembling_machine_gui.jpg
assembling_machine_gui.jpg (122.57 KiB) Viewed 121 times
It fails when I tried to get the dump slot
failed_get_inv.jpg
failed_get_inv.jpg (89.36 KiB) Viewed 121 times
But it succeed when I tried to get inventory 8 and yield the expected result
succeed_get_inv.jpg
succeed_get_inv.jpg (84.83 KiB) Viewed 121 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3313
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.32] defines.inventory.assembling_machine_dump

Post by Bilka »

As talked about on discord, the inventory you're trying to access is the trash inventory, where items are put after changing recipe in remote view. The dump inventory is for items that are ejected by recipe changes with the circuit network.

The trash inventory is missing a defines.inventory, the addition of that was requested here: 126323
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 “Modding help”