Merge branch 'master' of https://github.com/tgstation/tgstation into xpokee-test-upstream-sync

This commit is contained in:
xPokee
2025-09-10 14:12:16 -04:00
277 changed files with 8854 additions and 7401 deletions
+1 -6
View File
@@ -722,12 +722,7 @@
icon_state = "babbearfish"
/datum/bodypart_overlay/simple/babbearfish/can_draw_on_bodypart(obj/item/bodypart/bodypart_owner)
var/mob/living/carbon/human/human = bodypart_owner.owner
if(!istype(human))
return TRUE
if((human.head?.flags_inv & HIDEEARS) || (human.wear_mask?.flags_inv & HIDEEARS))
return FALSE
return TRUE
return !(bodypart_owner.owner?.obscured_slots & HIDEEARS)
/obj/item/organ/ears/babbelfish/Initialize(mapload)
. = ..()
@@ -12,9 +12,13 @@
wait_time_range = list(6 SECONDS, 12 SECONDS)
/datum/fish_source/surgery/spawn_reward(reward_path, atom/spawn_location, atom/fishing_spot, obj/item/fishing_rod/used_rod)
if(reward_path != FISHING_RANDOM_ORGAN)
return ..()
if(istype(fishing_spot, /obj/machinery/fishing_portal_generator))
var/obj/machinery/fishing_portal_generator/portal = fishing_spot
fishing_spot = portal.current_linked_atom
if(!iscarbon(fishing_spot))
var/random_type = pick(subtypesof(/obj/item/organ) - GLOB.prototype_organs)
return new random_type(spawn_location)