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 16:27:51 +00:00
committed by GitHub
co-authored by Cody Brittain
parent 4b9303a1e9
commit 06601c9ec3
335 changed files with 763 additions and 674 deletions
+1 -1
View File
@@ -155,7 +155,7 @@
if(istype(M,/mob/living/carbon/human))
var/mob/living/carbon/human/H = M
if(H.shoes && H.shoes.item_flags & NOSLIP)
if(H.shoes && H.shoes.item_flags & ITEM_FLAG_NO_SLIP)
return
M.stop_pulling()
+1 -1
View File
@@ -73,7 +73,7 @@
if(isliving(AM))
if(ishuman(AM))
var/mob/living/carbon/human/H = AM
if(H.shoes?.item_flags & LIGHTSTEP)
if(H.shoes?.item_flags & ITEM_FLAG_LIGHT_STEP)
return
var/mob/living/M = AM
M.slip("the [src.name]",4)
@@ -45,7 +45,7 @@
icon = 'icons/obj/hydroponics_growing.dmi'
icon_state = "bush4-1"
layer = 3
flags = PROXMOVE
movable_flags = MOVABLE_FLAG_PROXMOVE
pass_flags = PASSTABLE
mouse_opacity = MOUSE_OPACITY_OPAQUE
+2 -2
View File
@@ -5,7 +5,7 @@
icon_state = "hydrotray3"
density = 1
anchored = 1
flags = OPENCONTAINER
atom_flags = ATOM_FLAG_OPEN_CONTAINER
volume = 100
var/mechanical = 1 // Set to 0 to stop it from drawing the alert lights.
@@ -198,7 +198,7 @@
..()
temp_chem_holder = new()
temp_chem_holder.create_reagents(10)
temp_chem_holder.flags |= OPENCONTAINER
temp_chem_holder.atom_flags |= ATOM_FLAG_OPEN_CONTAINER
create_reagents(200)
if(mechanical)
connect()
@@ -2,7 +2,7 @@
/obj/item/plantspray
icon = 'icons/obj/hydroponics_machines.dmi'
item_state = "spray"
flags = NOBLUDGEON
item_flags = ITEM_FLAG_NO_BLUDGEON
slot_flags = SLOT_BELT
throwforce = 4
w_class = ITEMSIZE_SMALL
@@ -34,7 +34,7 @@
icon = 'icons/obj/chemical.dmi'
icon_state = "plastic_jug"
item_state = "plastic_jug"
flags = 0
atom_flags = 0
possible_transfer_amounts = list(5, 10, 20, 40, 80)
volume = 80
w_class = ITEMSIZE_NORMAL