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
-3
View File
@@ -772,9 +772,6 @@ so as to remain in compliance with the most up-to-date laws."
mymob.client.screen |= alert
return TRUE
/mob
var/list/alerts // lazy list. contains /obj/screen/alert only // On /mob so clientless mobs will throw alerts properly
/obj/screen/alert/Click(location, control, params)
if(!usr || !usr.client)
return
-3
View File
@@ -1,6 +1,3 @@
/mob
var/list/screens = list()
/mob/proc/overlay_fullscreen(category, type, severity)
var/obj/screen/fullscreen/screen = screens[category]
if (!screen || screen.type != type)
@@ -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)
@@ -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"
+5
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()