Skip to content

Commit

Permalink
change base accumulator later to allow other mods to copy it without …
Browse files Browse the repository at this point in the history
…issues
  • Loading branch information
LsHallo committed Oct 22, 2024
1 parent 1f58c12 commit a4423c4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
5 changes: 5 additions & 0 deletions Advanced-Electric-Revamped-v16/data-final-fixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ if mods["Krastorio2"] then
}
mul = settings.startup["advanced-electric-multiplier-ultimate-solar"].value
data.raw["solar-panel"]["ultimate-solar"].production = numberstringmultiplicator(data.raw["solar-panel"]["solar-panel"]["production"], mul)
end

if mods["FactorioExtended-Plus-Power"] == nil then
data.raw["accumulator"]["accumulator"].next_upgrade = "advanced-accumulator"
data.raw["solar-panel"]["solar-panel"].next_upgrade = "advanced-solar"
end
4 changes: 0 additions & 4 deletions Advanced-Electric-Revamped-v16/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ end

data.raw["accumulator"]["accumulator"].fast_replaceable_group = "accumulator"
data.raw["solar-panel"]["solar-panel"].fast_replaceable_group = "solar-panel"
if mods["FactorioExtended-Plus-Power"] == nil then
data.raw["accumulator"]["accumulator"].next_upgrade = "advanced-accumulator"
data.raw["solar-panel"]["solar-panel"].next_upgrade = "advanced-solar"
end

if mods["5dim_core"] then
require("prototypes.item-group-5dim")
Expand Down
25 changes: 16 additions & 9 deletions Advanced-Electric-Revamped-v16/info.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"name": "Advanced-Electric-Revamped-v16",
"version": "0.7.0",
"title": "Advanced Solar High Resolution",
"contact": "",
"author": "LsHallo",
"homepage": "https://forums.factorio.com/viewtopic.php?f=190&t=59398",
"description": "Adds higher tiers of solar panels(600kW, 6MW, 60MW) and accumulators(50MJ, 500MJ, 5GJ). Values configurable.",
"dependencies": ["base >= 2.0.0"],
"factorio_version": "2.0"
"name": "Advanced-Electric-Revamped-v16",
"version": "0.7.1",
"title": "Advanced Solar High Resolution",
"contact": "",
"author": "LsHallo",
"homepage": "https://forums.factorio.com/viewtopic.php?f=190&t=59398",
"description": "Adds higher tiers of solar panels(600kW, 6MW, 60MW) and accumulators(50MJ, 500MJ, 5GJ). Values configurable.",
"dependencies": [
"base >= 2.0.0",
"?space-age",
"!Advanced-Solar-and-Accumulator",
"!Advanced-Solar",
"!skan-advanced-solar",
"!here-comes-the-sun"
],
"factorio_version": "2.0"
}

0 comments on commit a4423c4

Please sign in to comment.