Overview
This is a complicated command that when executed in the chat, it will infinitely supply you with every item you requested in your logistic requester slots. Forum topic: https://forums.factorio.com/viewtopic.php?f=8&t=26854
Command
A:
/c script.on_event(defines.events.on_tick, function(event) local value = 0 local req = 0 for ind,index in pairs(game.players) do local player = game.players[ind] if not player.cheat_mode then player.force.technologies[“character-logistic-trash-slots-2”].researched=true player.force.technologies[“auto-character-logistic-trash-slots”].researched=true player.force.technologies[“character-logistic-slots-6”].researched=true player.force.manual_mining_speed_modifier=1000 player.cheat_mode=true for
name,tech in pairs(player.force.technologies) do local mx = #tech.effects local retr = mx > 0 local count = 0 while count <= mx do if retr then if tech.effects[count] ~= nil then retr = tech.effects[count].type ~= “unlock-recipe” end end count = count+1 end if not retr then tech.researched = tech.enabled end end end player.force.chart_all() value = 0 if player.character ~= nil then player.character.destructible = false if player.get_inventory(8) ~= nil then player.get_inventory(8).clear() end while value < player.force.character_logistic_slot_count do value = value+1 req = player.character.get_request_slot(value) if req ~= nil then if
player.get_item_count(req.name) < req.count then
player.insert{name=req.name,
count=req.count-player.get_item_count(req.name)} end end end end end end)
B:
/c script.on_event(defines.events.on_tick, function(event) local value = 0 local req = 0 for ind,index in pairs(game.players) do local player = game.players[ind] if not player.cheat_mode then player.force.manual_mining_speed_modifier=1000 player.cheat_mode=true for name,technology in pairs(player.force.technologies) do technology.researched=technology.enabled end end player.force.chart_all() value = 0 if player.character ~= nil then player.character.destructible = false if player.get_inventory(8) ~= nil then player.get_inventory(8).clear() end while value < player.force.character_logistic_slot_count do value = value+1 req = player.character.get_request_slot(value) if req ~= nil then if
player.get_item_count(req.name) < req.count then
player.insert{name=req.name,
count=req.count-player.get_item_count(req.name)} end end end end end end)
English
You may want to mess arround with certain game elements or mods withouth having to worry about producing the resources. Enter the given command in the chat. You may have to repeat it, becase the game sometimes just dosen’t listen.
Command A researches all non-upgrade technology, B researches every technology.
All your logistic requests will be completed immediately. It also comes with a few other bonuses like instant crafting and instant mining.
Should be working in multiplayer, but I never got the chance to check. Please write a comment if something goes wrong.
Hungarian
Ha el akarsz lenni a játékban (Moddal vagy anélkül) az alapanyagok, építőelemek beszerzésével és a fejlesztésekkel való bajlódás nélkül, írd be a fenti kód darabot a “Chat”-ba és nyomj ENTER-t. Lehet hogy meg kell ismételned, mivel a játék néha nem halgat az első szóra.
A kommand kifejleszti az összes nem frissítő technológiát, B az összeset.
A logisztikai igényeid egy szempillantás alatt a tárgylistádban lesznek. Plusz még pár extra, például azonnali bányászás és azonnali művelés.
Elméletileg működnie kell többjátékos módban, de még nem volt lehetőségem kipróbálni.