Revert "Tail Stuff (#12785)" (#13582)

This reverts commit 42f5ff082c.
This commit is contained in:
Matt Atlas
2022-04-19 19:41:46 +02:00
committed by GitHub
parent add11cafee
commit 8f9d5a4e71
27 changed files with 62 additions and 269 deletions
@@ -97,48 +97,3 @@
/obj/item/storage/internal/skrell/Initialize()
. = ..()
name = initial(name)
/obj/item/storage/internal/tail
name = "tail storage"
storage_slots = 1
max_storage_space = 2
max_w_class = ITEMSIZE_SMALL
use_sound = null
/obj/item/storage/internal/tail/can_be_inserted(obj/item/clothing/tail_accessory/TA, stop_messages)
if(!istype(TA))
return FALSE
. = ..()
if(!.)
return
var/obj/item/organ/external/E = loc
if(!istype(E))
return FALSE
var/mob/living/carbon/human/H = E.owner
if(!istype(H))
return FALSE
if(!TA.compatible_with_human(H))
return FALSE
return TRUE
// we can generally assume user has all the proper groin stuff here, otherwise the above block of code is busted
/obj/item/storage/internal/tail/handle_item_insertion(obj/item/W, prevent_warning, mob/living/carbon/human/user)
. = ..()
if(.)
user.update_tail_showing()
/obj/item/storage/internal/tail/remove_from_storage(obj/item/W, atom/new_location)
. = ..()
if(.)
var/obj/item/organ/external/E = loc
if(!istype(E))
return
var/mob/living/carbon/human/H = E.owner
if(!istype(H))
return
H.update_tail_showing()
@@ -539,7 +539,7 @@
return
W.add_fingerprint(user)
return handle_item_insertion(W, null, user)
return handle_item_insertion(W)
/obj/item/storage/dropped(mob/user as mob)
return