Skip to content

Commit

Permalink
Adds a custom MOD skin as a donator item (#2878)
Browse files Browse the repository at this point in the history
* wwaah

* yey

* Apply suggestions from code review

Co-authored-by: Bloop <[email protected]>

* Apply suggestions from code review

Co-authored-by: GoldenAlpharex <[email protected]>

* properly checks for entombed suits. Woops!

---------

Co-authored-by: Bloop <[email protected]>
Co-authored-by: GoldenAlpharex <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed Jun 13, 2024
1 parent 7d77aca commit 4afb417
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,53 @@
/obj/item/instrument/piano_synth/headphones/catear_headphone/update_overlays()
. = ..()
. += emissive_appearance('modular_nova/modules/GAGS/icons/head/catear_headphone.dmi', "catearphones_obj_lights_emissive", src, alpha = src.alpha)

/obj/item/mod/skin_applier/akari
name = "nanite MODsuit refitter"
desc = "A small kit full of nanites designed to refit a MODsuit to Akari's personal design. Only compatible with fused MODsuits due to the refit's reliance on a symbiote."
icon = 'icons/obj/clothing/modsuit/mod_construction.dmi'
icon_state = "skinapplier"
skin = "akari"

/obj/item/mod/skin_applier/akari/pre_attack(atom/attacked_atom, mob/living/user, params)
if(!istype(attacked_atom, /obj/item/mod/control/pre_equipped/entombed))
return ..()
var/obj/item/mod/control/mod = attacked_atom
mod.theme.variants += list("akari" = list(
MOD_ICON_OVERRIDE = 'modular_nova/master_files/icons/donator/obj/clothing/modsuit.dmi',
MOD_WORN_ICON_OVERRIDE = 'modular_nova/master_files/icons/donator/mob/clothing/modsuit.dmi',
/obj/item/clothing/head/mod = list(
UNSEALED_LAYER = HEAD_LAYER,
UNSEALED_CLOTHING = SNUG_FIT,
UNSEALED_COVER = HEADCOVERSEYES|PEPPERPROOF,
UNSEALED_INVISIBILITY = HIDEHAIR|HIDEEYES|HIDESNOUT,
SEALED_CLOTHING = THICKMATERIAL|STOPSPRESSUREDAMAGE,
SEALED_INVISIBILITY = HIDEFACIALHAIR|HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDESNOUT,
SEALED_COVER = HEADCOVERSMOUTH|HEADCOVERSEYES|PEPPERPROOF,
UNSEALED_MESSAGE = HELMET_UNSEAL_MESSAGE,
SEALED_MESSAGE = HELMET_SEAL_MESSAGE,
),
/obj/item/clothing/suit/mod = list(
UNSEALED_CLOTHING = THICKMATERIAL,
SEALED_CLOTHING = STOPSPRESSUREDAMAGE,
SEALED_INVISIBILITY = HIDEJUMPSUIT|HIDETAIL,
UNSEALED_MESSAGE = CHESTPLATE_UNSEAL_MESSAGE,
SEALED_MESSAGE = CHESTPLATE_SEAL_MESSAGE,
),
/obj/item/clothing/gloves/mod = list(
UNSEALED_CLOTHING = THICKMATERIAL,
SEALED_CLOTHING = STOPSPRESSUREDAMAGE,
CAN_OVERSLOT = TRUE,
UNSEALED_MESSAGE = GAUNTLET_UNSEAL_MESSAGE,
SEALED_MESSAGE = GAUNTLET_SEAL_MESSAGE,
),
/obj/item/clothing/shoes/mod = list(
UNSEALED_CLOTHING = THICKMATERIAL,
SEALED_CLOTHING = STOPSPRESSUREDAMAGE,
CAN_OVERSLOT = TRUE,
UNSEALED_MESSAGE = BOOT_UNSEAL_MESSAGE,
SEALED_MESSAGE = BOOT_SEAL_MESSAGE,
),
))
return ..()

Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@
ckeywhitelist = list("deadmonwonderland")
restricted_roles = list(JOB_SHAFT_MINER)


/datum/loadout_item/suit/desminus
name = "Jómsvíking Coat"
item_path = /obj/item/clothing/suit/toggle/desminus
Expand All @@ -819,3 +820,8 @@
name = "Elderwood Garment"
item_path = /obj/item/clothing/suit/toggle/desminus2
ckeywhitelist = list("desminus", "junglerat", "deadmonwonderland")

/datum/loadout_item/pocket_items/akarimod
name = "Akari's MOD Refitter"
item_path = /obj/item/mod/skin_applier/akari
ckeywhitelist = list("samman166", "cainedclxvi")

0 comments on commit 4afb417

Please sign in to comment.