mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Migrates /obj/item/clothing to the New Attack Chain (#31421)
* the beginning of my torment * This was a very small piece of torment * God agghhghhhh the suffering * pain and suffering and destruction * Update bot_construction.dm * Update heretic_necks.dm * Update heretic_armor.dm * Apply suggestions from code review Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> * Apply suggestion from @DGamerL Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Signed-off-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -116,10 +116,14 @@
|
||||
if(slot == ITEM_SLOT_OUTER_SUIT) //we only give the mob the ability to activate the vest if he's actually wearing it.
|
||||
return TRUE
|
||||
|
||||
/obj/item/clothing/suit/storage/void_cloak/attack_self__legacy__attackchain(mob/user)
|
||||
/obj/item/clothing/suit/storage/void_cloak/activate_self(mob/user)
|
||||
if(..())
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
|
||||
if(!IS_HERETIC(user))
|
||||
to_chat(user, SPAN_HIEROPHANT("You lack the forbidden knowledge to access this cloaks potential."))
|
||||
return
|
||||
to_chat(user, SPAN_HIEROPHANT("You lack the forbidden knowledge to access this cloak's potential."))
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
|
||||
if(cloak_invisible)
|
||||
make_visible()
|
||||
else
|
||||
@@ -127,7 +131,7 @@
|
||||
if(ishuman(loc))
|
||||
var/mob/living/carbon/human/C = loc
|
||||
C.update_inv_wear_suit()
|
||||
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
|
||||
/obj/item/clothing/suit/storage/void_cloak/proc/hide_item(atom/movable/source, obj/item/item, slot)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
desc = "An amber focusing glass that provides a link to the world beyond. The necklace seems to twitch, but only when you look at it from the corner of your eye."
|
||||
icon_state = "eldritch_necklace"
|
||||
resistance_flags = FIRE_PROOF
|
||||
new_attack_chain = TRUE
|
||||
sprite_sheets = list(
|
||||
"Vox" = 'icons/mob/clothing/species/vox/neck.dmi',
|
||||
"Kidan" = 'icons/mob/clothing/species/kidan/neck.dmi',
|
||||
|
||||
Reference in New Issue
Block a user