mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-28 21:42:30 +09:00
.
This commit is contained in:
@@ -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
|
||||
]]
|
||||
|
||||
Reference in New Issue
Block a user