mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -29,6 +29,16 @@ if data.raw['cargo-wagon'] and data.raw['cargo-wagon']['cargo-wagon'] then
|
|||||||
data.raw['cargo-wagon']['cargo-wagon'].inventory_size = math.max(80, data.raw['cargo-wagon']['cargo-wagon'].inventory_size or 0)
|
data.raw['cargo-wagon']['cargo-wagon'].inventory_size = math.max(80, data.raw['cargo-wagon']['cargo-wagon'].inventory_size or 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- MIG C 18 BASE ENTITY
|
||||||
|
-- MIG C 5 SPACE_AGE ENTITY
|
||||||
|
for _, w in pairs({'storage-tank', 'generator', 'furnace', 'roboport', 'assembling-machine', 'offshore-pump', 'pump', 'pipe', 'pipe-to-ground', 'infinity-pipe'}) do
|
||||||
|
if data.raw[w] then
|
||||||
|
for _, v in pairs(data.raw[w]) do
|
||||||
|
v.heating_energy = nil
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- GM-SAP C 2 SPACE_AGE RESOURCE
|
-- GM-SAP C 2 SPACE_AGE RESOURCE
|
||||||
for _, v in pairs({'lithium-brine', 'fluorine-vent'}) do
|
for _, v in pairs({'lithium-brine', 'fluorine-vent'}) do
|
||||||
if data.raw.resource[v] then
|
if data.raw.resource[v] then
|
||||||
|
|||||||
+1
-12
@@ -525,18 +525,7 @@ if data.raw['proxy-container'] and data.raw['proxy-container']['proxy-container'
|
|||||||
data.raw['proxy-container']['proxy-container'].draw_inventory_content = false
|
data.raw['proxy-container']['proxy-container'].draw_inventory_content = false
|
||||||
end
|
end
|
||||||
|
|
||||||
-- MIG C 18 BASE ENTITY
|
-- MIG C 1 BASE ENTITY
|
||||||
-- MIG C 5 SPACE_AGE ENTITY
|
|
||||||
for _, w in pairs({'storage-tank', 'generator', 'furnace', 'roboport', 'assembling-machine', 'offshore-pump', 'pump', 'pipe', 'pipe-to-ground', 'infinity-pipe'}) do
|
|
||||||
if data.raw[w] then
|
|
||||||
for _, v in pairs(data.raw[w]) do
|
|
||||||
v.heating_energy = nil
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- 1 ENTITY FROM ABOVE
|
|
||||||
-- MIG C 0 BASE ENTITY
|
|
||||||
-- MIG C 1 BASE ARMOR_EQUIPMENT
|
-- MIG C 1 BASE ARMOR_EQUIPMENT
|
||||||
for _, w in pairs({'roboport', 'roboport-equipment'}) do
|
for _, w in pairs({'roboport', 'roboport-equipment'}) do
|
||||||
if data.raw[w] then
|
if data.raw[w] then
|
||||||
|
|||||||
+2
-2
@@ -73,7 +73,7 @@ data:extend({
|
|||||||
setting_type = 'startup',
|
setting_type = 'startup',
|
||||||
default_value = false,
|
default_value = false,
|
||||||
localised_name = {'phi-cl.setting-class-color', 'MI1', {'phi-cl.enable'}, {'mod-setting-name.PHI-MI-GENERIC'}},
|
localised_name = {'phi-cl.setting-class-color', 'MI1', {'phi-cl.enable'}, {'mod-setting-name.PHI-MI-GENERIC'}},
|
||||||
localised_description = {'', {'phi-cl.setting-change-color', '[205] A117 C79'}},
|
localised_description = {'', {'phi-cl.setting-change-color', '[179] A117 C57'}},
|
||||||
order = 'B01'
|
order = 'B01'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
@@ -155,7 +155,7 @@ data:extend({
|
|||||||
default_value = '',
|
default_value = '',
|
||||||
allowed_values = {'', 'SAP', 'VP'},
|
allowed_values = {'', 'SAP', 'VP'},
|
||||||
localised_name = {'phi-cl.setting-category-color', 'GM', {'phi-cl.enable'}, {'mod-setting-name.PHI-GM'}},
|
localised_name = {'phi-cl.setting-category-color', 'GM', {'phi-cl.enable'}, {'mod-setting-name.PHI-GM'}},
|
||||||
localised_description = {'', {'phi-cl.setting-change-color', '[GM] [50] A20 C23 H7\n[SAP] [31] A3 C28\n[VP] [570] A16 C182 H372'}},
|
localised_description = {'', {'phi-cl.setting-change-color', '[GM] [74] A20 C47 H7\n[SAP] [31] A3 C28\n[VP] [570] A16 C182 H372'}},
|
||||||
order = 'D00'
|
order = 'D00'
|
||||||
}, {
|
}, {
|
||||||
type = 'bool-setting',
|
type = 'bool-setting',
|
||||||
|
|||||||
Reference in New Issue
Block a user