Split up and rename var/flags (#17794)

* Split up and rename `var/flags`

* Various fixes

* CL

* Don't rename Phoron Guard phoron preset

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
Cody Brittain
2023-11-22 11:27:51 -05:00
committed by GitHub
parent 4b9303a1e9
commit 06601c9ec3
335 changed files with 763 additions and 674 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
pickup_sound = material.pickup_sound
if(material.conductive)
flags |= CONDUCT
obj_flags |= OBJ_FLAG_CONDUCTABLE
matter = material.get_matter()
+1 -1
View File
@@ -561,7 +561,7 @@
to_chat(user, "<span class='warning'>This material is not reinforced enough to use for a door.</span>")
return
for(var/obj/obstacle in T)
if((obstacle.flags & ON_BORDER) && obstacle.dir == user.dir)
if((obstacle.atom_flags & ATOM_FLAG_CHECKS_BORDER) && obstacle.dir == user.dir)
failed_to_build = 1
if(failed_to_build)
to_chat(user, "<span class='warning'>There is no room in this location.</span>")