This commit is contained in:
Pinta
2023-02-08 18:24:13 -05:00
parent 8b3ee4ffe3
commit 9fc2f81150
14 changed files with 126 additions and 106 deletions
@@ -114,8 +114,8 @@
/obj/item/gun/fatbeam/proc/on_beam_tick(var/mob/living/target)
if(target.health != target.maxHealth)
new /obj/effect/temp_visual/heal(get_turf(target), "#FFC2F8")
if(HAS_TRAIT(target, TRAIT_GAIN_WEAPON_IMMUNE))
target.nutrition += 50
if(target?.client?.prefs?.weight_gain_weapons)
target.nutrition += 50
return
/obj/item/gun/fatbeam/proc/on_beam_release(var/mob/living/target)