mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
9e6dcf9c46
* removes the remaining datum redeclares * the two fixes * finneee contra * OK CONTRA * readd * CURSED TO BE BROWN! * facking automerge
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
/obj/item/clothing/gloves/boxing
|
|
name = "boxing gloves"
|
|
desc = "Because you really needed another excuse to punch your crewmates."
|
|
icon_state = "boxing"
|
|
item_state = "boxing"
|
|
put_on_delay = 60
|
|
species_exception = list(/datum/species/golem) // now you too can be a golem boxing champion
|
|
var/datum/martial_art/boxing/style
|
|
|
|
/obj/item/clothing/gloves/boxing/Initialize()
|
|
. = ..()
|
|
style = new()
|
|
|
|
/obj/item/clothing/gloves/boxing/equipped(mob/user, slot)
|
|
if(!ishuman(user))
|
|
return
|
|
if(slot == SLOT_HUD_GLOVES)
|
|
var/mob/living/carbon/human/H = user
|
|
style.teach(H, TRUE)
|
|
|
|
/obj/item/clothing/gloves/boxing/dropped(mob/user)
|
|
..()
|
|
if(!ishuman(user))
|
|
return
|
|
var/mob/living/carbon/human/H = user
|
|
if(H.get_item_by_slot(SLOT_HUD_GLOVES) == src)
|
|
style.remove(H)
|
|
|
|
/obj/item/clothing/gloves/boxing/green
|
|
icon_state = "boxinggreen"
|
|
item_state = "boxinggreen"
|
|
|
|
/obj/item/clothing/gloves/boxing/blue
|
|
icon_state = "boxingblue"
|
|
item_state = "boxingblue"
|
|
|
|
/obj/item/clothing/gloves/boxing/yellow
|
|
icon_state = "boxingyellow"
|
|
item_state = "boxingyellow"
|