mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
.
This commit is contained in:
@@ -152,12 +152,14 @@ if config.auto_collect_bodies then
|
|||||||
Event.add(defines.events.on_character_corpse_expired, function(event)
|
Event.add(defines.events.on_character_corpse_expired, function(event)
|
||||||
local corpse = event.corpse
|
local corpse = event.corpse
|
||||||
local inventory = assert(corpse.get_inventory(defines.inventory.character_corpse))
|
local inventory = assert(corpse.get_inventory(defines.inventory.character_corpse))
|
||||||
|
--[[
|
||||||
ExpUtil.transfer_inventory_to_surface{
|
ExpUtil.transfer_inventory_to_surface{
|
||||||
inventory = inventory,
|
inventory = inventory,
|
||||||
surface = corpse.surface,
|
surface = corpse.surface,
|
||||||
name = "steel-chest",
|
name = "steel-chest",
|
||||||
allow_creation = true,
|
allow_creation = true,
|
||||||
}
|
}
|
||||||
|
]]
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user