Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle committed Jan 27, 2025
1 parent 801f2e8 commit e16ffe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/obj/nuclearreactor/turbine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -490,14 +490,14 @@
playsound(src, 'sound/effects/electric_shock_short.ogg', 50)
src.UpdateParticles(new/particles/rack_spark,"turbine_spark")
src.visible_message(SPAN_ALERT("<b>The [src] starts sparking!</b>"))
else if(prevHealth < 0.75*max_blade_health && src.GetParticles("turbine_spark"))
else if(blade_health > 0.75*max_blade_health && src.GetParticles("turbine_spark"))
src.visible_message(SPAN_ALERT("<b>The [src] stops sparking.</b>"))
src.ClearSpecificParticles("turbine_spark")

if(blade_health <= 0.5*max_blade_health && !src.GetParticles("turbine_smoke"))
src.UpdateParticles(new/particles/rack_smoke,"turbine_smoke")
src.visible_message(SPAN_ALERT("<b>The [src] begins to smoke!</b>"))
else if(prevHealth < 0.5*max_blade_health && src.GetParticles("turbine_smoke"))
else if(blade_health > 0.5*max_blade_health && src.GetParticles("turbine_smoke"))
src.visible_message(SPAN_ALERT("<b>The [src] stops smoking.</b>"))
src.ClearSpecificParticles("turbine_smoke")

Expand Down

0 comments on commit e16ffe6

Please sign in to comment.