mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
Even More Xenobiology Buffs (#15284)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
var/mob/living/carbon/slime/M = new /mob/living/carbon/slime(loc, colour)
|
||||
M.rabid = TRUE
|
||||
M.friends = friends.Copy()
|
||||
M.mutation_chance = clamp(mutation_chance + rand(-3, 3), 0, 100)
|
||||
step_away(M, src)
|
||||
is_adult = FALSE
|
||||
maxHealth = 150
|
||||
@@ -24,4 +25,4 @@
|
||||
. = ..(gibbed, "seizes up and falls limp...")
|
||||
mood = null
|
||||
regenerate_icons()
|
||||
return
|
||||
return
|
||||
|
||||
@@ -261,19 +261,19 @@
|
||||
if(leader)
|
||||
if(holding_still)
|
||||
holding_still = max(holding_still - 1, 0)
|
||||
else if(canmove && isturf(loc))
|
||||
else if(canmove && !pulledby && !length(grabbed_by) && isturf(loc))
|
||||
step_to(src, leader)
|
||||
|
||||
else if(hungry)
|
||||
if(holding_still)
|
||||
holding_still = max(holding_still - 1 - hungry, 0)
|
||||
else if(canmove && isturf(loc) && prob(50))
|
||||
else if(canmove && !pulledby && !length(grabbed_by) && isturf(loc) && prob(50))
|
||||
step(src, pick(cardinal))
|
||||
|
||||
else
|
||||
if(holding_still)
|
||||
holding_still = max(holding_still - 1, 0)
|
||||
else if(canmove && isturf(loc) && prob(33))
|
||||
else if(canmove && !pulledby && !length(grabbed_by) && isturf(loc) && prob(33))
|
||||
step(src, pick(cardinal))
|
||||
|
||||
/mob/living/carbon/slime/proc/handle_AI() // the master AI process
|
||||
@@ -332,7 +332,13 @@
|
||||
UnarmedAttack(target)
|
||||
|
||||
else if(target in view(7, src))
|
||||
step_to(src, target)
|
||||
var/blue_grabbed = FALSE
|
||||
for(var/obj/item/grab/G as anything in grabbed_by)
|
||||
if(G.state >= GRAB_AGGRESSIVE)
|
||||
blue_grabbed = TRUE
|
||||
break
|
||||
if(!blue_grabbed)
|
||||
step_to(src, target)
|
||||
|
||||
else
|
||||
target = null
|
||||
|
||||
@@ -164,6 +164,7 @@
|
||||
if(i != 1)
|
||||
step_away(M, src)
|
||||
M.friends = friends.Copy()
|
||||
M.mutation_chance = clamp(mutation_chance + rand(-3, 3), 0, 100)
|
||||
babies += M
|
||||
M.set_content(TRUE)
|
||||
addtimer(CALLBACK(M, .proc/set_content, FALSE), 1200) // You get two minutes of safety
|
||||
|
||||
Reference in New Issue
Block a user