mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Hotfix for body colour (#17458)
* April fools stuff * Powers * Update * Play Dead * Final bits * missing src
This commit is contained in:
@@ -443,6 +443,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