Player Request Crafting Layout


A way for players to apply their crafting item layout to their logistics window

Utilities
3 years ago
0.18 - 1.1
1.00K

g [Resolved] fix for Factorio 1.1

3 years ago

this mod is such a great helper...

yet, it does not run on 1.1

but you can update the
info.json
-8<-----
"factorio_version": "1.1",
-8<-----

if you get the error: "LuaPlayer doesn't contain key character_logistic_slot_count."

update scripts/logistics.lua

-8<-----
--record and remove all old requests
local oldValues = {}
for i = 1, player.character.request_slot_count do
local oldValue = player.get_personal_logistic_slot(i)
if oldValue.name ~= nil then
oldValues[oldValue.name] = oldValue
end
player.clear_personal_logistic_slot(i)
end

--add our new requests
-- Writing to it isn't necessary anymore: player.request_slot_count ....
local slotIndex = 0

-8<-----

3 years ago

Thx for this!
I've created a pull request so hopefully muppet9010 can merge and deploy it soon :)

https://github.com/muppet9010/Factorio-Player-Request-Crafting-Layout/pull/1

3 years ago

fixed and published, thanks for flagging the changes. I work through my mods slowly post major releases.

3 years ago

Thanks. I really appreciate your work πŸ‘

3 years ago

Thanks. πŸ‘

New response