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