mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Added 4 admin duckies (#7655)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -297,6 +297,91 @@
|
|||||||
icon_state = "rubberducky"
|
icon_state = "rubberducky"
|
||||||
honk_sound = 'sound/voice/quack.ogg' //VOREStation edit
|
honk_sound = 'sound/voice/quack.ogg' //VOREStation edit
|
||||||
|
|
||||||
|
//Admin spawn duckies
|
||||||
|
|
||||||
|
/obj/item/weapon/bikehorn/rubberducky/red
|
||||||
|
name = "rubber ducky"
|
||||||
|
desc = "From the depths of hell it arose, feathers glistening with crimson, a honk that struck fear into all men." //thanks doohl
|
||||||
|
icon = 'icons/obj/watercloset.dmi'
|
||||||
|
icon_state = "rubberducky_red"
|
||||||
|
honk_sound = 'sound/effects/adminhelp.ogg'
|
||||||
|
var/honk_count = 0
|
||||||
|
|
||||||
|
/obj/item/weapon/bikehorn/rubberducky/red/attack_self(mob/user as mob)
|
||||||
|
if(honk_count >= 3)
|
||||||
|
var/turf/epicenter = src.loc
|
||||||
|
explosion(epicenter, 0, 0, 1, 3)
|
||||||
|
qdel(src)
|
||||||
|
return
|
||||||
|
else if(spam_flag == 0)
|
||||||
|
spam_flag = 1
|
||||||
|
playsound(src, honk_sound, 50, 1)
|
||||||
|
src.add_fingerprint(user)
|
||||||
|
honk_count ++
|
||||||
|
spawn(20)
|
||||||
|
spam_flag = 0
|
||||||
|
return
|
||||||
|
|
||||||
|
/obj/item/weapon/bikehorn/rubberducky/blue
|
||||||
|
name = "rubber ducky"
|
||||||
|
desc = "The see me rollin', they hatin'." //thanks doohl
|
||||||
|
icon = 'icons/obj/watercloset.dmi'
|
||||||
|
icon_state = "rubberducky_blue"
|
||||||
|
honk_sound = 'sound/effects/bubbles.ogg'
|
||||||
|
var/honk_count = 0
|
||||||
|
|
||||||
|
/obj/item/weapon/bikehorn/rubberducky/blue/attack_self(mob/user as mob)
|
||||||
|
if(spam_flag == 0)
|
||||||
|
var/turf/simulated/whereweare = get_turf(src)
|
||||||
|
whereweare.wet_floor(2)
|
||||||
|
spam_flag = 1
|
||||||
|
playsound(src, honk_sound, 50, 1)
|
||||||
|
src.add_fingerprint(user)
|
||||||
|
spawn(20)
|
||||||
|
spam_flag = 0
|
||||||
|
return
|
||||||
|
|
||||||
|
/obj/item/weapon/bikehorn/rubberducky/white
|
||||||
|
name = "rubber ducky"
|
||||||
|
desc = "It's so full of energy, such a happy little guy, I just wanna give him a squeeze." //thanks doohl
|
||||||
|
icon = 'icons/obj/watercloset.dmi'
|
||||||
|
icon_state = "rubberducky_white"
|
||||||
|
honk_sound = 'sound/effects/lightningshock.ogg'
|
||||||
|
var/honk_count = 0
|
||||||
|
|
||||||
|
/obj/item/weapon/bikehorn/rubberducky/white/attack_self(mob/user as mob)
|
||||||
|
if(spam_flag == 0)
|
||||||
|
lightning_strike(get_turf(src), 1)
|
||||||
|
spam_flag = 1
|
||||||
|
playsound(src, honk_sound, 50, 1)
|
||||||
|
src.add_fingerprint(user)
|
||||||
|
spawn(20)
|
||||||
|
spam_flag = 0 //leaving this in incase it doesn't qdel somehow
|
||||||
|
qdel(src)
|
||||||
|
return
|
||||||
|
|
||||||
|
/obj/item/weapon/grenade/anti_photon/rubberducky/black
|
||||||
|
desc = "Good work NanoTrasen Employee, you struck fear within the Syndicate."
|
||||||
|
name = "rubber ducky"
|
||||||
|
icon = 'icons/obj/watercloset.dmi'
|
||||||
|
icon_state = "rubberducky_black"
|
||||||
|
det_time = 20
|
||||||
|
|
||||||
|
/obj/item/weapon/grenade/anti_photon/rubberducky/black/detonate()
|
||||||
|
playsound(src, 'sound/voice/quack.ogg', 50, 1, 5)
|
||||||
|
set_light(10, -10, "#FFFFFF")
|
||||||
|
|
||||||
|
var/extra_delay = rand(0,90)
|
||||||
|
|
||||||
|
spawn(extra_delay)
|
||||||
|
spawn(200)
|
||||||
|
if(prob(10+extra_delay))
|
||||||
|
set_light(10, 10, "#[num2hex(rand(64,255))][num2hex(rand(64,255))][num2hex(rand(64,255))]")
|
||||||
|
spawn(210)
|
||||||
|
..()
|
||||||
|
playsound(src, 'sound/voice/quack.ogg', 50, 1, 5)
|
||||||
|
qdel(src)
|
||||||
|
|
||||||
/obj/structure/sink
|
/obj/structure/sink
|
||||||
name = "sink"
|
name = "sink"
|
||||||
icon = 'icons/obj/watercloset.dmi'
|
icon = 'icons/obj/watercloset.dmi'
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Reference in New Issue
Block a user