Skip to content

Commit d3a54fa

Browse files
Pain. (#2794)
* Pain. * Pain. The Sequel. * Pain. The Sequel's Sequel.
1 parent 11ec2dd commit d3a54fa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

code/modules/surgery/organs/heart.dm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,18 @@
388388
if(!COOLDOWN_FINISHED(src, crystalize_cooldown) || ethereal.stat != DEAD)
389389
return //Should probably not happen, but lets be safe.
390390

391+
//Monkestation Edit Begin
392+
if(IS_BLOODSUCKER(ethereal) && SSsunlight.sunlight_active)
393+
to_chat(ethereal, span_warning("You were unable to finish your crystallization as Sol has halted your attempt to crystallize."))
394+
stop_crystalization_process(ethereal, FALSE)
395+
return
396+
//Monkestation Edit End
397+
391398
if(ismob(location) || isitem(location) || iseffect(location) || HAS_TRAIT_FROM(src, TRAIT_HUSK, CHANGELING_DRAIN)) //Stops crystallization if they are eaten by a dragon, turned into a legion, consumed by his grace, etc.
392399
to_chat(ethereal, span_warning("You were unable to finish your crystallization, for obvious reasons."))
393400
stop_crystalization_process(ethereal, FALSE)
394401
return
402+
395403
COOLDOWN_START(src, crystalize_cooldown, INFINITY) //Prevent cheeky double-healing until we get out, this is against stupid admemery
396404
current_crystal = new(get_turf(ethereal), src)
397405
stop_crystalization_process(ethereal, TRUE)

0 commit comments

Comments
 (0)