mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-24 16:41:48 +00:00
* repaths neurotoxin + embedding changes in bullets + adds effects when you shoot energy weapons (#52543) * how * Update alien_powers.dm * adds impact effects, makes thinks that shouldnt embed not embed * rogue pixel moment * repaths neurotoxin + embedding changes in bullets + adds effects when you shoot energy weapons Co-authored-by: Fikou <piotrbryla@onet.pl>
34 lines
718 B
Plaintext
34 lines
718 B
Plaintext
// Honker
|
|
|
|
/obj/projectile/bullet/honker
|
|
name = "banana"
|
|
damage = 0
|
|
movement_type = FLYING | UNSTOPPABLE
|
|
nodamage = TRUE
|
|
hitsound = 'sound/items/bikehorn.ogg'
|
|
icon = 'icons/obj/hydroponics/harvest.dmi'
|
|
icon_state = "banana"
|
|
range = 200
|
|
embedding = null
|
|
|
|
/obj/projectile/bullet/honker/Initialize()
|
|
. = ..()
|
|
SpinAnimation()
|
|
|
|
/obj/projectile/bullet/honker/on_hit(atom/target, blocked = FALSE)
|
|
. = ..()
|
|
var/mob/M = target
|
|
if(istype(M))
|
|
M.slip(100, M.loc, GALOSHES_DONT_HELP|SLIDE, 0, FALSE)
|
|
|
|
// Mime
|
|
|
|
/obj/projectile/bullet/mime
|
|
damage = 40
|
|
|
|
/obj/projectile/bullet/mime/on_hit(atom/target, blocked = FALSE)
|
|
. = ..()
|
|
if(iscarbon(target))
|
|
var/mob/living/carbon/M = target
|
|
M.silent = max(M.silent, 10)
|