mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-16 16:47:32 +01:00
* fixes * fuck my stupid chungus life * Minion limit, heal fix, dead sac fix * cooldown, no sacrificing star gazer or ascended alive heretics * blade debuff * oopsy * Update tgui.bundle.js * map diff bot what ya doing * fuck that chat spam * lets heretic armour hold a haunted longsword * why not it makes sense * do_after * god I hate this bullshit * other lewc stuff * push * heretic id card fix * she tg on my ui till I css * yes * spent * fix / ipc buff (real)™️ * moderate again * revert * no reserve * bringing up to master * update map files to master * didnt replace centcomm * beginning some rebalancing * aggressive spread tweaks * lots of tweaks and fixes * trying to un-key the maps * maybe this time * this time???? * oops * sql fix * basicmob conversion * paintings! and a critical influence fix * rust + tweaks * monster tweak * small change * removing this * more tweaks. no more dusting * added some examine_more * flower seeds * various tweaks. more to come * no more conduit spacing * fixed some dumb stuff * silly stuff * its always prettier * bugfixes and linters * linters, wow * oops * bah * linter * fuck you * temp check * hidden influence drain * influence visible message * tweak fix * void cloak bugfix * small fixes * fixes * do_after_once broken * fixes and tweaks * heretic blade potential fix + sacrifice changes * batch of fixes * tiny tweak * rebuilt TGUI * no greentext + rerolls * logging + bugfix * unused var * small fix * various fixes * comment * projectile change * tgui rebuild * tgui bundle redo * rune issue solved * influence visible now * fix ui reloading * new moon ascension + fixes + icons * tweaks, species sprites * tgui rebuild * small tweak + linter * harvester icon tweak * spans * fixes and tweaks * caretaker nerf + tweaks * potential fix for knowledge * roller fix * mad mask * Update tgui.bundle.js * void phase tweak * Update tgui.bundle.js * misc tweaks * fix heretic not retargeting correctly with cryo * simplify logic * this is better * lots of fixes and tweaks * Update tgui.bundle.js * linter * linter * fireshark and greyscale insanity * fish * Update tgui.bundle.js * linter * linter * tgui * no window shopping * fish fix * tgui rebundle * moon smile runtime fix * various fixes * sacrifice fixes * insanity is easier now, madness mask changes. * bugfixing + teleport change * linters + tweaks * Update code/modules/antagonists/heretic/status_effects/mark_effects.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/antagonists/heretic/status_effects/mark_effects.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> --------- Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> Co-authored-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: Paul <pmerkamp@gmail.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
149 lines
4.0 KiB
Plaintext
149 lines
4.0 KiB
Plaintext
//Hoods for winter coats and dark robes etc
|
|
|
|
/obj/item/clothing/suit/hooded
|
|
actions_types = list(/datum/action/item_action/toggle)
|
|
var/obj/item/clothing/head/hooded/hood
|
|
var/hoodtype = /obj/item/clothing/head/hooded/winterhood //so the chaplain hoodie or other hoodies can override this
|
|
/// If this variable is true, the hood can not be removed if the hood is nodrop
|
|
var/respects_nodrop = FALSE
|
|
w_class = WEIGHT_CLASS_NORMAL
|
|
|
|
/obj/item/clothing/suit/hooded/Initialize(mapload)
|
|
. = ..()
|
|
MakeHood()
|
|
|
|
/obj/item/clothing/suit/hooded/Destroy()
|
|
QDEL_NULL(hood)
|
|
. = ..()
|
|
|
|
/obj/item/clothing/suit/hooded/proc/MakeHood()
|
|
if(!hood)
|
|
var/obj/item/clothing/head/hooded/W = new hoodtype(src)
|
|
W.suit = src
|
|
hood = W
|
|
|
|
/obj/item/clothing/suit/hooded/clean_blood(radiation_clean)
|
|
. = ..()
|
|
hood.clean_blood()
|
|
|
|
/obj/item/clothing/suit/hooded/ui_action_click()
|
|
ToggleHood()
|
|
|
|
/obj/item/clothing/suit/hooded/item_action_slot_check(slot, mob/user)
|
|
if(slot == ITEM_SLOT_OUTER_SUIT)
|
|
return 1
|
|
|
|
/obj/item/clothing/suit/hooded/equipped(mob/user, slot)
|
|
if(slot != ITEM_SLOT_OUTER_SUIT)
|
|
RemoveHood()
|
|
..()
|
|
|
|
/obj/item/clothing/suit/hooded/proc/RemoveHood()
|
|
if(isnull(hood))
|
|
return
|
|
icon_state = "[initial(icon_state)]"
|
|
suit_adjusted = 0
|
|
if(ishuman(hood.loc))
|
|
var/mob/living/carbon/H = hood.loc
|
|
H.transfer_item_to(hood, src, force = TRUE)
|
|
H.update_inv_wear_suit()
|
|
else
|
|
hood.forceMove(src)
|
|
update_action_buttons()
|
|
|
|
/obj/item/clothing/suit/hooded/dropped()
|
|
..()
|
|
RemoveHood()
|
|
|
|
/obj/item/clothing/suit/hooded/proc/ToggleHood()
|
|
if(!suit_adjusted)
|
|
if(ishuman(loc))
|
|
var/mob/living/carbon/human/H = loc
|
|
if(H.wear_suit != src)
|
|
to_chat(H,SPAN_WARNING("You must be wearing [src] to put up the hood!"))
|
|
return
|
|
if(H.head)
|
|
to_chat(H,SPAN_WARNING("You're already wearing something on your head!"))
|
|
return
|
|
else if(H.equip_to_slot_if_possible(hood, ITEM_SLOT_HEAD, FALSE, FALSE))
|
|
suit_adjusted = 1
|
|
icon_state = "[initial(icon_state)]_hood"
|
|
H.update_inv_wear_suit()
|
|
update_action_buttons()
|
|
else
|
|
if((hood?.flags & NODROP) && respects_nodrop)
|
|
if(ishuman(loc))
|
|
var/mob/living/carbon/human/H = loc
|
|
to_chat(H, SPAN_WARNING("[hood] is stuck to your head!"))
|
|
return
|
|
RemoveHood()
|
|
|
|
|
|
/obj/item/clothing/head/hooded
|
|
var/obj/item/clothing/suit/hooded/suit
|
|
|
|
/obj/item/clothing/head/hooded/Destroy()
|
|
suit = null
|
|
return ..()
|
|
|
|
/obj/item/clothing/head/hooded/dropped()
|
|
..()
|
|
if(suit)
|
|
suit.RemoveHood()
|
|
|
|
/obj/item/clothing/head/hooded/equipped(mob/user, slot)
|
|
..()
|
|
if(slot != ITEM_SLOT_HEAD)
|
|
if(suit)
|
|
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"
|
|
cold_protection = HEAD
|
|
flags = BLOCKHAIR
|
|
flags_inv = HIDEEARS | HIDEMASK | HIDEFACE | HIDEEYES
|
|
icon_monitor = 'icons/mob/clothing/species/machine/monitor/hood.dmi'
|
|
|
|
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"
|