Skip to content

Commit 1e242e7

Browse files
Merge pull request #28 from JohnTheCoolingFan/dev
1.1.11
2 parents f5d2b9f + 8fa9fc7 commit 1e242e7

File tree

3 files changed

+29
-22
lines changed

3 files changed

+29
-22
lines changed

changelog.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 1.1.11
3+
Date: 04.06.2020
4+
Fixes:
5+
- Fixed loading error that occurs when using PE and some other mods.
6+
---------------------------------------------------------------------------------------------------
27
Version: 1.1.10
38
Date: 24.04.2020
49
Fixes:

info.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "PlutoniumEnergy",
3-
"version": "1.1.10",
4-
"title": "Plutonium Energy",
5-
"author": "JohnTheCoolingFan",
6-
"contact": "https://discord.gg/grHVhE2",
7-
"homepage": "https://discord.gg/grHVhE2",
8-
"dependencies": [
9-
"base >= 0.18.21",
10-
"? AtomicArtillery",
11-
"? SchallUraniumProcessing"
12-
],
13-
"description": "Adds processing of plutonium, excess product from nuclear reaction. Plutonium can be used to create ammo (even plutonium atomic bomb) and to create energy as MOX fuel.",
14-
"factorio_version": "0.18"
2+
"name": "PlutoniumEnergy",
3+
"version": "1.1.11",
4+
"title": "Plutonium Energy",
5+
"author": "JohnTheCoolingFan",
6+
"contact": "https://discord.gg/grHVhE2",
7+
"homepage": "https://discord.gg/grHVhE2",
8+
"dependencies": [
9+
"base >= 0.18.21",
10+
"? AtomicArtillery",
11+
"? SchallUraniumProcessing"
12+
],
13+
"description": "Adds processing of plutonium, excess product from nuclear reaction. Plutonium can be used to create ammo (even plutonium atomic bomb) and to create energy as MOX fuel.",
14+
"factorio_version": "0.18"
1515
}

prototypes/entity/entities.lua

+11-9
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,17 @@ industrial_reactor.crafting_categories = {"alpha-decay", "nucleosynthesis", "exc
115115
industrial_reactor.module_specification.module_slots = 4
116116
industrial_reactor.energy_usage = "420kW"
117117

118-
industrial_reactor.working_visualisations[1].light.color = {r = 0.0, g = 0.15, b = 1.0}
119-
120-
local indreact_anim = industrial_reactor.animation.layers
121-
indreact_anim[1].filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/industrial-reactor-C-light.png"
122-
indreact_anim[1].hr_version.filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/hr-industrial-reactor-C-light.png"
123-
indreact_anim[2].filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/industrial-reactor-B-light.png"
124-
indreact_anim[2].hr_version.filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/hr-industrial-reactor-B-light.png"
125-
indreact_anim[3].filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/industrial-reactor-A-light.png"
126-
indreact_anim[3].hr_version.filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/hr-industrial-reactor-A-light.png"
118+
industrial_reactor.working_visualisations[1] = {effect="uranium-glow", light={intensity=0.6, size=9.9, shift={0.0, 0.0}, color={r=0.0, g=0.15, b=1.0}}}
119+
120+
if industrial_reactor.animation then
121+
local indreact_anim = industrial_reactor.animation.layers
122+
indreact_anim[1].filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/industrial-reactor-C-light.png"
123+
indreact_anim[1].hr_version.filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/hr-industrial-reactor-C-light.png"
124+
indreact_anim[2].filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/industrial-reactor-B-light.png"
125+
indreact_anim[2].hr_version.filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/hr-industrial-reactor-B-light.png"
126+
indreact_anim[3].filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/industrial-reactor-A-light.png"
127+
indreact_anim[3].hr_version.filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/hr-industrial-reactor-A-light.png"
128+
end
127129
table.insert(entities, industrial_reactor)
128130

129131
data:extend(entities)

0 commit comments

Comments
 (0)