This commit is contained in:
Dip
2020-11-09 00:23:07 -03:00
parent 5ab0752975
commit 3f5d4fe6d5
2 changed files with 2 additions and 7 deletions
+1 -6
View File
@@ -294,12 +294,7 @@
if(!SSticker.HasRoundStarted())
to_chat(M, "You cannot attack people before the game has started.")
return
//Hyperstation Edit
if(istype(src, /mob/living/simple_animal/slime))
M.visible_message("<span class='notice'>[M] boops \the [src].</span>","<span class='notice'>You boop \the [src].</span>")
//This was made to prevent sentient slime players from exploting removing infinite nutrient from other slimes.
return
//End of hyperstation edit
if(M.buckled)
if(M in buckled_mobs)
M.Feedstop()
@@ -260,7 +260,7 @@
visible_message("<span class='danger'>[M] pulls [src] off!</span>")
return
attacked += 5
if(nutrition >= 100) //steal some nutrition. negval handled in life()
if(nutrition >= 100 && !istype(src, /mob/living/simple_animal/slime)) //steal some nutrition. negval handled in life()
nutrition -= (50 + (40 * M.is_adult))
M.add_nutrition(50 + (40 * M.is_adult))
if(health > 0)