mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
pirates: prevent autostash in captain's cabin chests
This commit is contained in:
parent
f2e3f04790
commit
e34e9536b3
@ -295,6 +295,10 @@ function Public.create_cabin_surface()
|
||||
e2.rotatable = false
|
||||
e2.operable = false
|
||||
end
|
||||
|
||||
if e2.name == 'wooden-chest' then
|
||||
e2.force = 'environment' -- Patch to stop the autostash helper from inserting items in these chests
|
||||
end
|
||||
end
|
||||
-- local es2 = Common.build_from_blueprint(Public.Data.operable_entities_bp, surface, {x=5, y=-4}, boat.force_name)
|
||||
-- for _, e2 in pairs(es2) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user