mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
Ports the radiation subsystem and cleans up damage flags. (#15715)
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
icon = 'icons/obj/machinery/particle_accelerator2.dmi'
|
||||
icon_state = "particle"
|
||||
damage = 60
|
||||
damage_type = BRUTE
|
||||
damage_type = DAMAGE_BRUTE
|
||||
check_armor = "bullet"
|
||||
pass_flags = PASSTABLE | PASSGLASS | PASSGRILLE
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
name = "plasma arc"
|
||||
icon_state = "omnilaser"
|
||||
damage = 20
|
||||
damage_type = BURN
|
||||
damage_type = DAMAGE_BURN
|
||||
check_armor = "laser"
|
||||
range = 5
|
||||
pass_flags = PASSTABLE|PASSRAILING
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
to_chat(M, "<span class='warning'>Your gun feels pleasantly warm for a moment.</span>")
|
||||
else
|
||||
to_chat(M, "<span class='warning'>You feel a warm sensation.</span>")
|
||||
M.apply_effect(rand(3,120), IRRADIATE)
|
||||
SSradiation.radiate(src, rand(3, 50))
|
||||
return
|
||||
|
||||
/obj/item/gun/energy/gun/nuclear/medium_fail(var/mob/user)
|
||||
@@ -85,7 +85,7 @@
|
||||
to_chat(user, "<span class='danger'>Your gun's reactor overloads!</span>")
|
||||
for (var/mob/living/M in range(rand(1,4),src))
|
||||
to_chat(M, "<span class='warning'>You feel a wave of heat wash over you.</span>")
|
||||
M.apply_effect(300, IRRADIATE)
|
||||
SSradiation.radiate(src, rand(3, 80))
|
||||
crit_fail = 1 //break the gun so it stops recharging
|
||||
self_recharge = FALSE
|
||||
update_icon()
|
||||
|
||||
Reference in New Issue
Block a user