Skip to content

Commit

Permalink
TGS Test Merge (#6388)
Browse files Browse the repository at this point in the history
  • Loading branch information
cm13-github committed Jun 8, 2024
2 parents faaa1d2 + 4f9151f commit 02a7b22
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 0 deletions.
17 changes: 17 additions & 0 deletions code/game/objects/items/storage/boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,23 @@
w_class = SIZE_LARGE //Changed becuase of in-game abuse
storage_flags = STORAGE_FLAGS_BOX

/obj/item/storage/box/pride
name = "box of prideful crayons"
desc = "A box of every flavor of pride."
storage_slots = 8
w_class = SIZE_SMALL
can_hold = list(/obj/item/toy/crayon/pride)

/obj/item/storage/box/pride/fill_preset_inventory()
new /obj/item/toy/crayon/pride/gay(src)
new /obj/item/toy/crayon/pride/lesbian(src)
new /obj/item/toy/crayon/pride/bi(src)
new /obj/item/toy/crayon/pride/ace(src)
new /obj/item/toy/crayon/pride/pan(src)
new /obj/item/toy/crayon/pride/trans(src)
new /obj/item/toy/crayon/pride/enby(src)
new /obj/item/toy/crayon/pride/fluid(src)

/obj/item/storage/box/survival
w_class = SIZE_MEDIUM

Expand Down
56 changes: 56 additions & 0 deletions code/game/objects/items/toys/crayons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,62 @@
colorName = "rainbow"
uses = 0

/obj/item/toy/crayon/pride/lesbian
icon_state = "crayonlesbian"
crayon_color = "#bd1471"
shade_color = "#d46b15"
colorName = "lesbian"
uses = 0

/obj/item/toy/crayon/pride/gay
icon_state = "crayongay"
crayon_color = "#33cc9e"
shade_color = "#7f1fa5"
colorName = "gay"
uses = 0

/obj/item/toy/crayon/pride/bi
icon_state = "crayonbi"
crayon_color = "#c01b6e"
shade_color = "#281dc5"
colorName = "bisexual"
uses = 0

/obj/item/toy/crayon/pride/pan
icon_state = "crayonpan"
crayon_color = "#da1778"
shade_color = "#229bff"
colorName = "pansexual"
uses = 0

/obj/item/toy/crayon/pride/ace
icon_state = "crayonace"
crayon_color = "#272727"
shade_color = "#570c3e"
colorName = "asexual"
uses = 0

/obj/item/toy/crayon/pride/trans
icon_state = "crayontrans"
crayon_color = "#f57ecd"
shade_color = "#4bbdeb"
colorName = "transgender"
uses = 0

/obj/item/toy/crayon/pride/enby
icon_state = "crayonenby"
crayon_color = "#272727"
shade_color = "#e9cf3a"
colorName = "nonbinary"
uses = 0

/obj/item/toy/crayon/pride/fluid
icon_state = "crayonfluid"
crayon_color = "#b64791"
shade_color = "#000FFF"
colorName = "genderfluid"
uses = 0

/obj/item/toy/crayon/rainbow/attack_self(mob/living/user)
..()
crayon_color = input(user, "Please select the main color.", "Crayon color") as color
Expand Down
4 changes: 4 additions & 0 deletions code/modules/client/preferences_gear.dm
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@ GLOBAL_LIST_EMPTY(gear_datums_by_name)
display_name = "Crayon"
path = /obj/item/toy/crayon/rainbow

/datum/gear/toy/pride
display_name = "Box of Prideful Crayons"
path = /obj/item/storage/box/pride

/datum/gear/plush
category = "Plushies"
cost = 4
Expand Down
9 changes: 9 additions & 0 deletions code/modules/clothing/head/helmet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,15 @@ GLOBAL_LIST_INIT(allowed_helmet_items, list(
/obj/item/toy/crayon/blue = "crayonblue",
/obj/item/toy/crayon/purple = "crayonpurple",
/obj/item/toy/crayon/rainbow = "crayonrainbow",
/obj/item/toy/crayon/pride/trans = "crayontrans",
/obj/item/toy/crayon/pride/gay = "crayongay",
/obj/item/toy/crayon/pride/lesbian = "crayonlesbian",
/obj/item/toy/crayon/pride/bi = "crayonbi",
/obj/item/toy/crayon/pride/pan = "crayonpan",
/obj/item/toy/crayon/pride/ace = "crayonace",
/obj/item/toy/crayon/pride/trans = "crayontrans",
/obj/item/toy/crayon/pride/enby = "crayonenby",
/obj/item/toy/crayon/pride/fluid = "crayonfluid",
/obj/item/paper = "paper",
/obj/item/device/flashlight/flare = "flare",
/obj/item/clothing/head/headset = "headset",
Expand Down
Binary file modified icons/mob/humans/onmob/helmet_garb.dmi
Binary file not shown.
Binary file modified icons/obj/items/crayons.dmi
Binary file not shown.

0 comments on commit 02a7b22

Please sign in to comment.