This commit is contained in:
2026-07-03 15:37:17 +09:00
parent a6f2ef118e
commit 5c11768f7f
2 changed files with 69 additions and 63 deletions
+21
View File
@@ -27,4 +27,25 @@ for _, v in pairs({'yumako-tree', 'jellystem'}) do
end
data.raw['simple-entity']['small-stomper-shell'].autoplace = nil
修改機械手的方向為8向 (長機械手為 16)。
Inserter is now 8 way, or 16 way for long inserter.
This will disable rotation
-- MIG C 5 BASE ENTITY
-- MIG C 1 SPACE_AGE ENTITY
if data.raw['inserter'] then
for _, v in pairs(data.raw['inserter']) do
if v.energy_source and v.energy_source.type and (v.energy_source.type == 'electric' or v.energy_source.type == 'void' or v.energy_source.type == 'burner') then
if not v.flags then
v.flags = {'placeable-neutral', 'placeable-player', 'player-creation'}
end
table.insert(v.flags, ((v.hand_size and v.hand_size > 0.8) and 'building-direction-16-way' or 'building-direction-8-way'))
if v.energy_source.type == 'burner' then
v.allow_burner_leech = true
end
end
end
end
]]