Skip to content

Commit 1887ca2

Browse files
Merge pull request #15 from JohnTheCoolingFan/dev
Version 1.1.6
2 parents c245788 + 18e6a97 commit 1887ca2

14 files changed

+69
-19
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ Plutonium nuclear fuel and weapons. Full description coming soon.
1111
* Traditional Chinese / 正體中文 (zh-TW) by [Shallfalke](https://mods.factorio.com/user/Schallfalke)
1212
* Simplified Chinese / 简体中文 (zh-CN) by [Shallfalke](https://mods.factorio.com/user/Schallfalke)
1313

14-
### Join my [Discord server](https://discord.gg/grHVhE2) to get latest news about my mods and just to talk with each other. I'll wait for you there!
14+
### Join my [Discord server](https://discord.gg/grHVhE2) to get latest news about my mods and just to talk with each other. It's mainly Russian, but everyone is welcome.
15+
[![Discord server](https://discordapp.com/api/guilds/370167294439063564/widget.png?style=banner2)](https://discord.gg/grHVhE2)
1516
You can support me on [Patreon](https://www.patreon.com/JohnTheCoolingFan). Your support is very important for me!
1617

1718
#### Other mods about nuclear energy:
1819

19-
* [Realistic Reactors](https://mods.factorio.com/mod/RealisticReactors) - Impressing mod that makes reactors more complicated and realistic. Has support for others mods, including Plutonium Energy.
20+
* [Realistic Reactors](https://mods.factorio.com/mod/RealisticReactors) - Impressing mod that makes reactors more complicated and realistic. Has support for other mods, including Plutonium Energy.
2021
* [RITEG](https://mods.factorio.com/mod/RITEG) - Good mod that adds [RITEGs](https://en.wikipedia.org/wiki/Radioisotope_thermoelectric_generator)
21-
* [Realistic Reactor Glow](https://mods.factorio.com/mod/RealisticReactorGlow) - Changes reactor's glow from green to cyan (Similar to how MOX reactor glows)
22+
* [Realistic Reactor Glow](https://mods.factorio.com/mod/RealisticReactorGlow) - Changes reactor's glow from green to more realistic cyan (Similar to how MOX reactor glows)
2223
* [Advanced Atomics mod](https://mods.factorio.com/mod/Advanced-Atomics) - Discontinued mod that adds a lot of uranium and plutonium stuff, supported in Plutonium Energy.
2324

2425
Other my mods:

changelog.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---------------------------------------------------------------------------------------------------
2+
Version: 1.1.6
3+
Date: 21.09.2019
4+
Fixes:
5+
- Fixed heated MOX reactor graphics
6+
---------------------------------------------------------------------------------------------------
27
Version: 1.1.5
38
Date: 21.08.2019
49
Minor Features:

data.lua

-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,3 @@ require("prototypes.recipe.recipes")
55
require("prototypes.technology.technologies")
66
require("prototypes.categories.fuel-category")
77
require("prototypes.categories.recipe-category")
8-
9-
-- TODO
10-
-- Add option to disable thath recipe from 1.1.3 and 1.1.4
Loading
Loading
Loading
Loading

info.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "PlutoniumEnergy",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"title": "Plutonium Energy",
55
"author": "JohnTheCoolingFan",
66
"contact": "https://discord.gg/grHVhE2",

prototypes/entity/entities.lua

+41-8
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,51 @@
11
require "util"
22
local entities = {}
33

4+
-- TODO: Fix heated reactor graphics
45
local MOX_reactor = util.table.deepcopy(data.raw["reactor"]["nuclear-reactor"])
6+
57
MOX_reactor.name = "MOX-reactor"
68
MOX_reactor.icon = "__PlutoniumEnergy__/graphics/icons/MOX-reactor.png"
79
MOX_reactor.minable.result = "MOX-reactor"
8-
MOX_reactor.minable.mining_time = 1
910
MOX_reactor.max_health = 400
11+
1012
MOX_reactor.consumption = "20MW"
1113
MOX_reactor.energy_source.fuel_category = "PE-MOX"
14+
1215
MOX_reactor.collision_box = {{-1.2, -1.2}, {1.2, 1.2}}
1316
MOX_reactor.selection_box = {{-1.45, -1.45}, {1.45, 1.45}}
17+
1418
MOX_reactor.next_upgrade = nil
19+
1520
local lower_layer = MOX_reactor.lower_layer_picture
1621
lower_layer.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/MOX-reactor-pipes.png"
1722
lower_layer.width = 96
1823
lower_layer.height = 92
1924
lower_layer.hr_version.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/hr-MOX-reactor-pipes.png"
2025
lower_layer.hr_version.width = 192
2126
lower_layer.hr_version.height = 192
27+
28+
MOX_reactor.heat_lower_layer_picture.filename = '__PlutoniumEnergy__/graphics/entity/MOX-reactor/MOX-reactor-pipes-heated.png'
29+
MOX_reactor.heat_lower_layer_picture.width = 96
30+
MOX_reactor.heat_lower_layer_picture.height = 96
31+
MOX_reactor.heat_lower_layer_picture.hr_version.filename = '__PlutoniumEnergy__/graphics/entity/MOX-reactor/hr-MOX-reactor-pipes-heated.png'
32+
MOX_reactor.heat_lower_layer_picture.hr_version.width = 192
33+
MOX_reactor.heat_lower_layer_picture.hr_version.height = 192
34+
2235
MOX_reactor.picture.layers[1].scale = 0.6
36+
MOX_reactor.picture.layers[1].shift = util.by_pixel(-4, -6)
2337
MOX_reactor.picture.layers[1].hr_version.scale = 0.3
38+
MOX_reactor.picture.layers[1].hr_version.shift = util.by_pixel(-3, -7)
2439
MOX_reactor.picture.layers[2].scale = 0.6
2540
MOX_reactor.picture.layers[2].hr_version.scale = 0.3
41+
2642
MOX_reactor.working_light_picture.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/MOX-reactor-lights-color.png"
2743
MOX_reactor.working_light_picture.scale = 0.6
2844
MOX_reactor.working_light_picture.hr_version.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/hr-MOX-reactor-lights-color.png"
2945
MOX_reactor.working_light_picture.hr_version.scale = 0.3
30-
MOX_reactor.light.color = {r = 0.0, g = 0.15, b = 1.0}
46+
47+
MOX_reactor.light.color = {r = 0.0, g = 0.82, b = 0.9}
48+
3149
MOX_reactor.heat_buffer.connections = {
3250
{
3351
position = {-1, -1},
@@ -62,26 +80,41 @@ MOX_reactor.heat_buffer.connections = {
6280
direction = defines.direction.west
6381
}
6482
}
83+
84+
MOX_reactor.heat_buffer.heat_picture.scale = 0.6
85+
MOX_reactor.heat_buffer.heat_picture.hr_version.scale = 0.3
86+
MOX_reactor.heat_buffer.heat_glow.scale = 0.6
87+
6588
local patches_pic_con = MOX_reactor.connection_patches_connected.sheet
6689
patches_pic_con.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/MOX-reactor-connect-patches.png"
67-
patches_pic_con.variation_count = 12
6890
patches_pic_con.hr_version.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/hr-MOX-reactor-connect-patches.png"
69-
patches_pic_con.hr_version.variation_count = 12
91+
7092
local patches_pic_discon = MOX_reactor.connection_patches_disconnected.sheet
7193
patches_pic_discon.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/MOX-reactor-connect-patches.png"
72-
patches_pic_discon.variation_count = 12
7394
patches_pic_discon.hr_version.filename = "__PlutoniumEnergy__/graphics/entity/MOX-reactor/hr-MOX-reactor-connect-patches.png"
74-
patches_pic_discon.hr_version.variation_count = 12
95+
96+
local patches_pic_con_heat = MOX_reactor.heat_connection_patches_connected.sheet
97+
patches_pic_con_heat.filename = '__PlutoniumEnergy__/graphics/entity/MOX-reactor/MOX-reactor-connect-patches-heated.png'
98+
patches_pic_con_heat.hr_version.filename = '__PlutoniumEnergy__/graphics/entity/MOX-reactor/hr-MOX-reactor-connect-patches-heated.png'
99+
100+
local patches_pic_discon_heat = MOX_reactor.heat_connection_patches_disconnected.sheet
101+
patches_pic_discon_heat.filename = '__PlutoniumEnergy__/graphics/entity/MOX-reactor/MOX-reactor-connect-patches-heated.png'
102+
patches_pic_discon_heat.hr_version.filename = '__PlutoniumEnergy__/graphics/entity/MOX-reactor/hr-MOX-reactor-connect-patches-heated.png'
75103
table.insert(entities, MOX_reactor)
76104

105+
77106
local industrial_reactor = util.table.deepcopy(data.raw["assembling-machine"]["centrifuge"])
107+
78108
industrial_reactor.name = "industrial-reactor"
79109
industrial_reactor.icon = "__PlutoniumEnergy__/graphics/icons/industrial-reactor.png"
110+
industrial_reactor.minable.result = "industrial-reactor"
111+
80112
industrial_reactor.crafting_categories = {"alpha-decay", "nucleosynthesis", "excess-neutron-capture"}
81-
industrial_reactor.energy_usage = "420kW"
82113
industrial_reactor.module_specification.module_slots = 4
114+
industrial_reactor.energy_usage = "420kW"
115+
83116
industrial_reactor.working_visualisations[1].light.color = {r = 0.0, g = 0.15, b = 1.0}
84-
industrial_reactor.minable.result = "industrial-reactor"
117+
85118
local indreact_anim = industrial_reactor.animation.layers
86119
indreact_anim[1].filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/industrial-reactor-C-light.png"
87120
indreact_anim[1].hr_version.filename = "__PlutoniumEnergy__/graphics/entity/industrial-reactor/hr-industrial-reactor-C-light.png"

prototypes/entity/projectiles.lua

+7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ plutonium_cannon_shell_explosion.name = "plutonium-cannon-shell-explosion"
55
plutonium_cannon_shell_explosion.animations[1].tint = {r = 0.1, g = 0.9, b = 0.7}
66
table.insert(projectiles, plutonium_cannon_shell_explosion)
77

8+
89
local plutonium_cannon_explosion = util.table.deepcopy(data.raw["explosion"]["explosion"])
910
plutonium_cannon_explosion.name = "plutonium-cannon-explosion"
1011
for k, v in pairs(plutonium_cannon_explosion.animations) do
1112
v.tint = {r = 0.1, g = 0.9, b = 0.7}
1213
end
1314
table.insert(projectiles, plutonium_cannon_explosion)
1415

16+
1517
local plutonium_atomic_rocket = util.table.deepcopy(data.raw["projectile"]["atomic-rocket"])
1618
plutonium_atomic_rocket.name = "plutonium-atomic-rocket"
1719
plutonium_atomic_rocket.action.action_delivery.target_effects[1].repeat_count = 140
@@ -20,18 +22,23 @@ plutonium_atomic_rocket.action.action_delivery.target_effects[5].action.repeat_c
2022
plutonium_atomic_rocket.action.action_delivery.target_effects[5].action.radius = 50
2123
table.insert(projectiles, plutonium_atomic_rocket)
2224

25+
2326
if mods["AtomicArtillery"] then
2427
local plutonium_atomic_artillery_projectile = util.table.deepcopy(data.raw["artillery-projectile"]["atomic-artillery-projectile"])
28+
2529
plutonium_atomic_artillery_projectile.name = "plutonium-atomic-artillery-projectile"
30+
2631
plutonium_atomic_artillery_projectile.picture.filename = "__PlutoniumEnergy__/graphics/entity/plutonium-artillery-projectile/hr-plutonium-atomic-shell.png"
2732
plutonium_atomic_artillery_projectile.chart_picture.filename = "__PlutoniumEnergy__/graphics/entity/plutonium-artillery-projectile/plutonium-atomic-artillery-shoot-map-visualization.png"
33+
2834
plutonium_atomic_artillery_projectile.action.action_delivery.target_effects[1].repeat_count = 140
2935
plutonium_atomic_artillery_projectile.action.action_delivery.target_effects[3].damage.amount = 2100
3036
plutonium_atomic_artillery_projectile.action.action_delivery.target_effects[5].action.repeat_count = 5600
3137
plutonium_atomic_artillery_projectile.action.action_delivery.target_effects[5].action.radius = 70
3238
plutonium_atomic_artillery_projectile.action.action_delivery.target_effects[5].action.action_delivery.projectile = "plutonium-atomic-artillery-wave"
3339
table.insert(projectiles, plutonium_atomic_artillery_projectile)
3440

41+
3542
local plutonium_atomic_artillery_wave = util.table.deepcopy(data.raw["projectile"]["atomic-artillery-wave"])
3643
plutonium_atomic_artillery_wave.name = "plutonium-atomic-artillery-wave"
3744
plutonium_atomic_artillery_wave.action[2].action_delivery.target_effects.damage.amount = 5600

prototypes/item/ammo.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
if mods["AtomicArtillery"] then
22
local plutonium_atomic_artillery_shell = util.table.deepcopy(data.raw["ammo"]["atomic-artillery-shell"])
3+
34
plutonium_atomic_artillery_shell.name = "plutonium-atomic-artillery-shell"
45
plutonium_atomic_artillery_shell.icon = "__PlutoniumEnergy__/graphics/icons/plutonium-atomic-artillery-shell.png"
6+
57
plutonium_atomic_artillery_shell.projectile = "plutonium-atomic-artillery-projectile"
68
plutonium_atomic_artillery_shell.ammo_type.action.action_delivery.starting_speed = 1.1
79
data:extend({plutonium_atomic_artillery_shell})

prototypes/recipe/ammo.lua

+2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ local ammo_recipes = {}
22

33
if mods["AtomicArtillery"] then
44
local plutonium_atomic_artillery_shell = util.table.deepcopy(data.raw["recipe"]["atomic-artillery-shell"])
5+
56
plutonium_atomic_artillery_shell.name = "plutonium-atomic-artillery-shell"
7+
68
plutonium_atomic_artillery_shell.ingredients = {
79
{"plutonium-atomic-bomb", 1},
810
{"explosive-plutonium-cannon-shell", 3},

prototypes/recipe/recipes.lua

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ local recipes = {}
66
data.raw["recipe"]["kovarex-enrichment-process"].order = "r[uranium-processing]-d[kovarex-enrichment-process]"
77

88
local advanced_nuclear_fuel_reprocessing = util.table.deepcopy(data.raw["recipe"]["nuclear-fuel-reprocessing"])
9+
910
advanced_nuclear_fuel_reprocessing.name = "advanced-nuclear-fuel-reprocessing"
11+
advanced_nuclear_fuel_reprocessing.icon = "__PlutoniumEnergy__/graphics/icons/advanced-nuclear-fuel-reprocessing.png"
12+
1013
advanced_nuclear_fuel_reprocessing.enabled = false
14+
1115
advanced_nuclear_fuel_reprocessing.ingredients = {{"used-up-uranium-fuel-cell", 10}}
1216
advanced_nuclear_fuel_reprocessing.energy_required = 100
1317
advanced_nuclear_fuel_reprocessing.results = {{name = "uranium-238", amount = 5}, {name = "PE-plutonium-239", amount = 2}}
14-
advanced_nuclear_fuel_reprocessing.order = "r[uranium-processing]-c[advanced-nuclear-fuel-reprocessing]"
15-
advanced_nuclear_fuel_reprocessing.icon = "__PlutoniumEnergy__/graphics/icons/advanced-nuclear-fuel-reprocessing.png"
18+
1619
advanced_nuclear_fuel_reprocessing.order = "r[uranium-processing]-c[advanced-nuclear-fuel-reprocessing]"
1720
table.insert(recipes, advanced_nuclear_fuel_reprocessing)
1821

prototypes/technology/technologies.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ data:extend({
4343
icon_size = 128,
4444
effects = {
4545
{
46-
type = "unlock-recipe",
47-
recipe = "MOX-fuel"
46+
type = "unlock-recipe",
47+
recipe = "MOX-fuel"
4848
},
4949
{
5050
type = "unlock-recipe",

0 commit comments

Comments
 (0)