Datum var cleanup (#34314)

* Consolidates datum var location

* Move ui_screen to /datum/tgui

* Move focusers to datum.dm. Move fingerprintslast to /atom

* Remove focusers list, makes mobs check if their focus is QDELETED in Life()

* Consolidate use_tag and var_edited into datum_flags

* Revert garbage comment

* Thought I already removed this

* Remove the var_edited preservation

* Removes focus QDELETED handling
This commit is contained in:
Jordan Brown
2018-01-21 21:39:46 -06:00
committed by CitadelStationBot
parent 193c4d6971
commit e84617f17b
15 changed files with 40 additions and 60 deletions
+2 -2
View File
@@ -79,14 +79,14 @@
anchored = TRUE //stops it being moved
/obj/machinery/nuclearbomb/syndicate
use_tag = TRUE
datum_flags = DF_USE_TAG
//ui_style = "syndicate" // actually the nuke op bomb is a stole nt bomb
/obj/machinery/nuclearbomb/syndicate/GenerateTag()
var/obj/machinery/nuclearbomb/existing = locate("syndienuke") in GLOB.nuke_list
if(existing)
stack_trace("Attempted to spawn a syndicate nuke while one already exists at [COORD(existing.loc)]")
use_tag = FALSE
datum_flags &= ~DF_USE_TAG
return
tag = "syndienuke"