Moves some mob and slime variables under the defines in the right file (#22858)

* Move ye to the right fucking place

* Update code/modules/mob/living/simple_animal/slime/slime_mob.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
DGamerL
2023-10-13 15:29:14 +02:00
committed by GitHub
parent 4d26c41f9f
commit 3df93abfa4
5 changed files with 17 additions and 15 deletions

View File

@@ -1,12 +1,3 @@
/mob/living/simple_animal/slime
var/AIproc = FALSE // determines if the AI loop is activated
var/Atkcool = FALSE // attack cooldown
var/Tempstun = FALSE // temporary temperature stuns
var/Discipline = 0 // if a slime has been hit with a freeze gun, or wrestled/attacked off a human, they become disciplined and don't attack anymore for a while
var/SStun = 0 // stun variable
/mob/living/simple_animal/slime/Life()
set invisibility = 0
if(notransform)

View File

@@ -53,6 +53,18 @@
var/force_stasis = FALSE
var/static/regex/slime_name_regex = new("\\w+ (baby|adult) slime \\(\\d+\\)")
/// Determines if the AI loop is activated
var/AIproc = FALSE
/// Attack cooldown
var/Atkcool = FALSE
/// Temporary temperature stuns
var/Tempstun = FALSE
/// If a slime has been hit with a freeze gun, or wrestled/attacked off a human, they become disciplined and don't attack anymore for a while
var/Discipline = 0
/// Stun variable
var/SStun = 0
///////////TIME FOR SUBSPECIES
var/colour = "grey"

View File

@@ -216,3 +216,8 @@
var/runechat_msg_location
/// The datum receiving keyboard input. parent mob by default.
var/datum/input_focus = null
/// lazy list. contains /obj/screen/alert only. On /mob so clientless mobs will throw alerts properly
var/list/alerts
var/list/screens = list()