mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-22 05:32:58 +01:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user