Islamic Garb - My First Contribution (#22040)

* abayacontribute

* Update code/modules/clothing/suits/misc_suits.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* Update code/modules/clothing/suits/misc_suits.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/modules/clothing/suits/misc_suits.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* adding a slash

* Update code/modules/clothing/suits/hood.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* NVM didnt get deleted, didnt transfer

* tab fix

* removed comma

* Deleted unnecessary list, thanks DGamerL

* deleted

* finallymergeconflictgone

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
TaM-tHe-JaM
2023-09-01 18:33:44 -04:00
committed by GitHub
parent d727444184
commit e07d63702c
15 changed files with 133 additions and 0 deletions
+48
View File
@@ -95,3 +95,51 @@
suit.RemoveHood()
else
qdel(src)
/obj/item/clothing/head/hooded/screened_niqab
name = "screened niqab"
desc = "A niqab with an eye mesh for additional concealment. The wearer can see you, but you can't see them."
icon_state = "abaya_hood"
body_parts_covered = HEAD
cold_protection = HEAD
flags = BLOCKHAIR
flags_inv = HIDEEARS | HIDEMASK | HIDEFACE | HIDEEYES
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/head.dmi',
"Grey" = 'icons/mob/clothing/species/grey/head.dmi',
"Drask" = 'icons/mob/clothing/species/drask/head.dmi',
"Kidan" = 'icons/mob/clothing/species/kidan/head.dmi'
)
/obj/item/clothing/head/hooded/screened_niqab/red
name = "red niqab"
icon_state = "redabaya_hood"
/obj/item/clothing/head/hooded/screened_niqab/orange
name = "orange niqab"
icon_state = "orangeabaya_hood"
/obj/item/clothing/head/hooded/screened_niqab/yellow
name = "yellow niqab"
icon_state = "yellowabaya_hood"
/obj/item/clothing/head/hooded/screened_niqab/green
name = "green niqab"
icon_state = "greenabaya_hood"
/obj/item/clothing/head/hooded/screened_niqab/blue
name = "blue niqab"
icon_state = "blueabaya_hood"
/obj/item/clothing/head/hooded/screened_niqab/purple
name = "purple niqab"
icon_state = "purpleabaya_hood"
/obj/item/clothing/head/hooded/screened_niqab/white
name = "white niqab"
icon_state = "whiteabaya_hood"
/obj/item/clothing/head/hooded/screened_niqab/rainbow
name = "rainbow niqab"
icon_state = "rainbowabaya_hood"
+84
View File
@@ -1196,3 +1196,87 @@
body_parts_covered = UPPER_TORSO|ARMS
cold_protection = UPPER_TORSO | ARMS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
/obj/item/clothing/suit/hooded/abaya
name = "abaya"
desc = "A modest, unrevealing attire fitted with a veil."
icon_state = "abaya"
item_state = "abaya"
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
allowed = list(/obj/item/storage/bible, /obj/item/nullrod, /obj/item/reagent_containers/food/drinks/bottle/holywater, /obj/item/storage/fancy/candle_box, /obj/item/candle, /obj/item/tank/internals/emergency_oxygen)
hoodtype = /obj/item/clothing/head/hooded/screened_niqab
flags_inv = HIDEJUMPSUIT
var/list/options = list(
"Abaya" = /obj/item/clothing/suit/hooded/abaya,
"Red Abaya" = /obj/item/clothing/suit/hooded/abaya/red,
"Orange Abaya" = /obj/item/clothing/suit/hooded/abaya/orange,
"Yellow Abaya" = /obj/item/clothing/suit/hooded/abaya/yellow,
"Green Abaya" = /obj/item/clothing/suit/hooded/abaya/green,
"Blue Abaya" = /obj/item/clothing/suit/hooded/abaya/blue,
"Purple Abaya" = /obj/item/clothing/suit/hooded/abaya/purple,
"White Abaya" = /obj/item/clothing/suit/hooded/abaya/white,
"Rainbow Abaya" = /obj/item/clothing/suit/hooded/abaya/rainbow
)
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
"Grey" = 'icons/mob/clothing/species/grey/suit.dmi',
"Drask" = 'icons/mob/clothing/species/drask/suit.dmi',
"Kidan" = 'icons/mob/clothing/species/kidan/suit.dmi'
)
/obj/item/clothing/suit/hooded/abaya/proc/reskin_abaya(mob/living/L)
var/choice = input(L, "You may only change the color once.", "Reskin Abaya") in options
if(!options[choice] || HAS_TRAIT(L, TRAIT_HANDS_BLOCKED) || !in_range(L, src))
return
var/abaya_type = options[choice]
var/obj/item/clothing/suit/hooded/abaya/abaya = new abaya_type(get_turf(src))
L.unEquip(src, silent = TRUE)
L.put_in_active_hand(abaya)
to_chat(L, "<span class='notice'>You are now wearing \a [choice]. Allahu Akbar!</span>")
qdel(src)
/obj/item/clothing/suit/hooded/abaya/attack_self(mob/user)
. = ..()
reskin_abaya(user)
/obj/item/clothing/suit/hooded/abaya/red
name = "red abaya"
icon_state = "redabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/red
/obj/item/clothing/suit/hooded/abaya/orange
name = "orange abaya"
icon_state = "orangeabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/orange
/obj/item/clothing/suit/hooded/abaya/yellow
name = "yellow abaya"
icon_state = "yellowabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/yellow
/obj/item/clothing/suit/hooded/abaya/green
name = "green abaya"
icon_state = "greenabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/green
/obj/item/clothing/suit/hooded/abaya/blue
name = "blue abaya"
icon_state = "blueabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/blue
/obj/item/clothing/suit/hooded/abaya/purple
name = "purple abaya"
icon_state = "purpleabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/purple
/obj/item/clothing/suit/hooded/abaya/white
name = "white abaya"
icon_state = "whiteabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/white
/obj/item/clothing/suit/hooded/abaya/rainbow
name = "rainbow abaya"
icon_state = "rainbowabaya"
hoodtype = /obj/item/clothing/head/hooded/screened_niqab/rainbow