Skip to content

Commit 7f54ddd

Browse files
Coll6Siro
and
Siro
authored
May Moody Fixes (#6732)
Co-authored-by: Siro <[email protected]>
1 parent 91fc36f commit 7f54ddd

File tree

7 files changed

+20
-7
lines changed

7 files changed

+20
-7
lines changed

code/modules/mining/fulton.dm

+4
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
168168
icon_state = "folded_extraction"
169169

170170
/obj/item/fulton_core/attack_self(mob/user)
171+
if(istype(get_area(user), /area/misc/hilbertshotel))
172+
to_chat(user, span_userdanger("Something about this place is interfering with the beacon. The warning reads unsafe to deploy."))
173+
return
174+
171175
if(do_after(user,15,target = user) && !QDELETED(src))
172176
new /obj/structure/extraction_point(get_turf(user))
173177
playsound(src, 'sound/items/deconstruct.ogg', vol = 50, vary = TRUE, extrarange = MEDIUM_RANGE_SOUND_EXTRARANGE)

code/modules/surgery/bodyparts/dismemberment.dm

+3
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@
158158
continue
159159
var/obj/item/bodypart/head/oozeling/oozhead = src
160160
oozhead.eyes = null // Need this otherwise qdel on head deletes the eyes.
161+
if(istype(lmbimplant, /obj/item/organ/internal/brain)) // Go figure rare interactions give humans oozling heads. This stops rr's for head dismemeberment.
162+
var/obj/item/bodypart/head/oozeling/oozhead = src
163+
oozhead.brain = null // Similar to eyes
161164
to_chat(phantom_owner, span_notice("Something small falls out the [src]."))
162165
qdel(src)
163166
return

code/modules/surgery/bodyparts/head.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
/obj/item/bodypart/head/can_dismember(obj/item/item)
161-
if(owner.stat < HARD_CRIT)
161+
if(owner.stat < HARD_CRIT && limb_id != SPECIES_OOZELING)
162162
return FALSE
163163
return ..()
164164

code/modules/surgery/organs/internal/heart/_heart.dm

+1-2
Original file line numberDiff line numberDiff line change
@@ -385,14 +385,13 @@
385385
stop_crystalization_process(victim)
386386
return
387387

388-
389388
if(QDELETED(victim) || HAS_TRAIT(victim, TRAIT_SUICIDED))
390389
return //lol rip
391390

392391
if(!COOLDOWN_FINISHED(src, crystalize_cooldown))
393392
return //lol double rip
394393

395-
if(HAS_TRAIT(victim, TRAIT_CANNOT_CRYSTALIZE))
394+
if(HAS_TRAIT(victim, TRAIT_CANNOT_CRYSTALIZE) || HAS_TRAIT(victim, TRAIT_DEFIB_BLACKLISTED))
396395
return // no reviving during mafia, or other inconvenient times.
397396

398397
to_chat(victim, span_nicegreen("Crystals start forming around your dead body."))

monkestation/code/modules/botany/components/plant_growing.dm

+3-1
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,12 @@
139139

140140
/datum/component/plant_growing/proc/try_plant_seed(datum/source, obj/item/seeds/seed, mob/living/user)
141141
SIGNAL_HANDLER
142+
if(istype(seed, /obj/item/seeds/sample))
143+
return FALSE
142144
if(istype(seed, /obj/item/storage/bag/plants))
143145
for(var/id as anything in managed_seeds)
144146
var/obj/item/seeds/harvest = managed_seeds[id]
145-
if(!harvest)
147+
if(!harvest || istype(seed, /obj/item/seeds/sample))
146148
continue
147149
SEND_SIGNAL(harvest, COMSIG_PLANT_TRY_HARVEST, user)
148150

monkestation/code/modules/surgery/organs/internal/brain.dm

+6-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
/obj/item/organ/external/antennae,
5454
/obj/item/organ/external/spines,
5555
/obj/item/organ/internal/eyes/robotic/glow,
56+
/obj/item/organ/external/plumage,
57+
/obj/item/organ/internal/ears/cat/super,
5658
))
5759
//Quirks that roll unique effects or gives items to each new body should be saved between bodies.
5860
var/static/list/saved_quirks = typecacheof(list(
@@ -109,7 +111,10 @@
109111
. += span_notice("A dim light lowly pulsates from the center of the core, indicating an outgoing signal from a tracking microchip.")
110112
. += span_red("You could probably snuff that out.")
111113
if((brainmob && (brainmob.client || brainmob.get_ghost())) || decoy_override)
112-
. += span_hypnophrase("You remember that pouring plasma on it, if it's non-embodied, would make it regrow one.")
114+
if(isnull(stored_dna))
115+
. += span_hypnophrase("Something looks wrong with this core, you don't think plasma will fix this one, maybe there's another way?")
116+
else
117+
. += span_hypnophrase("You remember that pouring a big beaker of ground plasma on it, if it's non-embodied, would make it regrow one.")
113118

114119
/obj/item/organ/internal/brain/slime/attack_self(mob/living/user) // Allows a player (presumably an antag) to deactivate the GPS signal on a slime core
115120
user.visible_message(

monkestation/code/modules/surgery/organs/internal/heart.dm

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
to_chat(H, span_notice("You focus intently on your missing [length(limbs_to_heal) >= 2 ? "limbs" : "limb"]..."))
111111
if(H.blood_volume >= 40*length(limbs_to_heal)+BLOOD_VOLUME_OKAY)
112112
H.regenerate_limbs()
113-
if((BODY_ZONE_HEAD in limbs_to_heal) && H.get_bodypart(BODY_ZONE_HEAD)) // We have a head now so we should make eyes.
113+
if((BODY_ZONE_HEAD in limbs_to_heal) && istype(H.get_bodypart(BODY_ZONE_HEAD), /obj/item/bodypart/head/oozeling)) // We have a head now so we should make eyes.
114114
new_organ = H.dna.species.get_mutant_organ_type_for_slot(ORGAN_SLOT_EYES)
115115
new_organ = SSwardrobe.provide_type(new_organ)
116116
new_organ.Insert(H)
@@ -121,7 +121,7 @@
121121
while(H.blood_volume >= BLOOD_VOLUME_OKAY+40)
122122
var/healed_limb = pick(limbs_to_heal)
123123
H.regenerate_limb(healed_limb)
124-
if(H.regenerate_limb(healed_limb) && istype(healed_limb, /obj/item/bodypart/head)) // We have a head now so we should make eyes.
124+
if(istype(H.get_bodypart(BODY_ZONE_HEAD), /obj/item/bodypart/head/oozeling)) // We have a head now so we should make eyes.
125125
new_organ = H.dna.species.get_mutant_organ_type_for_slot(ORGAN_SLOT_EYES)
126126
new_organ = SSwardrobe.provide_type(new_organ)
127127
new_organ.Insert(H)

0 commit comments

Comments
 (0)