Changes radiation storm random event into a weather type.

This commit is contained in:
Shadowlight213
2016-08-16 19:35:45 -07:00
parent 926b37a91d
commit 0863636e98
4 changed files with 62 additions and 47 deletions
+3 -2
View File
@@ -29,9 +29,10 @@
/atom/proc/rad_act(var/severity)
return 1
/mob/living/rad_act(amount)
/mob/living/rad_act(amount, silent = 0)
if(amount)
var/blocked = run_armor_check(null, "rad", "Your clothes feel warm.", "Your clothes feel warm.")
var/message = silent ? null : "Your clothes feel warm."
var/blocked = run_armor_check(null, "rad", message, message)
apply_effect(amount, IRRADIATE, blocked)
for(var/obj/I in src) //Radiation is also applied to items held by the mob
I.rad_act(amount)