[MIRROR] Hotfix for body colour (#10564)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-31 14:47:28 -07:00
committed by GitHub
parent 01fc47e997
commit ed8205a364
20 changed files with 317 additions and 10 deletions

View File

@@ -500,6 +500,29 @@
impact_type = /obj/effect/projectile/impact/rainbow
hud_state = "laser"
damage = 20
/obj/item/projectile/beam/sparkledog
name = "rainbow"
fire_sound = 'sound/weapons/sparkle.ogg'
icon_state = "rainbow"
light_color = "#ffffff"
muzzle_type = /obj/effect/projectile/muzzle/rainbow
tracer_type = /obj/effect/projectile/tracer/rainbow
impact_type = /obj/effect/projectile/impact/rainbow
hud_state = "laser"
damage = 0
nodamage = TRUE
/obj/item/projectile/beam/sparkledog/on_hit(var/atom/target, var/blocked = 0)
if(ishuman(target))
var/mob/living/carbon/human/M = target
M.druggy = max(M.druggy, 20)
if(M.health < M.maxHealth)
to_chat(target, span_notice("As the beam strikes you, you feel a little healthier!"))
M.adjustBruteLoss(-5)
M.adjustFireLoss(-5)
return 1
//
// Projectile Beam Definitions
//