mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
28 lines
566 B
Plaintext
28 lines
566 B
Plaintext
// Honker
|
|
|
|
/obj/item/projectile/bullet/honker
|
|
damage = 0
|
|
knockdown = 60
|
|
movement_type = FLYING | UNSTOPPABLE
|
|
nodamage = TRUE
|
|
candink = FALSE
|
|
hitsound = 'sound/items/bikehorn.ogg'
|
|
icon = 'icons/obj/hydroponics/harvest.dmi'
|
|
icon_state = "banana"
|
|
range = 200
|
|
|
|
/obj/item/projectile/bullet/honker/Initialize()
|
|
. = ..()
|
|
SpinAnimation()
|
|
|
|
// Mime
|
|
|
|
/obj/item/projectile/bullet/mime
|
|
damage = 20
|
|
|
|
/obj/item/projectile/bullet/mime/on_hit(atom/target, blocked = FALSE)
|
|
. = ..()
|
|
if(iscarbon(target))
|
|
var/mob/living/carbon/M = target
|
|
M.silent = max(M.silent, 10)
|