mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 23:51:17 +01:00
Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update * fix that verb * cl * fix that * toworld * this is pointless * update info * siiiiick.. * vv edit update * fix that * fix editing vars * fix VV * Port the /TG/ globals controller. * part 1 * part 2 * oops * part 3 * Hollow Purple * sadas * bsbsdb * muda na agaki ta * ids 1-15 * 16-31 * 41-75 * bring me back to how things used to be before i lost it all * the strength of mayhem * final touches * cl * protect some vars * update sdql2 to use glob * stuff? * forgot that is not defined there * whoops * observ * but it never gets better * a --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
return TRUE
|
||||
|
||||
/datum/ghostspawner/simplemob/maintdrone/cant_spawn()
|
||||
if(!config.allow_drone_spawn)
|
||||
if(!GLOB.config.allow_drone_spawn)
|
||||
return "Spawning as drone is disabled"
|
||||
if(count_drones() >= config.max_maint_drones)
|
||||
if(count_drones() >= GLOB.config.max_maint_drones)
|
||||
return "The maximum number of active drones has been reached"
|
||||
var/has_active_fabricator = FALSE
|
||||
for(var/obj/machinery/drone_fabricator/DF in SSmachinery.machinery)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
return get_turf(spawnpoint)
|
||||
|
||||
/datum/ghostspawner/simplemob/rat/cant_spawn()
|
||||
if(config.disable_player_rats)
|
||||
if(GLOB.config.disable_player_rats)
|
||||
return "Spawning as Rat is disabled"
|
||||
return ..()
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
to_chat(user, "<span class='warning'>Unable to find any safe, unwelded vents to spawn rats at. The station must be quite a mess! Trying again might work, if you think there's still a safe place. </span>")
|
||||
|
||||
if(S)
|
||||
if(config.uneducated_rats)
|
||||
if(GLOB.config.uneducated_rats)
|
||||
S.universal_understand = 0
|
||||
announce_ghost_joinleave(user, 0, "They are now a [name].")
|
||||
S.ckey = user.ckey
|
||||
|
||||
Reference in New Issue
Block a user