mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-13 13:18:44 +09:00
@@ -99,7 +99,10 @@ for _, v in pairs({'coal', 'stone', 'iron-ore', 'copper-ore', 'uranium-ore'}) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local item = table.deepcopy(data.raw['item']['depleted-uranium-fuel-cell'])
|
-- GM A 2 BASE ITEM,RECIPE
|
||||||
|
-- GM C 1 BASE ENTITY
|
||||||
|
if data.raw.item['depleted-uranium-fuel-cell'] and data.raw.item['nuclear-fuel'] then
|
||||||
|
local item = table.deepcopy(data.raw.item['depleted-uranium-fuel-cell'])
|
||||||
item.name = 'empty-train-battery'
|
item.name = 'empty-train-battery'
|
||||||
item.icon = items['general']['graphics_location'] .. 'battery.png'
|
item.icon = items['general']['graphics_location'] .. 'battery.png'
|
||||||
item.order = 'qa'
|
item.order = 'qa'
|
||||||
@@ -125,7 +128,7 @@ data:extend({{
|
|||||||
localised_description = {'description.empty-train-battery'}
|
localised_description = {'description.empty-train-battery'}
|
||||||
}})
|
}})
|
||||||
|
|
||||||
item = table.deepcopy(data.raw['item']['nuclear-fuel'])
|
item = table.deepcopy(data.raw.item['nuclear-fuel'])
|
||||||
item.name = 'charged-train-battery'
|
item.name = 'charged-train-battery'
|
||||||
item.burnt_result = 'empty-train-battery'
|
item.burnt_result = 'empty-train-battery'
|
||||||
item.fuel_value = '1GJ'
|
item.fuel_value = '1GJ'
|
||||||
@@ -157,3 +160,4 @@ for _, v in pairs(data.raw['locomotive']) do
|
|||||||
v.energy_source.burnt_inventory_size = (v.energy_source.burnt_inventory_size and math.max(v.energy_source.burnt_inventory_size, 1)) or 1
|
v.energy_source.burnt_inventory_size = (v.energy_source.burnt_inventory_size and math.max(v.energy_source.burnt_inventory_size, 1)) or 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user