mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-17 01:54:25 +01:00
9eb876de72
* Automatic changelog compile [ci skip] * soap * Washy wash * Big wash * washy * Update soap.dm * washiest * . * . * Washes the linter * scrubs the linter * washes indentation * . * updaet --------- Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com> Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
38 lines
676 B
Plaintext
38 lines
676 B
Plaintext
/* Clown Items
|
|
* Contains:
|
|
* Banana Peels
|
|
* Soap
|
|
* Bike Horns
|
|
*/
|
|
|
|
/*
|
|
* Banana Peels
|
|
*/
|
|
/obj/item/bananapeel/Crossed(atom/movable/AM as mob|obj)
|
|
if(AM.is_incorporeal())
|
|
return
|
|
if(isliving(AM))
|
|
var/mob/living/M = AM
|
|
M.slip("the [src.name]",4)
|
|
|
|
/*
|
|
* Bike Horns
|
|
*/
|
|
/obj/item/bikehorn
|
|
var/honk_sound = 'sound/items/bikehorn.ogg'
|
|
|
|
/obj/item/bikehorn/attack_self(mob/user as mob)
|
|
if(spam_flag == 0)
|
|
spam_flag = 1
|
|
playsound(src, honk_sound, 50, 1)
|
|
src.add_fingerprint(user)
|
|
spawn(20)
|
|
spam_flag = 0
|
|
return
|
|
|
|
/obj/item/bikehorn/Crossed(atom/movable/AM as mob|obj)
|
|
if(AM.is_incorporeal())
|
|
return
|
|
if(isliving(AM))
|
|
playsound(src, honk_sound, 50, 1)
|