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
+3 -2
View File
@@ -23,7 +23,8 @@
possible_transfer_amounts = list(5)
volume = 10
can_be_placed_into = null
flags = OPENCONTAINER | NOBLUDGEON
atom_flags = ATOM_FLAG_OPEN_CONTAINER
item_flags = ITEM_FLAG_NO_BLUDGEON
unacidable = FALSE
fragile = FALSE
drop_sound = 'sound/items/drop/cloth.ogg'
@@ -160,7 +161,7 @@
qdel(src) // the rag is used up, it'll be all bloody and useless after
return // we can only do one at a time
else if(reagents.total_volume)
if(user.zone_sel.selecting == BP_MOUTH && !(M.wear_mask && M.wear_mask.item_flags & AIRTIGHT))
if(user.zone_sel.selecting == BP_MOUTH && !(M.wear_mask && M.wear_mask.item_flags & ITEM_FLAG_AIRTIGHT))
user.do_attack_animation(src)
user.visible_message(
SPAN_DANGER("\The [user] smothers [target] with [src]!"),
@@ -162,7 +162,7 @@
desc_info = "Click drag it on to an object to collect evidence. Alternatively click on non-help intent."
icon_state = "m_glass"
w_class = ITEMSIZE_SMALL
flags = NOBLUDGEON
item_flags = ITEM_FLAG_NO_BLUDGEON
var/evidence_type = "fiber"
var/evidence_path = /obj/item/sample/fibers
@@ -25,7 +25,7 @@
drop_sound = 'sound/items/drop/card.ogg'
pickup_sound = 'sound/items/pickup/card.ogg'
w_class = ITEMSIZE_TINY
flags = NOBLUDGEON
item_flags = ITEM_FLAG_NO_BLUDGEON
randpixel = 1
layer = ABOVE_MOB_LAYER //so you can mark bodies
var/number = 1