[MIRROR] Adds Moth Fashion [MDB IGNORE] (#11612)

* Adds Moth Fashion

* skyrat fix

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
Co-authored-by: jjpark-kb <55967837+jjpark-kb@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-02-20 22:10:39 +01:00
committed by GitHub
parent ec3f550838
commit ddfc30c89c
16 changed files with 160 additions and 4 deletions

View File

@@ -98,11 +98,15 @@
#define HIDEHEADGEAR (1<<11)
///for lizard snouts, because some HIDEFACE clothes don't actually conceal that portion of the head.
#define HIDESNOUT (1<<12)
///SKYRAT EDIT ADDITION: CUSTOM EAR TOGGLE FOR ANTHRO/ETC EAR SHOWING - Manually set this on items you want anthro ears to show on!
///hides mutant/moth wings, does not apply to functional wings
#define HIDEMUTWINGS (1<<13)
//SKYRAT EDIT ADDITION: CUSTOM EAR TOGGLE FOR ANTHRO/ETC EAR SHOWING -
/// Manually set this on items you want anthro ears to show on!
#define SHOWSPRITEEARS (1<<13)
/// Does this sprite also hide the spine on tails? Realistically only useful for the clothes that have a special tail overlay, like MODsuits
#define HIDESPINE (1<<14)
//SKYRAT EDIT ADDITION BEGIN - ERP UPDATE
/// Does this sprite hide devious devices?
#define HIDESEXTOY (1<<15)
//SKYRAT EDIT ADDITION END

View File

@@ -434,3 +434,25 @@
name = "Worn CTF Light Vest"
icon_file = 'icons/mob/clothing/suits/ctf.dmi'
json_config = 'code/datums/greyscale/json_configs/ctf_light_worn.json'
/datum/greyscale_config/mothcoat
name = "Moth Coat"
icon_file = 'icons/obj/clothing/suits/moth.dmi'
json_config = 'code/datums/greyscale/json_configs/moth_coat.json'
/datum/greyscale_config/mothcoat_worn
name = "Worn Moth Coat"
icon_file = 'icons/mob/clothing/suits/moth.dmi'
json_config = 'code/datums/greyscale/json_configs/moth_coat_worn.json'
/datum/greyscale_config/mothcoat_winter
name = "Moth Winter Coat"
icon_file = 'icons/obj/clothing/suits/moth.dmi'
json_config = 'code/datums/greyscale/json_configs/moth_coat_winter.json'
/datum/greyscale_config/mothcoat_winter_worn
name = "Worn Moth Winter Coat"
icon_file = 'icons/mob/clothing/suits/moth.dmi'
json_config = 'code/datums/greyscale/json_configs/moth_coat_winter_worn.json'

View File

@@ -0,0 +1,15 @@
{
"mothcoat": [
{
"type": "icon_state",
"icon_state": "mothcoat",
"blend_mode": "overlay",
"color_ids": [ 1 ]
},
{
"type": "icon_state",
"icon_state": "mothcoat_details",
"blend_mode": "overlay"
}
]
}

View File

@@ -0,0 +1,21 @@
{
"mothcoat_winter": [
{
"type": "icon_state",
"icon_state": "mothcoat_mantle_top",
"blend_mode": "overlay",
"color_ids": [ 1 ]
},
{
"type": "icon_state",
"icon_state": "mothcoat_mantle_bottom",
"blend_mode": "overlay",
"color_ids": [ 2 ]
},
{
"type": "icon_state",
"icon_state": "mothcoat_mantle_details",
"blend_mode": "overlay"
}
]
}

View File

@@ -0,0 +1,21 @@
{
"mothcoat_winter": [
{
"type": "icon_state",
"icon_state": "mothcoat_mantle_top_worn",
"blend_mode": "overlay",
"color_ids": [ 1 ]
},
{
"type": "icon_state",
"icon_state": "mothcoat_mantle_bottom_worn",
"blend_mode": "overlay",
"color_ids": [ 2 ]
},
{
"type": "icon_state",
"icon_state": "mothcoat_mantle_details_worn",
"blend_mode": "overlay"
}
]
}

View File

@@ -0,0 +1,15 @@
{
"mothcoat": [
{
"type": "icon_state",
"icon_state": "mothcoat_worn",
"blend_mode": "overlay",
"color_ids": [ 1 ]
},
{
"type": "icon_state",
"icon_state": "mothcoat_details_worn",
"blend_mode": "overlay"
}
]
}

View File

@@ -1620,6 +1620,20 @@
new /obj/item/knife/hunting(src)
new /obj/item/storage/box/papersack/meat(src)
/obj/item/storage/box/hero/mothpioneer
name = "Mothic Fleet Pioneer - 2100's."
desc = "Some claim that the fleet engineers are directly responsible for most modern advancement in spacefaring design. Although the exact details of their past contributions are somewhat fuzzy, their ingenuity remains unmatched and unquestioned to this day."
/obj/item/storage/box/hero/mothpioneer/PopulateContents()
new /obj/item/clothing/suit/mothcoat/original(src)
new /obj/item/clothing/head/mothcap(src)
new /obj/item/flashlight/lantern(src)
new /obj/item/screwdriver(src)
new /obj/item/wrench(src)
new /obj/item/crowbar(src)
new /obj/item/stack/sheet/iron/fifty(src)
new /obj/item/stack/sheet/glass/fifty(src)
/obj/item/storage/box/holy/clock
name = "Forgotten kit"

View File

@@ -0,0 +1,10 @@
/obj/item/clothing/head/mothcap
name = "mothic softcap"
desc = "A padded leather cap with goggles, standard issue aboard the moth fleet. Keeps your head warm and debris away from those big eyes."
icon_state = "mothcap"
icon = 'icons/obj/clothing/head/moth.dmi'
worn_icon = 'icons/mob/clothing/head/moth.dmi'
cold_protection = HEAD
min_cold_protection_temperature = FIRE_HELM_MIN_TEMP_PROTECT
flags_cover = HEADCOVERSEYES
flags_inv = HIDEHAIR

View File

@@ -0,0 +1,27 @@
/obj/item/clothing/suit/mothcoat
name = "mothic flightsuit"
desc = "This peculiar utility harness is a common sight among the moth fleet's crews due to its ability to fasten the wings to the body without impacting mobility inside cramped ship interiors. It looks somewhat crude yet it's surprisingly comfortable."
icon_state = "mothcoat"
greyscale_config = /datum/greyscale_config/mothcoat
greyscale_config_worn = /datum/greyscale_config/mothcoat_worn
greyscale_colors = "#eaeaea"
flags_1 = IS_PLAYER_COLORABLE_1
flags_inv = HIDEMUTWINGS
body_parts_covered = CHEST
allowed = list(/obj/item/tank/internals/emergency_oxygen, /obj/item/flashlight/lantern) //lamp
/obj/item/clothing/suit/mothcoat/original
desc = "An old-school flightsuit from the moth fleet. A perfect token of mothic survivalistic and adaptable attitude, yet a bitter reminder that with the loss of their home planet and institution of the fleet, their beloved wings remain as a burden to bear, condemned to never fly again."
greyscale_colors = "#dfa409"
pocket_storage_component_path = /datum/component/storage/concrete/pockets
/obj/item/clothing/suit/mothcoat/winter
name = "mothic mantella"
desc = "A thick garment that keeps warm and protects those precious wings from harsh weather, also commonly used during festivities. Feels much heavier than it looks."
icon_state = "mothcoat_winter"
greyscale_config = /datum/greyscale_config/mothcoat_winter
greyscale_config_worn = /datum/greyscale_config/mothcoat_winter_worn
greyscale_colors = "#557979#795e55"
body_parts_covered = CHEST|GROIN|ARMS|LEGS
cold_protection = CHEST|GROIN|ARMS|LEGS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT

View File

@@ -179,7 +179,9 @@
return GLOB.sprite_accessories["wings"] //SKYRAT EDIT CHANGE
/obj/item/organ/external/wings/moth/can_draw_on_bodypart(mob/living/carbon/human/human)
return TRUE
if(!(human.wear_suit?.flags_inv & HIDEMUTWINGS))
return TRUE
return FALSE
/obj/item/organ/external/wings/moth/Insert(mob/living/carbon/reciever, special, drop_if_replaced)
. = ..()

View File

@@ -174,7 +174,10 @@
/obj/item/clothing/suit/basil_boys = 20,
/obj/item/clothing/under/costume/basil_boys = 20,
/obj/item/clothing/head/basil_boys = 20,
/obj/item/clothing/shoes/basil_boys = 20
/obj/item/clothing/shoes/basil_boys = 20,
/obj/item/clothing/suit/mothcoat = 3,
/obj/item/clothing/suit/mothcoat/winter = 3,
/obj/item/clothing/head/mothcap = 3,
)
contraband = list(
/obj/item/clothing/under/syndicate/tacticool = 1,

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

View File

@@ -2531,6 +2531,7 @@
#include "code\modules\clothing\head\helmet.dm"
#include "code\modules\clothing\head\jobs.dm"
#include "code\modules\clothing\head\justice.dm"
#include "code\modules\clothing\head\moth.dm"
#include "code\modules\clothing\head\papersack.dm"
#include "code\modules\clothing\head\pirate.dm"
#include "code\modules\clothing\head\religious.dm"
@@ -2597,6 +2598,7 @@
#include "code\modules\clothing\suits\jobs.dm"
#include "code\modules\clothing\suits\labcoat.dm"
#include "code\modules\clothing\suits\lasertag.dm"
#include "code\modules\clothing\suits\moth.dm"
#include "code\modules\clothing\suits\reactive_armour.dm"
#include "code\modules\clothing\suits\shirt.dm"
#include "code\modules\clothing\suits\straightjacket.dm"