mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
Upgrades SDQL2 and refactors it to a datum
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
return
|
||||
|
||||
if(!pai_key)
|
||||
var/client/C = input("Select client") as null|anything in clients
|
||||
var/client/C = input("Select client") as null|anything in GLOB.clients
|
||||
if(!C) return
|
||||
pai_key = C.key
|
||||
|
||||
|
||||
+13
-1
@@ -1,4 +1,4 @@
|
||||
/mob/Destroy()//This makes sure that mobs with clients/keys are not just deleted from the game.
|
||||
/mob/Destroy()//This makes sure that mobs withGLOB.clients/keys are not just deleted from the game.
|
||||
mob_list -= src
|
||||
dead_mob_list -= src
|
||||
living_mob_list -= src
|
||||
@@ -695,6 +695,10 @@
|
||||
stat("World Time:", world.time)
|
||||
stat("Real time of day:", REALTIMEOFDAY)
|
||||
stat(null)
|
||||
if(GLOB)
|
||||
GLOB.stat_entry()
|
||||
else
|
||||
stat("Globals:", "ERROR")
|
||||
if(Master)
|
||||
Master.stat_entry()
|
||||
else
|
||||
@@ -710,6 +714,14 @@
|
||||
|
||||
if(statpanel("Tickets"))
|
||||
GLOB.ahelp_tickets.stat_entry()
|
||||
|
||||
|
||||
if(length(GLOB.sdql2_queries))
|
||||
if(statpanel("SDQL2"))
|
||||
stat("Access Global SDQL2 List", GLOB.sdql2_vv_statobj)
|
||||
for(var/i in GLOB.sdql2_queries)
|
||||
var/datum/SDQL2_query/Q = i
|
||||
Q.generate_stat()
|
||||
|
||||
if(listed_turf && client)
|
||||
if(!TurfAdjacent(listed_turf))
|
||||
|
||||
Reference in New Issue
Block a user