replaces atom.initialized with ATOM_INITIALIZED

refactors atom/var/flags to atom_flags and area_flags
moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags
corrects various misapplied flags
This commit is contained in:
spookerton
2022-10-17 15:23:31 +01:00
parent 650ee09942
commit 3abdbbaa1c
150 changed files with 414 additions and 431 deletions
+2 -3
View File
@@ -751,7 +751,7 @@ var/global/list/mining_overlay_cache = list()
if(mineral_name && (mineral_name in GLOB.ore_data))
mineral = GLOB.ore_data[mineral_name]
if(initialized)
if(atom_flags & ATOM_INITIALIZED)
UpdateMineral()
update_icon()
@@ -767,7 +767,7 @@ var/global/list/mining_overlay_cache = list()
if(isnull(T.geologic_data))
T.geologic_data = new /datum/geosample(T)
if(isnull(T.finds) || isemptylist(T.finds))
T.finds = list()
if(prob(50))
@@ -792,4 +792,3 @@ var/global/list/mining_overlay_cache = list()
T.artifact_find = new()
T.update_icon()