Factorio: Inventory Spill Traps (#4457)

This commit is contained in:
Fabian Dill
2025-01-26 22:14:39 +01:00
committed by GitHub
parent 90417e0022
commit 8622cb6204
4 changed files with 59 additions and 12 deletions

View File

@@ -750,6 +750,11 @@ end,
fire_entity_at_entities("atomic-rocket", {cliffs[math.random(#cliffs)]}, 0.1)
end
end,
["Inventory Spill Trap"] = function ()
for _, player in ipairs(game.forces["player"].players) do
spill_character_inventory(player.character)
end
end,
}
commands.add_command("ap-get-technology", "Grant a technology, used by the Archipelago Client.", function(call)