Merge pull request #3943 from CHOMPStation2/upstream-merge-12554

[MIRROR] Re-enables Amber Slime's feed aura (with restrictions)
This commit is contained in:
Razgriz
2022-03-27 16:42:01 -07:00
committed by GitHub

View File

@@ -441,15 +441,16 @@
/mob/living/simple_mob/slime/xenobio/amber
)
/* VOREStation Edit. We've had enough server crashes.
/mob/living/simple_mob/slime/xenobio/amber/handle_special()
if(stat != DEAD)
feed_aura()
..()
/mob/living/simple_mob/slime/xenobio/amber/proc/feed_aura()
for(var/mob/living/L in view(2, src))
if(L == src) // Don't feed themselves, or it is impossible to stop infinite slimes without killing all of the ambers.
for(var/mob/living/L in view(1, src))
if(L.stat == DEAD || !IIsAlly(L))
continue
if(L == src || istype(L, /mob/living/simple_mob/slime/xenobio/amber)) // Don't feed themselves, or it is impossible to stop infinite slimes without killing all of the ambers.
continue
if(istype(L, /mob/living/simple_mob/slime/xenobio))
var/mob/living/simple_mob/slime/xenobio/X = L
@@ -459,7 +460,6 @@
if(H.isSynthetic())
continue
H.nutrition = between(0, H.nutrition + rand(15, 25), 800)
*/
/mob/living/simple_mob/slime/xenobio/cerulean
desc = "This slime is generally superior in a wide range of attributes, compared to the common slime. The jack of all trades, but master of none."