mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
Update main.lua
This commit is contained in:
@@ -15,14 +15,11 @@ local function EE(source, tier)
|
||||
|
||||
if (source == "solar-panel")
|
||||
then
|
||||
w = 1
|
||||
h = 1
|
||||
ty = source .. "-equipment"
|
||||
item["power"] = (60 * (2 ^ (tier - 1))) .. "kW"
|
||||
item["energy_source"] = {type = "electric", usage_priority = "primary-output"}
|
||||
elseif (source == "battery")
|
||||
then
|
||||
w = 1
|
||||
h = 2
|
||||
ty = source .. "-equipment"
|
||||
item["energy_source"] = {type = "electric", usage_priority = "tertiary", buffer_capacity= (100 * (2 ^ (tier - 1))) .. "MJ"}
|
||||
|
||||
Reference in New Issue
Block a user