Skip to content

Commit 6a2cb3f

Browse files
committed
[WIP] Multi-Z rads
Haha frick the brig
1 parent 4f44178 commit 6a2cb3f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

code/modules/power/fusion/core/core_field.dm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
Radiate()
176176
if(radiation)
177177
SSradiation.radiate(src, round(radiation))
178+
SSradiation.z_radiate(locate(1, 1, owned_core.z), radiation/1000, 1)
178179
radiation -= radiation * 0.1
179180
return 1
180181

@@ -280,7 +281,7 @@
280281
/obj/effect/fusion_em_field/proc/AddParticles(var/name, var/quantity = 1)
281282
if(name in reactants)
282283
reactants[name] += quantity
283-
else if(name != "proton" && name != "electron" && name != "neutron")
284+
else
284285
reactants.Add(name)
285286
reactants[name] = quantity
286287

code/modules/power/fusion/fusion_reactions.dm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ proc/cache_reactions()
2929
all_reactions = new/list
3030
for (var/rtype in typesof(/decl/fusion_reaction) - /decl/fusion_reaction)
3131
var/decl/fusion_reaction/current_reaction = new rtype()
32-
if (current_reaction.wacky && current_reaction.hackyconfighack)
33-
all_reactions.Add(current_reaction)
32+
all_reactions.Add(current_reaction)
33+
//if (current_reaction.wacky && current_reaction.hackyconfighack)
34+
// all_reactions.Add(current_reaction)
3435

3536
// VERY UNIDEAL REACTIONS.
3637
/decl/fusion_reaction/phoron_supermatter

0 commit comments

Comments
 (0)