mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-22 23:15:13 +00:00
27 lines
556 B
Plaintext
27 lines
556 B
Plaintext
// Honker
|
|
|
|
/obj/item/projectile/bullet/honker
|
|
damage = 0
|
|
knockdown = 60
|
|
forcedodge = TRUE
|
|
nodamage = TRUE
|
|
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)
|