mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-07 07:52:00 +00:00
-adds towels, which you can find at the fitness room, or at the loadout with whatever color you want -adds new undershirt options at people's requests -adds a colorable sweater to the loadout, from baystation -adds more flower hairpin options -increases the max loadout points by five -fix an issue with the tactical armor having the holster overlay when it should not
22 lines
743 B
Plaintext
22 lines
743 B
Plaintext
/obj/item/weapon/towel
|
|
name = "towel"
|
|
desc = "A soft cotton towel."
|
|
icon = 'icons/obj/weapons.dmi'
|
|
icon_state = "towel"
|
|
slot_flags = SLOT_HEAD | SLOT_BELT | SLOT_OCLOTHING
|
|
force = 1
|
|
w_class = 3
|
|
attack_verb = list("whipped")
|
|
hitsound = 'sound/weapons/towelwhip.ogg'
|
|
|
|
/obj/item/weapon/towel/attack_self(mob/living/user as mob)
|
|
user.visible_message("<span class='notice'>\The [user] uses \the [src] to towel themselves off.</span>")
|
|
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/Initialize()
|
|
. = ..()
|
|
color = get_random_colour(1) |