mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[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:
committed by
GitHub
parent
01fc47e997
commit
ed8205a364
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user