Ports the radiation subsystem and cleans up damage flags. (#15715)

This commit is contained in:
Matt Atlas
2023-02-07 13:22:47 +01:00
committed by GitHub
parent 5527fc0810
commit 31c73ead85
198 changed files with 981 additions and 649 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
if(prob(current_size*5) && hand.w_class >= ((11-current_size)/2) && u_equip(hand))
step_towards(hand, src)
to_chat(src, "<span class = 'warning'>The [S] pulls \the [hand] from your grip!</span>")
apply_damage(current_size * 3, IRRADIATE, damage_flags = DAM_DISPERSED)
apply_damage(current_size * 3, DAMAGE_RADIATION, damage_flags = DAMAGE_FLAG_DISPERSED)
if(shoes)
if(shoes.item_flags & NOSLIP) return 0
..()