diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index 5294f7abadc..6189f93e022 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -636,9 +636,9 @@ All custom items with worn sprites must follow the contained sprite system: http else icon_state = "stand" -/obj/item/fluff/tokash_spear/attack_self(var/mob/user) +/obj/item/fluff/tokash_spear/attack_hand(var/mob/user) if(has_spear) - to_chat(user, "You remove the spearhead from \the [src].") + to_chat(user, SPAN_NOTICE("You remove the spearhead from \the [src].")) var/obj/item/fluff/tokash_spearhead/piece = new(get_turf(user)) user.put_in_hands(piece) has_spear = FALSE @@ -654,6 +654,23 @@ All custom items with worn sprites must follow the contained sprite system: http else ..() +/obj/item/fluff/tokash_spear/MouseDrop(mob/user) + if((user == usr && (!(usr.restrained()) && (!(usr.stat) && (usr.contents.Find(src) || in_range(src, usr)))))) + if(!istype(usr, /mob/living/carbon/slime) && !istype(usr, /mob/living/simple_animal)) + if(!usr.get_active_hand()) // If active hand is empty. + var/mob/living/carbon/human/H = user + var/obj/item/organ/external/temp = H.organs_by_name[BP_R_HAND] + + if(H.hand) + temp = H.organs_by_name[BP_L_HAND] + if(temp && !temp.is_usable()) + to_chat(user, SPAN_NOTICE("You try to move your [temp.name], but cannot!")) + return + + to_chat(user, SPAN_NOTICE("You pick up \the [src].")) + user.put_in_hands(src) + return + /obj/item/fluff/tokash_spearhead name = "ancestral spearhead" desc = "An aged and worn spearhead. It seems to be made of bronze or composite metal." @@ -662,7 +679,6 @@ All custom items with worn sprites must follow the contained sprite system: http icon_state = "spearhead" w_class = ITEMSIZE_SMALL - /obj/item/clothing/suit/storage/hooded/wintercoat/fluff/naomi_coat //Reishi Queen Winter Coat - Naomi Marlowe - smifboy78 name = "reishi queen winter coat" desc = "A worn purple winter-coat. On the back, \"Reishi Queen\" is stitched on top of a skull patch. It reeks of reishi." diff --git a/html/changelogs/Evandorf-FluffItemChange.yml b/html/changelogs/Evandorf-FluffItemChange.yml new file mode 100644 index 00000000000..970e0b3fbc1 --- /dev/null +++ b/html/changelogs/Evandorf-FluffItemChange.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: Evandorf + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - tweak: "Very minor changes to fluff item mechanics. Can now remove spearhead from stand without needing to pick up the stand first."