mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update prototypes.lua
This commit is contained in:
@@ -4,7 +4,7 @@ local base_battery_flow = 300
|
|||||||
local base_solar_energy = 60
|
local base_solar_energy = 60
|
||||||
local graphics_location = "__PHI-EN__/graphics/"
|
local graphics_location = "__PHI-EN__/graphics/"
|
||||||
|
|
||||||
local function EN(source, tier)
|
local function EE(source, tier)
|
||||||
local item = table.deepcopy(data.raw[source][source])
|
local item = table.deepcopy(data.raw[source][source])
|
||||||
item.name = source .. "-mk" .. tier
|
item.name = source .. "-mk" .. tier
|
||||||
item.place_result = source .. "-mk" .. tier
|
item.place_result = source .. "-mk" .. tier
|
||||||
@@ -68,7 +68,7 @@ items = {"accumulator", "solar-panel"}
|
|||||||
|
|
||||||
for i=1, 2, 1 do
|
for i=1, 2, 1 do
|
||||||
for j=2, 8, 1 do
|
for j=2, 8, 1 do
|
||||||
EN(items[i], j)
|
EE(items[i], j)
|
||||||
ER(items[i], j)
|
ER(items[i], j)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user