mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-05 06:54:01 +00:00
22 lines
751 B
Plaintext
22 lines
751 B
Plaintext
/obj/item/weapon/towel
|
|
name = "towel"
|
|
icon = 'icons/obj/weapons.dmi'
|
|
icon_state = "towel"
|
|
slot_flags = SLOT_HEAD | SLOT_BELT | SLOT_OCLOTHING
|
|
force = 3.0
|
|
w_class = ITEMSIZE_NORMAL
|
|
attack_verb = list("whipped")
|
|
hitsound = 'sound/weapons/towelwhip.ogg'
|
|
desc = "A soft cotton towel."
|
|
|
|
/obj/item/weapon/towel/attack_self(mob/living/user as mob)
|
|
user.visible_message(text("<span class='notice'>[] uses [] to towel themselves off.</span>", user, src))
|
|
playsound(user, 'sound/weapons/towelwipe.ogg', 25, 1)
|
|
if(user.fire_stacks > 0)
|
|
user.fire_stacks = (max(0, user.fire_stacks - 1.5))
|
|
else if(user.fire_stacks < 0)
|
|
user.fire_stacks = (min(0, user.fire_stacks + 1.5))
|
|
|
|
/obj/item/weapon/towel/random/New()
|
|
..()
|
|
color = "#"+get_random_colour() |