-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
boxing.dm
52 lines (43 loc) · 1.84 KB
/
boxing.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/obj/item/clothing/gloves/boxing
name = "boxing gloves"
desc = "Because you really needed another excuse to punch your crewmates."
icon_state = "boxing"
greyscale_colors = "#f32110"
equip_delay_other = 60
species_exception = list(/datum/species/golem) // now you too can be a golem boxing champion
clothing_traits = list(TRAIT_CHUNKYFINGERS)
/// Determines the version of boxing (or any martial art for that matter) that the boxing gloves gives
var/style_to_give = /datum/martial_art/boxing
/obj/item/clothing/gloves/boxing/Initialize(mapload)
. = ..()
var/static/list/slapcraft_recipe_list = list(/datum/crafting_recipe/extendohand_l, /datum/crafting_recipe/extendohand_r)
AddComponent(
/datum/component/slapcrafting,\
slapcraft_recipes = slapcraft_recipe_list,\
)
AddComponent(/datum/component/martial_art_giver, style_to_give)
/obj/item/clothing/gloves/boxing/evil
name = "evil boxing gloves"
desc = "These strange gloves radiate an unsually evil aura."
greyscale_colors = "#21211f"
style_to_give = /datum/martial_art/boxing/evil
/obj/item/clothing/gloves/boxing/green
icon_state = "boxinggreen"
greyscale_colors = "#00a500"
/obj/item/clothing/gloves/boxing/blue
icon_state = "boxingblue"
greyscale_colors = "#0074fa"
/obj/item/clothing/gloves/boxing/yellow
icon_state = "boxingyellow"
greyscale_colors = "#d2a800"
/obj/item/clothing/gloves/boxing/golden
name = "golden gloves"
desc = "The reigning champ of the station!"
icon_state = "boxinggold"
custom_materials = list(/datum/material/gold = SHEET_MATERIAL_AMOUNT*1) //LITERALLY GOLD
material_flags = MATERIAL_EFFECTS | MATERIAL_AFFECT_STATISTICS
equip_delay_other = 120
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE
/obj/item/clothing/gloves/boxing/golden/Initialize(mapload)
. = ..()
AddElement(/datum/element/skill_reward, /datum/skill/athletics)