Skip to content

Commit

Permalink
Added three donator items. Touched up some existing ones. (Skyrat-SS1…
Browse files Browse the repository at this point in the history
…3#25776)

* Added three donator items. Touched up some
existing ones.

* Oh right, forgot to change this back.
  • Loading branch information
Useroth authored Dec 22, 2023
1 parent 4ce7dfc commit b6067cb
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 0 deletions.
Binary file modified modular_skyrat/master_files/icons/donator/mob/clothing/uniform.dmi
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1589,6 +1589,10 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/poster/contraband/korpstech, 32)
supports_variations_flags = NONE
uses_advanced_reskins = TRUE
unique_reskin = list(
"Black-Blue" = list(
RESKIN_ICON_STATE = "coat_blackblue",
RESKIN_WORN_ICON_STATE = "coat_blackblue"
),
"Black-Red" = list(
RESKIN_ICON_STATE = "coat_blackred",
RESKIN_WORN_ICON_STATE = "coat_blackred"
Expand All @@ -1607,6 +1611,25 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/poster/contraband/korpstech, 32)
. = ..()
. += "It seems particularly soft and has subtle ballistic fibers intwined with the soft fabric that is perfectedly tailored to the body that wears it. Each golden engraving seems to reflect against your eyes with a slightly blinding flare. This is part of a full set of Luna Wolves Legion battle garb."


/obj/item/clothing/head/hats/hos/elofy
name = "solar admiral hat"
icon ='modular_skyrat/master_files/icons/donator/obj/clothing/hats.dmi'
worn_icon = 'modular_skyrat/master_files/icons/donator/mob/clothing/head.dmi'
icon_state = "hat_black"
uses_advanced_reskins = TRUE
unique_reskin = list(
"White" = list(
RESKIN_ICON_STATE = "hat_white",
RESKIN_WORN_ICON_STATE = "hat_white"
),
"Black" = list(
RESKIN_ICON_STATE = "hat_black",
RESKIN_WORN_ICON_STATE = "hat_black"
)
)


/obj/item/clothing/gloves/elofy
name = "solar admiral gloves"
icon = 'modular_skyrat/master_files/icons/donator/obj/clothing/gloves.dmi'
Expand All @@ -1617,6 +1640,10 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/poster/contraband/korpstech, 32)
"White" = list(
RESKIN_ICON_STATE = "gloves_white",
RESKIN_WORN_ICON_STATE = "gloves_white"
),
"Black" = list(
RESKIN_ICON_STATE = "gloves_black",
RESKIN_WORN_ICON_STATE = "gloves_black"
)
)

Expand Down Expand Up @@ -1763,3 +1790,55 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/sign/poster/contraband/korpstech, 32)
RESKIN_WORN_ICON_STATE = "trenchcoat_blue"
)
)

//Donation reward for Jasohavents
/obj/item/clothing/under/rank/cargo/qm/skirt/old
name = "quartermaster's jumpskirt"
desc = "It seems somebody has kept a couple outdated quartermaster uniforms. They smell of Rum and Smoke."
icon = 'modular_skyrat/master_files/icons/donator/obj/clothing/uniform.dmi'
worn_icon = 'modular_skyrat/master_files/icons/donator/mob/clothing/uniform.dmi'

//Donation reward for Jasohavents
/obj/item/food/griddle_toast/toaster_implant
name = "toast"
desc = "Thick cut bread, toasted to perfection."
food_reagents = list(/datum/reagent/consumable/nutriment = 1)
//it's meant to be practically non-functional in terms of giving any ingame advantage, but it seems food needs to have *something* in it to be edible
//it *can* be a whole thing with a "gridle" that only accepts bread from the user's hand but I can't be assed to implement it for a one-off gimmick donator item

#define TOASTER_IMPLANT_COOLDOWN (3 MINUTES)
/obj/item/implant/toaster
name = "toaster implant"
icon = 'icons/obj/food/burgerbread.dmi'
icon_state = "griddle_toast"
COOLDOWN_DECLARE(toast_cooldown)

/obj/item/implant/toaster/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> Toaster-O brand toaster module<BR>
<b>Implant Details:</b> <BR>
<b>Function:</b> Serves you a delicious toasted slice of bread."}
return dat

/obj/item/implant/toaster/activate()
. = ..()
if(!COOLDOWN_FINISHED(src, toast_cooldown))
imp_in.show_message(span_notice("You're not quite ready to toast another toast yet."))
return

var/obj/item/food/griddle_toast/toaster_implant/toast = new(get_turf(imp_in))
var/adjective = pick("crispy", "delicious", "fresh")
imp_in.visible_message(span_notice("[imp_in] ejects a [adjective] toast!"), span_notice("With the familiar \"ding\", the toaster ejects a [adjective] toast."))

playsound(imp_in, 'sound/machines/ding.ogg', vol = 75, vary = FALSE, pressure_affected = FALSE, use_reverb = FALSE)
toast.throw_at(get_turf(imp_in), 2, 3)
COOLDOWN_START(src, toast_cooldown, TOASTER_IMPLANT_COOLDOWN)

/obj/item/implanter/toaster
name = "implanter (toaster)"
imp_type = /obj/item/implant/toaster

/obj/item/implantcase/toaster
name = "implant case - 'Toaster'"
desc = "A glass case containing a toaster implant. Sweet."
imp_type = /obj/item/implant/toaster
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,12 @@
ckeywhitelist = list("october23")
restricted_roles = list(JOB_HEAD_OF_SECURITY)

/datum/loadout_item/head/elofy
name = "Solar Admiral Hat"
item_path = /obj/item/clothing/head/hats/hos/elofy
ckeywhitelist = list("october23")
restricted_roles = list(JOB_HEAD_OF_SECURITY)

/datum/loadout_item/gloves/elofy
name = "Solar Admiral Gloves"
item_path = /obj/item/clothing/gloves/elofy
Expand Down Expand Up @@ -738,3 +744,13 @@
name = "Graceful Trenchcoat"
item_path = /obj/item/clothing/neck/trenchcoat
ckeywhitelist = list("Smol42", "Awers855")

/datum/loadout_item/under/jumpsuit/old_qm_jumpskirt
name = "Old Quartermaster's Jumpskirt"
item_path = /obj/item/clothing/under/rank/cargo/qm/skirt/old
ckeywhitelist = list("jasohavents")

/datum/loadout_item/pocket_items/toaster_implant
name = "Toaster Implant"
item_path = /obj/item/implanter/toaster
ckeywhitelist = list("jasohavents")

0 comments on commit b6067cb

Please sign in to comment.