[src] cleans your face!")
/atom/movable/Destroy(force)
- var/inform_admins = HAS_SECONDARY_FLAG(src, INFORM_ADMINS_ON_RELOCATE)
- var/stationloving = HAS_SECONDARY_FLAG(src, STATIONLOVING)
+ var/inform_admins = (flags_2 & INFORM_ADMINS_ON_RELOCATE_2)
+ var/stationloving = (flags_2 & STATIONLOVING_2)
if(inform_admins && force)
var/turf/T = get_turf(src)
@@ -221,7 +221,7 @@
//This is tg's equivalent to the byond bump, it used to be called bump with a second arg
//to differentiate it, naturally everyone forgot about this immediately and so some things
//would bump twice, so now it's called Collide
-/atom/movable/proc/Collide(atom/A)
+/atom/movable/proc/Collide(atom/A)
if((A))
if(throwing)
throwing.hit_atom(A)
@@ -323,7 +323,7 @@
..()
/atom/movable/proc/throw_at(atom/target, range, speed, mob/thrower, spin=TRUE, diagonals_first = FALSE, var/datum/callback/callback)
- if (!target || (flags & NODROP) || speed <= 0)
+ if (!target || (flags_1 & NODROP_1) || speed <= 0)
return
if (pulledby)
@@ -550,21 +550,21 @@
*/
/atom/movable/proc/set_stationloving(state, inform_admins=FALSE)
- var/currently = HAS_SECONDARY_FLAG(src, STATIONLOVING)
+ var/currently = (flags_2 & STATIONLOVING_2)
if(inform_admins)
- SET_SECONDARY_FLAG(src, INFORM_ADMINS_ON_RELOCATE)
+ flags_2 |= INFORM_ADMINS_ON_RELOCATE_2
else
- CLEAR_SECONDARY_FLAG(src, INFORM_ADMINS_ON_RELOCATE)
+ flags_2 &= ~INFORM_ADMINS_ON_RELOCATE_2
if(state == currently)
return
else if(!state)
STOP_PROCESSING(SSinbounds, src)
- CLEAR_SECONDARY_FLAG(src, STATIONLOVING)
+ flags_2 &= ~STATIONLOVING_2
else
START_PROCESSING(SSinbounds, src)
- SET_SECONDARY_FLAG(src, STATIONLOVING)
+ flags_2 |= STATIONLOVING_2
/atom/movable/proc/relocate()
var/targetturf = find_safe_turf(ZLEVEL_STATION)
@@ -593,7 +593,7 @@
to_chat(get(src, /mob), "You can't help but feel that you just lost something back there...")
var/turf/targetturf = relocate()
log_game("[src] has been moved out of bounds in [COORD(currentturf)]. Moving it to [COORD(targetturf)].")
- if(HAS_SECONDARY_FLAG(src, INFORM_ADMINS_ON_RELOCATE))
+ if(flags_2 & INFORM_ADMINS_ON_RELOCATE_2)
message_admins("[src] has been moved out of bounds in [ADMIN_COORDJMP(currentturf)]. Moving it to [ADMIN_COORDJMP(targetturf)].")
/atom/movable/proc/in_bounds()
diff --git a/code/game/gamemodes/changeling/powers/mutations.dm b/code/game/gamemodes/changeling/powers/mutations.dm
index e71ac5cbeb..f3b9c3fecb 100644
--- a/code/game/gamemodes/changeling/powers/mutations.dm
+++ b/code/game/gamemodes/changeling/powers/mutations.dm
@@ -29,7 +29,7 @@
/obj/effect/proc_holder/changeling/weapon/proc/check_weapon(mob/user, obj/item/hand_item)
if(istype(hand_item, weapon_type))
- user.temporarilyRemoveItemFromInventory(hand_item, TRUE) //DROPDEL will delete the item
+ user.temporarilyRemoveItemFromInventory(hand_item, TRUE) //DROPDEL_1 will delete the item
if(!silent)
playsound(user, 'sound/effects/blobattack.ogg', 30, 1)
user.visible_message("With a sickening crunch, [user] reforms their [weapon_name_simple] into an arm!", "We assimilate the [weapon_name_simple] back into our body.", "[user]'s [fabricator.name] starts coverin[src == user ? "g [user.p_them()]" : "g [src]"] in glowing orange energy...", \
"You start repairin[src == user ? "g yourself" : "g [src]"]...")
fabricator.repairing = src
diff --git a/code/game/gamemodes/clock_cult/clock_helpers/slab_abilities.dm b/code/game/gamemodes/clock_cult/clock_helpers/slab_abilities.dm
index f21cbb8987..74d9112fc4 100644
--- a/code/game/gamemodes/clock_cult/clock_helpers/slab_abilities.dm
+++ b/code/game/gamemodes/clock_cult/clock_helpers/slab_abilities.dm
@@ -98,7 +98,7 @@
pulled_binding = binding
ranged_ability_user.start_pulling(binding)
slab.busy = "sustaining Geis"
- slab.flags |= NODROP
+ slab.flags_1 |= NODROP_1
while(!QDELETED(binding) && !QDELETED(ranged_ability_user))
if(ranged_ability_user.pulling == binding)
pulled_binding = binding
@@ -114,7 +114,7 @@
add_mousepointer(ranged_ability_user.client)
sleep(1)
if(!QDELETED(slab))
- slab.flags &= ~NODROP
+ slab.flags_1 &= ~NODROP_1
in_progress = FALSE
successful = TRUE
diff --git a/code/game/gamemodes/clock_cult/clock_items/clockwork_armor.dm b/code/game/gamemodes/clock_cult/clock_items/clockwork_armor.dm
index 705c719ddf..d68c87369e 100644
--- a/code/game/gamemodes/clock_cult/clock_items/clockwork_armor.dm
+++ b/code/game/gamemodes/clock_cult/clock_items/clockwork_armor.dm
@@ -20,12 +20,12 @@
/obj/item/clothing/head/helmet/clockwork/ratvar_act()
if(GLOB.ratvar_awakens)
armor = list(melee = 100, bullet = 100, laser = 100, energy = 100, bomb = 100, bio = 100, rad = 100, fire = 100, acid = 100)
- flags |= STOPSPRESSUREDMAGE
+ flags_1 |= STOPSPRESSUREDMAGE_1
max_heat_protection_temperature = FIRE_IMMUNITY_SUIT_MAX_TEMP_PROTECT
min_cold_protection_temperature = SPACE_HELM_MIN_TEMP_PROTECT
else
armor = list(melee = 80, bullet = 70, laser = -25, energy = 0, bomb = 60, bio = 0, rad = 0, fire = 100, acid = 100)
- flags &= ~STOPSPRESSUREDMAGE
+ flags_1 &= ~STOPSPRESSUREDMAGE_1
max_heat_protection_temperature = initial(max_heat_protection_temperature)
min_cold_protection_temperature = initial(min_cold_protection_temperature)
@@ -76,12 +76,12 @@
/obj/item/clothing/suit/armor/clockwork/ratvar_act()
if(GLOB.ratvar_awakens)
armor = list(melee = 100, bullet = 100, laser = 100, energy = 100, bomb = 100, bio = 100, rad = 100, fire = 100, acid = 100)
- flags |= STOPSPRESSUREDMAGE
+ flags_1 |= STOPSPRESSUREDMAGE_1
max_heat_protection_temperature = FIRE_IMMUNITY_SUIT_MAX_TEMP_PROTECT
min_cold_protection_temperature = SPACE_HELM_MIN_TEMP_PROTECT
else
armor = list(melee = 80, bullet = 70, laser = -25, energy = 0, bomb = 60, bio = 0, rad = 0, fire = 100, acid = 100)
- flags &= ~STOPSPRESSUREDMAGE
+ flags_1 &= ~STOPSPRESSUREDMAGE_1
max_heat_protection_temperature = initial(max_heat_protection_temperature)
min_cold_protection_temperature = initial(min_cold_protection_temperature)
@@ -137,12 +137,12 @@
/obj/item/clothing/gloves/clockwork/ratvar_act()
if(GLOB.ratvar_awakens)
armor = list(melee = 100, bullet = 100, laser = 100, energy = 100, bomb = 100, bio = 100, rad = 100, fire = 100, acid = 100)
- flags |= STOPSPRESSUREDMAGE
+ flags_1 |= STOPSPRESSUREDMAGE_1
max_heat_protection_temperature = FIRE_IMMUNITY_SUIT_MAX_TEMP_PROTECT
min_cold_protection_temperature = SPACE_HELM_MIN_TEMP_PROTECT
else
armor = list(melee = 80, bullet = 70, laser = -25, energy = 0, bomb = 60, bio = 0, rad = 0, fire = 100, acid = 100)
- flags &= ~STOPSPRESSUREDMAGE
+ flags_1 &= ~STOPSPRESSUREDMAGE_1
max_heat_protection_temperature = initial(max_heat_protection_temperature)
min_cold_protection_temperature = initial(min_cold_protection_temperature)
@@ -192,9 +192,9 @@
/obj/item/clothing/shoes/clockwork/ratvar_act()
if(GLOB.ratvar_awakens)
- flags |= NOSLIP
+ flags_1 |= NOSLIP_1
else
- flags &= ~NOSLIP
+ flags_1 &= ~NOSLIP_1
/obj/item/clothing/shoes/clockwork/mob_can_equip(mob/M, mob/equipper, slot, disable_warning = 0)
if(equipper && !is_servant_of_ratvar(equipper))
diff --git a/code/game/gamemodes/clock_cult/clock_items/replica_fabricator.dm b/code/game/gamemodes/clock_cult/clock_items/replica_fabricator.dm
index af0aeb7005..ded8ec4a9c 100644
--- a/code/game/gamemodes/clock_cult/clock_items/replica_fabricator.dm
+++ b/code/game/gamemodes/clock_cult/clock_items/replica_fabricator.dm
@@ -8,7 +8,7 @@
righthand_file = 'icons/mob/inhands/antag/clockwork_righthand.dmi'
w_class = WEIGHT_CLASS_NORMAL
force = 5
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/stored_power = 0 //Requires power to function
var/max_power = CLOCKCULT_POWER_UNIT * 10
var/uses_power = TRUE
@@ -297,7 +297,7 @@
if(!silent)
to_chat(user, "[L] does not serve Ratvar!")
return FALSE
- if(L.health >= L.maxHealth || (L.flags & GODMODE))
+ if(L.health >= L.maxHealth || (L.flags_1 & GODMODE))
if(!silent)
to_chat(user, "[L == user ? "You are" : "[L] is"] at maximum health!")
return FALSE
diff --git a/code/game/gamemodes/clock_cult/clock_structures/ark_of_the_clockwork_justicar.dm b/code/game/gamemodes/clock_cult/clock_structures/ark_of_the_clockwork_justicar.dm
index 11ee117b3a..144e378304 100644
--- a/code/game/gamemodes/clock_cult/clock_structures/ark_of_the_clockwork_justicar.dm
+++ b/code/game/gamemodes/clock_cult/clock_structures/ark_of_the_clockwork_justicar.dm
@@ -82,7 +82,7 @@
. = ..()
/obj/structure/destructible/clockwork/massive/celestial_gateway/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!disassembled)
resistance_flags |= INDESTRUCTIBLE
countdown.stop()
diff --git a/code/game/gamemodes/clock_cult/clock_structures/geis_binding.dm b/code/game/gamemodes/clock_cult/clock_structures/geis_binding.dm
index 82d1e68ff3..734ea8eb17 100644
--- a/code/game/gamemodes/clock_cult/clock_structures/geis_binding.dm
+++ b/code/game/gamemodes/clock_cult/clock_structures/geis_binding.dm
@@ -126,7 +126,7 @@
desc = "A flickering ring preventing you from holding items."
icon = 'icons/effects/clockwork_effects.dmi'
icon_state = "geisbinding_full"
- flags = NODROP|ABSTRACT|DROPDEL
+ flags_1 = NODROP_1|ABSTRACT_1|DROPDEL_1
/obj/item/geis_binding/pre_attackby(atom/target, mob/living/user, params)
return FALSE
diff --git a/code/game/gamemodes/clock_cult/clock_structures/wall_gear.dm b/code/game/gamemodes/clock_cult/clock_structures/wall_gear.dm
index bdb4544787..f9e763623b 100644
--- a/code/game/gamemodes/clock_cult/clock_structures/wall_gear.dm
+++ b/code/game/gamemodes/clock_cult/clock_structures/wall_gear.dm
@@ -70,6 +70,6 @@
return ..()
/obj/structure/destructible/clockwork/wall_gear/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT) && disassembled)
+ if(!(flags_1 & NODECONSTRUCT_1) && disassembled)
new /obj/item/stack/tile/brass(loc, 3)
return ..()
diff --git a/code/game/gamemodes/cult/cult_items.dm b/code/game/gamemodes/cult/cult_items.dm
index d472bb7d5a..4d68c4c96b 100644
--- a/code/game/gamemodes/cult/cult_items.dm
+++ b/code/game/gamemodes/cult/cult_items.dm
@@ -5,7 +5,7 @@
item_state = "cultblade"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
sharpness = IS_SHARP
w_class = WEIGHT_CLASS_BULKY
force = 30
@@ -108,7 +108,7 @@
item_state = "cult_hoodalt"
/obj/item/clothing/head/culthood/alt/ghost
- flags = NODROP|DROPDEL
+ flags_1 = NODROP_1|DROPDEL_1
/obj/item/clothing/suit/cultrobes/alt
name = "cultist robes"
@@ -117,7 +117,7 @@
item_state = "cultrobesalt"
/obj/item/clothing/suit/cultrobes/alt/ghost
- flags = NODROP|DROPDEL
+ flags_1 = NODROP_1|DROPDEL_1
/obj/item/clothing/head/magus
diff --git a/code/game/gamemodes/cult/cult_items.dm.rej b/code/game/gamemodes/cult/cult_items.dm.rej
new file mode 100644
index 0000000000..cb9c6324c1
--- /dev/null
+++ b/code/game/gamemodes/cult/cult_items.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/gamemodes/cult/cult_items.dm b/code/game/gamemodes/cult/cult_items.dm (rejected hunks)
+@@ -31,7 +31,7 @@
+ /obj/item/melee/cultblade/ghost
+ name = "eldritch sword"
+ force = 19 //can't break normal airlocks
+- flags = NODROP|DROPDEL
++ flags_1 = NODROP_1|DROPDEL_1
+
+ /obj/item/melee/cultblade/pickup(mob/living/user)
+ ..()
diff --git a/code/game/gamemodes/cult/talisman.dm.rej b/code/game/gamemodes/cult/talisman.dm.rej
new file mode 100644
index 0000000000..b4f739b6fc
--- /dev/null
+++ b/code/game/gamemodes/cult/talisman.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/gamemodes/cult/talisman.dm b/code/game/gamemodes/cult/talisman.dm (rejected hunks)
+@@ -343,7 +343,7 @@
+ desc = "Shackles that bind the wrists with sinister magic."
+ trashtype = /obj/item/restraints/handcuffs/energy/used
+ origin_tech = "materials=2;magnets=5"
+- flags = DROPDEL
++ flags_1 = DROPDEL_1
+
+ /obj/item/restraints/handcuffs/energy/cult/used/dropped(mob/user)
+ user.visible_message("[user]'s shackles shatter in a discharge of dark magic!", \
diff --git a/code/game/gamemodes/devil/true_devil/_true_devil.dm b/code/game/gamemodes/devil/true_devil/_true_devil.dm
index 090b926dbf..5b85cbd811 100644
--- a/code/game/gamemodes/devil/true_devil/_true_devil.dm
+++ b/code/game/gamemodes/devil/true_devil/_true_devil.dm
@@ -65,7 +65,7 @@
//Left hand items
for(var/obj/item/I in held_items)
- if(!(I.flags & ABSTRACT))
+ if(!(I.flags_1 & ABSTRACT_1))
if(I.blood_DNA)
msg += "It is holding [icon2html(I, user)] [I.gender==PLURAL?"some":"a"] blood-stained [I.name] in its [get_held_index_name(get_held_index_of_item(I))]!\n"
else
diff --git a/code/game/gamemodes/gang/dominator.dm b/code/game/gamemodes/gang/dominator.dm
index c35561ce54..7f707fbb4d 100644
--- a/code/game/gamemodes/gang/dominator.dm
+++ b/code/game/gamemodes/gang/dominator.dm
@@ -126,11 +126,11 @@
icon_state = "dominator-broken"
/obj/machinery/dominator/obj_break(damage_flag)
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
+ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
set_broken()
/obj/machinery/dominator/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
set_broken()
new /obj/item/stack/sheet/plasteel(src.loc)
diff --git a/code/game/gamemodes/gang/gang_items.dm b/code/game/gamemodes/gang/gang_items.dm
index 286145d6cf..8438385b75 100644
--- a/code/game/gamemodes/gang/gang_items.dm
+++ b/code/game/gamemodes/gang/gang_items.dm
@@ -355,7 +355,7 @@
name = "Wetwork boots"
desc = "A gang's best hitmen are prepared for anything."
permeability_coefficient = 0.01
- flags = NOSLIP
+ flags_1 = NOSLIP_1
/datum/gang_item/equipment/pen
name = "Recruitment Pen"
diff --git a/code/game/gamemodes/gang/recaller.dm b/code/game/gamemodes/gang/recaller.dm
index 0be52e6033..86f68029d0 100644
--- a/code/game/gamemodes/gang/recaller.dm
+++ b/code/game/gamemodes/gang/recaller.dm
@@ -8,7 +8,7 @@
w_class = WEIGHT_CLASS_TINY
throw_speed = 3
throw_range = 7
- flags = CONDUCT
+ flags_1 = CONDUCT_1
origin_tech = "programming=5;bluespace=2;syndicate=5"
var/datum/gang/gang //Which gang uses this?
var/recalling = 0
diff --git a/code/game/gamemodes/miniantags/abduction/abduction_gear.dm b/code/game/gamemodes/miniantags/abduction/abduction_gear.dm
index 9413de030c..26a0c28f4f 100644
--- a/code/game/gamemodes/miniantags/abduction/abduction_gear.dm
+++ b/code/game/gamemodes/miniantags/abduction/abduction_gear.dm
@@ -29,9 +29,9 @@
var/combat_armor = list(melee = 50, bullet = 50, laser = 50, energy = 50, bomb = 50, bio = 50, rad = 50, fire = 90, acid = 90)
/obj/item/clothing/suit/armor/abductor/vest/proc/toggle_nodrop()
- flags ^= NODROP
+ flags_1 ^= NODROP_1
if(ismob(loc))
- to_chat(loc, "Your vest is now [flags & NODROP ? "locked" : "unlocked"].")
+ to_chat(loc, "Your vest is now [flags_1 & NODROP_1 ? "locked" : "unlocked"].")
/obj/item/clothing/suit/armor/abductor/vest/proc/flip_mode()
switch(mode)
@@ -529,10 +529,10 @@ Congratulations! You are now trained for invasive xenobiology research!"}
icon_state = "abductor_headset"
item_state = "abductor_headset"
keyslot2 = new /obj/item/device/encryptionkey/heads/captain
+ flags_2 = BANG_PROTECT_2
/obj/item/device/radio/headset/abductor/Initialize(mapload)
..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
make_syndie()
/obj/item/device/radio/headset/abductor/attackby(obj/item/weapon/W, mob/user, params)
diff --git a/code/game/gamemodes/miniantags/abduction/abduction_gear.dm.rej b/code/game/gamemodes/miniantags/abduction/abduction_gear.dm.rej
new file mode 100644
index 0000000000..7e66243e36
--- /dev/null
+++ b/code/game/gamemodes/miniantags/abduction/abduction_gear.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/gamemodes/miniantags/abduction/abduction_gear.dm b/code/game/gamemodes/miniantags/abduction/abduction_gear.dm (rejected hunks)
+@@ -499,7 +499,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
+
+ /obj/item/restraints/handcuffs/energy/used
+ desc = "energy discharge"
+- flags = DROPDEL
++ flags_1 = DROPDEL_1
+
+ /obj/item/restraints/handcuffs/energy/used/dropped(mob/user)
+ user.visible_message("[user]'s [src] break in a discharge of energy!", \
diff --git a/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm.rej b/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm.rej
new file mode 100644
index 0000000000..3e8b7d8f67
--- /dev/null
+++ b/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm b/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm (rejected hunks)
+@@ -23,7 +23,7 @@
+ var/obj/item/clothing/suit/armor/abductor/vest/V = locate() in H
+ if(V)
+ console.AddVest(V)
+- V.flags |= NODROP
++ V.flags_1 |= NODROP_1
+
+ var/obj/item/storage/backpack/B = locate() in H
+ if(B)
diff --git a/code/game/gamemodes/miniantags/abduction/machinery/console.dm b/code/game/gamemodes/miniantags/abduction/machinery/console.dm
index 8ad8cc8474..4cdebea880 100644
--- a/code/game/gamemodes/miniantags/abduction/machinery/console.dm
+++ b/code/game/gamemodes/miniantags/abduction/machinery/console.dm
@@ -69,7 +69,7 @@
dat+="
"
dat += "Select Agent Vest Disguise
"
- dat += "[vest.flags & NODROP ? "Unlock" : "Lock"] Vest
"
+ dat += "[vest.flags_1 & NODROP_1 ? "Unlock" : "Lock"] Vest
"
else
dat += "NO AGENT VEST DETECTED"
var/datum/browser/popup = new(user, "computer", "Abductor Console", 400, 500)
diff --git a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm
index 184564b024..98102984ee 100644
--- a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm
+++ b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm
@@ -238,8 +238,8 @@
INVOKE_ASYNC(src, .proc/defile, T)
/obj/effect/proc_holder/spell/aoe_turf/revenant/defile/proc/defile(turf/T)
- if(T.flags & NOJAUNT)
- T.flags -= NOJAUNT
+ if(T.flags_1 & NOJAUNT_1)
+ T.flags_1 &= ~NOJAUNT_1
new /obj/effect/temp_visual/revenant(T)
if(!istype(T, /turf/open/floor/plating) && !istype(T, /turf/open/floor/engine/cult) && isfloorturf(T) && prob(15))
var/turf/open/floor/floor = T
diff --git a/code/game/gamemodes/nuclear/pinpointer.dm b/code/game/gamemodes/nuclear/pinpointer.dm
index d926cf2a9f..f8862fa224 100644
--- a/code/game/gamemodes/nuclear/pinpointer.dm
+++ b/code/game/gamemodes/nuclear/pinpointer.dm
@@ -4,7 +4,7 @@
desc = "A handheld tracking device that locks onto certain signals."
icon = 'icons/obj/device.dmi'
icon_state = "pinoff"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
item_state = "electronic"
@@ -173,7 +173,7 @@
name = "cyborg syndicate pinpointer"
desc = "An integrated tracking device, jury-rigged to search for living Syndicate operatives."
mode = TRACK_OPERATIVES
- flags = NODROP
+ flags_1 = NODROP_1
diff --git a/code/game/gamemodes/wizard/artefact.dm b/code/game/gamemodes/wizard/artefact.dm
index 6f1ae8e1dd..460dc04da5 100644
--- a/code/game/gamemodes/wizard/artefact.dm
+++ b/code/game/gamemodes/wizard/artefact.dm
@@ -208,7 +208,7 @@
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
hitsound = 'sound/weapons/bladeslice.ogg'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
sharpness = IS_SHARP
force = 20
diff --git a/code/game/gamemodes/wizard/spellbook.dm b/code/game/gamemodes/wizard/spellbook.dm
index 69c26cdb43..e83e1dedff 100644
--- a/code/game/gamemodes/wizard/spellbook.dm
+++ b/code/game/gamemodes/wizard/spellbook.dm
@@ -213,7 +213,7 @@
/datum/spellbook_entry/lightningbolt/Buy(mob/living/carbon/human/user,obj/item/weapon/spellbook/book) //return 1 on success
. = ..()
- SET_SECONDARY_FLAG(user, TESLA_IGNORE)
+ user.flags_2 |= TESLA_IGNORE_2
/datum/spellbook_entry/infinite_guns
name = "Lesser Summon Guns"
@@ -865,7 +865,7 @@
if(ishuman(user))
to_chat(user,"HOR-SIE HAS RISEN")
var/obj/item/clothing/mask/horsehead/magichead = new /obj/item/clothing/mask/horsehead
- magichead.flags |= NODROP //curses!
+ magichead.flags_1 |= NODROP_1 //curses!
magichead.flags_inv &= ~HIDEFACE //so you can still see their face
magichead.voicechange = 1 //NEEEEIIGHH
if(!user.dropItemToGround(user.wear_mask))
diff --git a/code/game/machinery/PDApainter.dm b/code/game/machinery/PDApainter.dm
index 3da8871fc4..39f360e316 100644
--- a/code/game/machinery/PDApainter.dm
+++ b/code/game/machinery/PDApainter.dm
@@ -101,7 +101,7 @@
return ..()
/obj/machinery/pdapainter/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
stat |= BROKEN
update_icon()
diff --git a/code/game/machinery/aug_manipulator.dm b/code/game/machinery/aug_manipulator.dm
index 05d6a48064..a47101b7e6 100644
--- a/code/game/machinery/aug_manipulator.dm
+++ b/code/game/machinery/aug_manipulator.dm
@@ -92,7 +92,7 @@
return ..()
/obj/machinery/aug_manipulator/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
stat |= BROKEN
update_icon()
diff --git a/code/game/machinery/autolathe.dm b/code/game/machinery/autolathe.dm
index 1164851206..db491bf52c 100644
--- a/code/game/machinery/autolathe.dm
+++ b/code/game/machinery/autolathe.dm
@@ -135,7 +135,7 @@
busy = FALSE
return 1
- if(HAS_SECONDARY_FLAG(O, HOLOGRAM))
+ if(O.flags_2 & HOLOGRAM_2)
return 1
var/material_amount = materials.get_item_material_amount(O)
diff --git a/code/game/machinery/buttons.dm b/code/game/machinery/buttons.dm
index f6ff372fbb..9a76147930 100644
--- a/code/game/machinery/buttons.dm
+++ b/code/game/machinery/buttons.dm
@@ -97,7 +97,7 @@
update_icon()
return
- if(user.a_intent != INTENT_HARM && !(W.flags & NOBLUDGEON))
+ if(user.a_intent != INTENT_HARM && !(W.flags_1 & NOBLUDGEON_1))
return src.attack_hand(user)
else
return ..()
diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm
index 2ef95cfa6c..37b121cb63 100644
--- a/code/game/machinery/camera/camera.dm
+++ b/code/game/machinery/camera/camera.dm
@@ -235,12 +235,12 @@
. = ..()
/obj/machinery/camera/obj_break(damage_flag)
- if(status && !(flags & NODECONSTRUCT))
+ if(status && !(flags_1 & NODECONSTRUCT_1))
triggerCameraAlarm()
toggle_cam(null, 0)
/obj/machinery/camera/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(disassembled)
if(!assembly)
assembly = new()
diff --git a/code/game/machinery/camera/camera_assembly.dm b/code/game/machinery/camera/camera_assembly.dm
index 8ca1a8632c..b460c2ffdd 100644
--- a/code/game/machinery/camera/camera_assembly.dm
+++ b/code/game/machinery/camera/camera_assembly.dm
@@ -140,6 +140,6 @@
return 0
/obj/structure/camera_assembly/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc)
qdel(src)
diff --git a/code/game/machinery/computer/buildandrepair.dm.rej b/code/game/machinery/computer/buildandrepair.dm.rej
new file mode 100644
index 0000000000..f58657eeda
--- /dev/null
+++ b/code/game/machinery/computer/buildandrepair.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/machinery/computer/buildandrepair.dm b/code/game/machinery/computer/buildandrepair.dm (rejected hunks)
+@@ -136,7 +136,7 @@
+
+
+ /obj/structure/frame/computer/deconstruct(disassembled = TRUE)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ if(state == 4)
+ new /obj/item/shard(loc)
+ new /obj/item/shard(loc)
diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm
index 41022efaba..199e925f2d 100644
--- a/code/game/machinery/constructable_frame.dm
+++ b/code/game/machinery/constructable_frame.dm
@@ -14,7 +14,7 @@
/obj/structure/frame/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc, 5)
if(circuit)
circuit.forceMove(loc)
@@ -253,7 +253,7 @@
/obj/structure/frame/machine/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(state >= 2)
new /obj/item/stack/cable_coil(loc , 5)
for(var/X in components)
diff --git a/code/game/machinery/deployable.dm b/code/game/machinery/deployable.dm
index 14b73c9a9f..093bc0ed75 100644
--- a/code/game/machinery/deployable.dm
+++ b/code/game/machinery/deployable.dm
@@ -18,7 +18,7 @@
var/material = METAL
/obj/structure/barricade/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
make_debris()
qdel(src)
diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm
index 94047727bc..28d9a5fd3a 100644
--- a/code/game/machinery/doors/airlock.dm
+++ b/code/game/machinery/doors/airlock.dm
@@ -1529,7 +1529,7 @@
/obj/machinery/door/airlock/obj_break(damage_flag)
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
+ if(!(flags_1 & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
stat |= BROKEN
if(!panel_open)
panel_open = TRUE
@@ -1547,7 +1547,7 @@
/obj/machinery/door/airlock/deconstruct(disassembled = TRUE, mob/user)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/obj/structure/door_assembly/A
if(assemblytype)
A = new assemblytype(src.loc)
diff --git a/code/game/machinery/doors/airlock_types.dm b/code/game/machinery/doors/airlock_types.dm
index a0086b7258..a076f6898e 100644
--- a/code/game/machinery/doors/airlock_types.dm
+++ b/code/game/machinery/doors/airlock_types.dm
@@ -498,7 +498,7 @@
/obj/machinery/door/airlock/clockwork/deconstruct(disassembled = TRUE)
playsound(src, 'sound/items/deconstruct.ogg', 50, 1)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/turf/T = get_turf(src)
if(disassembled)
new/obj/item/stack/tile/brass(T, 4)
diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm
index 47e3fdc6d4..fa1f08aed3 100644
--- a/code/game/machinery/doors/door.dm
+++ b/code/game/machinery/doors/door.dm
@@ -11,7 +11,7 @@
max_integrity = 350
armor = list(melee = 30, bullet = 30, laser = 20, energy = 20, bomb = 10, bio = 100, rad = 100, fire = 80, acid = 70)
CanAtmosPass = ATMOS_PASS_DENSITY
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
var/secondsElectrified = 0
var/shockedby = list()
diff --git a/code/game/machinery/doors/door.dm.rej b/code/game/machinery/doors/door.dm.rej
new file mode 100644
index 0000000000..7d3066935d
--- /dev/null
+++ b/code/game/machinery/doors/door.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm (rejected hunks)
+@@ -163,7 +163,7 @@
+ else if(istype(I, /obj/item/weldingtool))
+ try_to_weld(I, user)
+ return 1
+- else if(!(I.flags & NOBLUDGEON) && user.a_intent != INTENT_HARM)
++ else if(!(I.flags_1 & NOBLUDGEON_1) && user.a_intent != INTENT_HARM)
+ try_to_activate_door(user)
+ return 1
+ return ..()
diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm
index 9a57593b3f..d87f326c58 100644
--- a/code/game/machinery/doors/firedoor.dm
+++ b/code/game/machinery/doors/firedoor.dm
@@ -185,7 +185,7 @@
latetoggle()
/obj/machinery/door/firedoor/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/obj/structure/firelock_frame/F = new assemblytype(get_turf(src))
if(disassembled)
F.constructionStep = CONSTRUCTION_PANEL_OPEN
@@ -209,7 +209,7 @@
/obj/machinery/door/firedoor/border_only
icon = 'icons/obj/doors/edge_Doorfire.dmi'
- flags = ON_BORDER
+ flags_1 = ON_BORDER_1
CanAtmosPass = ATMOS_PASS_PROC
/obj/machinery/door/firedoor/border_only/CanPass(atom/movable/mover, turf/target)
diff --git a/code/game/machinery/doors/windowdoor.dm b/code/game/machinery/doors/windowdoor.dm
index 7f8cbce0f4..b1bb5cdf10 100644
--- a/code/game/machinery/doors/windowdoor.dm
+++ b/code/game/machinery/doors/windowdoor.dm
@@ -181,7 +181,7 @@
/obj/machinery/door/window/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT) && !disassembled)
+ if(!(flags_1 & NODECONSTRUCT_1) && !disassembled)
for(var/obj/fragment in debris)
fragment.forceMove(get_turf(src))
transfer_fingerprints_to(fragment)
diff --git a/code/game/machinery/doors/windowdoor.dm.rej b/code/game/machinery/doors/windowdoor.dm.rej
new file mode 100644
index 0000000000..675a389de8
--- /dev/null
+++ b/code/game/machinery/doors/windowdoor.dm.rej
@@ -0,0 +1,19 @@
+diff a/code/game/machinery/doors/windowdoor.dm b/code/game/machinery/doors/windowdoor.dm (rejected hunks)
+@@ -11,7 +11,7 @@
+ integrity_failure = 0
+ armor = list(melee = 20, bullet = 50, laser = 50, energy = 50, bomb = 10, bio = 100, rad = 100, fire = 70, acid = 100)
+ visible = FALSE
+- flags = ON_BORDER
++ flags_1 = ON_BORDER_1
+ opacity = 0
+ CanAtmosPass = ATMOS_PASS_PROC
+ var/obj/item/electronics/airlock/electronics = null
+@@ -221,7 +221,7 @@
+ return
+
+ add_fingerprint(user)
+- if(!(flags&NODECONSTRUCT))
++ if(!(flags_1&NODECONSTRUCT_1))
+ if(istype(I, /obj/item/screwdriver))
+ if(density || operating)
+ to_chat(user, "You need to open the door to access the maintenance panel!")
diff --git a/code/game/machinery/droneDispenser.dm b/code/game/machinery/droneDispenser.dm
index 022ca343f6..c01cea0de3 100644
--- a/code/game/machinery/droneDispenser.dm
+++ b/code/game/machinery/droneDispenser.dm
@@ -301,7 +301,7 @@
return ..()
/obj/machinery/droneDispenser/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
if(break_message)
audible_message("[src] \
@@ -312,7 +312,7 @@
update_icon()
/obj/machinery/droneDispenser/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc, 5)
qdel(src)
diff --git a/code/game/machinery/firealarm.dm.rej b/code/game/machinery/firealarm.dm.rej
new file mode 100644
index 0000000000..3b656ac7fa
--- /dev/null
+++ b/code/game/machinery/firealarm.dm.rej
@@ -0,0 +1,16 @@
+diff a/code/game/machinery/firealarm.dm b/code/game/machinery/firealarm.dm (rejected hunks)
+@@ -239,12 +239,12 @@
+ alarm()
+
+ /obj/machinery/firealarm/obj_break(damage_flag)
+- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT) && buildstage != 0) //can't break the electronics if there isn't any inside.
++ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1) && buildstage != 0) //can't break the electronics if there isn't any inside.
+ stat |= BROKEN
+ update_icon()
+
+ /obj/machinery/firealarm/deconstruct(disassembled = TRUE)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ new /obj/item/stack/sheet/metal(loc, 1)
+ if(!(stat & BROKEN))
+ var/obj/item/I = new /obj/item/electronics/firealarm(loc)
diff --git a/code/game/machinery/flasher.dm b/code/game/machinery/flasher.dm
index da82e1df25..beaa0919ef 100644
--- a/code/game/machinery/flasher.dm
+++ b/code/game/machinery/flasher.dm
@@ -132,7 +132,7 @@
..()
/obj/machinery/flasher/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
stat |= BROKEN
if(bulb)
@@ -140,7 +140,7 @@
power_change()
/obj/machinery/flasher/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(bulb)
bulb.forceMove(loc)
bulb = null
diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm
index 141df8af74..e8606238d4 100644
--- a/code/game/machinery/hologram.dm
+++ b/code/game/machinery/hologram.dm
@@ -33,7 +33,7 @@ Possible to do for anyone motivated enough:
desc = "It's a floor-mounted device for projecting holographic images."
icon_state = "holopad0"
layer = LOW_OBJ_LAYER
- flags = HEAR
+ flags_1 = HEAR_1
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 5
diff --git a/code/game/machinery/iv_drip.dm b/code/game/machinery/iv_drip.dm
index 41b688d19c..bca6c51559 100644
--- a/code/game/machinery/iv_drip.dm
+++ b/code/game/machinery/iv_drip.dm
@@ -107,7 +107,7 @@
return ..()
/obj/machinery/iv_drip/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc)
qdel(src)
diff --git a/code/game/machinery/launch_pad.dm b/code/game/machinery/launch_pad.dm
index 8c3736ddf3..931ec8a984 100644
--- a/code/game/machinery/launch_pad.dm
+++ b/code/game/machinery/launch_pad.dm
@@ -211,7 +211,7 @@
icon_state = "briefcase"
lefthand_file = 'icons/mob/inhands/equipment/briefcase_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/briefcase_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 8
hitsound = "swing_hit"
throw_speed = 2
diff --git a/code/game/machinery/limbgrower.dm.rej b/code/game/machinery/limbgrower.dm.rej
new file mode 100644
index 0000000000..6605f2e3da
--- /dev/null
+++ b/code/game/machinery/limbgrower.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/machinery/limbgrower.dm b/code/game/machinery/limbgrower.dm (rejected hunks)
+@@ -10,7 +10,7 @@
+ icon = 'icons/obj/machines/limbgrower.dmi'
+ icon_state = "limbgrower_idleoff"
+ density = TRUE
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ anchored = TRUE
+ use_power = IDLE_POWER_USE
+ idle_power_usage = 10
diff --git a/code/game/machinery/magnet.dm b/code/game/machinery/magnet.dm
index 21e0590a4b..f7c9725f36 100644
--- a/code/game/machinery/magnet.dm
+++ b/code/game/machinery/magnet.dm
@@ -175,7 +175,7 @@
center = locate(x+center_x, y+center_y, z)
if(center)
for(var/obj/M in orange(magnetic_field, center))
- if(!M.anchored && (M.flags & CONDUCT))
+ if(!M.anchored && (M.flags_1 & CONDUCT_1))
step_towards(M, center)
for(var/mob/living/silicon/S in orange(magnetic_field, center))
diff --git a/code/game/machinery/newscaster.dm.rej b/code/game/machinery/newscaster.dm.rej
new file mode 100644
index 0000000000..72b1edc08c
--- /dev/null
+++ b/code/game/machinery/newscaster.dm.rej
@@ -0,0 +1,18 @@
+diff a/code/game/machinery/newscaster.dm b/code/game/machinery/newscaster.dm (rejected hunks)
+@@ -758,14 +758,14 @@ GLOBAL_LIST_EMPTY(allCasters)
+
+
+ /obj/machinery/newscaster/deconstruct(disassembled = TRUE)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ new /obj/item/stack/sheet/metal(loc, 2)
+ new /obj/item/shard(loc)
+ new /obj/item/shard(loc)
+ qdel(src)
+
+ /obj/machinery/newscaster/obj_break()
+- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
++ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
+ stat |= BROKEN
+ playsound(loc, 'sound/effects/glassbr3.ogg', 100, 1)
+ update_icon()
diff --git a/code/game/machinery/porta_turret/portable_turret.dm b/code/game/machinery/porta_turret/portable_turret.dm
index 176209a2cb..f31bde299c 100644
--- a/code/game/machinery/porta_turret/portable_turret.dm
+++ b/code/game/machinery/porta_turret/portable_turret.dm
@@ -326,7 +326,7 @@
qdel(src)
/obj/machinery/porta_turret/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT) && !(stat & BROKEN))
+ if(!(flags_1 & NODECONSTRUCT_1) && !(stat & BROKEN))
stat |= BROKEN //enables the BROKEN bit
update_icon()
invisibility = 0
diff --git a/code/game/machinery/recycler.dm.rej b/code/game/machinery/recycler.dm.rej
new file mode 100644
index 0000000000..2903c4ce1d
--- /dev/null
+++ b/code/game/machinery/recycler.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/machinery/recycler.dm b/code/game/machinery/recycler.dm (rejected hunks)
+@@ -187,7 +187,7 @@
+ name = "dangerous old crusher"
+ emagged = TRUE
+ crush_damage = 120
+- flags = NODECONSTRUCT
++ flags_1 = NODECONSTRUCT_1
+
+ /obj/item/paper/guides/recycler
+ name = "paper - 'garbage duty instructions'"
diff --git a/code/game/machinery/shieldgen.dm b/code/game/machinery/shieldgen.dm
index c857ddaf16..729d84973d 100644
--- a/code/game/machinery/shieldgen.dm
+++ b/code/game/machinery/shieldgen.dm
@@ -111,7 +111,7 @@
/obj/machinery/shieldgen/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat && BROKEN))
stat |= BROKEN
locked = pick(0,1)
@@ -210,7 +210,7 @@
anchored = FALSE
density = TRUE
req_access = list(ACCESS_TELEPORTER)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
use_power = NO_POWER_USE
max_integrity = 300
var/active = FALSE
diff --git a/code/game/machinery/suit_storage_unit.dm b/code/game/machinery/suit_storage_unit.dm
index cc43331eb8..4475a85594 100644
--- a/code/game/machinery/suit_storage_unit.dm
+++ b/code/game/machinery/suit_storage_unit.dm
@@ -169,7 +169,7 @@
occupant = null
/obj/machinery/suit_storage_unit/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
open_machine()
dump_contents()
new /obj/item/stack/sheet/metal (loc, 2)
diff --git a/code/game/machinery/vending.dm b/code/game/machinery/vending.dm
index a65d4baa9f..486081a4c6 100644
--- a/code/game/machinery/vending.dm
+++ b/code/game/machinery/vending.dm
@@ -146,14 +146,14 @@
/obj/machinery/vending/deconstruct(disassembled = TRUE)
if(!refill_canister) //the non constructable vendors drop metal instead of a machine frame.
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc, 3)
qdel(src)
else
..()
/obj/machinery/vending/obj_break(damage_flag)
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
+ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
var/dump_amount = 0
for(var/datum/data/vending_product/R in product_records)
if(R.amount <= 0) //Try to use a record that actually has something to dump.
diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm
index 28f2b0fb18..31ba629438 100644
--- a/code/game/mecha/mecha.dm
+++ b/code/game/mecha/mecha.dm
@@ -23,7 +23,7 @@
layer = BELOW_MOB_LAYER//icon draw layer
infra_luminosity = 15 //byond implementation is bugged.
force = 5
- flags = HEAR
+ flags_1 = HEAR_1
var/can_move = 1
var/mob/living/carbon/occupant = null
var/step_in = 10 //make a step in step_in/10 sec.
diff --git a/code/game/mecha/mecha_parts.dm b/code/game/mecha/mecha_parts.dm
index 3ca9596c26..dc124d7a57 100644
--- a/code/game/mecha/mecha_parts.dm
+++ b/code/game/mecha/mecha_parts.dm
@@ -7,7 +7,7 @@
icon = 'icons/mecha/mech_construct.dmi'
icon_state = "blank"
w_class = WEIGHT_CLASS_GIGANTIC
- flags = CONDUCT
+ flags_1 = CONDUCT_1
origin_tech = "programming=2;materials=2;engineering=2"
/obj/item/mecha_parts/chassis
@@ -313,7 +313,7 @@
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 5
w_class = WEIGHT_CLASS_SMALL
throwforce = 0
diff --git a/code/game/objects/effects/mines.dm.rej b/code/game/objects/effects/mines.dm.rej
new file mode 100644
index 0000000000..d1d152fd06
--- /dev/null
+++ b/code/game/objects/effects/mines.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/effects/mines.dm b/code/game/objects/effects/mines.dm (rejected hunks)
+@@ -130,7 +130,7 @@
+ new /datum/hallucination/delusion(victim, TRUE, "demon",duration,0)
+
+ var/obj/item/twohanded/required/chainsaw/doomslayer/chainsaw = new(victim.loc)
+- chainsaw.flags |= NODROP
++ chainsaw.flags_1 |= NODROP_1
+ victim.drop_all_held_items()
+ victim.put_in_hands(chainsaw)
+ chainsaw.attack_self(victim)
diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm
index 6e428b99ba..87d1d161c5 100644
--- a/code/game/objects/items.dm
+++ b/code/game/objects/items.dm
@@ -378,7 +378,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
for(var/X in actions)
var/datum/action/A = X
A.Remove(user)
- if(DROPDEL & flags)
+ if(DROPDEL_1 & flags_1)
qdel(src)
in_inventory = FALSE
diff --git a/code/game/objects/items.dm.rej b/code/game/objects/items.dm.rej
new file mode 100644
index 0000000000..546d2c394c
--- /dev/null
+++ b/code/game/objects/items.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/items.dm b/code/game/objects/items.dm (rejected hunks)
+@@ -135,7 +135,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
+ hitsound = "swing_hit"
+
+ /obj/item/Destroy()
+- flags &= ~DROPDEL //prevent reqdels
++ flags_1 &= ~DROPDEL_1 //prevent reqdels
+ if(ismob(loc))
+ var/mob/m = loc
+ m.temporarilyRemoveItemFromInventory(src, TRUE)
diff --git a/code/game/objects/items/apc_frame.dm b/code/game/objects/items/apc_frame.dm
index de8804860d..82ea4214dd 100644
--- a/code/game/objects/items/apc_frame.dm
+++ b/code/game/objects/items/apc_frame.dm
@@ -1,7 +1,7 @@
/obj/item/wallframe
icon = 'icons/obj/wallframe.dmi'
materials = list(MAT_METAL=MINERAL_MATERIAL_AMOUNT*2)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
origin_tech = "materials=1;engineering=1"
item_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
@@ -119,7 +119,7 @@
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_SMALL
origin_tech = "engineering=2;programming=1"
materials = list(MAT_METAL=50, MAT_GLASS=50)
\ No newline at end of file
diff --git a/code/game/objects/items/cardboard_cutouts.dm b/code/game/objects/items/cardboard_cutouts.dm
index 12016924a8..6e911199c2 100644
--- a/code/game/objects/items/cardboard_cutouts.dm
+++ b/code/game/objects/items/cardboard_cutouts.dm
@@ -48,7 +48,7 @@
change_appearance(I, user)
return
// Why yes, this does closely resemble mob and object attack code.
- if(I.flags & NOBLUDGEON)
+ if(I.flags_1 & NOBLUDGEON_1)
return
if(!I.force)
playsound(loc, 'sound/weapons/tap.ogg', get_clamped_volume(), 1, -1)
diff --git a/code/game/objects/items/devices/PDA/PDA.dm b/code/game/objects/items/devices/PDA/PDA.dm
index 9097d8add4..0d672d5998 100644
--- a/code/game/objects/items/devices/PDA/PDA.dm
+++ b/code/game/objects/items/devices/PDA/PDA.dm
@@ -12,7 +12,7 @@ GLOBAL_LIST_EMPTY(PDAs)
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
w_class = WEIGHT_CLASS_TINY
slot_flags = SLOT_ID | SLOT_BELT
origin_tech = "programming=2"
diff --git a/code/game/objects/items/devices/aicard.dm b/code/game/objects/items/devices/aicard.dm
index 94336116ec..1ab160af20 100644
--- a/code/game/objects/items/devices/aicard.dm
+++ b/code/game/objects/items/devices/aicard.dm
@@ -8,7 +8,7 @@
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
slot_flags = SLOT_BELT
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/flush = FALSE
var/mob/living/silicon/ai/AI
origin_tech = "programming=3;materials=3"
diff --git a/code/game/objects/items/devices/camera_bug.dm b/code/game/objects/items/devices/camera_bug.dm
index c56317e0e6..0b882c96d3 100644
--- a/code/game/objects/items/devices/camera_bug.dm
+++ b/code/game/objects/items/devices/camera_bug.dm
@@ -15,7 +15,7 @@
throw_speed = 4
throw_range = 20
origin_tech = "syndicate=1;engineering=3"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/obj/machinery/camera/current = null
diff --git a/code/game/objects/items/devices/chameleonproj.dm b/code/game/objects/items/devices/chameleonproj.dm
index 23101a4000..b878059ddc 100644
--- a/code/game/objects/items/devices/chameleonproj.dm
+++ b/code/game/objects/items/devices/chameleonproj.dm
@@ -1,7 +1,7 @@
/obj/item/device/chameleon
name = "chameleon-projector"
icon_state = "shield0"
- flags = CONDUCT | NOBLUDGEON
+ flags_1 = CONDUCT_1 | NOBLUDGEON_1
slot_flags = SLOT_BELT
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
diff --git a/code/game/objects/items/devices/doorCharge.dm b/code/game/objects/items/devices/doorCharge.dm
index 16197b85c4..cb24098e81 100644
--- a/code/game/objects/items/devices/doorCharge.dm
+++ b/code/game/objects/items/devices/doorCharge.dm
@@ -8,7 +8,7 @@
w_class = WEIGHT_CLASS_SMALL
throw_range = 4
throw_speed = 1
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
force = 3
attack_verb = list("blown up", "exploded", "detonated")
materials = list(MAT_METAL=50, MAT_GLASS=30)
diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm
index b3c50f3ffd..eae0a4c9a2 100644
--- a/code/game/objects/items/devices/flashlight.dm
+++ b/code/game/objects/items/devices/flashlight.dm
@@ -7,7 +7,7 @@
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
materials = list(MAT_METAL=50, MAT_GLASS=20)
actions_types = list(/datum/action/item_action/toggle_light)
@@ -162,7 +162,7 @@
desc = "A pen-sized light, used by medical staff. It can also be used to create a hologram to alert people of incoming medical assistance."
icon_state = "penlight"
item_state = ""
- flags = CONDUCT
+ flags_1 = CONDUCT_1
brightness_on = 2
var/holo_cooldown = 0
@@ -210,7 +210,7 @@
item_state = "lamp"
brightness_on = 5
w_class = WEIGHT_CLASS_BULKY
- flags = CONDUCT
+ flags_1 = CONDUCT_1
materials = list()
on = TRUE
@@ -524,5 +524,5 @@
desc = "This shouldn't exist outside of someone's head, how are you seeing this?"
brightness_on = 15
flashlight_power = 1
- flags = CONDUCT | DROPDEL
+ flags_1 = CONDUCT_1 | DROPDEL_1
actions_types = list()
diff --git a/code/game/objects/items/devices/forcefieldprojector.dm b/code/game/objects/items/devices/forcefieldprojector.dm
index cafa9e581c..5c67e520cb 100644
--- a/code/game/objects/items/devices/forcefieldprojector.dm
+++ b/code/game/objects/items/devices/forcefieldprojector.dm
@@ -4,7 +4,7 @@
icon_state = "signmaker_engi"
slot_flags = SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
diff --git a/code/game/objects/items/devices/gps.dm b/code/game/objects/items/devices/gps.dm
index 5eee70d83e..91250f7d3c 100644
--- a/code/game/objects/items/devices/gps.dm
+++ b/code/game/objects/items/devices/gps.dm
@@ -158,11 +158,11 @@ GLOBAL_LIST_EMPTY(GPS_list)
icon_state = "gps-b"
gpstag = "BORG0"
desc = "A mining cyborg internal positioning system. Used as a recovery beacon for damaged cyborg assets, or a collaboration tool for mining teams."
- flags = NODROP
+ flags_1 = NODROP_1
/obj/item/device/gps/internal
icon_state = null
- flags = ABSTRACT
+ flags_1 = ABSTRACT_1
gpstag = "Eerie Signal"
desc = "Report to a coder immediately."
invisibility = INVISIBILITY_MAXIMUM
diff --git a/code/game/objects/items/devices/laserpointer.dm b/code/game/objects/items/devices/laserpointer.dm
index 234c917df1..61f8f439fe 100644
--- a/code/game/objects/items/devices/laserpointer.dm
+++ b/code/game/objects/items/devices/laserpointer.dm
@@ -5,7 +5,7 @@
icon_state = "pointer"
item_state = "pen"
var/pointer_icon_state
- flags = CONDUCT | NOBLUDGEON
+ flags_1 = CONDUCT_1 | NOBLUDGEON_1
slot_flags = SLOT_BELT
materials = list(MAT_METAL=500, MAT_GLASS=500)
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/game/objects/items/devices/lightreplacer.dm b/code/game/objects/items/devices/lightreplacer.dm
index e61e215058..6a92af7629 100644
--- a/code/game/objects/items/devices/lightreplacer.dm
+++ b/code/game/objects/items/devices/lightreplacer.dm
@@ -49,7 +49,7 @@
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
origin_tech = "magnets=3;engineering=4"
diff --git a/code/game/objects/items/devices/pipe_painter.dm b/code/game/objects/items/devices/pipe_painter.dm
index 036fa7b6f2..fdcf781a4d 100644
--- a/code/game/objects/items/devices/pipe_painter.dm
+++ b/code/game/objects/items/devices/pipe_painter.dm
@@ -4,7 +4,7 @@
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "labeler1"
item_state = "flight"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/list/modes = list(
"grey" = rgb(255,255,255),
"red" = rgb(255,0,0),
diff --git a/code/game/objects/items/devices/powersink.dm b/code/game/objects/items/devices/powersink.dm
index 9e271222d2..34aae02fee 100644
--- a/code/game/objects/items/devices/powersink.dm
+++ b/code/game/objects/items/devices/powersink.dm
@@ -8,7 +8,7 @@
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
- flags = CONDUCT
+ flags_1 = CONDUCT_1
throwforce = 5
throw_speed = 1
throw_range = 2
diff --git a/code/game/objects/items/devices/radio/electropack.dm b/code/game/objects/items/devices/radio/electropack.dm
index a69c610b2a..f4d704ef2a 100644
--- a/code/game/objects/items/devices/radio/electropack.dm
+++ b/code/game/objects/items/devices/radio/electropack.dm
@@ -6,7 +6,7 @@
item_state = "electropack"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
w_class = WEIGHT_CLASS_HUGE
materials = list(MAT_METAL=10000, MAT_GLASS=2500)
@@ -52,8 +52,8 @@
user.put_in_hands(A)
A.add_fingerprint(user)
- if(src.flags & NODROP)
- A.flags |= NODROP
+ if(src.flags_1 & NODROP_1)
+ A.flags_1 |= NODROP_1
else
return ..()
diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm
index 79c0cb4b87..d2674be82c 100644
--- a/code/game/objects/items/devices/radio/headset.dm
+++ b/code/game/objects/items/devices/radio/headset.dm
@@ -45,10 +45,7 @@
origin_tech = "syndicate=3"
icon_state = "syndie_headset"
item_state = "syndie_headset"
-
-/obj/item/device/radio/headset/syndicate/alt/Initialize(mapload)
- . = ..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
+ flags_2 = BANG_PROTECT_2
/obj/item/device/radio/headset/syndicate/alt/leader
name = "team leader headset"
@@ -77,10 +74,7 @@
desc = "This is used by your elite security force. Protects ears from flashbangs. \nTo access the security channel, use :s."
icon_state = "sec_headset_alt"
item_state = "sec_headset_alt"
-
-/obj/item/device/radio/headset/headset_sec/alt/Initialize(mapload)
- . = ..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
+ flags_2 = BANG_PROTECT_2
/obj/item/device/radio/headset/headset_eng
name = "engineering radio headset"
@@ -132,10 +126,7 @@
desc = "The headset of the boss. Protects ears from flashbangs. \nChannels are as follows: :c - command, :s - security, :e - engineering, :u - supply, :v - service, :m - medical, :n - science."
icon_state = "com_headset_alt"
item_state = "com_headset_alt"
-
-/obj/item/device/radio/headset/heads/captain/alt/Initialize(mapload)
- . = ..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
+ flags_2 = BANG_PROTECT_2
/obj/item/device/radio/headset/heads/rd
name = "\proper the research director's headset"
@@ -154,10 +145,7 @@
desc = "The headset of the man in charge of keeping order and protecting the station. Protects ears from flashbangs. \nTo access the security channel, use :s. For command, use :c."
icon_state = "com_headset_alt"
item_state = "com_headset_alt"
-
-/obj/item/device/radio/headset/heads/hos/alt/Initialize(mapload)
- . = ..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
+ flags_2 = BANG_PROTECT_2
/obj/item/device/radio/headset/heads/ce
name = "\proper the chief engineer's headset"
@@ -211,10 +199,7 @@
icon_state = "cent_headset_alt"
item_state = "cent_headset_alt"
keyslot = null
-
-/obj/item/device/radio/headset/headset_cent/alt/Initialize(mapload)
- . = ..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
+ flags_2 = BANG_PROTECT_2
/obj/item/device/radio/headset/ai
name = "\proper Integrated Subspace Transceiver "
diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm
index 251be1c368..9004d5b0c8 100644
--- a/code/game/objects/items/devices/radio/radio.dm
+++ b/code/game/objects/items/devices/radio/radio.dm
@@ -27,7 +27,7 @@
var/freqlock = 0 //Frequency lock to stop the user from untuning specialist radios.
var/emped = 0 //Highjacked to track the number of consecutive EMPs on the radio, allowing consecutive EMP's to stack properly.
// "Example" = FREQ_LISTENING|FREQ_BROADCASTING
- flags = CONDUCT | HEAR
+ flags_1 = CONDUCT_1 | HEAR_1
slot_flags = SLOT_BELT
throw_speed = 3
throw_range = 7
@@ -547,10 +547,10 @@
name = "cyborg radio"
subspace_switchable = 1
dog_fashion = null
+ flags_2 = NO_EMP_WIRES_2
/obj/item/device/radio/borg/Initialize(mapload)
..()
- SET_SECONDARY_FLAG(src, NO_EMP_WIRES)
/obj/item/device/radio/borg/syndicate
syndie = 1
diff --git a/code/game/objects/items/devices/scanners.dm b/code/game/objects/items/devices/scanners.dm
index ae84bd2f2c..6879f1f2e2 100644
--- a/code/game/objects/items/devices/scanners.dm
+++ b/code/game/objects/items/devices/scanners.dm
@@ -63,7 +63,7 @@ MASS SPECTROMETER
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
desc = "A hand-held body scanner able to distinguish vital signs of the subject."
- flags = CONDUCT | NOBLUDGEON
+ flags_1 = CONDUCT_1 | NOBLUDGEON_1
slot_flags = SLOT_BELT
throwforce = 3
w_class = WEIGHT_CLASS_TINY
@@ -260,7 +260,7 @@ MASS SPECTROMETER
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- flags = CONDUCT | NOBLUDGEON
+ flags_1 = CONDUCT_1 | NOBLUDGEON_1
slot_flags = SLOT_BELT
throwforce = 0
throw_speed = 3
@@ -336,9 +336,9 @@ MASS SPECTROMETER
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
throwforce = 0
throw_speed = 3
throw_range = 7
@@ -400,7 +400,7 @@ MASS SPECTROMETER
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
origin_tech = "biotech=2"
w_class = WEIGHT_CLASS_SMALL
- flags = CONDUCT
+ flags_1 = CONDUCT_1
throwforce = 0
throw_speed = 3
throw_range = 7
diff --git a/code/game/objects/items/devices/taperecorder.dm b/code/game/objects/items/devices/taperecorder.dm
index 8e0e7b384e..91f521d952 100644
--- a/code/game/objects/items/devices/taperecorder.dm
+++ b/code/game/objects/items/devices/taperecorder.dm
@@ -6,7 +6,7 @@
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- flags = HEAR
+ flags_1 = HEAR_1
slot_flags = SLOT_BELT
materials = list(MAT_METAL=60, MAT_GLASS=30)
force = 2
diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm
index c2c37f3d29..8de8bcd772 100644
--- a/code/game/objects/items/devices/traitordevices.dm
+++ b/code/game/objects/items/devices/traitordevices.dm
@@ -23,7 +23,7 @@ effective or pretty fucking useless.
w_class = WEIGHT_CLASS_TINY
throw_speed = 3
throw_range = 7
- flags = CONDUCT
+ flags_1 = CONDUCT_1
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
diff --git a/code/game/objects/items/eightball.dm b/code/game/objects/items/eightball.dm
index ae3a45f457..82d4c3d99f 100644
--- a/code/game/objects/items/eightball.dm
+++ b/code/game/objects/items/eightball.dm
@@ -91,7 +91,7 @@
// except it actually ASKS THE DEAD (wooooo)
/obj/item/toy/eightball/haunted
- flags = HEAR
+ flags_1 = HEAR_1
var/last_message
var/selected_message
var/list/votes
diff --git a/code/game/objects/items/religion.dm b/code/game/objects/items/religion.dm
index 050d221f2d..e0ed869e5a 100644
--- a/code/game/objects/items/religion.dm
+++ b/code/game/objects/items/religion.dm
@@ -86,7 +86,7 @@
name = "Prophet's Hat"
desc = "A religious-looking hat."
alternate_worn_icon = 'icons/mob/large-worn-icons/64x64/head.dmi'
- flags = 0
+ flags_1 = 0
armor = list(melee = 60, bullet = 60, laser = 60, energy = 50, bomb = 70, bio = 50, rad = 50, fire = 60, acid = 60) //religion protects you from disease and radiation, honk.
worn_x_dimension = 64
worn_y_dimension = 64
@@ -147,7 +147,7 @@
icon_state = "crusader"
w_class = WEIGHT_CLASS_NORMAL
armor = list(melee = 50, bullet = 50, laser = 50, energy = 40, bomb = 60, bio = 0, rad = 0, fire = 60, acid = 60) //does this even do anything on boots?
- flags = NOSLIP
+ flags_1 = NOSLIP_1
cold_protection = FEET
min_cold_protection_temperature = SHOES_MIN_TEMP_PROTECT
heat_protection = FEET
diff --git a/code/game/objects/items/robot/robot_items.dm.rej b/code/game/objects/items/robot/robot_items.dm.rej
new file mode 100644
index 0000000000..cfcbd37d1c
--- /dev/null
+++ b/code/game/objects/items/robot/robot_items.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/items/robot/robot_items.dm b/code/game/objects/items/robot/robot_items.dm (rejected hunks)
+@@ -151,7 +151,7 @@
+ /obj/item/borg/charger
+ name = "power connector"
+ icon_state = "charger_draw"
+- flags = NOBLUDGEON
++ flags_1 = NOBLUDGEON_1
+ var/mode = "draw"
+ var/static/list/charge_machines = typecacheof(list(/obj/machinery/cell_charger, /obj/machinery/recharger, /obj/machinery/recharge_station, /obj/machinery/mech_bay_recharge_port))
+ var/static/list/charge_items = typecacheof(list(/obj/item/stock_parts/cell, /obj/item/gun/energy))
diff --git a/code/game/objects/items/stacks/rods.dm b/code/game/objects/items/stacks/rods.dm
index 9456f925d6..2e6883feec 100644
--- a/code/game/objects/items/stacks/rods.dm
+++ b/code/game/objects/items/stacks/rods.dm
@@ -10,7 +10,7 @@ GLOBAL_LIST_INIT(rod_recipes, list ( \
singular_name = "metal rod"
icon_state = "rods"
item_state = "rods"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_NORMAL
force = 9
throwforce = 10
diff --git a/code/game/objects/items/stacks/sheets/leather.dm b/code/game/objects/items/stacks/sheets/leather.dm
index 285225d6f1..dc2cc108d5 100644
--- a/code/game/objects/items/stacks/sheets/leather.dm
+++ b/code/game/objects/items/stacks/sheets/leather.dm
@@ -179,7 +179,7 @@ GLOBAL_LIST_INIT(sinew_recipes, list ( \
singular_name = "hide plate"
max_amount = 6
novariants = FALSE
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
w_class = WEIGHT_CLASS_NORMAL
layer = MOB_LAYER
@@ -192,7 +192,7 @@ GLOBAL_LIST_INIT(sinew_recipes, list ( \
singular_name = "drake plate"
max_amount = 10
novariants = FALSE
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
w_class = WEIGHT_CLASS_NORMAL
layer = MOB_LAYER
diff --git a/code/game/objects/items/stacks/sheets/light.dm b/code/game/objects/items/stacks/sheets/light.dm
index 10ac12d53f..c8953d26e7 100644
--- a/code/game/objects/items/stacks/sheets/light.dm
+++ b/code/game/objects/items/stacks/sheets/light.dm
@@ -9,7 +9,7 @@
throwforce = 5
throw_speed = 3
throw_range = 7
- flags = CONDUCT
+ flags_1 = CONDUCT_1
max_amount = 60
/obj/item/stack/light_w/attackby(obj/item/O, mob/user, params)
diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm
index 03f3c32b94..48414ddd4f 100644
--- a/code/game/objects/items/stacks/sheets/sheet_types.dm
+++ b/code/game/objects/items/stacks/sheets/sheet_types.dm
@@ -62,7 +62,7 @@ GLOBAL_LIST_INIT(metal_recipes, list ( \
icon_state = "sheet-metal"
materials = list(MAT_METAL=MINERAL_MATERIAL_AMOUNT)
throwforce = 10
- flags = CONDUCT
+ flags_1 = CONDUCT_1
origin_tech = "materials=1"
resistance_flags = FIRE_PROOF
merge_type = /obj/item/stack/sheet/metal
@@ -109,7 +109,7 @@ GLOBAL_LIST_INIT(plasteel_recipes, list ( \
item_state = "sheet-metal"
materials = list(MAT_METAL=2000, MAT_PLASMA=2000)
throwforce = 10
- flags = CONDUCT
+ flags_1 = CONDUCT_1
origin_tech = "materials=2"
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 100, acid = 80)
resistance_flags = FIRE_PROOF
diff --git a/code/game/objects/items/stacks/telecrystal.dm b/code/game/objects/items/stacks/telecrystal.dm
index 843aede259..da4e0b4a44 100644
--- a/code/game/objects/items/stacks/telecrystal.dm
+++ b/code/game/objects/items/stacks/telecrystal.dm
@@ -6,7 +6,7 @@
icon_state = "telecrystal"
w_class = WEIGHT_CLASS_TINY
max_amount = 50
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
origin_tech = "materials=6;syndicate=1"
/obj/item/stack/telecrystal/attack(mob/target, mob/user)
diff --git a/code/game/objects/items/stacks/tiles/light.dm b/code/game/objects/items/stacks/tiles/light.dm
index a5ff449508..36f79270f7 100644
--- a/code/game/objects/items/stacks/tiles/light.dm
+++ b/code/game/objects/items/stacks/tiles/light.dm
@@ -3,7 +3,7 @@
singular_name = "light floor tile"
desc = "A floor tile, made out of glass. It produces light."
icon_state = "tile_e"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
attack_verb = list("bashed", "battered", "bludgeoned", "thrashed", "smashed")
turf_type = /turf/open/floor/light
var/state = 0
diff --git a/code/game/objects/items/stacks/tiles/tile_types.dm b/code/game/objects/items/stacks/tiles/tile_types.dm
index fece24cb22..589964de37 100644
--- a/code/game/objects/items/stacks/tiles/tile_types.dm
+++ b/code/game/objects/items/stacks/tiles/tile_types.dm
@@ -211,7 +211,7 @@
force = 6
materials = list(MAT_METAL=500)
throwforce = 10
- flags = CONDUCT
+ flags_1 = CONDUCT_1
turf_type = /turf/open/floor/plasteel
mineralType = "metal"
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 100, acid = 70)
diff --git a/code/game/objects/items/stacks/wrap.dm.rej b/code/game/objects/items/stacks/wrap.dm.rej
new file mode 100644
index 0000000000..c8433b06fe
--- /dev/null
+++ b/code/game/objects/items/stacks/wrap.dm.rej
@@ -0,0 +1,19 @@
+diff a/code/game/objects/items/stacks/wrap.dm b/code/game/objects/items/stacks/wrap.dm (rejected hunks)
+@@ -9,7 +9,7 @@
+ desc = "Wrap packages with this festive paper to make gifts."
+ icon = 'icons/obj/items_and_weapons.dmi'
+ icon_state = "wrap_paper"
+- flags = NOBLUDGEON
++ flags_1 = NOBLUDGEON_1
+ amount = 25
+ max_amount = 25
+ resistance_flags = FLAMMABLE
+@@ -30,7 +30,7 @@
+ desc = "You can use this to wrap items in."
+ icon = 'icons/obj/items_and_weapons.dmi'
+ icon_state = "deliveryPaper"
+- flags = NOBLUDGEON
++ flags_1 = NOBLUDGEON_1
+ amount = 25
+ max_amount = 25
+ resistance_flags = FLAMMABLE
diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm
index daaadeb797..5053188d66 100644
--- a/code/game/objects/items/toys.dm
+++ b/code/game/objects/items/toys.dm
@@ -139,7 +139,7 @@
item_state = "gun"
lefthand_file = 'icons/mob/inhands/weapons/guns_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/guns_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
w_class = WEIGHT_CLASS_NORMAL
materials = list(MAT_METAL=10, MAT_GLASS=10)
@@ -334,7 +334,7 @@
item_state = "katana"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT | SLOT_BACK
force = 5
throwforce = 5
diff --git a/code/game/objects/items/toys.dm.rej b/code/game/objects/items/toys.dm.rej
new file mode 100644
index 0000000000..2885a32a69
--- /dev/null
+++ b/code/game/objects/items/toys.dm.rej
@@ -0,0 +1,12 @@
+diff a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm (rejected hunks)
+@@ -244,8 +244,8 @@
+ // Copied from /obj/item/melee/transforming/energy/sword/attackby
+ /obj/item/toy/sword/attackby(obj/item/W, mob/living/user, params)
+ if(istype(W, /obj/item/toy/sword))
+- if((W.flags & NODROP) || (flags & NODROP))
+- to_chat(user, "\the [flags & NODROP ? src : W] is stuck to your hand, you can't attach it to \the [flags & NODROP ? W : src]!")
++ if((W.flags_1 & NODROP_1) || (flags_1 & NODROP_1))
++ to_chat(user, "\the [flags_1 & NODROP_1 ? src : W] is stuck to your hand, you can't attach it to \the [flags_1 & NODROP_1 ? W : src]!")
+ return
+ else
+ to_chat(user, "You attach the ends of the two plastic swords, making a single double-bladed toy! You're fake-cool.")
diff --git a/code/game/objects/items/weapons/grenades/plastic.dm b/code/game/objects/items/weapons/grenades/plastic.dm
index a043f3890c..26161fbda8 100644
--- a/code/game/objects/items/weapons/grenades/plastic.dm
+++ b/code/game/objects/items/weapons/grenades/plastic.dm
@@ -4,6 +4,7 @@
icon_state = "plastic-explosive0"
item_state = "plastic-explosive"
flags = NOBLUDGEON
+ flags_2 = NO_EMP_WIRES_2
det_time = 10
display_timer = 0
var/atom/target = null
@@ -18,10 +19,6 @@
plastic_overlay = mutable_appearance(icon, "[item_state]2")
..()
-/obj/item/weapon/grenade/plastic/Initialize(mapload)
- . = ..()
- SET_SECONDARY_FLAG(src, NO_EMP_WIRES)
-
/obj/item/weapon/grenade/plastic/Destroy()
qdel(nadeassembly)
nadeassembly = null
diff --git a/code/game/objects/items/weapons/holy_weapons.dm b/code/game/objects/items/weapons/holy_weapons.dm
index 8e1cf3301e..6ef928a9db 100644
--- a/code/game/objects/items/weapons/holy_weapons.dm
+++ b/code/game/objects/items/weapons/holy_weapons.dm
@@ -372,10 +372,10 @@
slot_flags = null
hitsound = 'sound/weapons/bladeslice.ogg'
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
+ flags_2 = SLOWS_WHILE_IN_HAND_2
/obj/item/weapon/nullrod/tribal_knife/Initialize(mapload)
..()
- SET_SECONDARY_FLAG(src, SLOWS_WHILE_IN_HAND)
/obj/item/weapon/nullrod/tribal_knife/New()
..()
diff --git a/code/game/objects/objs.dm b/code/game/objects/objs.dm
index 42eb03a18e..55e2bbfd4f 100644
--- a/code/game/objects/objs.dm
+++ b/code/game/objects/objs.dm
@@ -58,7 +58,7 @@
/obj/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback)
..()
- if(HAS_SECONDARY_FLAG(src, FROZEN))
+ if(flags_2 & FROZEN_2)
visible_message("[src] shatters into a million pieces!")
qdel(src)
diff --git a/code/game/objects/structures/aliens.dm b/code/game/objects/structures/aliens.dm
index 0f8a8e1b14..df3f2ad9fa 100644
--- a/code/game/objects/structures/aliens.dm
+++ b/code/game/objects/structures/aliens.dm
@@ -42,7 +42,7 @@
icon_state = "gelmound"
/obj/structure/alien/gelpod/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new/obj/effect/mob_spawn/human/corpse/damaged(get_turf(src))
qdel(src)
@@ -297,7 +297,7 @@
break
/obj/structure/alien/egg/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(status != BURST)
Burst(kill=TRUE)
diff --git a/code/game/objects/structures/barsigns.dm b/code/game/objects/structures/barsigns.dm
index d4ce88c948..5b8fd20380 100644
--- a/code/game/objects/structures/barsigns.dm
+++ b/code/game/objects/structures/barsigns.dm
@@ -38,7 +38,7 @@
desc = "It displays \"[name]\"."
/obj/structure/sign/barsign/obj_break(damage_flag)
- if(!broken && !(flags & NODECONSTRUCT))
+ if(!broken && !(flags_1 & NODECONSTRUCT_1))
broken = 1
/obj/structure/sign/barsign/deconstruct(disassembled = TRUE)
diff --git a/code/game/objects/structures/beds_chairs/alien_nest.dm b/code/game/objects/structures/beds_chairs/alien_nest.dm
index ed5dc5f902..f840316aa9 100644
--- a/code/game/objects/structures/beds_chairs/alien_nest.dm
+++ b/code/game/objects/structures/beds_chairs/alien_nest.dm
@@ -10,7 +10,7 @@
can_be_unanchored = FALSE
canSmoothWith = null
buildstacktype = null
- flags = NODECONSTRUCT
+ flags_1 = NODECONSTRUCT_1
var/static/mutable_appearance/nest_overlay = mutable_appearance('icons/mob/alien.dmi', "nestoverlay", LYING_MOB_LAYER)
/obj/structure/bed/nest/user_unbuckle_mob(mob/living/buckled_mob, mob/living/user)
diff --git a/code/game/objects/structures/beds_chairs/bed.dm b/code/game/objects/structures/beds_chairs/bed.dm
index 040f83ded2..93d541d9cf 100644
--- a/code/game/objects/structures/beds_chairs/bed.dm
+++ b/code/game/objects/structures/beds_chairs/bed.dm
@@ -22,7 +22,7 @@
var/buildstackamount = 2
/obj/structure/bed/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(buildstacktype)
new buildstacktype(loc,buildstackamount)
..()
diff --git a/code/game/objects/structures/beds_chairs/bed.dm.rej b/code/game/objects/structures/beds_chairs/bed.dm.rej
new file mode 100644
index 0000000000..818bce9711
--- /dev/null
+++ b/code/game/objects/structures/beds_chairs/bed.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/structures/beds_chairs/bed.dm b/code/game/objects/structures/beds_chairs/bed.dm (rejected hunks)
+@@ -31,7 +31,7 @@
+ return attack_hand(user)
+
+ /obj/structure/bed/attackby(obj/item/W, mob/user, params)
+- if(istype(W, /obj/item/wrench) && !(flags&NODECONSTRUCT))
++ if(istype(W, /obj/item/wrench) && !(flags_1&NODECONSTRUCT_1))
+ playsound(src.loc, W.usesound, 50, 1)
+ deconstruct(TRUE)
+ else
diff --git a/code/game/objects/structures/beds_chairs/chair.dm b/code/game/objects/structures/beds_chairs/chair.dm
index 96fb189ba5..ecb0909bfa 100644
--- a/code/game/objects/structures/beds_chairs/chair.dm
+++ b/code/game/objects/structures/beds_chairs/chair.dm
@@ -28,7 +28,7 @@
/obj/structure/chair/deconstruct()
// If we have materials, and don't have the NOCONSTRUCT flag
- if(buildstacktype && (!(flags & NODECONSTRUCT)))
+ if(buildstacktype && (!(flags_1 & NODECONSTRUCT_1)))
new buildstacktype(loc,buildstackamount)
..()
@@ -203,7 +203,7 @@
/obj/structure/chair/MouseDrop(over_object, src_location, over_location)
. = ..()
if(over_object == usr && Adjacent(usr))
- if(!item_chair || !usr.can_hold_items() || has_buckled_mobs() || src.flags & NODECONSTRUCT)
+ if(!item_chair || !usr.can_hold_items() || has_buckled_mobs() || src.flags_1 & NODECONSTRUCT_1)
return
if(usr.incapacitated())
to_chat(usr, "You can't do that right now!")
@@ -250,7 +250,7 @@
if(istype(A, /obj/structure/chair))
to_chat(user, "There is already a chair here.")
return
- if(A.density && !(A.flags & ON_BORDER))
+ if(A.density && !(A.flags_1 & ON_BORDER_1))
to_chat(user, "There is already something here.")
return
diff --git a/code/game/objects/structures/beds_chairs/chair.dm.rej b/code/game/objects/structures/beds_chairs/chair.dm.rej
new file mode 100644
index 0000000000..4dee120e01
--- /dev/null
+++ b/code/game/objects/structures/beds_chairs/chair.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/structures/beds_chairs/chair.dm b/code/game/objects/structures/beds_chairs/chair.dm (rejected hunks)
+@@ -41,7 +41,7 @@
+ qdel(src)
+
+ /obj/structure/chair/attackby(obj/item/W, mob/user, params)
+- if(istype(W, /obj/item/wrench) && !(flags&NODECONSTRUCT))
++ if(istype(W, /obj/item/wrench) && !(flags_1&NODECONSTRUCT_1))
+ playsound(src.loc, W.usesound, 50, 1)
+ deconstruct()
+ else if(istype(W, /obj/item/assembly/shock_kit))
diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm
index 1babf2b407..d90619c9e8 100644
--- a/code/game/objects/structures/crates_lockers/closets.dm
+++ b/code/game/objects/structures/crates_lockers/closets.dm
@@ -164,7 +164,7 @@
return
if(!allow_dense && AM.density)
return
- if(AM.anchored || AM.has_buckled_mobs() || (AM.flags & NODROP))
+ if(AM.anchored || AM.has_buckled_mobs() || (AM.flags_1 & NODROP_1))
return
else
return
@@ -251,7 +251,7 @@
user.visible_message("[user] [anchored ? "anchored" : "unanchored"] \the [src] [anchored ? "to" : "from"] the ground.", \
"You [anchored ? "anchored" : "unanchored"] \the [src] [anchored ? "to" : "from"] the ground.", \
"You hear a ratchet.")
- else if(user.a_intent != INTENT_HARM && !(W.flags & NOBLUDGEON))
+ else if(user.a_intent != INTENT_HARM && !(W.flags_1 & NOBLUDGEON_1))
if(W.GetID() || !toggle(user))
togglelock(user)
return 1
diff --git a/code/game/objects/structures/crates_lockers/closets.dm.rej b/code/game/objects/structures/crates_lockers/closets.dm.rej
new file mode 100644
index 0000000000..55cd62f8af
--- /dev/null
+++ b/code/game/objects/structures/crates_lockers/closets.dm.rej
@@ -0,0 +1,16 @@
+diff a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm (rejected hunks)
+@@ -193,12 +193,12 @@
+ return open(user)
+
+ /obj/structure/closet/deconstruct(disassembled = TRUE)
+- if(ispath(material_drop) && material_drop_amount && !(flags & NODECONSTRUCT))
++ if(ispath(material_drop) && material_drop_amount && !(flags_1 & NODECONSTRUCT_1))
+ new material_drop(loc, material_drop_amount)
+ qdel(src)
+
+ /obj/structure/closet/obj_break(damage_flag)
+- if(!broken && !(flags & NODECONSTRUCT))
++ if(!broken && !(flags_1 & NODECONSTRUCT_1))
+ bust_open()
+
+ /obj/structure/closet/attackby(obj/item/W, mob/user, params)
diff --git a/code/game/objects/structures/destructible_structures.dm b/code/game/objects/structures/destructible_structures.dm
index c65911233a..cfed4561d4 100644
--- a/code/game/objects/structures/destructible_structures.dm
+++ b/code/game/objects/structures/destructible_structures.dm
@@ -6,7 +6,7 @@
/obj/structure/destructible/deconstruct(disassembled = TRUE)
if(!disassembled)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(islist(debris))
for(var/I in debris)
for(var/i in 1 to debris[I])
diff --git a/code/game/objects/structures/displaycase.dm.rej b/code/game/objects/structures/displaycase.dm.rej
new file mode 100644
index 0000000000..febee50d2c
--- /dev/null
+++ b/code/game/objects/structures/displaycase.dm.rej
@@ -0,0 +1,19 @@
+diff a/code/game/objects/structures/displaycase.dm b/code/game/objects/structures/displaycase.dm (rejected hunks)
+@@ -50,7 +50,7 @@
+ playsound(src.loc, 'sound/items/welder.ogg', 100, 1)
+
+ /obj/structure/displaycase/deconstruct(disassembled = TRUE)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ dump()
+ if(!disassembled)
+ new /obj/item/shard( src.loc )
+@@ -58,7 +58,7 @@
+ qdel(src)
+
+ /obj/structure/displaycase/obj_break(damage_flag)
+- if(!broken && !(flags & NODECONSTRUCT))
++ if(!broken && !(flags_1 & NODECONSTRUCT_1))
+ density = FALSE
+ broken = 1
+ new /obj/item/shard( src.loc )
diff --git a/code/game/objects/structures/door_assembly.dm b/code/game/objects/structures/door_assembly.dm
index a03d6af048..8cb048f248 100644
--- a/code/game/objects/structures/door_assembly.dm
+++ b/code/game/objects/structures/door_assembly.dm
@@ -695,7 +695,7 @@
/obj/structure/door_assembly/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/turf/T = get_turf(src)
var/metal_amt = 4
if(!disassembled)
diff --git a/code/game/objects/structures/extinguisher.dm b/code/game/objects/structures/extinguisher.dm
index fac717fc7f..f33cb4dc7e 100644
--- a/code/game/objects/structures/extinguisher.dm
+++ b/code/game/objects/structures/extinguisher.dm
@@ -120,7 +120,7 @@
icon_state = "extinguisher_empty"
/obj/structure/extinguisher_cabinet/obj_break(damage_flag)
- if(!broken && !(flags & NODECONSTRUCT))
+ if(!broken && !(flags_1 & NODECONSTRUCT_1))
broken = 1
opened = 1
if(stored_extinguisher)
@@ -130,7 +130,7 @@
/obj/structure/extinguisher_cabinet/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(disassembled)
new /obj/item/wallframe/extinguisher_cabinet(loc)
else
diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm
index 3e030c6c35..c3f76f8906 100644
--- a/code/game/objects/structures/false_walls.dm
+++ b/code/game/objects/structures/false_walls.dm
@@ -129,7 +129,7 @@
deconstruct(disassembled)
/obj/structure/falsewall/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(disassembled)
new girder_type(loc)
if(mineral_amount)
diff --git a/code/game/objects/structures/fireaxe.dm b/code/game/objects/structures/fireaxe.dm
index bfd3dea037..a21be47d3f 100644
--- a/code/game/objects/structures/fireaxe.dm
+++ b/code/game/objects/structures/fireaxe.dm
@@ -83,7 +83,7 @@
update_icon()
/obj/structure/fireaxecabinet/obj_break(damage_flag)
- if(!broken && !(flags & NODECONSTRUCT))
+ if(!broken && !(flags_1 & NODECONSTRUCT_1))
update_icon()
broken = TRUE
playsound(src, 'sound/effects/glassbr3.ogg', 100, 1)
diff --git a/code/game/objects/structures/fireaxe.dm.rej b/code/game/objects/structures/fireaxe.dm.rej
new file mode 100644
index 0000000000..cfb3b8d8a8
--- /dev/null
+++ b/code/game/objects/structures/fireaxe.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/structures/fireaxe.dm b/code/game/objects/structures/fireaxe.dm (rejected hunks)
+@@ -91,7 +91,7 @@
+ new /obj/item/shard(loc)
+
+ /obj/structure/fireaxecabinet/deconstruct(disassembled = TRUE)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ if(fireaxe && loc)
+ fireaxe.forceMove(loc)
+ fireaxe = null
diff --git a/code/game/objects/structures/flora.dm.rej b/code/game/objects/structures/flora.dm.rej
index 8257ec2122..328c71e5cb 100644
--- a/code/game/objects/structures/flora.dm.rej
+++ b/code/game/objects/structures/flora.dm.rej
@@ -1,28 +1,10 @@
diff a/code/game/objects/structures/flora.dm b/code/game/objects/structures/flora.dm (rejected hunks)
-@@ -89,7 +89,7 @@
+@@ -13,7 +13,7 @@
+ var/log_amount = 10
- /obj/structure/flora/tree/jungle/Initialize()
- icon_state = "[icon_state][rand(1, 6)]"
-- ..()
-+ . = ..()
-
- //grass
- /obj/structure/flora/grass
-@@ -307,7 +307,7 @@
- density = 1
-
- /obj/structure/flora/rock/Initialize()
-- ..()
-+ . = ..()
- icon_state = "[icon_state][rand(1,3)]"
-
- /obj/structure/flora/rock/pile
-@@ -381,5 +381,5 @@
- pixel_y = -16
-
- /obj/structure/flora/rock/pile/largejungle/Initialize()
-- ..()
-- icon_state = "[initial(icon_state)][rand(1,3)]"
-\ No newline at end of file
-+ . = ..()
-+ icon_state = "[initial(icon_state)][rand(1,3)]"
+ /obj/structure/flora/tree/attackby(obj/item/W, mob/user, params)
+- if(!cut && log_amount && (!(NODECONSTRUCT in flags)))
++ if(!cut && log_amount && (!(flags_1 & NODECONSTRUCT_1)))
+ if(W.sharpness && W.force > 0)
+ if(W.hitsound)
+ playsound(get_turf(src), W.hitsound, 100, 0, 0)
diff --git a/code/game/objects/structures/girders.dm b/code/game/objects/structures/girders.dm
index ed222445af..5ac953f2e6 100644
--- a/code/game/objects/structures/girders.dm
+++ b/code/game/objects/structures/girders.dm
@@ -281,7 +281,7 @@
. = . || mover.checkpass(PASSGRILLE)
/obj/structure/girder/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/remains = pick(/obj/item/stack/rods, /obj/item/stack/sheet/metal)
new remains(loc)
qdel(src)
@@ -386,7 +386,7 @@
return
/obj/structure/girder/cult/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new/obj/item/stack/sheet/runed_metal/(get_turf(src), 1)
qdel(src)
diff --git a/code/game/objects/structures/grille.dm b/code/game/objects/structures/grille.dm
index 5f33ea0566..75a4a30385 100644
--- a/code/game/objects/structures/grille.dm
+++ b/code/game/objects/structures/grille.dm
@@ -5,7 +5,7 @@
icon_state = "grille"
density = TRUE
anchored = TRUE
- flags = CONDUCT
+ flags_1 = CONDUCT_1
pressure_resistance = 5*ONE_ATMOSPHERE
layer = BELOW_OBJ_LAYER
armor = list(melee = 50, bullet = 70, laser = 70, energy = 100, bomb = 10, bio = 100, rad = 100, fire = 0, acid = 0)
@@ -173,14 +173,14 @@
/obj/structure/grille/deconstruct(disassembled = TRUE)
if(!loc) //if already qdel'd somehow, we do nothing
return
- if(!(flags&NODECONSTRUCT))
+ if(!(flags_1&NODECONSTRUCT_1))
var/obj/R = new rods_type(src.loc, rods_amount)
transfer_fingerprints_to(R)
qdel(src)
..()
/obj/structure/grille/obj_break()
- if(!broken && !(flags & NODECONSTRUCT))
+ if(!broken && !(flags_1 & NODECONSTRUCT_1))
new broken_type(src.loc)
var/obj/R = new rods_type(src.loc, rods_broken)
transfer_fingerprints_to(R)
diff --git a/code/game/objects/structures/janicart.dm.rej b/code/game/objects/structures/janicart.dm.rej
new file mode 100644
index 0000000000..04143253b3
--- /dev/null
+++ b/code/game/objects/structures/janicart.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/structures/janicart.dm b/code/game/objects/structures/janicart.dm (rejected hunks)
+@@ -5,7 +5,7 @@
+ icon_state = "cart"
+ anchored = FALSE
+ density = TRUE
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ //copypaste sorry
+ var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
+ var/obj/item/storage/bag/trash/mybag = null
diff --git a/code/game/objects/structures/lattice.dm b/code/game/objects/structures/lattice.dm
index 60f4e86473..cd3813a7d4 100644
--- a/code/game/objects/structures/lattice.dm
+++ b/code/game/objects/structures/lattice.dm
@@ -14,7 +14,7 @@
/turf/closed/wall,
/obj/structure/falsewall)
smooth = SMOOTH_MORE
- // flags = CONDUCT
+ // flags = CONDUCT_1
/obj/structure/lattice/Initialize(mapload)
. = ..()
@@ -40,7 +40,7 @@
return T.attackby(C, user) //hand this off to the turf instead (for building plating, catwalks, etc)
/obj/structure/lattice/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/rods(get_turf(src), number_of_rods)
qdel(src)
diff --git a/code/game/objects/structures/manned_turret.dm.rej b/code/game/objects/structures/manned_turret.dm.rej
new file mode 100644
index 0000000000..a248573d17
--- /dev/null
+++ b/code/game/objects/structures/manned_turret.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/structures/manned_turret.dm b/code/game/objects/structures/manned_turret.dm (rejected hunks)
+@@ -177,7 +177,7 @@
+ icon = 'icons/obj/items_and_weapons.dmi'
+ icon_state = "offhand"
+ w_class = WEIGHT_CLASS_HUGE
+- flags = ABSTRACT | NODROP | NOBLUDGEON | DROPDEL
++ flags_1 = ABSTRACT_1 | NODROP_1 | NOBLUDGEON_1 | DROPDEL_1
+ resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
+ var/obj/machinery/manned_turret/turret
+
diff --git a/code/game/objects/structures/mirror.dm.rej b/code/game/objects/structures/mirror.dm.rej
new file mode 100644
index 0000000000..28985dc2f1
--- /dev/null
+++ b/code/game/objects/structures/mirror.dm.rej
@@ -0,0 +1,18 @@
+diff a/code/game/objects/structures/mirror.dm b/code/game/objects/structures/mirror.dm (rejected hunks)
+@@ -47,14 +47,14 @@
+ ..()
+
+ /obj/structure/mirror/obj_break(damage_flag)
+- if(!broken && !(flags & NODECONSTRUCT))
++ if(!broken && !(flags_1 & NODECONSTRUCT_1))
+ icon_state = "mirror_broke"
+ playsound(src, "shatter", 70, 1)
+ desc = "Oh no, seven years of bad luck!"
+ broken = 1
+
+ /obj/structure/mirror/deconstruct(disassembled = TRUE)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ if(!disassembled)
+ new /obj/item/shard( src.loc )
+ qdel(src)
diff --git a/code/game/objects/structures/mop_bucket.dm b/code/game/objects/structures/mop_bucket.dm
index 2199114a1d..ba16427a68 100644
--- a/code/game/objects/structures/mop_bucket.dm
+++ b/code/game/objects/structures/mop_bucket.dm
@@ -4,7 +4,7 @@
icon = 'icons/obj/janitor.dmi'
icon_state = "mopbucket"
density = TRUE
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite
diff --git a/code/game/objects/structures/noticeboard.dm b/code/game/objects/structures/noticeboard.dm
index dcd2244e96..b9c2e9ad7e 100644
--- a/code/game/objects/structures/noticeboard.dm
+++ b/code/game/objects/structures/noticeboard.dm
@@ -80,7 +80,7 @@
usr.examinate(I)
/obj/structure/noticeboard/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal (loc, 1)
qdel(src)
diff --git a/code/game/objects/structures/plasticflaps.dm b/code/game/objects/structures/plasticflaps.dm
index 1194525123..8504f20f71 100644
--- a/code/game/objects/structures/plasticflaps.dm
+++ b/code/game/objects/structures/plasticflaps.dm
@@ -91,7 +91,7 @@
return ..()
/obj/structure/plasticflaps/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/plastic/five(loc)
qdel(src)
diff --git a/code/game/objects/structures/statues.dm b/code/game/objects/structures/statues.dm
index 0be8d40402..92f5011021 100644
--- a/code/game/objects/structures/statues.dm
+++ b/code/game/objects/structures/statues.dm
@@ -82,7 +82,7 @@
"You rub some dust off from the [name]'s surface.")
/obj/structure/statue/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(material_drop_type)
var/drop_amt = oreAmount
if(!disassembled)
diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm
index 29920a6db4..8b3671dc23 100644
--- a/code/game/objects/structures/tables_racks.dm
+++ b/code/game/objects/structures/tables_racks.dm
@@ -123,7 +123,7 @@
return
// If the tray IS empty, continue on (tray will be placed on the table like other items)
- if(user.a_intent != INTENT_HARM && !(I.flags & ABSTRACT))
+ if(user.a_intent != INTENT_HARM && !(I.flags_1 & ABSTRACT_1))
if(user.drop_item())
I.Move(loc)
var/list/click_params = params2list(params)
@@ -139,7 +139,7 @@
/obj/structure/table/deconstruct(disassembled = TRUE, wrench_disassembly = 0)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/turf/T = get_turf(src)
new buildstack(T, buildstackamount)
if(!wrench_disassembly)
@@ -176,7 +176,7 @@
/obj/structure/table/glass/Crossed(atom/movable/AM)
. = ..()
- if(flags & NODECONSTRUCT)
+ if(flags_1 & NODECONSTRUCT_1)
return
if(!isliving(AM))
return
@@ -209,7 +209,7 @@
qdel(src)
/obj/structure/table/glass/deconstruct(disassembled = TRUE, wrench_disassembly = 0)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(disassembled)
..()
return
diff --git a/code/game/objects/structures/tables_racks.dm.rej b/code/game/objects/structures/tables_racks.dm.rej
new file mode 100644
index 0000000000..3b5d3235dd
--- /dev/null
+++ b/code/game/objects/structures/tables_racks.dm.rej
@@ -0,0 +1,37 @@
+diff a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm (rejected hunks)
+@@ -94,7 +94,7 @@
+
+
+ /obj/structure/table/attackby(obj/item/I, mob/user, params)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ if(istype(I, /obj/item/screwdriver) && deconstruction_ready)
+ to_chat(user, "You start disassembling [src]...")
+ playsound(src.loc, I.usesound, 50, 1)
+@@ -429,7 +429,7 @@
+
+
+ /obj/structure/rack/attackby(obj/item/W, mob/user, params)
+- if (istype(W, /obj/item/wrench) && !(flags&NODECONSTRUCT))
++ if (istype(W, /obj/item/wrench) && !(flags_1&NODECONSTRUCT_1))
+ playsound(src.loc, W.usesound, 50, 1)
+ deconstruct(TRUE)
+ return
+@@ -466,7 +466,7 @@
+ */
+
+ /obj/structure/rack/deconstruct(disassembled = TRUE)
+- if(!(flags&NODECONSTRUCT))
++ if(!(flags_1&NODECONSTRUCT_1))
+ density = FALSE
+ var/obj/item/rack_parts/newparts = new(loc)
+ transfer_fingerprints_to(newparts)
+@@ -482,7 +482,7 @@
+ desc = "Parts of a rack."
+ icon = 'icons/obj/items_and_weapons.dmi'
+ icon_state = "rack_parts"
+- flags = CONDUCT
++ flags_1 = CONDUCT_1
+ materials = list(MAT_METAL=2000)
+ var/building = FALSE
+
diff --git a/code/game/objects/structures/tank_dispenser.dm b/code/game/objects/structures/tank_dispenser.dm
index b0cc3f6045..9ff7c5c80d 100644
--- a/code/game/objects/structures/tank_dispenser.dm
+++ b/code/game/objects/structures/tank_dispenser.dm
@@ -102,7 +102,7 @@
/obj/structure/tank_dispenser/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
for(var/X in src)
var/obj/item/I = X
I.forceMove(loc)
diff --git a/code/game/objects/structures/target_stake.dm b/code/game/objects/structures/target_stake.dm
index f1906d31fe..dc6d350c91 100644
--- a/code/game/objects/structures/target_stake.dm
+++ b/code/game/objects/structures/target_stake.dm
@@ -4,7 +4,7 @@
icon = 'icons/obj/objects.dmi'
icon_state = "target_stake"
density = TRUE
- flags = CONDUCT
+ flags_1 = CONDUCT_1
var/obj/item/target/pinned_target
/obj/structure/target_stake/Destroy()
diff --git a/code/game/objects/structures/transit_tubes/transit_tube_pod.dm b/code/game/objects/structures/transit_tubes/transit_tube_pod.dm
index 537e6d3b61..4593ad13e0 100644
--- a/code/game/objects/structures/transit_tubes/transit_tube_pod.dm
+++ b/code/game/objects/structures/transit_tubes/transit_tube_pod.dm
@@ -40,7 +40,7 @@
return ..()
/obj/structure/transit_tube_pod/deconstruct(disassembled = TRUE, mob/user)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/atom/location = get_turf(src)
if(user)
location = user.loc
diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm
index 1b8a6635ee..c0b2ceaaf3 100644
--- a/code/game/objects/structures/watercloset.dm
+++ b/code/game/objects/structures/watercloset.dm
@@ -499,7 +499,7 @@
if(!istype(O))
return
- if(O.flags & ABSTRACT) //Abstract items like grabs won't wash. No-drop items will though because it's still technically an item in your hand.
+ if(O.flags_1 & ABSTRACT_1) //Abstract items like grabs won't wash. No-drop items will though because it's still technically an item in your hand.
return
if(user.a_intent != INTENT_HARM)
diff --git a/code/game/objects/structures/watercloset.dm.rej b/code/game/objects/structures/watercloset.dm.rej
new file mode 100644
index 0000000000..6d2baac077
--- /dev/null
+++ b/code/game/objects/structures/watercloset.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm (rejected hunks)
+@@ -462,7 +462,7 @@
+
+ if(istype(O, /obj/item/reagent_containers))
+ var/obj/item/reagent_containers/RG = O
+- if(RG.container_type & OPENCONTAINER)
++ if(RG.container_type & OPENCONTAINER_1)
+ if(!RG.reagents.holder_full())
+ RG.reagents.add_reagent("[dispensedreagent]", min(RG.volume - RG.reagents.total_volume, RG.amount_per_transfer_from_this))
+ to_chat(user, "You fill [RG] from [src].")
diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm
index df0d9450f4..1adff28d6c 100644
--- a/code/game/objects/structures/window.dm
+++ b/code/game/objects/structures/window.dm
@@ -6,7 +6,7 @@
layer = ABOVE_OBJ_LAYER //Just above doors
pressure_resistance = 4*ONE_ATMOSPHERE
anchored = TRUE //initially is 0 for tile smoothing
- flags = ON_BORDER
+ flags_1 = ON_BORDER_1
max_integrity = 25
var/ini_dir = null
var/state = WINDOW_OUT_OF_FRAME
@@ -278,7 +278,7 @@
if(!disassembled)
playsound(src, breaksound, 70, 1)
var/turf/T = loc
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
for(var/i in debris)
var/obj/item/I = i
I.loc = T
@@ -469,7 +469,7 @@
dir = FULLTILE_WINDOW_DIR
max_integrity = 50
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
smooth = SMOOTH_TRUE
canSmoothWith = list(/obj/structure/window/fulltile, /obj/structure/window/reinforced/fulltile, /obj/structure/window/reinforced/tinted/fulltile, /obj/structure/window/plasma/fulltile, /obj/structure/window/plasma/reinforced/fulltile)
glass_amount = 2
@@ -483,7 +483,7 @@
dir = FULLTILE_WINDOW_DIR
max_integrity = 100
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
smooth = SMOOTH_TRUE
canSmoothWith = list(/obj/structure/window/fulltile, /obj/structure/window/reinforced/fulltile, /obj/structure/window/reinforced/tinted/fulltile, /obj/structure/window/plasma/fulltile, /obj/structure/window/plasma/reinforced/fulltile)
glass_amount = 2
@@ -497,7 +497,7 @@
dir = FULLTILE_WINDOW_DIR
max_integrity = 1000
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
smooth = SMOOTH_TRUE
glass_amount = 2
@@ -510,7 +510,7 @@
dir = FULLTILE_WINDOW_DIR
max_integrity = 100
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
smooth = SMOOTH_TRUE
canSmoothWith = list(/obj/structure/window/fulltile, /obj/structure/window/reinforced/fulltile, /obj/structure/window/reinforced/tinted/fulltile, /obj/structure/window/plasma/fulltile, /obj/structure/window/plasma/reinforced/fulltile)
@@ -525,7 +525,7 @@
icon_state = "tinted_window"
dir = FULLTILE_WINDOW_DIR
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
smooth = SMOOTH_TRUE
canSmoothWith = list(/obj/structure/window/fulltile, /obj/structure/window/reinforced/fulltile, /obj/structure/window/reinforced/tinted/fulltile, /obj/structure/window/plasma/fulltile, /obj/structure/window/plasma/reinforced/fulltile)
level = 3
@@ -548,7 +548,7 @@
max_integrity = 100
wtype = "shuttle"
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
reinf = TRUE
heat_resistance = 1600
armor = list("melee" = 50, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 25, "bio" = 100, "rad" = 100, "fire" = 80, "acid" = 100)
@@ -625,7 +625,7 @@
smooth = SMOOTH_TRUE
canSmoothWith = null
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
dir = FULLTILE_WINDOW_DIR
max_integrity = 120
level = 3
@@ -643,7 +643,7 @@
opacity = TRUE
max_integrity = 15
fulltile = TRUE
- flags = PREVENT_CLICK_UNDER
+ flags_1 = PREVENT_CLICK_UNDER_1
smooth = SMOOTH_TRUE
canSmoothWith = list(/obj/structure/window/paperframe, /obj/structure/mineral_door/paperframe)
glass_amount = 2
diff --git a/code/game/objects/structures/window.dm.rej b/code/game/objects/structures/window.dm.rej
new file mode 100644
index 0000000000..6968784ec2
--- /dev/null
+++ b/code/game/objects/structures/window.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm (rejected hunks)
+@@ -188,7 +188,7 @@
+ to_chat(user, "[src] is already in good condition!")
+ return
+
+- if(!(flags&NODECONSTRUCT))
++ if(!(flags_1&NODECONSTRUCT_1))
+ if(istype(I, /obj/item/screwdriver))
+ playsound(src, I.usesound, 75, 1)
+ if(reinf)
diff --git a/code/game/turfs/open.dm b/code/game/turfs/open.dm
index a990530056..7051bea4c7 100644
--- a/code/game/turfs/open.dm
+++ b/code/game/turfs/open.dm
@@ -125,7 +125,7 @@
for(var/obj/I in contents)
if(I.resistance_flags & FREEZE_PROOF)
return
- if(!HAS_SECONDARY_FLAG(I, FROZEN)) //let it go
+ if(!(I.flags_2 & FROZEN_2)) //let it go
I.make_frozen_visual()
for(var/mob/living/L in contents)
if(L.bodytemperature <= 50)
@@ -241,7 +241,7 @@
wet_time = MAXIMUM_WET_TIME
if(wet == TURF_WET_ICE && air.temperature > T0C)
for(var/obj/O in contents)
- if(HAS_SECONDARY_FLAG(O, FROZEN))
+ if(O.flags_2 & FROZEN_2)
O.make_unfrozen()
MakeDry(TURF_WET_ICE)
MakeSlippery(TURF_WET_WATER)
diff --git a/code/game/turfs/simulated/dirtystation.dm b/code/game/turfs/simulated/dirtystation.dm
index 7be9b6cd34..714ea74e3e 100644
--- a/code/game/turfs/simulated/dirtystation.dm
+++ b/code/game/turfs/simulated/dirtystation.dm
@@ -11,7 +11,7 @@
if(prob(66)) //fastest possible exit 2/3 of the time
return
- if(!(flags & CAN_BE_DIRTY))
+ if(!(flags_1 & CAN_BE_DIRTY_1))
return
if(locate(/obj/structure/grille) in contents)
@@ -19,7 +19,7 @@
var/area/A = get_area(src)
- if(A && !(A.flags & CAN_BE_DIRTY))
+ if(A && !(A.flags_1 & CAN_BE_DIRTY_1))
return
//The code below here isn't exactly optimal, but because of the individual decals that each area uses it's still applicable.
diff --git a/code/game/turfs/simulated/floor/fancy_floor.dm b/code/game/turfs/simulated/floor/fancy_floor.dm
index efa4382540..9ea3834074 100644
--- a/code/game/turfs/simulated/floor/fancy_floor.dm
+++ b/code/game/turfs/simulated/floor/fancy_floor.dm
@@ -141,7 +141,7 @@
broken_states = list("damaged")
smooth = SMOOTH_TRUE
canSmoothWith = list(/turf/open/floor/carpet)
- flags = NONE
+ flags_1 = NONE
/turf/open/floor/carpet/Initialize()
..()
diff --git a/code/game/turfs/simulated/floor/fancy_floor.dm.rej b/code/game/turfs/simulated/floor/fancy_floor.dm.rej
new file mode 100644
index 0000000000..c310c1ab28
--- /dev/null
+++ b/code/game/turfs/simulated/floor/fancy_floor.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/turfs/simulated/floor/fancy_floor.dm b/code/game/turfs/simulated/floor/fancy_floor.dm (rejected hunks)
+@@ -66,7 +66,7 @@
+ icon_state = "grass"
+ floor_tile = /obj/item/stack/tile/grass
+ broken_states = list("sand")
+- flags = NONE
++ flags_1 = NONE
+ var/ore_type = /obj/item/ore/glass
+ var/turfverb = "uproot"
+
diff --git a/code/game/turfs/simulated/floor/plating/asteroid.dm b/code/game/turfs/simulated/floor/plating/asteroid.dm
index ec84bff35d..9d6f6ade00 100644
--- a/code/game/turfs/simulated/floor/plating/asteroid.dm
+++ b/code/game/turfs/simulated/floor/plating/asteroid.dm
@@ -328,7 +328,7 @@
slowdown = 2
environment_type = "snow"
sand_type = /obj/item/stack/sheet/mineral/snow
- flags = NONE
+ flags_1 = NONE
/turf/open/floor/plating/asteroid/snow/airless
initial_gas_mix = "TEMP=2.7"
diff --git a/code/game/turfs/simulated/floor/plating/misc_plating.dm b/code/game/turfs/simulated/floor/plating/misc_plating.dm
index 9a6d5eb467..13c8988ae2 100644
--- a/code/game/turfs/simulated/floor/plating/misc_plating.dm
+++ b/code/game/turfs/simulated/floor/plating/misc_plating.dm
@@ -80,7 +80,7 @@
/turf/open/floor/plating/beach
name = "beach"
icon = 'icons/misc/beach.dmi'
- flags = NONE
+ flags_1 = NONE
/turf/open/floor/plating/beach/ex_act(severity, target)
contents_explosion(severity, target)
diff --git a/code/game/turfs/simulated/wall/mineral_walls.dm b/code/game/turfs/simulated/wall/mineral_walls.dm
index 7e1181413e..17c6626136 100644
--- a/code/game/turfs/simulated/wall/mineral_walls.dm
+++ b/code/game/turfs/simulated/wall/mineral_walls.dm
@@ -175,7 +175,7 @@
desc = "A light-weight titanium wall used in shuttles."
icon = 'icons/turf/walls/shuttle_wall.dmi'
icon_state = "map-shuttle"
- flags = CAN_BE_DIRTY | CHECK_RICOCHET
+ flags_1 = CAN_BE_DIRTY_1 | CHECK_RICOCHET_1
sheet_type = /obj/item/stack/sheet/mineral/titanium
smooth = SMOOTH_MORE|SMOOTH_DIAGONAL
canSmoothWith = list(/turf/closed/wall/mineral/titanium, /obj/machinery/door/airlock/shuttle, /obj/machinery/door/airlock/, /turf/closed/wall/shuttle, /obj/structure/window/shuttle, /obj/structure/shuttle/engine/heater, /obj/structure/falsewall/titanium)
diff --git a/code/game/turfs/space/transit.dm b/code/game/turfs/space/transit.dm
index b877fa9eac..d85f0b1938 100644
--- a/code/game/turfs/space/transit.dm
+++ b/code/game/turfs/space/transit.dm
@@ -2,7 +2,7 @@
icon_state = "black"
dir = SOUTH
baseturf = /turf/open/space/transit
- flags = NOJAUNT //This line goes out to every wizard that ever managed to escape the den. I'm sorry.
+ flags_1 = NOJAUNT_1 //This line goes out to every wizard that ever managed to escape the den. I'm sorry.
/turf/open/space/transit/get_smooth_underlay_icon(mutable_appearance/underlay_appearance, turf/asking_turf, adjacency_dir)
. = ..()
diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm
index 4342d12714..63f01a60bd 100644
--- a/code/game/turfs/turf.dm
+++ b/code/game/turfs/turf.dm
@@ -11,7 +11,7 @@
var/blocks_air = FALSE
- flags = CAN_BE_DIRTY
+ flags_1 = CAN_BE_DIRTY_1
var/image/obscured //camerachunks
@@ -133,7 +133,7 @@
//Next, check objects to block entry that are on the border
for(var/atom/movable/border_obstacle in src)
- if(border_obstacle.flags & ON_BORDER)
+ if(border_obstacle.flags_1 & ON_BORDER_1)
if(!border_obstacle.CanPass(mover, mover.loc, 1) && (forget != border_obstacle))
mover.Collide(border_obstacle)
return FALSE
@@ -187,7 +187,7 @@
//melting
if(isobj(AM) && air && air.temperature > T0C)
var/obj/O = AM
- if(HAS_SECONDARY_FLAG(O, FROZEN))
+ if(O.flags_2 & FROZEN_2)
O.make_unfrozen()
/turf/proc/is_plasteel_floor()
@@ -226,7 +226,7 @@
var/old_affecting_lights = affecting_lights
var/old_lighting_object = lighting_object
var/old_corners = corners
-
+
var/old_exl = explosion_level
var/old_exi = explosion_id
var/old_bp = blueprint_data
@@ -250,7 +250,7 @@
W.AfterChange(ignore_air)
W.blueprint_data = old_bp
-
+
if(SSlighting.initialized)
recalc_atom_opacity()
lighting_object = old_lighting_object
diff --git a/code/game/turfs/turf.dm.rej b/code/game/turfs/turf.dm.rej
new file mode 100644
index 0000000000..1eafa7e8ae
--- /dev/null
+++ b/code/game/turfs/turf.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm (rejected hunks)
+@@ -323,7 +323,7 @@
+ M.take_damage(damage*2, BRUTE, "melee", 1)
+
+ /turf/proc/Bless()
+- flags |= NOJAUNT
++ flags_1 |= NOJAUNT_1
+
+ /turf/storage_contents_dump_act(obj/item/storage/src_object, mob/user)
+ if(src_object.contents.len)
diff --git a/code/modules/admin/secrets.dm b/code/modules/admin/secrets.dm
index 04a4b7877a..446806f6cd 100644
--- a/code/modules/admin/secrets.dm
+++ b/code/modules/admin/secrets.dm
@@ -410,7 +410,7 @@
H.equip_to_slot_or_del(I, slot_w_uniform)
qdel(olduniform)
if(droptype == "Yes")
- I.flags |= NODROP
+ I.flags_1 |= NODROP_1
else
to_chat(H, "You're not kawaii enough for this.")
diff --git a/code/modules/admin/verbs/onlyone.dm b/code/modules/admin/verbs/onlyone.dm
index fb08b72732..0a3d2c3064 100644
--- a/code/modules/admin/verbs/onlyone.dm
+++ b/code/modules/admin/verbs/onlyone.dm
@@ -59,7 +59,7 @@ GLOBAL_VAR_INIT(highlander, FALSE)
W.access += get_all_centcom_access()
W.assignment = "Highlander"
W.registered_name = real_name
- W.flags |= NODROP
+ W.flags_1 |= NODROP_1
W.update_label(real_name)
equip_to_slot_or_del(W, slot_wear_id)
diff --git a/code/modules/assembly/assembly.dm b/code/modules/assembly/assembly.dm
index c5e9e31a07..11fc89002c 100644
--- a/code/modules/assembly/assembly.dm
+++ b/code/modules/assembly/assembly.dm
@@ -3,7 +3,7 @@
desc = "A small electronic device that should never exist."
icon = 'icons/obj/assemblies/new_assemblies.dmi'
icon_state = ""
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_SMALL
materials = list(MAT_METAL=100)
throwforce = 2
diff --git a/code/modules/assembly/bomb.dm.rej b/code/modules/assembly/bomb.dm.rej
new file mode 100644
index 0000000000..f3c0e1ff20
--- /dev/null
+++ b/code/modules/assembly/bomb.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/assembly/bomb.dm b/code/modules/assembly/bomb.dm (rejected hunks)
+@@ -8,7 +8,7 @@
+ w_class = WEIGHT_CLASS_NORMAL
+ throw_speed = 2
+ throw_range = 4
+- flags = CONDUCT
++ flags_1 = CONDUCT_1
+ var/status = FALSE //0 - not readied //1 - bomb finished with welder
+ var/obj/item/device/assembly_holder/bombassembly = null //The first part of the bomb is an assembly holder, holding an igniter+some device
+ var/obj/item/tank/bombtank = null //the second part of the bomb is a plasma tank
diff --git a/code/modules/assembly/holder.dm b/code/modules/assembly/holder.dm
index d1ac4c782d..e87713e78e 100644
--- a/code/modules/assembly/holder.dm
+++ b/code/modules/assembly/holder.dm
@@ -5,7 +5,7 @@
item_state = "assembly"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
throwforce = 5
w_class = WEIGHT_CLASS_SMALL
throw_speed = 2
diff --git a/code/modules/assembly/shock_kit.dm b/code/modules/assembly/shock_kit.dm
index d8f7ed13e7..84f32e8a91 100644
--- a/code/modules/assembly/shock_kit.dm
+++ b/code/modules/assembly/shock_kit.dm
@@ -6,7 +6,7 @@
var/obj/item/clothing/head/helmet/part1 = null
var/obj/item/device/electropack/part2 = null
w_class = WEIGHT_CLASS_HUGE
- flags = CONDUCT
+ flags_1 = CONDUCT_1
/obj/item/assembly/shock_kit/Destroy()
qdel(part1)
diff --git a/code/modules/assembly/voice.dm b/code/modules/assembly/voice.dm
index e3accea988..c4d887b072 100644
--- a/code/modules/assembly/voice.dm
+++ b/code/modules/assembly/voice.dm
@@ -4,7 +4,7 @@
icon_state = "voice"
materials = list(MAT_METAL=500, MAT_GLASS=50)
origin_tech = "magnets=1;engineering=1"
- flags = HEAR
+ flags_1 = HEAR_1
attachable = 1
verb_say = "beeps"
verb_ask = "beeps"
diff --git a/code/modules/atmospherics/machinery/airalarm.dm.rej b/code/modules/atmospherics/machinery/airalarm.dm.rej
new file mode 100644
index 0000000000..bd403dcdff
--- /dev/null
+++ b/code/modules/atmospherics/machinery/airalarm.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/atmospherics/machinery/airalarm.dm b/code/modules/atmospherics/machinery/airalarm.dm (rejected hunks)
+@@ -734,7 +734,7 @@
+ update_icon()
+
+ /obj/machinery/airalarm/deconstruct(disassembled = TRUE)
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ new /obj/item/stack/sheet/metal(loc, 2)
+ var/obj/item/I = new /obj/item/electronics/airalarm(loc)
+ if(!disassembled)
diff --git a/code/modules/atmospherics/machinery/atmosmachinery.dm b/code/modules/atmospherics/machinery/atmosmachinery.dm
index 9f31b32829..db9bccc953 100644
--- a/code/modules/atmospherics/machinery/atmosmachinery.dm
+++ b/code/modules/atmospherics/machinery/atmosmachinery.dm
@@ -186,7 +186,7 @@ Pipelines + Other Objects -> Pipe network
user.throw_at(target, range, speed)
/obj/machinery/atmospherics/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(can_unwrench)
var/obj/item/pipe/stored = new(loc, make_from=src)
if(!disassembled)
diff --git a/code/modules/atmospherics/machinery/portable/canister.dm b/code/modules/atmospherics/machinery/portable/canister.dm
index a45536430a..ed7c7828db 100644
--- a/code/modules/atmospherics/machinery/portable/canister.dm
+++ b/code/modules/atmospherics/machinery/portable/canister.dm
@@ -247,7 +247,7 @@
/obj/machinery/portable_atmospherics/canister/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
canister_break()
if(disassembled)
@@ -273,7 +273,7 @@
return ..()
/obj/machinery/portable_atmospherics/canister/obj_break(damage_flag)
- if((stat & BROKEN) || (flags & NODECONSTRUCT))
+ if((flags_1 & BROKEN) || (flags_1 & NODECONSTRUCT_1))
return
canister_break()
diff --git a/code/modules/awaymissions/capture_the_flag.dm b/code/modules/awaymissions/capture_the_flag.dm
index 22d92b54be..38e9b1f68a 100644
--- a/code/modules/awaymissions/capture_the_flag.dm
+++ b/code/modules/awaymissions/capture_the_flag.dm
@@ -23,6 +23,7 @@
armour_penetration = 1000
resistance_flags = INDESTRUCTIBLE
anchored = TRUE
+ flags_2 = SLOWS_WHILE_IN_HAND_2
var/team = WHITE_TEAM
var/reset_cooldown = 0
var/obj/effect/ctf/flag_reset/reset
diff --git a/code/modules/awaymissions/capture_the_flag.dm.rej b/code/modules/awaymissions/capture_the_flag.dm.rej
new file mode 100644
index 0000000000..3cd73a1ae5
--- /dev/null
+++ b/code/modules/awaymissions/capture_the_flag.dm.rej
@@ -0,0 +1,18 @@
+diff a/code/modules/awaymissions/capture_the_flag.dm b/code/modules/awaymissions/capture_the_flag.dm (rejected hunks)
+@@ -473,14 +473,14 @@
+ W.registered_name = H.real_name
+ W.update_label(W.registered_name, W.assignment)
+
+- // The shielded hardsuit is already NODROP
++ // The shielded hardsuit is already NODROP_1
+ no_drops += H.get_item_by_slot(slot_gloves)
+ no_drops += H.get_item_by_slot(slot_shoes)
+ no_drops += H.get_item_by_slot(slot_w_uniform)
+ no_drops += H.get_item_by_slot(slot_ears)
+ for(var/i in no_drops)
+ var/obj/item/I = i
+- I.flags |= NODROP
++ I.flags_1 |= NODROP_1
+
+ /datum/outfit/ctf/instagib
+ r_hand = /obj/item/gun/energy/laser/instakill
diff --git a/code/modules/cargo/export_scanner.dm b/code/modules/cargo/export_scanner.dm
index d1fdf27306..2a9cd4a891 100644
--- a/code/modules/cargo/export_scanner.dm
+++ b/code/modules/cargo/export_scanner.dm
@@ -5,7 +5,7 @@
item_state = "radio"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
w_class = WEIGHT_CLASS_SMALL
siemens_coefficient = 1
var/obj/machinery/computer/cargo/cargo_console = null
diff --git a/code/modules/cargo/exports.dm b/code/modules/cargo/exports.dm
index 8a36f178a4..27552e1582 100644
--- a/code/modules/cargo/exports.dm
+++ b/code/modules/cargo/exports.dm
@@ -115,7 +115,7 @@ Credit dupes that require a lot of manual work shouldn't be removed, unless they
return FALSE
if(!get_cost(O, contr, emag))
return FALSE
- if(HAS_SECONDARY_FLAG(O, HOLOGRAM))
+ if(O.flags_2 & HOLOGRAM_2)
return FALSE
return TRUE
diff --git a/code/modules/clothing/chameleon.dm b/code/modules/clothing/chameleon.dm
index e798a0c0ad..ec4eab308c 100644
--- a/code/modules/clothing/chameleon.dm
+++ b/code/modules/clothing/chameleon.dm
@@ -60,7 +60,7 @@
to_chat(owner, "You shouldn't be able to toggle a camogear helmetmask if you're not wearing it")
if(new_headgear)
// Force drop the item in the headslot, even though
- // it's NODROP
+ // it's NODROP_1
D.dropItemToGround(target, TRUE)
qdel(old_headgear)
// where is `slot_head` defined? WHO KNOWS
@@ -85,7 +85,7 @@
for(var/V in typesof(chameleon_type))
if(ispath(V) && ispath(V, /obj/item))
var/obj/item/I = V
- if(chameleon_blacklist[V] || (initial(I.flags) & ABSTRACT))
+ if(chameleon_blacklist[V] || (initial(I.flags_1) & ABSTRACT_1))
continue
if(!initial(I.icon_state) || !initial(I.item_state))
continue
@@ -314,7 +314,7 @@
/obj/item/clothing/head/chameleon/drone
// The camohat, I mean, holographic hat projection, is part of the
// drone itself.
- flags = NODROP
+ flags_1 = NODROP_1
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 0, acid = 0)
// which means it offers no protection, it's just air and light
@@ -334,7 +334,7 @@
resistance_flags = 0
armor = list(melee = 5, bullet = 5, laser = 5, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 50)
- flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
+ flags_1 = BLOCK_GAS_SMOKE_EFFECT_1 | MASKINTERNALS_1
flags_inv = HIDEEARS|HIDEEYES|HIDEFACE|HIDEFACIALHAIR
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
@@ -362,7 +362,7 @@
/obj/item/clothing/mask/chameleon/drone
//Same as the drone chameleon hat, undroppable and no protection
- flags = NODROP
+ flags_1 = NODROP_1
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 0, acid = 0)
// Can drones use the voice changer part? Let's not find out.
vchange = 0
diff --git a/code/modules/clothing/chameleon.dm.rej b/code/modules/clothing/chameleon.dm.rej
new file mode 100644
index 0000000000..3825f8d9ff
--- /dev/null
+++ b/code/modules/clothing/chameleon.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/clothing/chameleon.dm b/code/modules/clothing/chameleon.dm (rejected hunks)
+@@ -384,7 +384,7 @@
+ item_color = "black"
+ desc = "A pair of black shoes."
+ permeability_coefficient = 0.05
+- flags = NOSLIP
++ flags_1 = NOSLIP_1
+ origin_tech = "syndicate=2"
+ resistance_flags = 0
+ pockets = /obj/item/storage/internal/pocket/shoes
diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm
index bf34ee9f18..d949eff44c 100644
--- a/code/modules/clothing/clothing.dm
+++ b/code/modules/clothing/clothing.dm
@@ -341,7 +341,7 @@ BLIND // can't see anything
src.icon_state = initial(icon_state)
gas_transfer_coefficient = initial(gas_transfer_coefficient)
permeability_coefficient = initial(permeability_coefficient)
- flags |= visor_flags
+ flags_1 |= visor_flags
flags_inv |= visor_flags_inv
flags_cover |= visor_flags_cover
to_chat(user, "You push \the [src] back into place.")
@@ -351,7 +351,7 @@ BLIND // can't see anything
to_chat(user, "You push \the [src] out of the way.")
gas_transfer_coefficient = null
permeability_coefficient = null
- flags &= ~visor_flags
+ flags_1 &= ~visor_flags
flags_inv &= ~visor_flags_inv
flags_cover &= ~visor_flags_cover
if(adjusted_flags)
@@ -470,7 +470,7 @@ BLIND // can't see anything
name = "space helmet"
icon_state = "spaceold"
desc = "A special helmet with solar UV shielding to protect your eyes from harmful rays."
- flags = STOPSPRESSUREDMAGE | THICKMATERIAL
+ flags_1 = STOPSPRESSUREDMAGE_1 | THICKMATERIAL_1
item_state = "spaceold"
permeability_coefficient = 0.01
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 50, fire = 80, acid = 70)
@@ -785,7 +785,7 @@ BLIND // can't see anything
/obj/item/clothing/proc/visor_toggling() //handles all the actual toggling of flags
up = !up
- flags ^= visor_flags
+ flags_1 ^= visor_flags
flags_inv ^= visor_flags_inv
flags_cover ^= initial(flags_cover)
icon_state = "[initial(icon_state)][up ? "up" : ""]"
diff --git a/code/modules/clothing/clothing.dm.rej b/code/modules/clothing/clothing.dm.rej
new file mode 100644
index 0000000000..38da963c2b
--- /dev/null
+++ b/code/modules/clothing/clothing.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm (rejected hunks)
+@@ -494,7 +494,7 @@ BLIND // can't see anything
+ w_class = WEIGHT_CLASS_BULKY
+ gas_transfer_coefficient = 0.01
+ permeability_coefficient = 0.02
+- flags = STOPSPRESSUREDMAGE | THICKMATERIAL
++ flags_1 = STOPSPRESSUREDMAGE_1 | THICKMATERIAL_1
+ body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
+ allowed = list(/obj/item/device/flashlight, /obj/item/tank/internals)
+ slowdown = 1
diff --git a/code/modules/clothing/ears/ears.dm b/code/modules/clothing/ears/ears.dm
index 4061c4db03..1ab0586af4 100644
--- a/code/modules/clothing/ears/ears.dm
+++ b/code/modules/clothing/ears/ears.dm
@@ -15,11 +15,7 @@
strip_delay = 15
equip_delay_other = 25
resistance_flags = FLAMMABLE
-
-/obj/item/clothing/ears/earmuffs/Initialize(mapload)
- . = ..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
- SET_SECONDARY_FLAG(src, HEALS_EARS)
+ flags_2 = BANG_PROTECT_2|HEALS_EARS_2
/obj/item/clothing/ears/headphones
name = "headphones"
diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm
index 3ca36bf6ee..6b4376ab99 100644
--- a/code/modules/clothing/glasses/glasses.dm
+++ b/code/modules/clothing/glasses/glasses.dm
@@ -280,7 +280,7 @@
name = "thermoncle"
desc = "Never before has seeing through walls felt so gentlepersonly."
icon_state = "thermoncle"
- flags = null //doesn't protect eyes because it's a monocle, duh
+ flags_1 = null //doesn't protect eyes because it's a monocle, duh
/obj/item/clothing/glasses/thermal/monocle/examine(mob/user) //Different examiners see a different description!
var/desk = desc
diff --git a/code/modules/clothing/glasses/glasses.dm.rej b/code/modules/clothing/glasses/glasses.dm.rej
new file mode 100644
index 0000000000..df7958aaba
--- /dev/null
+++ b/code/modules/clothing/glasses/glasses.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm (rejected hunks)
+@@ -331,7 +331,7 @@
+ vision_flags = SEE_TURFS|SEE_MOBS|SEE_OBJS
+ darkness_view = 8
+ scan_reagents = 1
+- flags = NODROP
++ flags_1 = NODROP_1
+ lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
+
+ /obj/item/clothing/glasses/godeye/attackby(obj/item/W as obj, mob/user as mob, params)
diff --git a/code/modules/clothing/glasses/hud.dm b/code/modules/clothing/glasses/hud.dm
index e50835a74c..0fac1eff79 100644
--- a/code/modules/clothing/glasses/hud.dm
+++ b/code/modules/clothing/glasses/hud.dm
@@ -1,7 +1,7 @@
/obj/item/clothing/glasses/hud
name = "HUD"
desc = "A heads-up display that provides important info in (almost) real time."
- flags = null //doesn't protect eyes because it's a monocle, duh
+ flags_1 = null //doesn't protect eyes because it's a monocle, duh
origin_tech = "magnets=3;biotech=2"
var/hud_type = null
diff --git a/code/modules/clothing/head/hardhat.dm b/code/modules/clothing/head/hardhat.dm
index 6eefb458ed..9adc86e7f8 100644
--- a/code/modules/clothing/head/hardhat.dm
+++ b/code/modules/clothing/head/hardhat.dm
@@ -46,7 +46,7 @@
item_color = "red"
dog_fashion = null
name = "firefighter helmet"
- flags = STOPSPRESSUREDMAGE
+ flags_1 = STOPSPRESSUREDMAGE_1
heat_protection = HEAD
max_heat_protection_temperature = FIRE_HELM_MAX_TEMP_PROTECT
cold_protection = HEAD
@@ -56,7 +56,7 @@
icon_state = "hardhat0_white"
item_state = "hardhat0_white"
item_color = "white"
- flags = STOPSPRESSUREDMAGE
+ flags_1 = STOPSPRESSUREDMAGE_1
heat_protection = HEAD
max_heat_protection_temperature = FIRE_HELM_MAX_TEMP_PROTECT
cold_protection = HEAD
@@ -76,7 +76,7 @@
dog_fashion = null
name = "atmospheric technician's firefighting helmet"
desc = "A firefighter's helmet, able to keep the user cool in any situation."
- flags = STOPSPRESSUREDMAGE | THICKMATERIAL
+ flags_1 = STOPSPRESSUREDMAGE_1 | THICKMATERIAL_1
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
heat_protection = HEAD
max_heat_protection_temperature = FIRE_IMMUNITY_HELM_MAX_TEMP_PROTECT
diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm
index 24d8049ac7..f76aca79c6 100644
--- a/code/modules/clothing/head/helmet.dm
+++ b/code/modules/clothing/head/helmet.dm
@@ -13,13 +13,13 @@
resistance_flags = 0
flags_cover = HEADCOVERSEYES
flags_inv = HIDEHAIR
+ flags_2 = BANG_PROTECT_2
dog_fashion = /datum/dog_fashion/head/helmet
/obj/item/clothing/head/helmet/Initialize()
..()
- SET_SECONDARY_FLAG(src, BANG_PROTECT)
/obj/item/clothing/head/helmet/sec
can_flashlight = 1
@@ -65,7 +65,7 @@
if(world.time > cooldown + toggle_cooldown)
cooldown = world.time
up = !up
- flags ^= visor_flags
+ flags_1 ^= visor_flags
flags_inv ^= visor_flags_inv
flags_cover ^= visor_flags_cover
icon_state = "[initial(icon_state)][up ? "up" : ""]"
@@ -110,7 +110,7 @@
min_cold_protection_temperature = SPACE_HELM_MIN_TEMP_PROTECT
heat_protection = HEAD
max_heat_protection_temperature = SPACE_HELM_MAX_TEMP_PROTECT
- flags = STOPSPRESSUREDMAGE
+ flags_1 = STOPSPRESSUREDMAGE_1
strip_delay = 80
dog_fashion = null
@@ -191,11 +191,11 @@
flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH
strip_delay = 80
dog_fashion = null
+ // old knight helmets do not offer protection against loud noises
+ flags_2 = NONE
/obj/item/clothing/head/helmet/knight/Initialize(mapload)
..()
- // old knight helmets do not offer protection against loud noises
- CLEAR_SECONDARY_FLAG(src, BANG_PROTECT)
/obj/item/clothing/head/helmet/knight/blue
icon_state = "knight_blue"
diff --git a/code/modules/clothing/head/jobs.dm b/code/modules/clothing/head/jobs.dm
index 6a127f571b..13706b8fc1 100644
--- a/code/modules/clothing/head/jobs.dm
+++ b/code/modules/clothing/head/jobs.dm
@@ -110,7 +110,7 @@
/obj/item/clothing/head/beret/highlander
desc = "That was white fabric. Was."
- flags = NODROP
+ flags_1 = NODROP_1
dog_fashion = null //THIS IS FOR SLAUGHTER, NOT PUPPIES
//Security
diff --git a/code/modules/clothing/head/misc.dm b/code/modules/clothing/head/misc.dm
index 959c28d45e..8623f9f844 100644
--- a/code/modules/clothing/head/misc.dm
+++ b/code/modules/clothing/head/misc.dm
@@ -219,7 +219,7 @@
icon_state = "shamebrero"
item_state = "shamebrero"
desc = "Once it's on, it never comes off."
- flags = NODROP
+ flags_1 = NODROP_1
dog_fashion = null
/obj/item/clothing/head/cone
diff --git a/code/modules/clothing/masks/breath.dm b/code/modules/clothing/masks/breath.dm
index 6b39ece5e6..3c076f572f 100644
--- a/code/modules/clothing/masks/breath.dm
+++ b/code/modules/clothing/masks/breath.dm
@@ -4,8 +4,8 @@
icon_state = "breath"
item_state = "m_mask"
body_parts_covered = 0
- flags = MASKINTERNALS
- visor_flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
+ visor_flags = MASKINTERNALS_1
w_class = WEIGHT_CLASS_SMALL
gas_transfer_coefficient = 0.10
permeability_coefficient = 0.50
diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm
index 9e31845ecb..b4bb836075 100644
--- a/code/modules/clothing/masks/gasmask.dm
+++ b/code/modules/clothing/masks/gasmask.dm
@@ -2,7 +2,7 @@
name = "gas mask"
desc = "A face-covering mask that can be connected to an air supply. While good for concealing your identity, it isn't good for blocking gas flow." //More accurate
icon_state = "gas_alt"
- flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
+ flags_1 = BLOCK_GAS_SMOKE_EFFECT_1 | MASKINTERNALS_1
flags_inv = HIDEEARS|HIDEEYES|HIDEFACE|HIDEFACIALHAIR
w_class = WEIGHT_CLASS_NORMAL
item_state = "gas_alt"
@@ -52,7 +52,7 @@
/obj/item/clothing/mask/gas/clown_hat
name = "clown wig and mask"
desc = "A true prankster's facial attire. A clown is incomplete without his wig and mask."
- flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
icon_state = "clown"
item_state = "clown_hat"
flags_cover = MASKCOVERSEYES
@@ -84,7 +84,7 @@
/obj/item/clothing/mask/gas/sexyclown
name = "sexy-clown wig and mask"
desc = "A feminine clown mask for the dabbling crossdressers or female entertainers."
- flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
icon_state = "sexyclown"
item_state = "sexyclown"
flags_cover = MASKCOVERSEYES
@@ -93,7 +93,7 @@
/obj/item/clothing/mask/gas/mime
name = "mime mask"
desc = "The traditional mime's mask. It has an eerie facial posture."
- flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
icon_state = "mime"
item_state = "mime"
flags_cover = MASKCOVERSEYES
@@ -125,7 +125,7 @@
/obj/item/clothing/mask/gas/monkeymask
name = "monkey mask"
desc = "A mask used when acting as a monkey."
- flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
icon_state = "monkeymask"
item_state = "monkeymask"
flags_cover = MASKCOVERSEYES
@@ -134,7 +134,7 @@
/obj/item/clothing/mask/gas/sexymime
name = "sexy mime mask"
desc = "A traditional female mime's mask."
- flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
icon_state = "sexymime"
item_state = "sexymime"
flags_cover = MASKCOVERSEYES
@@ -155,7 +155,7 @@
name = "owl mask"
desc = "Twoooo!"
icon_state = "owl"
- flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
flags_cover = MASKCOVERSEYES
resistance_flags = FLAMMABLE
diff --git a/code/modules/clothing/masks/hailer.dm b/code/modules/clothing/masks/hailer.dm
index c9b85ebcac..00eeb3ea07 100644
--- a/code/modules/clothing/masks/hailer.dm
+++ b/code/modules/clothing/masks/hailer.dm
@@ -7,10 +7,10 @@
actions_types = list(/datum/action/item_action/halt, /datum/action/item_action/adjust)
icon_state = "sechailer"
item_state = "sechailer"
- flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
+ flags_1 = BLOCK_GAS_SMOKE_EFFECT_1 | MASKINTERNALS_1
flags_inv = HIDEFACIALHAIR|HIDEFACE
w_class = WEIGHT_CLASS_SMALL
- visor_flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
+ visor_flags = BLOCK_GAS_SMOKE_EFFECT_1 | MASKINTERNALS_1
visor_flags_inv = HIDEFACE
flags_cover = MASKCOVERSMOUTH
visor_flags_cover = MASKCOVERSMOUTH
diff --git a/code/modules/clothing/shoes/bananashoes.dm b/code/modules/clothing/shoes/bananashoes.dm
index fcf12b056d..0e2669098f 100644
--- a/code/modules/clothing/shoes/bananashoes.dm
+++ b/code/modules/clothing/shoes/bananashoes.dm
@@ -24,7 +24,7 @@
bananium.use_amount_type(100, MAT_BANANIUM)
if(bananium.amount(MAT_BANANIUM) < 100)
on = !on
- flags &= ~NOSLIP
+ flags_1 &= ~NOSLIP_1
update_icon()
to_chat(loc, "You ran out of bananium!")
else
@@ -63,9 +63,9 @@
update_icon()
to_chat(user, "You [on ? "activate" : "deactivate"] the prototype shoes.")
if(on)
- flags |= NOSLIP
+ flags_1 |= NOSLIP_1
else
- flags &= ~NOSLIP
+ flags_1 &= ~NOSLIP_1
else
to_chat(user, "You need bananium to turn the prototype shoes on!")
diff --git a/code/modules/clothing/shoes/magboots.dm b/code/modules/clothing/shoes/magboots.dm
index ab0a9898bb..9e89176f72 100644
--- a/code/modules/clothing/shoes/magboots.dm
+++ b/code/modules/clothing/shoes/magboots.dm
@@ -22,10 +22,10 @@
/obj/item/clothing/shoes/magboots/attack_self(mob/user)
if(src.magpulse)
- src.flags &= ~NOSLIP
+ src.flags_1 &= ~NOSLIP_1
src.slowdown = SHOES_SLOWDOWN
else
- src.flags |= NOSLIP
+ src.flags_1 |= NOSLIP_1
src.slowdown = slowdown_active
magpulse = !magpulse
icon_state = "[magboot_state][magpulse]"
@@ -37,7 +37,7 @@
A.UpdateButtonIcon()
/obj/item/clothing/shoes/magboots/negates_gravity()
- return flags & NOSLIP
+ return flags_1 & NOSLIP_1
/obj/item/clothing/shoes/magboots/examine(mob/user)
..()
diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm
index 01410d4222..d3fdce1583 100644
--- a/code/modules/clothing/shoes/miscellaneous.dm
+++ b/code/modules/clothing/shoes/miscellaneous.dm
@@ -28,7 +28,7 @@
name = "\improper SWAT boots"
desc = "High speed, no drag combat boots."
permeability_coefficient = 0.01
- flags = NOSLIP
+ flags_1 = NOSLIP_1
armor = list(melee = 40, bullet = 30, laser = 25, energy = 25, bomb = 50, bio = 30, rad = 30, fire = 90, acid = 50)
/obj/item/clothing/shoes/sandal
@@ -54,7 +54,7 @@
name = "galoshes"
icon_state = "galoshes"
permeability_coefficient = 0.05
- flags = NOSLIP
+ flags_1 = NOSLIP_1
slowdown = SHOES_SLOWDOWN+1
strip_delay = 50
equip_delay_other = 50
@@ -154,7 +154,7 @@
icon_state = "cultalt"
/obj/item/clothing/shoes/cult/alt/ghost
- flags = NODROP|DROPDEL
+ flags_1 = NODROP_1|DROPDEL_1
/obj/item/clothing/shoes/cyborg
name = "cyborg boots"
diff --git a/code/modules/clothing/spacesuits/chronosuit.dm b/code/modules/clothing/spacesuits/chronosuit.dm
index 23ea5bc5ff..3127bdef4c 100644
--- a/code/modules/clothing/spacesuits/chronosuit.dm
+++ b/code/modules/clothing/spacesuits/chronosuit.dm
@@ -95,7 +95,7 @@
teleporting = 0
for(var/obj/item/I in user.held_items)
if(I in hands_nodrop)
- I.flags &= ~NODROP
+ I.flags_1 &= ~NODROP_1
if(camera)
camera.remove_target_ui()
camera.loc = user
@@ -130,9 +130,9 @@
hands_nodrop = list()
for(var/obj/item/I in user.held_items)
- if(!(I.flags & NODROP))
+ if(!(I.flags_1 & NODROP_1))
hands_nodrop += I
- I.flags |= NODROP
+ I.flags_1 |= NODROP_1
user.animate_movement = NO_STEPS
user.changeNext_move(8 + phase_in_ds)
user.notransform = 1
@@ -191,9 +191,9 @@
if(user.head && istype(user.head, /obj/item/clothing/head/helmet/space/chronos))
to_chat(user, "\[ ok \] Mounting /dev/helm")
helmet = user.head
- helmet.flags |= NODROP
+ helmet.flags_1 |= NODROP_1
helmet.suit = src
- src.flags |= NODROP
+ src.flags_1 |= NODROP_1
to_chat(user, "\[ ok \] Starting brainwave scanner")
to_chat(user, "\[ ok \] Starting ui display driver")
to_chat(user, "\[ ok \] Initializing chronowalk4-view")
@@ -212,7 +212,7 @@
activating = 1
var/mob/living/carbon/human/user = src.loc
var/hard_landing = teleporting && force
- src.flags &= ~NODROP
+ src.flags_1 &= ~NODROP_1
cooldown = world.time + cooldowntime * 1.5
activated = 0
activating = 0
@@ -233,7 +233,7 @@
to_chat(user, "\[ ok \] Unmounting /dev/helmet")
to_chat(user, "logout")
if(helmet)
- helmet.flags &= ~NODROP
+ helmet.flags_1 &= ~NODROP_1
helmet.suit = null
helmet = null
if(camera)
diff --git a/code/modules/clothing/spacesuits/flightsuit.dm b/code/modules/clothing/spacesuits/flightsuit.dm
index e0d2907ae8..8f33abd005 100644
--- a/code/modules/clothing/spacesuits/flightsuit.dm
+++ b/code/modules/clothing/spacesuits/flightsuit.dm
@@ -5,7 +5,7 @@
//There is toggleable "stabilizers" that will make momentum go down FAST instead of its normal slow rate
//The suit is heavy and will slow you down on the ground but is a bit faster then usual in air
//The speed at which you drift is determined by your current momentum
-//Also, I should probably add in some kind of limiting mechanic but I really don't like having to refill this all the time, expecially as it will be NODROP.
+//Also, I should probably add in some kind of limiting mechanic but I really don't like having to refill this all the time, expecially as it will be NODROP_1.
//Apparently due to code limitations you have to detect mob movement with.. shoes.
//The object that handles the flying itself - FLIGHT PACK --------------------------------------------------------------------------------------
/obj/item/device/flightpack
@@ -859,9 +859,9 @@
if(suit)
active = toggle
if(active)
- src.flags |= NOSLIP
+ src.flags_1 |= NOSLIP_1
if(!active)
- src.flags &= ~NOSLIP
+ src.flags_1 &= ~NOSLIP_1
/obj/item/clothing/shoes/flightshoes/item_action_slot_check(slot)
if(slot == slot_shoes)
@@ -1043,7 +1043,7 @@
usermessage("You're already wearing something on your back!", "boldwarning")
return FALSE
user.equip_to_slot_if_possible(pack,slot_back,0,0,1)
- pack.flags |= NODROP
+ pack.flags_1 |= NODROP_1
resync()
user.visible_message("A [pack.name] extends from [user]'s [name] and clamps to their back!")
user.update_inv_wear_suit()
@@ -1057,7 +1057,7 @@
return FALSE
if(pack.flight && forced)
pack.disable_flight(1)
- pack.flags &= ~NODROP
+ pack.flags_1 &= ~NODROP_1
resync()
if(user)
user.transferItemToLoc(pack, src, TRUE)
@@ -1081,14 +1081,14 @@
usermessage("You're already wearing something on your feet!", "boldwarning")
return FALSE
user.equip_to_slot_if_possible(shoes,slot_shoes,0,0,1)
- shoes.flags |= NODROP
+ shoes.flags_1 |= NODROP_1
user.visible_message("[user]'s [name] extends a pair of [shoes.name] over their feet!")
user.update_inv_wear_suit()
playsound(src.loc, 'sound/mecha/mechmove03.ogg', 50, 1)
deployedshoes = TRUE
/obj/item/clothing/suit/space/hardsuit/flightsuit/proc/retract_flightshoes(forced = FALSE)
- shoes.flags &= ~NODROP
+ shoes.flags_1 &= ~NODROP_1
playsound(src.loc, 'sound/mecha/mechmove03.ogg', 50, 1)
if(user)
user.transferItemToLoc(shoes, src, TRUE)
diff --git a/code/modules/clothing/spacesuits/hardsuit.dm b/code/modules/clothing/spacesuits/hardsuit.dm
index 7f8be87a2e..7c83a0c9bf 100644
--- a/code/modules/clothing/spacesuits/hardsuit.dm
+++ b/code/modules/clothing/spacesuits/hardsuit.dm
@@ -231,7 +231,7 @@
var/obj/item/clothing/suit/space/hardsuit/syndi/linkedsuit = null
actions_types = list(/datum/action/item_action/toggle_helmet_mode)
visor_flags_inv = HIDEMASK|HIDEEYES|HIDEFACE|HIDEFACIALHAIR
- visor_flags = STOPSPRESSUREDMAGE
+ visor_flags = STOPSPRESSUREDMAGE_1
/obj/item/clothing/head/helmet/space/hardsuit/syndi/update_icon()
icon_state = "hardsuit[on]-[item_color]"
@@ -251,7 +251,7 @@
name = initial(name)
desc = initial(desc)
set_light(brightness_on)
- flags |= visor_flags
+ flags_1 |= visor_flags
flags_cover |= HEADCOVERSEYES | HEADCOVERSMOUTH
flags_inv |= visor_flags_inv
cold_protection |= HEAD
@@ -260,7 +260,7 @@
name += " (combat)"
desc = alt_desc
set_light(0)
- flags &= ~visor_flags
+ flags_1 &= ~visor_flags
flags_cover &= ~(HEADCOVERSEYES | HEADCOVERSMOUTH)
flags_inv &= ~visor_flags_inv
cold_protection &= ~HEAD
@@ -281,13 +281,13 @@
linkedsuit.name = initial(linkedsuit.name)
linkedsuit.desc = initial(linkedsuit.desc)
linkedsuit.slowdown = 1
- linkedsuit.flags |= STOPSPRESSUREDMAGE
+ linkedsuit.flags_1 |= STOPSPRESSUREDMAGE_1
linkedsuit.cold_protection |= CHEST | GROIN | LEGS | FEET | ARMS | HANDS
else
linkedsuit.name += " (combat)"
linkedsuit.desc = linkedsuit.alt_desc
linkedsuit.slowdown = 0
- linkedsuit.flags &= ~(STOPSPRESSUREDMAGE)
+ linkedsuit.flags_1 &= ~(STOPSPRESSUREDMAGE_1)
linkedsuit.cold_protection &= ~(CHEST | GROIN | LEGS | FEET | ARMS | HANDS)
linkedsuit.icon_state = "hardsuit[on]-[item_color]"
@@ -641,7 +641,7 @@
icon_state = "ert_medical"
item_state = "ert_medical"
item_color = "ert_medical"
- flags = STOPSPRESSUREDMAGE | THICKMATERIAL | NODROP //Dont want people changing into the other teams gear
+ flags_1 = STOPSPRESSUREDMAGE_1 | THICKMATERIAL_1 | NODROP_1 //Dont want people changing into the other teams gear
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/shielded/ctf
armor = list(melee = 0, bullet = 30, laser = 30, energy = 30, bomb = 50, bio = 100, rad = 100, fire = 95, acid = 95)
slowdown = 0
diff --git a/code/modules/clothing/spacesuits/miscellaneous.dm b/code/modules/clothing/spacesuits/miscellaneous.dm
index f4b99baad7..5ff07ee0a4 100644
--- a/code/modules/clothing/spacesuits/miscellaneous.dm
+++ b/code/modules/clothing/spacesuits/miscellaneous.dm
@@ -57,7 +57,7 @@ Contains:
name = "officer's beret"
desc = "An armored beret commonly used by special operations officers. Uses advanced force field technology to protect the head from space."
icon_state = "beret_badge"
- flags = STOPSPRESSUREDMAGE
+ flags_1 = STOPSPRESSUREDMAGE_1
flags_inv = 0
armor = list(melee = 80, bullet = 80, laser = 50, energy = 50, bomb = 100, bio = 100, rad = 100, fire = 100, acid = 100)
strip_delay = 130
@@ -112,7 +112,7 @@ Contains:
name = "Santa's hat"
desc = "Ho ho ho. Merrry X-mas!"
icon_state = "santahat"
- flags = STOPSPRESSUREDMAGE
+ flags_1 = STOPSPRESSUREDMAGE_1
flags_cover = HEADCOVERSEYES
dog_fashion = /datum/dog_fashion/head/santa
@@ -123,7 +123,7 @@ Contains:
icon_state = "santa"
item_state = "santa"
slowdown = 0
- flags = STOPSPRESSUREDMAGE
+ flags_1 = STOPSPRESSUREDMAGE_1
allowed = list(/obj/item) //for stuffing exta special presents
@@ -134,7 +134,7 @@ Contains:
icon_state = "pirate"
item_state = "pirate"
armor = list(melee = 30, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30, fire = 60, acid = 75)
- flags = STOPSPRESSUREDMAGE
+ flags_1 = STOPSPRESSUREDMAGE_1
strip_delay = 40
equip_delay_other = 20
flags_cover = HEADCOVERSEYES
@@ -161,7 +161,7 @@ Contains:
item_color = "ert_commander"
armor = list(melee = 65, bullet = 50, laser = 50, energy = 50, bomb = 50, bio = 100, rad = 100, fire = 80, acid = 80)
strip_delay = 130
- flags = STOPSPRESSUREDMAGE | THICKMATERIAL | NODROP
+ flags_1 = STOPSPRESSUREDMAGE_1 | THICKMATERIAL_1 | NODROP_1
brightness_on = 7
/obj/item/clothing/suit/space/hardsuit/ert
@@ -261,7 +261,7 @@ Contains:
armor = list(melee = -20, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 100, rad = 75, fire = 60, acid = 75) //As whimpy as a space carp
brightness_on = 0 //luminosity when on
actions_types = list()
- flags = STOPSPRESSUREDMAGE | THICKMATERIAL | NODROP
+ flags_1 = STOPSPRESSUREDMAGE_1 | THICKMATERIAL_1 | NODROP_1
/obj/item/clothing/suit/space/hardsuit/carp
@@ -343,7 +343,7 @@ Contains:
/obj/item/clothing/suit/space/fragile/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK)
if(!torn && prob(50))
to_chat(owner, "[src] tears from the damage, breaking the air-tight seal!")
- src.flags -= STOPSPRESSUREDMAGE
+ src.flags_1 &= ~STOPSPRESSUREDMAGE_1
src.name = "torn [src]."
src.desc = "A bulky suit meant to protect the user during emergency situations, at least until someone tore a hole in the suit."
src.torn = TRUE
diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm
index aada779689..7681b7ba38 100644
--- a/code/modules/clothing/suits/armor.dm
+++ b/code/modules/clothing/suits/armor.dm
@@ -363,7 +363,7 @@
item_state = "swat_suit"
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.90
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
slowdown = 3
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
@@ -372,7 +372,7 @@
/obj/item/clothing/suit/armor/tdome
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
cold_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
armor = list(melee = 80, bullet = 80, laser = 50, energy = 50, bomb = 100, bio = 100, rad = 100, fire = 90, acid = 90)
diff --git a/code/modules/clothing/suits/armor.dm.rej b/code/modules/clothing/suits/armor.dm.rej
new file mode 100644
index 0000000000..6f11586f40
--- /dev/null
+++ b/code/modules/clothing/suits/armor.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm (rejected hunks)
+@@ -348,7 +348,7 @@
+ w_class = WEIGHT_CLASS_BULKY
+ body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
+ allowed = list(/obj/item/gun/energy, /obj/item/melee/baton, /obj/item/restraints/handcuffs, /obj/item/tank/internals/emergency_oxygen)
+- flags = THICKMATERIAL
++ flags_1 = THICKMATERIAL_1
+ flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
+ cold_protection = CHEST | GROIN | LEGS | FEET | ARMS | HANDS
+ min_cold_protection_temperature = SPACE_SUIT_MIN_TEMP_PROTECT
diff --git a/code/modules/clothing/suits/bio.dm b/code/modules/clothing/suits/bio.dm
index f2251c5ce0..9cd93f900f 100644
--- a/code/modules/clothing/suits/bio.dm
+++ b/code/modules/clothing/suits/bio.dm
@@ -4,7 +4,7 @@
icon_state = "bio"
desc = "A hood that protects the head and face from biological comtaminants."
permeability_coefficient = 0.01
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 20, fire = 30, acid = 100)
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEHAIR|HIDEFACIALHAIR|HIDEFACE
resistance_flags = ACID_PROOF
diff --git a/code/modules/clothing/suits/bio.dm.rej b/code/modules/clothing/suits/bio.dm.rej
new file mode 100644
index 0000000000..d39f7fa08f
--- /dev/null
+++ b/code/modules/clothing/suits/bio.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/clothing/suits/bio.dm b/code/modules/clothing/suits/bio.dm (rejected hunks)
+@@ -18,7 +18,7 @@
+ w_class = WEIGHT_CLASS_BULKY
+ gas_transfer_coefficient = 0.01
+ permeability_coefficient = 0.01
+- flags = THICKMATERIAL
++ flags_1 = THICKMATERIAL_1
+ body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
+ slowdown = 1
+ allowed = list(/obj/item/tank/internals/emergency_oxygen, /obj/item/pen, /obj/item/device/flashlight/pen, /obj/item/reagent_containers/dropper, /obj/item/reagent_containers/syringe, /obj/item/reagent_containers/hypospray)
diff --git a/code/modules/clothing/suits/cloaks.dm b/code/modules/clothing/suits/cloaks.dm
index a9b667a5aa..c714285ae8 100644
--- a/code/modules/clothing/suits/cloaks.dm
+++ b/code/modules/clothing/suits/cloaks.dm
@@ -15,7 +15,7 @@
icon_state = "golhood"
desc = "A hood for a cloak"
body_parts_covered = HEAD
- flags = NODROP
+ flags_1 = NODROP_1
flags_inv = HIDEHAIR|HIDEEARS
/obj/item/clothing/neck/cloak/suicide_act(mob/user)
diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm
index d6c019c60a..c456c35404 100644
--- a/code/modules/clothing/suits/miscellaneous.dm
+++ b/code/modules/clothing/suits/miscellaneous.dm
@@ -50,7 +50,7 @@
desc = "Suit for a cyborg costume."
icon_state = "death"
item_state = "death"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
fire_resist = T0C+5200
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
@@ -213,7 +213,7 @@
desc = "Forced to live on your shameful acting as a fake Mexican, you and your poncho have grown inseparable. Literally."
icon_state = "ponchoshame"
item_state = "ponchoshame"
- flags = NODROP
+ flags_1 = NODROP_1
/obj/item/clothing/suit/whitedress
name = "white dress"
@@ -270,7 +270,7 @@
icon_state = "bee"
item_state = "labcoat"
body_parts_covered = CHEST|GROIN|ARMS
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
hoodtype = /obj/item/clothing/head/hooded/bee_hood
/obj/item/clothing/head/hooded/bee_hood
@@ -278,7 +278,7 @@
desc = "A hood attached to a bee costume."
icon_state = "bee"
body_parts_covered = HEAD
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
flags_inv = HIDEHAIR|HIDEEARS
/obj/item/clothing/suit/hooded/bloated_human //OH MY GOD WHAT HAVE YOU DONE!?!?!?
diff --git a/code/modules/clothing/suits/utility.dm b/code/modules/clothing/suits/utility.dm
index 95d6db5d4a..4efce060b9 100644
--- a/code/modules/clothing/suits/utility.dm
+++ b/code/modules/clothing/suits/utility.dm
@@ -56,7 +56,7 @@
name = "bomb hood"
desc = "Use in case of bomb."
icon_state = "bombsuit"
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
armor = list(melee = 20, bullet = 0, laser = 20,energy = 10, bomb = 100, bio = 0, rad = 0, fire = 80, acid = 50)
flags_inv = HIDEFACE|HIDEMASK|HIDEEARS|HIDEEYES|HIDEHAIR|HIDEFACIALHAIR
cold_protection = HEAD
@@ -77,7 +77,7 @@
w_class = WEIGHT_CLASS_BULKY
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
slowdown = 2
armor = list(melee = 20, bullet = 0, laser = 20,energy = 10, bomb = 100, bio = 0, rad = 0, fire = 80, acid = 50)
@@ -108,7 +108,7 @@
name = "radiation hood"
icon_state = "rad"
desc = "A hood with radiation protective properties. The label reads, 'Made with lead. Please do not consume insulation.'"
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
flags_inv = HIDEMASK|HIDEEARS|HIDEFACE|HIDEEYES|HIDEHAIR|HIDEFACIALHAIR
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 60, rad = 100, fire = 30, acid = 30)
strip_delay = 60
diff --git a/code/modules/clothing/suits/utility.dm.rej b/code/modules/clothing/suits/utility.dm.rej
new file mode 100644
index 0000000000..9570c7bb6c
--- /dev/null
+++ b/code/modules/clothing/suits/utility.dm.rej
@@ -0,0 +1,19 @@
+diff a/code/modules/clothing/suits/utility.dm b/code/modules/clothing/suits/utility.dm (rejected hunks)
+@@ -21,7 +21,7 @@
+ allowed = list(/obj/item/device/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/extinguisher, /obj/item/crowbar)
+ slowdown = 1
+ flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
+- flags = STOPSPRESSUREDMAGE | THICKMATERIAL
++ flags_1 = STOPSPRESSUREDMAGE_1 | THICKMATERIAL_1
+ heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
+ max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT
+ cold_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
+@@ -124,7 +124,7 @@
+ w_class = WEIGHT_CLASS_BULKY
+ gas_transfer_coefficient = 0.90
+ permeability_coefficient = 0.50
+- flags = THICKMATERIAL
++ flags_1 = THICKMATERIAL_1
+ body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
+ allowed = list(/obj/item/device/flashlight, /obj/item/tank/internals/emergency_oxygen, /obj/item/device/geiger_counter)
+ slowdown = 1.5
diff --git a/code/modules/clothing/under/color.dm b/code/modules/clothing/under/color.dm
index 5f69bc2eb5..9c90768ead 100644
--- a/code/modules/clothing/under/color.dm
+++ b/code/modules/clothing/under/color.dm
@@ -17,7 +17,7 @@
resistance_flags = 0
/obj/item/clothing/under/color/black/ghost
- flags = NODROP|DROPDEL
+ flags_1 = NODROP_1|DROPDEL_1
/obj/item/clothing/under/color/grey
name = "grey jumpsuit"
diff --git a/code/modules/clothing/under/miscellaneous.dm b/code/modules/clothing/under/miscellaneous.dm
index 9194ec0b20..ba5cd8b8d1 100644
--- a/code/modules/clothing/under/miscellaneous.dm
+++ b/code/modules/clothing/under/miscellaneous.dm
@@ -387,7 +387,7 @@
/obj/item/clothing/under/kilt/highlander
desc = "You're the only one worthy of this kilt."
- flags = NODROP
+ flags_1 = NODROP_1
/obj/item/clothing/under/sexymime
name = "sexy mime outfit"
diff --git a/code/modules/crafting/craft.dm b/code/modules/crafting/craft.dm
index 87b6cb561a..d3c6b40251 100644
--- a/code/modules/crafting/craft.dm
+++ b/code/modules/crafting/craft.dm
@@ -81,14 +81,14 @@
if(T.Adjacent(user))
for(var/B in T)
var/atom/movable/AM = B
- if(HAS_SECONDARY_FLAG(AM, HOLOGRAM))
+ if(AM.flags_2 & HOLOGRAM_2)
continue
. += AM
/datum/personal_crafting/proc/get_surroundings(mob/user)
. = list()
for(var/obj/item/I in get_environment(user))
- if(HAS_SECONDARY_FLAG(I, HOLOGRAM))
+ if(I.flags_2 & HOLOGRAM_2)
continue
if(istype(I, /obj/item/stack))
var/obj/item/stack/S = I
diff --git a/code/modules/crafting/craft.dm.rej b/code/modules/crafting/craft.dm.rej
new file mode 100644
index 0000000000..c1aa21cb9c
--- /dev/null
+++ b/code/modules/crafting/craft.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/crafting/craft.dm b/code/modules/crafting/craft.dm (rejected hunks)
+@@ -96,7 +96,7 @@
+ else
+ if(istype(I, /obj/item/reagent_containers))
+ var/obj/item/reagent_containers/RC = I
+- if(RC.container_type & OPENCONTAINER)
++ if(RC.container_type & OPENCONTAINER_1)
+ for(var/datum/reagent/A in RC.reagents.reagent_list)
+ .[A.type] += A.volume
+ .[I.type] += 1
diff --git a/code/modules/detectivework/footprints_and_rag.dm b/code/modules/detectivework/footprints_and_rag.dm
index 1560045526..46d7085939 100644
--- a/code/modules/detectivework/footprints_and_rag.dm
+++ b/code/modules/detectivework/footprints_and_rag.dm
@@ -12,8 +12,8 @@
w_class = WEIGHT_CLASS_TINY
icon = 'icons/obj/toy.dmi'
icon_state = "rag"
- flags = NOBLUDGEON
- container_type = OPENCONTAINER
+ flags_1 = NOBLUDGEON_1
+ container_type = OPENCONTAINER_1
amount_per_transfer_from_this = 5
possible_transfer_amounts = list()
volume = 5
diff --git a/code/modules/detectivework/scanner.dm b/code/modules/detectivework/scanner.dm
index d7d9ac93ff..bc4147ad24 100644
--- a/code/modules/detectivework/scanner.dm
+++ b/code/modules/detectivework/scanner.dm
@@ -10,7 +10,7 @@
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT | NOBLUDGEON
+ flags_1 = CONDUCT_1 | NOBLUDGEON_1
slot_flags = SLOT_BELT
var/scanning = 0
var/list/log = list()
diff --git a/code/modules/events/sentience.dm b/code/modules/events/sentience.dm
index 64175e11e9..a425c540b3 100644
--- a/code/modules/events/sentience.dm
+++ b/code/modules/events/sentience.dm
@@ -51,7 +51,7 @@
SA.key = SG.key
SA.grant_language(/datum/language/common)
- SET_SECONDARY_FLAG(SA, OMNITONGUE)
+ SA.flags_2 |= OMNITONGUE_2
SA.sentience_act()
diff --git a/code/modules/events/wizard/curseditems.dm b/code/modules/events/wizard/curseditems.dm
index d8e95b5bb5..209741bb75 100644
--- a/code/modules/events/wizard/curseditems.dm
+++ b/code/modules/events/wizard/curseditems.dm
@@ -5,7 +5,7 @@
max_occurrences = 3
earliest_start = 0
-//Note about adding items to this: Because of how NODROP works if an item spawned to the hands can also be equiped to a slot
+//Note about adding items to this: Because of how NODROP_1 works if an item spawned to the hands can also be equiped to a slot
//it will be able to be put into that slot from the hand, but then get stuck there. To avoid this make a new subtype of any
//item you want to equip to the hand, and set its slots_flags = null. Only items equiped to hands need do this.
@@ -51,7 +51,7 @@
var/obj/item/I = new J //dumb but required because of byond throwing a fit anytime new gets too close to a list
H.temporarilyRemoveItemFromInventory(slots[i], TRUE)
H.equip_to_slot_or_del(I, wearslots[i])
- I.flags |= NODROP
+ I.flags_1 |= NODROP_1
I.name = "cursed " + I.name
for(var/mob/living/carbon/human/H in GLOB.living_mob_list)
diff --git a/code/modules/fields/turf_objects.dm.rej b/code/modules/fields/turf_objects.dm.rej
new file mode 100644
index 0000000000..de5d9adf07
--- /dev/null
+++ b/code/modules/fields/turf_objects.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/fields/turf_objects.dm b/code/modules/fields/turf_objects.dm (rejected hunks)
+@@ -6,7 +6,7 @@
+ icon_state = null
+ alpha = 0
+ invisibility = INVISIBILITY_ABSTRACT
+- flags = ABSTRACT|ON_BORDER
++ flags_1 = ABSTRACT_1|ON_BORDER_1
+ mouse_opacity = MOUSE_OPACITY_TRANSPARENT
+ var/datum/proximity_monitor/advanced/parent = null
+
diff --git a/code/modules/food_and_drinks/drinks/drinks.dm b/code/modules/food_and_drinks/drinks/drinks.dm
index 46f04a524f..8f567c6a5c 100644
--- a/code/modules/food_and_drinks/drinks/drinks.dm
+++ b/code/modules/food_and_drinks/drinks/drinks.dm
@@ -8,7 +8,7 @@
icon_state = null
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi'
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
var/gulp_size = 5 //This is now officially broken ... need to think of a nice way to fix it.
possible_transfer_amounts = list(5,10,15,20,25,30,50)
volume = 50
@@ -119,8 +119,8 @@
materials = list(MAT_METAL=100)
possible_transfer_amounts = list()
volume = 5
- flags = CONDUCT
- container_type = OPENCONTAINER
+ flags_1 = CONDUCT_1
+ container_type = OPENCONTAINER_1
spillable = 1
resistance_flags = FIRE_PROOF
diff --git a/code/modules/food_and_drinks/drinks/drinks.dm.rej b/code/modules/food_and_drinks/drinks/drinks.dm.rej
new file mode 100644
index 0000000000..966cb83aee
--- /dev/null
+++ b/code/modules/food_and_drinks/drinks/drinks.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/food_and_drinks/drinks/drinks.dm b/code/modules/food_and_drinks/drinks/drinks.dm (rejected hunks)
+@@ -357,7 +357,7 @@
+ /obj/item/reagent_containers/food/drinks/soda_cans/attack_self(mob/user)
+ if(!is_open_container())
+ to_chat(user, "You pull back the tab of \the [src] with a satisfying pop.") //Ahhhhhhhh
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ playsound(src, "can_open", 50, 1)
+ spillable = TRUE
+ return
diff --git a/code/modules/food_and_drinks/food.dm.rej b/code/modules/food_and_drinks/food.dm.rej
new file mode 100644
index 0000000000..9d092f6aa3
--- /dev/null
+++ b/code/modules/food_and_drinks/food.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/food_and_drinks/food.dm b/code/modules/food_and_drinks/food.dm (rejected hunks)
+@@ -4,7 +4,7 @@
+ /obj/item/reagent_containers/food
+ possible_transfer_amounts = list()
+ volume = 50 //Sets the default container amount for all food items.
+- container_type = INJECTABLE
++ container_type = INJECTABLE_1
+ resistance_flags = FLAMMABLE
+ var/foodtype = NONE
+ var/last_check_time
diff --git a/code/modules/food_and_drinks/food/condiment.dm b/code/modules/food_and_drinks/food/condiment.dm
index 477d4913c8..bc6ab90f76 100644
--- a/code/modules/food_and_drinks/food/condiment.dm
+++ b/code/modules/food_and_drinks/food/condiment.dm
@@ -10,7 +10,7 @@
desc = "Just your average condiment container."
icon = 'icons/obj/food/containers.dmi'
icon_state = "emptycondiment"
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
possible_transfer_amounts = list(1, 5, 10, 15, 20, 25, 30, 50)
volume = 50
//Possible_states has the reagent id as key and a list of, in order, the icon_state, the name and the desc as values. Used in the on_reagent_change() to change names, descs and sprites.
diff --git a/code/modules/food_and_drinks/food/customizables.dm b/code/modules/food_and_drinks/food/customizables.dm
index f2047ac092..31baa1bd90 100644
--- a/code/modules/food_and_drinks/food/customizables.dm
+++ b/code/modules/food_and_drinks/food/customizables.dm
@@ -283,7 +283,7 @@
desc = "A simple bowl, used for soups and salads."
icon = 'icons/obj/food/soupsalad.dmi'
icon_state = "bowl"
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
materials = list(MAT_GLASS = 500)
w_class = WEIGHT_CLASS_NORMAL
diff --git a/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm.rej b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm.rej
new file mode 100644
index 0000000000..aa16e6cb82
--- /dev/null
+++ b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm (rejected hunks)
+@@ -15,7 +15,7 @@ insert ascii eagle on american flag background here
+ anchored = TRUE
+ use_power = IDLE_POWER_USE
+ idle_power_usage = 5
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ var/obj/item/frying = null //What's being fried RIGHT NOW?
+ var/cook_time = 0
+ var/static/list/deepfry_blacklisted_items = typecacheof(list(
diff --git a/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
index c3f9e0334d..267b77f0c5 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
@@ -157,7 +157,7 @@
return
/obj/machinery/food_cart/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc, 4)
qdel(src)
diff --git a/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm.rej b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm.rej
new file mode 100644
index 0000000000..e9e750f51d
--- /dev/null
+++ b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm (rejected hunks)
+@@ -15,7 +15,7 @@
+ var/portion = 10
+ var/selected_drink
+ var/list/stored_food = list()
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ var/obj/item/reagent_containers/mixer
+
+ /obj/machinery/food_cart/Initialize()
diff --git a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm
index f519892dda..95bbf1f138 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm
@@ -220,7 +220,7 @@
name = "[M.name] icecream"
/obj/machinery/icecream_vat/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc, 4)
qdel(src)
diff --git a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm.rej b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm.rej
new file mode 100644
index 0000000000..5f4ec95f19
--- /dev/null
+++ b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm (rejected hunks)
+@@ -14,7 +14,7 @@
+ anchored = FALSE
+ use_power = NO_POWER_USE
+ layer = BELOW_OBJ_LAYER
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ max_integrity = 300
+ var/list/product_types = list()
+ var/dispense_flavour = ICECREAM_VANILLA
diff --git a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
index d726a106e7..61c4b9eace 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
@@ -91,7 +91,7 @@
src.icon_state = "mw"
src.broken = 0 // Fix it!
src.dirty = 0 // just to be sure
- src.container_type = OPENCONTAINER
+ src.container_type = OPENCONTAINER_1
return 0 //to use some fuel
else
to_chat(user, "It's broken!")
@@ -108,7 +108,7 @@
src.dirty = 0 // It's clean!
src.broken = 0 // just to be sure
src.icon_state = "mw"
- src.container_type = OPENCONTAINER
+ src.container_type = OPENCONTAINER_1
src.updateUsrDialog()
return 1 // Disables the after-attack so we don't spray the floor/user.
else
@@ -129,7 +129,7 @@
src.dirty = 0 // It's clean!
src.broken = 0 // just to be sure
src.icon_state = "mw"
- src.container_type = OPENCONTAINER
+ src.container_type = OPENCONTAINER_1
else if(src.dirty==100) // The microwave is all dirty so can't be used!
to_chat(user, "It's dirty!")
@@ -321,7 +321,7 @@
icon_state = "mwb" // Make it look all busted up and shit
visible_message("The microwave breaks!") //Let them know they're stupid
broken = 2 // Make it broken so it can't be used util fixed
- flags = null //So you can't add condiments
+ flags_1 = null //So you can't add condiments
operating = FALSE // Turn it off again aferwards
updateUsrDialog()
diff --git a/code/modules/games/cards.dm b/code/modules/games/cards.dm
index 5a0b217efb..b47a835bda 100644
--- a/code/modules/games/cards.dm
+++ b/code/modules/games/cards.dm
@@ -12,7 +12,7 @@
icon = 'icons/obj/playing_cards.dmi'
icon_state = "deck"
w_class = WEIGHT_CLASS_SMALL
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/list/cards = list()
diff --git a/code/modules/holodeck/area_copy.dm b/code/modules/holodeck/area_copy.dm
index 70dc073c3b..272fb1c536 100644
--- a/code/modules/holodeck/area_copy.dm
+++ b/code/modules/holodeck/area_copy.dm
@@ -36,7 +36,7 @@ GLOBAL_LIST_INIT(duplicate_forbidden_vars,list("tag","area","type","loc","locs",
M.power_change()
if(holoitem)
- SET_SECONDARY_FLAG(O, HOLOGRAM)
+ O.flags_2 |= HOLOGRAM_2
return O
diff --git a/code/modules/holodeck/computer.dm b/code/modules/holodeck/computer.dm
index ea71e664de..cd2a584251 100644
--- a/code/modules/holodeck/computer.dm
+++ b/code/modules/holodeck/computer.dm
@@ -247,9 +247,9 @@
// this is an exercise left to others I'm afraid. -Sayu
spawned = A.copy_contents_to(linked, 1, nerf_weapons = !emagged)
for(var/obj/machinery/M in spawned)
- M.flags |= NODECONSTRUCT
+ M.flags_1 |= NODECONSTRUCT_1
for(var/obj/structure/S in spawned)
- S.flags |= NODECONSTRUCT
+ S.flags_1 |= NODECONSTRUCT_1
effects = list()
addtimer(CALLBACK(src, .proc/finish_spawn), 30)
@@ -264,9 +264,9 @@
spawned += x // holocarp are not forever
added += x
for(var/obj/machinery/M in added)
- M.flags |= NODECONSTRUCT
+ M.flags_1 |= NODECONSTRUCT_1
for(var/obj/structure/S in added)
- S.flags |= NODECONSTRUCT
+ S.flags_1 |= NODECONSTRUCT_1
/obj/machinery/computer/holodeck/proc/derez(obj/O, silent = TRUE, forced = FALSE)
// Emagging a machine creates an anomaly in the derez systems.
diff --git a/code/modules/holodeck/items.dm b/code/modules/holodeck/items.dm
index 793266b165..165f23f31c 100644
--- a/code/modules/holodeck/items.dm
+++ b/code/modules/holodeck/items.dm
@@ -204,7 +204,7 @@
eventstarted = TRUE
for(var/obj/structure/window/W in currentarea)
- if(W.flags&NODECONSTRUCT) // Just in case: only holo-windows
+ if(W.flags_1&NODECONSTRUCT_1) // Just in case: only holo-windows
qdel(W)
for(var/mob/M in currentarea)
diff --git a/code/modules/holodeck/turfs.dm b/code/modules/holodeck/turfs.dm
index 6f28702892..80a7b7a545 100644
--- a/code/modules/holodeck/turfs.dm
+++ b/code/modules/holodeck/turfs.dm
@@ -3,7 +3,7 @@
thermal_conductivity = 0
broken_states = list("engine")
burnt_states = list("engine")
- flags = NONE
+ flags_1 = NONE
/turf/open/floor/holofloor/attackby(obj/item/I, mob/living/user)
return // HOLOFLOOR DOES NOT GIVE A FUCK
diff --git a/code/modules/hydroponics/beekeeping/beebox.dm b/code/modules/hydroponics/beekeeping/beebox.dm
index df5d28b30f..0199c8e9e8 100644
--- a/code/modules/hydroponics/beekeeping/beebox.dm
+++ b/code/modules/hydroponics/beekeeping/beebox.dm
@@ -18,7 +18,7 @@
/mob/living/carbon/human/bee_friendly()
if(dna && dna.species && dna.species.id == "pod") //bees pollinate plants, duh.
return 1
- if((wear_suit && (wear_suit.flags & THICKMATERIAL)) && (head && (head.flags & THICKMATERIAL)))
+ if((wear_suit && (wear_suit.flags_1 & THICKMATERIAL_1)) && (head && (head.flags_1 & THICKMATERIAL_1)))
return 1
return 0
diff --git a/code/modules/hydroponics/beekeeping/beekeeper_suit.dm b/code/modules/hydroponics/beekeeping/beekeeper_suit.dm
index 4c7c13d02a..b871951b0f 100644
--- a/code/modules/hydroponics/beekeeping/beekeeper_suit.dm
+++ b/code/modules/hydroponics/beekeeping/beekeeper_suit.dm
@@ -4,7 +4,7 @@
desc = "Keeps the lil buzzing buggers out of your eyes."
icon_state = "beekeeper"
item_state = "beekeeper"
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
/obj/item/clothing/suit/beekeeper_suit
@@ -12,5 +12,5 @@
desc = "Keeps the lil buzzing buggers away from your squishy bits."
icon_state = "beekeeper"
item_state = "beekeeper"
- flags = THICKMATERIAL
+ flags_1 = THICKMATERIAL_1
diff --git a/code/modules/hydroponics/grown/towercap.dm b/code/modules/hydroponics/grown/towercap.dm
index 0b3c7169c8..581becb940 100644
--- a/code/modules/hydroponics/grown/towercap.dm
+++ b/code/modules/hydroponics/grown/towercap.dm
@@ -147,7 +147,7 @@
if(W.is_hot())
StartBurning()
if(grill)
- if(user.a_intent != INTENT_HARM && !(W.flags & ABSTRACT))
+ if(user.a_intent != INTENT_HARM && !(W.flags_1 & ABSTRACT_1))
if(user.temporarilyRemoveItemFromInventory(W))
W.forceMove(get_turf(src))
var/list/click_params = params2list(params)
diff --git a/code/modules/hydroponics/hydroitemdefines.dm b/code/modules/hydroponics/hydroitemdefines.dm
index dc72c1adbe..e3ba6a30d5 100644
--- a/code/modules/hydroponics/hydroitemdefines.dm
+++ b/code/modules/hydroponics/hydroitemdefines.dm
@@ -23,7 +23,7 @@
icon_state = "weedspray"
item_state = "spray"
volume = 100
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
slot_flags = SLOT_BELT
throwforce = 0
w_class = WEIGHT_CLASS_SMALL
@@ -47,7 +47,7 @@
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
volume = 100
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
slot_flags = SLOT_BELT
throwforce = 0
w_class = WEIGHT_CLASS_SMALL
@@ -71,7 +71,7 @@
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
origin_tech = "engineering=2;biotech=2"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 5
throwforce = 7
w_class = WEIGHT_CLASS_SMALL
@@ -87,7 +87,7 @@
item_state = "hatchet"
lefthand_file = 'icons/mob/inhands/equipment/hydroponics_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/hydroponics_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 12
w_class = WEIGHT_CLASS_TINY
throwforce = 15
@@ -115,7 +115,7 @@
throw_speed = 2
throw_range = 3
w_class = WEIGHT_CLASS_BULKY
- flags = CONDUCT
+ flags_1 = CONDUCT_1
armour_penetration = 20
slot_flags = SLOT_BACK
origin_tech = "materials=3;combat=2"
diff --git a/code/modules/mining/equipment/explorer_gear.dm b/code/modules/mining/equipment/explorer_gear.dm
index 5f8830139c..6e464327d3 100644
--- a/code/modules/mining/equipment/explorer_gear.dm
+++ b/code/modules/mining/equipment/explorer_gear.dm
@@ -29,7 +29,7 @@
name = "explorer gas mask"
desc = "A military-grade gas mask that can be connected to an air supply."
icon_state = "gas_mining"
- visor_flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
+ visor_flags = BLOCK_GAS_SMOKE_EFFECT_1 | MASKINTERNALS_1
visor_flags_inv = HIDEFACIALHAIR
visor_flags_cover = MASKCOVERSMOUTH
actions_types = list(/datum/action/item_action/adjust)
diff --git a/code/modules/mining/equipment/goliath_hide.dm b/code/modules/mining/equipment/goliath_hide.dm
index 6b88fff0b3..a96081540b 100644
--- a/code/modules/mining/equipment/goliath_hide.dm
+++ b/code/modules/mining/equipment/goliath_hide.dm
@@ -7,7 +7,7 @@
singular_name = "hide plate"
max_amount = 6
novariants = FALSE
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
w_class = WEIGHT_CLASS_NORMAL
layer = MOB_LAYER
var/static/list/goliath_platable_armor_typecache = typecacheof(list(
diff --git a/code/modules/mining/equipment/marker_beacons.dm b/code/modules/mining/equipment/marker_beacons.dm
index f052e809e6..d2abbe6f74 100644
--- a/code/modules/mining/equipment/marker_beacons.dm
+++ b/code/modules/mining/equipment/marker_beacons.dm
@@ -89,7 +89,7 @@ GLOBAL_LIST_INIT(marker_beacon_colors, list(
update_icon()
/obj/structure/marker_beacon/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/obj/item/stack/marker_beacon/M = new(loc)
M.picked_color = picked_color
M.update_icon()
diff --git a/code/modules/mining/equipment/mineral_scanner.dm b/code/modules/mining/equipment/mineral_scanner.dm
index 85dc278735..f56a955900 100644
--- a/code/modules/mining/equipment/mineral_scanner.dm
+++ b/code/modules/mining/equipment/mineral_scanner.dm
@@ -7,7 +7,7 @@
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
var/cooldown = 35
var/current_cooldown = 0
@@ -37,7 +37,7 @@
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
var/cooldown = 35
var/current_cooldown = 0
diff --git a/code/modules/mining/equipment/mining_tools.dm b/code/modules/mining/equipment/mining_tools.dm
index a3ffa82114..06a688a0b2 100644
--- a/code/modules/mining/equipment/mining_tools.dm
+++ b/code/modules/mining/equipment/mining_tools.dm
@@ -3,7 +3,7 @@
name = "pickaxe"
icon = 'icons/obj/mining.dmi'
icon_state = "pickaxe"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT | SLOT_BACK
force = 15
throwforce = 10
@@ -93,7 +93,7 @@
icon_state = "shovel"
lefthand_file = 'icons/mob/inhands/equipment/mining_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/mining_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
force = 8
var/digspeed = 20
diff --git a/code/modules/mining/equipment/mining_tools.dm.rej b/code/modules/mining/equipment/mining_tools.dm.rej
new file mode 100644
index 0000000000..646ed96851
--- /dev/null
+++ b/code/modules/mining/equipment/mining_tools.dm.rej
@@ -0,0 +1,19 @@
+diff a/code/modules/mining/equipment/mining_tools.dm b/code/modules/mining/equipment/mining_tools.dm (rejected hunks)
+@@ -62,7 +62,7 @@
+ /obj/item/pickaxe/drill/cyborg
+ name = "cyborg mining drill"
+ desc = "An integrated electric mining drill."
+- flags = NODROP
++ flags_1 = NODROP_1
+
+ /obj/item/pickaxe/drill/diamonddrill
+ name = "diamond-tipped mining drill"
+@@ -72,7 +72,7 @@
+ desc = "Yours is the drill that will pierce the heavens!"
+
+ /obj/item/pickaxe/drill/cyborg/diamond //This is the BORG version!
+- name = "diamond-tipped cyborg mining drill" //To inherit the NODROP flag, and easier to change borg specific drill mechanics.
++ name = "diamond-tipped cyborg mining drill" //To inherit the NODROP_1 flag, and easier to change borg specific drill mechanics.
+ icon_state = "diamonddrill"
+ digspeed = 7
+
diff --git a/code/modules/mining/equipment/regenerative_core.dm b/code/modules/mining/equipment/regenerative_core.dm
index 6843379164..00618f480c 100644
--- a/code/modules/mining/equipment/regenerative_core.dm
+++ b/code/modules/mining/equipment/regenerative_core.dm
@@ -22,7 +22,7 @@
name = "regenerative core"
desc = "All that remains of a hivelord. It can be used to heal completely, but it will rapidly decay into uselessness."
icon_state = "roro core 2"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
slot = "hivecore"
force = 0
actions_types = list(/datum/action/item_action/organ_action/use)
diff --git a/code/modules/mining/equipment/survival_pod.dm.rej b/code/modules/mining/equipment/survival_pod.dm.rej
new file mode 100644
index 0000000000..3effe96e52
--- /dev/null
+++ b/code/modules/mining/equipment/survival_pod.dm.rej
@@ -0,0 +1,35 @@
+diff a/code/modules/mining/equipment/survival_pod.dm b/code/modules/mining/equipment/survival_pod.dm (rejected hunks)
+@@ -167,7 +167,7 @@
+ pixel_y = -32
+
+ /obj/item/device/gps/computer/attackby(obj/item/W, mob/user, params)
+- if(istype(W, /obj/item/wrench) && !(flags&NODECONSTRUCT))
++ if(istype(W, /obj/item/wrench) && !(flags_1&NODECONSTRUCT_1))
+ playsound(src.loc, W.usesound, 50, 1)
+ user.visible_message("[user] disassembles the gps.", \
+ "You start to disassemble the gps...", "You hear clanking and banging noises.")
+@@ -198,7 +198,7 @@
+ light_color = "#DDFFD3"
+ max_n_of_items = 10
+ pixel_y = -4
+- flags = NODECONSTRUCT
++ flags_1 = NODECONSTRUCT_1
+ var/empty = FALSE
+
+ /obj/machinery/smartfridge/survival_pod/Initialize(mapload)
+@@ -237,13 +237,13 @@
+ CanAtmosPass = ATMOS_PASS_NO
+
+ /obj/structure/fans/deconstruct()
+- if(!(flags & NODECONSTRUCT))
++ if(!(flags_1 & NODECONSTRUCT_1))
+ if(buildstacktype)
+ new buildstacktype(loc,buildstackamount)
+ qdel(src)
+
+ /obj/structure/fans/attackby(obj/item/W, mob/user, params)
+- if(istype(W, /obj/item/wrench) && !(flags&NODECONSTRUCT))
++ if(istype(W, /obj/item/wrench) && !(flags_1&NODECONSTRUCT_1))
+ playsound(src.loc, W.usesound, 50, 1)
+ user.visible_message("[user] disassembles the fan.", \
+ "You start to disassemble the fan...", "You hear clanking and banging noises.")
diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm
index b2e474957c..1dbe2fdce7 100644
--- a/code/modules/mining/lavaland/necropolis_chests.dm
+++ b/code/modules/mining/lavaland/necropolis_chests.dm
@@ -265,7 +265,7 @@
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
fire_sound = 'sound/weapons/batonextend.ogg'
max_charges = 1
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
force = 18
/obj/item/ammo_casing/magic/hook
@@ -690,7 +690,7 @@
item_state = "spectral"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
sharpness = IS_SHARP
w_class = WEIGHT_CLASS_BULKY
force = 1
diff --git a/code/modules/mining/ores_coins.dm b/code/modules/mining/ores_coins.dm
index 03d75717ab..06e612e93e 100644
--- a/code/modules/mining/ores_coins.dm
+++ b/code/modules/mining/ores_coins.dm
@@ -311,7 +311,7 @@
icon = 'icons/obj/economy.dmi'
name = "coin"
icon_state = "coin__heads"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 1
throwforce = 2
w_class = WEIGHT_CLASS_TINY
diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm
index 2cea8e32f2..c65cd1a5fb 100644
--- a/code/modules/mob/dead/new_player/new_player.dm
+++ b/code/modules/mob/dead/new_player/new_player.dm
@@ -4,7 +4,7 @@
var/ready = 0
var/spawning = 0//Referenced when you want to delete the new_player later on in the code.
- flags = NONE
+ flags_1 = NONE
invisibility = INVISIBILITY_ABSTRACT
@@ -109,7 +109,7 @@
if(href_list["ready"])
var/tready = text2num(href_list["ready"])
//Avoid updating ready if we're after PREGAME (they should use latejoin instead)
- //This is likely not an actual issue but I don't have time to prove that this
+ //This is likely not an actual issue but I don't have time to prove that this
//no longer is required
if(SSticker.current_state <= GAME_STATE_PREGAME)
ready = tready
diff --git a/code/modules/mob/inventory.dm b/code/modules/mob/inventory.dm
index bdc968e2d3..9a1aa4a037 100644
--- a/code/modules/mob/inventory.dm
+++ b/code/modules/mob/inventory.dm
@@ -182,7 +182,7 @@
/mob/proc/put_in_hand_check(obj/item/I)
- if(lying && !(I.flags&ABSTRACT))
+ if(lying && !(I.flags_1&ABSTRACT_1))
return FALSE
if(!istype(I))
return FALSE
@@ -252,7 +252,7 @@
/mob/proc/canUnEquip(obj/item/I, force)
if(!I)
return TRUE
- if((I.flags & NODROP) && !force)
+ if((I.flags_1 & NODROP_1) && !force)
return FALSE
return TRUE
@@ -286,13 +286,13 @@
//DO NOT CALL THIS PROC
//use one of the above 2 helper procs
//you may override it, but do not modify the args
-/mob/proc/doUnEquip(obj/item/I, force, newloc, no_move, invdrop = TRUE) //Force overrides NODROP for things like wizarditis and admin undress.
+/mob/proc/doUnEquip(obj/item/I, force, newloc, no_move, invdrop = TRUE) //Force overrides NODROP_1 for things like wizarditis and admin undress.
//Use no_move if the item is just gonna be immediately moved afterward
//Invdrop is used to prevent stuff in pockets dropping. only set to false if it's going to immediately be replaced
- if(!I) //If there's nothing to drop, the drop is automatically succesfull. If(unEquip) should generally be used to check for NODROP.
+ if(!I) //If there's nothing to drop, the drop is automatically succesfull. If(unEquip) should generally be used to check for NODROP_1.
return TRUE
- if((I.flags & NODROP) && !force)
+ if((I.flags_1 & NODROP_1) && !force)
return FALSE
var/hand_index = get_held_index_of_item(I)
@@ -305,7 +305,7 @@
I.layer = initial(I.layer)
I.plane = initial(I.plane)
I.appearance_flags &= ~NO_CLIENT_COLOR
- if(!no_move && !(I.flags & DROPDEL)) //item may be moved/qdel'd immedietely, don't bother moving it
+ if(!no_move && !(I.flags_1 & DROPDEL_1)) //item may be moved/qdel'd immedietely, don't bother moving it
I.forceMove(newloc)
I.dropped(src)
return TRUE
diff --git a/code/modules/mob/living/bloodcrawl.dm b/code/modules/mob/living/bloodcrawl.dm
index 0b882e0195..ec4ada38aa 100644
--- a/code/modules/mob/living/bloodcrawl.dm
+++ b/code/modules/mob/living/bloodcrawl.dm
@@ -138,7 +138,7 @@
name = "blood crawl"
desc = "You are unable to hold anything while in this form."
icon = 'icons/effects/blood.dmi'
- flags = NODROP|ABSTRACT
+ flags_1 = NODROP_1|ABSTRACT_1
/mob/living/proc/exit_blood_effect(obj/effect/decal/cleanable/B)
playsound(get_turf(src), 'sound/magic/exit_blood.ogg', 100, 1, -1)
diff --git a/code/modules/mob/living/bloodcrawl.dm.rej b/code/modules/mob/living/bloodcrawl.dm.rej
new file mode 100644
index 0000000000..cf88bd660f
--- /dev/null
+++ b/code/modules/mob/living/bloodcrawl.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/mob/living/bloodcrawl.dm b/code/modules/mob/living/bloodcrawl.dm (rejected hunks)
+@@ -167,7 +167,7 @@
+ if(iscarbon(src))
+ var/mob/living/carbon/C = src
+ for(var/obj/item/bloodcrawl/BC in C)
+- BC.flags = null
++ BC.flags_1 = null
+ qdel(BC)
+ qdel(src.holder)
+ src.holder = null
diff --git a/code/modules/mob/living/brain/brain_item.dm b/code/modules/mob/living/brain/brain_item.dm
index 2ee3007bb1..13a34b6bae 100644
--- a/code/modules/mob/living/brain/brain_item.dm
+++ b/code/modules/mob/living/brain/brain_item.dm
@@ -112,7 +112,7 @@
if(user.zone_selected != "head")
return ..()
- if((C.head && (C.head.flags_cover & HEADCOVERSEYES)) || (C.wear_mask && (C.wear_mask.flags_cover & MASKCOVERSEYES)) || (C.glasses && (C.glasses.flags & GLASSESCOVERSEYES)))
+ if((C.head && (C.head.flags_cover & HEADCOVERSEYES)) || (C.wear_mask && (C.wear_mask.flags_cover & MASKCOVERSEYES)) || (C.glasses && (C.glasses.flags_1 & GLASSESCOVERSEYES)))
to_chat(user, "You're going to need to remove their head cover first!")
return
diff --git a/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm b/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm
index 61d75fe645..4f83b60ccb 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/humanoid.dm
@@ -42,7 +42,7 @@
"}
for(var/i in 1 to held_items.len)
var/obj/item/I = get_item_for_held_index(i)
- dat += "
[get_held_index_name(i)]:[(I && !(I.flags & ABSTRACT)) ? I : "Empty"]"
+ dat += "
[get_held_index_name(i)]:[(I && !(I.flags_1 & ABSTRACT_1)) ? I : "Empty"]"
dat += "
Empty Pouches"
if(handcuffed)
diff --git a/code/modules/mob/living/carbon/alien/humanoid/queen.dm b/code/modules/mob/living/carbon/alien/humanoid/queen.dm
index 63ee367266..60a963caad 100644
--- a/code/modules/mob/living/carbon/alien/humanoid/queen.dm
+++ b/code/modules/mob/living/carbon/alien/humanoid/queen.dm
@@ -123,7 +123,7 @@
name = "\improper royal parasite"
desc = "Inject this into one of your grown children to promote her to a Praetorian!"
icon_state = "alien_medal"
- flags = ABSTRACT|NODROP|DROPDEL
+ flags_1 = ABSTRACT_1|NODROP_1|DROPDEL_1
icon = 'icons/mob/alien.dmi'
/obj/item/queenpromote/attack(mob/living/M, mob/living/carbon/alien/humanoid/user)
diff --git a/code/modules/mob/living/carbon/alien/special/facehugger.dm b/code/modules/mob/living/carbon/alien/special/facehugger.dm
index 6c705a1164..a2197baa9b 100644
--- a/code/modules/mob/living/carbon/alien/special/facehugger.dm
+++ b/code/modules/mob/living/carbon/alien/special/facehugger.dm
@@ -15,7 +15,7 @@
icon_state = "facehugger"
item_state = "facehugger"
w_class = WEIGHT_CLASS_TINY //note: can be picked up by aliens unlike most other items of w_class below 4
- flags = MASKINTERNALS
+ flags_1 = MASKINTERNALS_1
throw_range = 5
tint = 3
flags_cover = MASKCOVERSEYES | MASKCOVERSMOUTH
diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm
index 8f5720164e..9445803adf 100644
--- a/code/modules/mob/living/carbon/carbon.dm
+++ b/code/modules/mob/living/carbon/carbon.dm
@@ -165,7 +165,7 @@
var/end_T_descriptor = "tile at [end_T.x], [end_T.y], [end_T.z] in area [get_area(end_T)]"
add_logs(src, throwable_mob, "thrown", addition="from [start_T_descriptor] with the target [end_T_descriptor]")
- else if(!(I.flags & (NODROP|ABSTRACT)))
+ else if(!(I.flags_1 & (NODROP_1|ABSTRACT_1)))
thrown_thing = I
dropItemToGround(I)
@@ -187,13 +187,13 @@
[name]
-
Head: [(head && !(head.flags&ABSTRACT)) ? head : "Nothing"]
-
Mask: [(wear_mask && !(wear_mask.flags&ABSTRACT)) ? wear_mask : "Nothing"]
-
Neck: [(wear_neck && !(wear_neck.flags&ABSTRACT)) ? wear_neck : "Nothing"]"}
+
Head: [(head && !(head.flags_1&ABSTRACT_1)) ? head : "Nothing"]
+
Mask: [(wear_mask && !(wear_mask.flags_1&ABSTRACT_1)) ? wear_mask : "Nothing"]
+
Neck: [(wear_neck && !(wear_neck.flags_1&ABSTRACT_1)) ? wear_neck : "Nothing"]"}
for(var/i in 1 to held_items.len)
var/obj/item/I = get_item_for_held_index(i)
- dat += "
[get_held_index_name(i)]:[(I && !(I.flags & ABSTRACT)) ? I : "Nothing"]"
+ dat += " [get_held_index_name(i)]: | [(I && !(I.flags_1 & ABSTRACT_1)) ? I : "Nothing"]"
dat += " Back: [back ? back : "Nothing"]"
@@ -393,7 +393,7 @@
return initial(pixel_y)
/mob/living/carbon/proc/accident(obj/item/I)
- if(!I || (I.flags & (NODROP|ABSTRACT)))
+ if(!I || (I.flags_1 & (NODROP_1|ABSTRACT_1)))
return
dropItemToGround(I)
diff --git a/code/modules/mob/living/carbon/carbon.dm.rej b/code/modules/mob/living/carbon/carbon.dm.rej
new file mode 100644
index 0000000000..23a1954a8f
--- /dev/null
+++ b/code/modules/mob/living/carbon/carbon.dm.rej
@@ -0,0 +1,19 @@
+diff a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm (rejected hunks)
+@@ -213,7 +213,7 @@
+ if(href_list["internal"])
+ var/slot = text2num(href_list["internal"])
+ var/obj/item/ITEM = get_item_by_slot(slot)
+- if(ITEM && istype(ITEM, /obj/item/tank) && wear_mask && (wear_mask.flags & MASKINTERNALS))
++ if(ITEM && istype(ITEM, /obj/item/tank) && wear_mask && (wear_mask.flags_1 & MASKINTERNALS_1))
+ visible_message("[usr] tries to [internal ? "close" : "open"] the valve on [src]'s [ITEM.name].", \
+ "[usr] tries to [internal ? "close" : "open"] the valve on [src]'s [ITEM.name].")
+ if(do_mob(usr, src, POCKET_STRIP_DELAY))
+@@ -221,7 +221,7 @@
+ internal = null
+ update_internals_hud_icon(0)
+ else if(ITEM && istype(ITEM, /obj/item/tank))
+- if((wear_mask && (wear_mask.flags & MASKINTERNALS)) || getorganslot("breathing_tube"))
++ if((wear_mask && (wear_mask.flags_1 & MASKINTERNALS_1)) || getorganslot("breathing_tube"))
+ internal = ITEM
+ update_internals_hud_icon(1)
+
diff --git a/code/modules/mob/living/carbon/carbon_defense.dm b/code/modules/mob/living/carbon/carbon_defense.dm
index dcc2655e9a..fab12538fc 100644
--- a/code/modules/mob/living/carbon/carbon_defense.dm
+++ b/code/modules/mob/living/carbon/carbon_defense.dm
@@ -24,9 +24,9 @@
/mob/living/carbon/get_ear_protection()
var/number = ..()
- if(ears && HAS_SECONDARY_FLAG(ears, BANG_PROTECT))
+ if(ears && (ears.flags_2 & BANG_PROTECT_2))
number += 1
- if(head && HAS_SECONDARY_FLAG(head, BANG_PROTECT))
+ if(head && (head.flags_2 & BANG_PROTECT_2))
number += 1
var/obj/item/organ/ears/E = getorganslot("ears")
if(!E)
@@ -210,7 +210,7 @@
..()
/mob/living/carbon/electrocute_act(shock_damage, obj/source, siemens_coeff = 1, safety = 0, override = 0, tesla_shock = 0, illusion = 0, stun = TRUE)
- if(tesla_shock && HAS_SECONDARY_FLAG(src, TESLA_IGNORE))
+ if(tesla_shock && (flags_2 & TESLA_IGNORE_2))
return FALSE
shock_damage *= siemens_coeff
if(dna && dna.species)
diff --git a/code/modules/mob/living/carbon/examine.dm b/code/modules/mob/living/carbon/examine.dm
index e30556db30..600a50e595 100644
--- a/code/modules/mob/living/carbon/examine.dm
+++ b/code/modules/mob/living/carbon/examine.dm
@@ -18,7 +18,7 @@
msg += "[t_He] [t_is] wearing [icon2html(wear_neck, user)] \a [src.wear_neck] around [t_his] neck.\n"
for(var/obj/item/I in held_items)
- if(!(I.flags & ABSTRACT))
+ if(!(I.flags_1 & ABSTRACT_1))
if(I.blood_DNA)
msg += "[t_He] [t_is] holding [icon2html(I, user)] [I.gender==PLURAL?"some":"a"] blood-stained [I.name] in [t_his] [get_held_index_name(get_held_index_of_item(I))]!\n"
else
diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm
index c2bec849e2..11c01bbbce 100644
--- a/code/modules/mob/living/carbon/human/examine.dm
+++ b/code/modules/mob/living/carbon/human/examine.dm
@@ -56,7 +56,7 @@
//Hands
for(var/obj/item/I in held_items)
- if(!(I.flags & ABSTRACT))
+ if(!(I.flags_1 & ABSTRACT_1))
if(I.blood_DNA)
msg += "[t_He] [t_is] holding [icon2html(I, user)] [I.gender==PLURAL?"some":"a"] blood-stained [I.name] in [t_his] [get_held_index_name(get_held_index_of_item(I))]!\n"
else
diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm
index 4424e80ce8..d62b34f5c2 100644
--- a/code/modules/mob/living/carbon/human/human.dm
+++ b/code/modules/mob/living/carbon/human/human.dm
@@ -275,11 +275,11 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy)
var/obj/item/place_item = usr.get_active_held_item() // Item to place in the pocket, if it's empty
var/delay_denominator = 1
- if(pocket_item && !(pocket_item.flags&ABSTRACT))
- if(pocket_item.flags & NODROP)
+ if(pocket_item && !(pocket_item.flags_1&ABSTRACT_1))
+ if(pocket_item.flags_1 & NODROP_1)
to_chat(usr, "You try to empty [src]'s [pocket_side] pocket, it seems to be stuck!")
to_chat(usr, "You try to empty [src]'s [pocket_side] pocket.")
- else if(place_item && place_item.mob_can_equip(src, usr, pocket_id, 1) && !(place_item.flags&ABSTRACT))
+ else if(place_item && place_item.mob_can_equip(src, usr, pocket_id, 1) && !(place_item.flags_1&ABSTRACT_1))
to_chat(usr, "You try to place [place_item] into [src]'s [pocket_side] pocket.")
delay_denominator = 4
else
@@ -525,10 +525,10 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy)
// If targeting the head, see if the head item is thin enough.
// If targeting anything else, see if the wear suit is thin enough.
if(above_neck(target_zone))
- if(head && head.flags & THICKMATERIAL && !penetrate_thick)
+ if(head && head.flags_1 & THICKMATERIAL_1 && !penetrate_thick)
. = 0
else
- if(wear_suit && wear_suit.flags & THICKMATERIAL && !penetrate_thick)
+ if(wear_suit && wear_suit.flags_1 & THICKMATERIAL_1 && !penetrate_thick)
. = 0
if(!. && error_msg && user)
// Might need re-wording.
diff --git a/code/modules/mob/living/carbon/human/human.dm.rej b/code/modules/mob/living/carbon/human/human.dm.rej
new file mode 100644
index 0000000000..51e11c569e
--- /dev/null
+++ b/code/modules/mob/living/carbon/human/human.dm.rej
@@ -0,0 +1,91 @@
+diff a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm (rejected hunks)
+@@ -141,42 +141,42 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy)
+ dat += ""
+ for(var/i in 1 to held_items.len)
+ var/obj/item/I = get_item_for_held_index(i)
+- dat += "| [get_held_index_name(i)]: | [(I && !(I.flags & ABSTRACT)) ? I : "Empty"] | "
++ dat += "| [get_held_index_name(i)]: | [(I && !(I.flags_1 & ABSTRACT_1)) ? I : "Empty"] | "
+ dat += "| | "
+
+- dat += "| Back: | [(back && !(back.flags&ABSTRACT)) ? back : "Empty"]"
++ dat += " | | Back: | [(back && !(back.flags_1&ABSTRACT_1)) ? back : "Empty"]"
+ if(has_breathable_mask && istype(back, /obj/item/tank))
+ dat += " [internal ? "Disable Internals" : "Set Internals"]"
+
+ dat += " | | | "
+
+- dat += "| Head: | [(head && !(head.flags&ABSTRACT)) ? head : "Empty"] | "
++ dat += "| Head: | [(head && !(head.flags_1&ABSTRACT_1)) ? head : "Empty"] | "
+
+ if(slot_wear_mask in obscured)
+ dat += "| Mask: | Obscured | "
+ else
+- dat += "| Mask: | [(wear_mask && !(wear_mask.flags&ABSTRACT)) ? wear_mask : "Empty"] | "
++ dat += "| Mask: | [(wear_mask && !(wear_mask.flags_1&ABSTRACT_1)) ? wear_mask : "Empty"] | "
+
+ if(slot_neck in obscured)
+ dat += "| Neck: | Obscured | "
+ else
+- dat += "| Neck: | [(wear_neck && !(wear_neck.flags&ABSTRACT)) ? wear_neck : "Empty"] | "
++ dat += "| Neck: | [(wear_neck && !(wear_neck.flags_1&ABSTRACT_1)) ? wear_neck : "Empty"] | "
+
+ if(slot_glasses in obscured)
+ dat += "| Eyes: | Obscured | "
+ else
+- dat += "| Eyes: | [(glasses && !(glasses.flags&ABSTRACT)) ? glasses : "Empty"] | "
++ dat += "| Eyes: | [(glasses && !(glasses.flags_1&ABSTRACT_1)) ? glasses : "Empty"] | "
+
+ if(slot_ears in obscured)
+ dat += "| Ears: | Obscured | "
+ else
+- dat += "| Ears: | [(ears && !(ears.flags&ABSTRACT)) ? ears : "Empty"] | "
++ dat += "| Ears: | [(ears && !(ears.flags_1&ABSTRACT_1)) ? ears : "Empty"] | "
+
+ dat += "| | "
+
+- dat += "| Exosuit: | [(wear_suit && !(wear_suit.flags&ABSTRACT)) ? wear_suit : "Empty"] | "
++ dat += "| Exosuit: | [(wear_suit && !(wear_suit.flags_1&ABSTRACT_1)) ? wear_suit : "Empty"] | "
+ if(wear_suit)
+- dat += "| ↳Suit Storage: | [(s_store && !(s_store.flags&ABSTRACT)) ? s_store : "Empty"]"
++ dat += " | | ↳Suit Storage: | [(s_store && !(s_store.flags_1&ABSTRACT_1)) ? s_store : "Empty"]"
+ if(has_breathable_mask && istype(s_store, /obj/item/tank))
+ dat += " [internal ? "Disable Internals" : "Set Internals"]"
+ dat += " | "
+@@ -186,30 +186,30 @@ INITIALIZE_IMMEDIATE(/mob/living/carbon/human/dummy)
+ if(slot_shoes in obscured)
+ dat += "| Shoes: | Obscured | "
+ else
+- dat += "| Shoes: | [(shoes && !(shoes.flags&ABSTRACT)) ? shoes : "Empty"] | "
++ dat += "| Shoes: | [(shoes && !(shoes.flags_1&ABSTRACT_1)) ? shoes : "Empty"] | "
+
+ if(slot_gloves in obscured)
+ dat += "| Gloves: | Obscured | "
+ else
+- dat += "| Gloves: | [(gloves && !(gloves.flags&ABSTRACT)) ? gloves : "Empty"] | "
++ dat += "| Gloves: | [(gloves && !(gloves.flags_1&ABSTRACT_1)) ? gloves : "Empty"] | "
+
+ if(slot_w_uniform in obscured)
+ dat += "| Uniform: | Obscured | "
+ else
+- dat += "| Uniform: | [(w_uniform && !(w_uniform.flags&ABSTRACT)) ? w_uniform : "Empty"] | "
++ dat += "| Uniform: | [(w_uniform && !(w_uniform.flags_1&ABSTRACT_1)) ? w_uniform : "Empty"] | "
+
+ if((w_uniform == null && !(dna && dna.species.nojumpsuit)) || (slot_w_uniform in obscured))
+ dat += "| ↳Pockets: | "
+ dat += "| ↳ID: | "
+ dat += "| ↳Belt: | "
+ else
+- dat += "| ↳Belt: | [(belt && !(belt.flags&ABSTRACT)) ? belt : "Empty"]"
++ dat += " | | ↳Belt: | [(belt && !(belt.flags_1&ABSTRACT_1)) ? belt : "Empty"]"
+ if(has_breathable_mask && istype(belt, /obj/item/tank))
+ dat += " [internal ? "Disable Internals" : "Set Internals"]"
+ dat += " | "
+- dat += "| ↳Pockets: | [(l_store && !(l_store.flags&ABSTRACT)) ? "Left (Full)" : "Left (Empty)"]"
+- dat += " [(r_store && !(r_store.flags&ABSTRACT)) ? "Right (Full)" : "Right (Empty)"] | "
+- dat += "| ↳ID: | [(wear_id && !(wear_id.flags&ABSTRACT)) ? wear_id : "Empty"] | "
++ dat += "| ↳Pockets: | [(l_store && !(l_store.flags_1&ABSTRACT_1)) ? "Left (Full)" : "Left (Empty)"]"
++ dat += " [(r_store && !(r_store.flags_1&ABSTRACT_1)) ? "Right (Full)" : "Right (Empty)"] | "
++ dat += "| ↳ID: | [(wear_id && !(wear_id.flags_1&ABSTRACT_1)) ? wear_id : "Empty"] | "
+
+ if(handcuffed)
+ dat += "| Handcuffed: Remove | "
diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm
index 238e9d53ce..b4a57ea361 100644
--- a/code/modules/mob/living/carbon/human/human_defense.dm
+++ b/code/modules/mob/living/carbon/human/human_defense.dm
@@ -442,7 +442,7 @@
else if(S.siemens_coefficient == (-1))
total_coeff -= 1
siemens_coeff = total_coeff
- if(HAS_SECONDARY_FLAG(src, TESLA_IGNORE))
+ if(flags_2 & TESLA_IGNORE_2)
siemens_coeff = 0
else if(!safety)
var/gloves_siemens_coeff = 1
diff --git a/code/modules/mob/living/carbon/human/human_helpers.dm b/code/modules/mob/living/carbon/human/human_helpers.dm
index 3dacc2f444..4c42447971 100644
--- a/code/modules/mob/living/carbon/human/human_helpers.dm
+++ b/code/modules/mob/living/carbon/human/human_helpers.dm
@@ -94,10 +94,10 @@
/mob/living/carbon/human/abiotic(full_body = 0)
var/abiotic_hands = FALSE
for(var/obj/item/I in held_items)
- if(!(I.flags & NODROP))
+ if(!(I.flags_1 & NODROP_1))
abiotic_hands = TRUE
break
- if(full_body && abiotic_hands && ((back && !(back.flags&NODROP)) || (wear_mask && !(wear_mask.flags&NODROP)) || (head && !(head.flags&NODROP)) || (shoes && !(shoes.flags&NODROP)) || (w_uniform && !(w_uniform.flags&NODROP)) || (wear_suit && !(wear_suit.flags&NODROP)) || (glasses && !(glasses.flags&NODROP)) || (ears && !(ears.flags&NODROP)) || (gloves && !(gloves.flags&NODROP)) ) )
+ if(full_body && abiotic_hands && ((back && !(back.flags_1&NODROP_1)) || (wear_mask && !(wear_mask.flags_1&NODROP_1)) || (head && !(head.flags_1&NODROP_1)) || (shoes && !(shoes.flags_1&NODROP_1)) || (w_uniform && !(w_uniform.flags_1&NODROP_1)) || (wear_suit && !(wear_suit.flags_1&NODROP_1)) || (glasses && !(glasses.flags_1&NODROP_1)) || (ears && !(ears.flags_1&NODROP_1)) || (gloves && !(gloves.flags_1&NODROP_1)) ) )
return TRUE
return abiotic_hands
diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm
index b2ac6813ed..52650ec273 100644
--- a/code/modules/mob/living/carbon/human/human_movement.dm
+++ b/code/modules/mob/living/carbon/human/human_movement.dm
@@ -5,13 +5,13 @@
. += dna.species.movement_delay(src)
/mob/living/carbon/human/slip(knockdown_amount, obj/O, lube)
- if(isobj(shoes) && (shoes.flags&NOSLIP) && !(lube&GALOSHES_DONT_HELP))
+ if(isobj(shoes) && (shoes.flags_1&NOSLIP_1) && !(lube&GALOSHES_DONT_HELP))
return 0
return ..()
/mob/living/carbon/human/experience_pressure_difference()
playsound(src, 'sound/effects/space_wind.ogg', 50, 1)
- if(shoes && shoes.flags&NOSLIP)
+ if(shoes && shoes.flags_1&NOSLIP_1)
return 0
return ..()
diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm
index 3bed38cf69..6f0f3a37b7 100644
--- a/code/modules/mob/living/carbon/human/life.dm
+++ b/code/modules/mob/living/carbon/human/life.dm
@@ -55,7 +55,7 @@
/mob/living/carbon/human/calculate_affecting_pressure(pressure)
- if((wear_suit && (wear_suit.flags & STOPSPRESSUREDMAGE)) && (head && (head.flags & STOPSPRESSUREDMAGE)))
+ if((wear_suit && (wear_suit.flags_1 & STOPSPRESSUREDMAGE_1)) && (head && (head.flags_1 & STOPSPRESSUREDMAGE_1)))
return ONE_ATMOSPHERE
else
return pressure
@@ -285,13 +285,13 @@
/mob/living/carbon/human/has_smoke_protection()
if(wear_mask)
- if(wear_mask.flags & BLOCK_GAS_SMOKE_EFFECT)
+ if(wear_mask.flags_1 & BLOCK_GAS_SMOKE_EFFECT_1)
. = 1
if(glasses)
- if(glasses.flags & BLOCK_GAS_SMOKE_EFFECT)
+ if(glasses.flags_1 & BLOCK_GAS_SMOKE_EFFECT_1)
. = 1
if(head)
- if(head.flags & BLOCK_GAS_SMOKE_EFFECT)
+ if(head.flags_1 & BLOCK_GAS_SMOKE_EFFECT_1)
. = 1
if(NOBREATH in dna.species.species_traits)
. = 1
diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm
index 6f01593933..a23f703185 100644
--- a/code/modules/mob/living/carbon/human/species.dm
+++ b/code/modules/mob/living/carbon/human/species.dm
@@ -216,7 +216,7 @@
if(mutanthands)
// Drop items in hands
- // If you're lucky enough to have a NODROP item, then it stays.
+ // If you're lucky enough to have a NODROP_1 item, then it stays.
for(var/V in C.held_items)
var/obj/item/I = V
if(istype(I))
@@ -910,7 +910,7 @@
return 0
return equip_delay_self_check(I, H, bypass_equip_delay_self)
if(slot_l_store)
- if(I.flags & NODROP) //Pockets aren't visible, so you can't move NODROP items into them.
+ if(I.flags_1 & NODROP_1) //Pockets aren't visible, so you can't move NODROP_1 items into them.
return 0
if(H.l_store)
return 0
@@ -926,7 +926,7 @@
if( I.w_class <= WEIGHT_CLASS_SMALL || (I.slot_flags & SLOT_POCKET) )
return 1
if(slot_r_store)
- if(I.flags & NODROP)
+ if(I.flags_1 & NODROP_1)
return 0
if(H.r_store)
return 0
@@ -943,7 +943,7 @@
return 1
return 0
if(slot_s_store)
- if(I.flags & NODROP)
+ if(I.flags_1 & NODROP_1)
return 0
if(H.s_store)
return 0
@@ -1180,7 +1180,7 @@
if(H.back)
. += H.back.slowdown
for(var/obj/item/I in H.held_items)
- if(HAS_SECONDARY_FLAG(I, SLOWS_WHILE_IN_HAND))
+ if(I.flags_2 & SLOWS_WHILE_IN_HAND_2)
. += I.slowdown
var/health_deficiency = (100 - H.health + H.staminaloss)
var/hungry = (500 - H.nutrition) / 5 // So overeat would be 100 and default level would be 80
diff --git a/code/modules/mob/living/carbon/human/species_types/plasmamen.dm b/code/modules/mob/living/carbon/human/species_types/plasmamen.dm
index 6ac2934ea4..89bd803e12 100644
--- a/code/modules/mob/living/carbon/human/species_types/plasmamen.dm
+++ b/code/modules/mob/living/carbon/human/species_types/plasmamen.dm
@@ -20,7 +20,7 @@
/datum/species/plasmaman/spec_life(mob/living/carbon/human/H)
var/datum/gas_mixture/environment = H.loc.return_air()
- var/atmos_sealed = (H.wear_suit && (H.wear_suit.flags & STOPSPRESSUREDMAGE)) && (H.head && (H.head.flags & STOPSPRESSUREDMAGE))
+ var/atmos_sealed = (H.wear_suit && (H.wear_suit.flags_1 & STOPSPRESSUREDMAGE_1)) && (H.head && (H.head.flags_1 & STOPSPRESSUREDMAGE_1))
if((!istype(H.w_uniform, /obj/item/clothing/under/plasmaman) || !istype(H.head, /obj/item/clothing/head/helmet/space/plasmaman)) && !atmos_sealed)
if(environment)
if(environment.total_moles())
diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm
index c52d9862ad..5a618544f0 100644
--- a/code/modules/mob/living/carbon/life.dm
+++ b/code/modules/mob/living/carbon/life.dm
@@ -214,7 +214,7 @@
if(internal.loc != src)
internal = null
update_internals_hud_icon(0)
- else if ((!wear_mask || !(wear_mask.flags & MASKINTERNALS)) && !getorganslot("breathing_tube"))
+ else if ((!wear_mask || !(wear_mask.flags_1 & MASKINTERNALS_1)) && !getorganslot("breathing_tube"))
internal = null
update_internals_hud_icon(0)
else
diff --git a/code/modules/mob/living/carbon/monkey/combat.dm.rej b/code/modules/mob/living/carbon/monkey/combat.dm.rej
new file mode 100644
index 0000000000..6a03552601
--- /dev/null
+++ b/code/modules/mob/living/carbon/monkey/combat.dm.rej
@@ -0,0 +1,19 @@
+diff a/code/modules/mob/living/carbon/monkey/combat.dm b/code/modules/mob/living/carbon/monkey/combat.dm (rejected hunks)
+@@ -153,7 +153,7 @@
+ if(!locate(/obj/item) in held_items)
+ best_force = 0
+
+- if(restrained() || blacklistItems[pickupTarget] || (pickupTarget && (pickupTarget.flags & NODROP)))
++ if(restrained() || blacklistItems[pickupTarget] || (pickupTarget && (pickupTarget.flags_1 & NODROP_1)))
+ pickupTarget = null
+
+ if(!resisting && pickupTarget)
+@@ -274,7 +274,7 @@
+ // check if target has a weapon
+ var/obj/item/W
+ for(var/obj/item/I in target.held_items)
+- if(!(I.flags & ABSTRACT))
++ if(!(I.flags_1 & ABSTRACT_1))
+ W = I
+ break
+
diff --git a/code/modules/mob/living/carbon/monkey/life.dm b/code/modules/mob/living/carbon/monkey/life.dm
index a9eddc6dd0..ae984fa5c7 100644
--- a/code/modules/mob/living/carbon/monkey/life.dm
+++ b/code/modules/mob/living/carbon/monkey/life.dm
@@ -138,7 +138,7 @@
/mob/living/carbon/monkey/has_smoke_protection()
if(wear_mask)
- if(wear_mask.flags & BLOCK_GAS_SMOKE_EFFECT)
+ if(wear_mask.flags_1 & BLOCK_GAS_SMOKE_EFFECT_1)
return 1
/mob/living/carbon/monkey/handle_fire()
diff --git a/code/modules/mob/living/death.dm b/code/modules/mob/living/death.dm
index 0fd86ed02e..63a3c3dfa6 100644
--- a/code/modules/mob/living/death.dm
+++ b/code/modules/mob/living/death.dm
@@ -52,7 +52,7 @@
var/area/A = get_area(T)
for(var/obj/item/I in contents)
I.on_mob_death(src, gibbed)
- if(mind && mind.name && mind.active && (!(T.flags & NO_DEATHRATTLE)))
+ if(mind && mind.name && mind.active && (!(T.flags_1 & NO_DEATHRATTLE_1)))
var/rendered = "[mind.name] has died at [A.name]."
deadchat_broadcast(rendered, follow_target = src, turf_target = T, message_type=DEADCHAT_DEATHRATTLE)
if(mind)
diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm
index edf54e547a..567061e1a4 100644
--- a/code/modules/mob/living/living.dm
+++ b/code/modules/mob/living/living.dm
@@ -635,7 +635,7 @@
// The src mob is trying to strip an item from someone
// Override if a certain type of mob should be behave differently when stripping items (can't, for example)
/mob/living/stripPanelUnequip(obj/item/what, mob/who, where)
- if(what.flags & NODROP)
+ if(what.flags_1 & NODROP_1)
to_chat(src, "You can't remove \the [what.name], it appears to be stuck!")
return
who.visible_message("[src] tries to remove [who]'s [what.name].", \
@@ -656,7 +656,7 @@
// Override if a certain mob should be behave differently when placing items (can't, for example)
/mob/living/stripPanelEquip(obj/item/what, mob/who, where)
what = src.get_active_held_item()
- if(what && (what.flags & NODROP))
+ if(what && (what.flags_1 & NODROP_1))
to_chat(src, "You can't put \the [what.name] on [who], it's stuck to your hand!")
return
if(what)
diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm
index 578eaec93e..2cf7803294 100644
--- a/code/modules/mob/living/living_defense.dm
+++ b/code/modules/mob/living/living_defense.dm
@@ -277,7 +277,7 @@
return 1
/mob/living/proc/electrocute_act(shock_damage, obj/source, siemens_coeff = 1, safety = 0, tesla_shock = 0, illusion = 0, stun = TRUE)
- if(tesla_shock && HAS_SECONDARY_FLAG(src, TESLA_IGNORE))
+ if(tesla_shock && (flags_2 & TESLA_IGNORE_2))
return FALSE
if(shock_damage > 0)
if(!illusion)
diff --git a/code/modules/mob/living/silicon/pai/software.dm b/code/modules/mob/living/silicon/pai/software.dm
index f0c50e17f1..eb6652157f 100644
--- a/code/modules/mob/living/silicon/pai/software.dm
+++ b/code/modules/mob/living/silicon/pai/software.dm
@@ -253,7 +253,7 @@
med.remove_hud_from(src)
if("translator")
if(href_list["toggle"])
- if(!HAS_SECONDARY_FLAG(src, OMNITONGUE))
+ if(!(flags_2 & OMNITONGUE_2))
grant_all_languages(TRUE)
// this is PERMAMENT.
if("doorjack")
@@ -313,7 +313,7 @@
if(s == "medical HUD")
dat += "Medical Analysis Suite[(src.medHUD) ? " On" : " Off"] "
if(s == "universal translator")
- var/translator_on = HAS_SECONDARY_FLAG(src, OMNITONGUE)
+ var/translator_on = (flags_2 & OMNITONGUE_2)
dat += "Universal Translator[translator_on ? " On" : " Off"] "
if(s == "projection array")
dat += "Projection Array "
@@ -465,7 +465,7 @@
// Universal Translator
/mob/living/silicon/pai/proc/softwareTranslator()
- var/translator_on = HAS_SECONDARY_FLAG(src, OMNITONGUE)
+ var/translator_on = (flags_2 & OMNITONGUE_2)
. = {"Universal Translator
When enabled, this device will permamently be able to speak and understand all known forms of communication.
The device is currently [translator_on ? "en" : "dis" ]abled. [translator_on ? "" : "Activate Translation Module "]"}
diff --git a/code/modules/mob/living/silicon/robot/inventory.dm b/code/modules/mob/living/silicon/robot/inventory.dm
index ef42a85632..85add99704 100644
--- a/code/modules/mob/living/silicon/robot/inventory.dm
+++ b/code/modules/mob/living/silicon/robot/inventory.dm
@@ -36,8 +36,8 @@
observer_screen_update(O,FALSE)
O.forceMove(module) //Return item to module so it appears in its contents, so it can be taken out again.
- if(DROPDEL & O.flags)
- O.flags &= ~DROPDEL //we shouldn't HAVE things with DROPDEL in our modules, but better safe than runtiming horribly
+ if(O.flags_1 & DROPDEL_1)
+ O.flags_1 &= ~DROPDEL_1 //we shouldn't HAVE things with DROPDEL_1 in our modules, but better safe than runtiming horribly
O.dropped(src)
diff --git a/code/modules/mob/living/silicon/robot/robot.dm b/code/modules/mob/living/silicon/robot/robot.dm
index 520a060e9e..199ce71fc6 100644
--- a/code/modules/mob/living/silicon/robot/robot.dm
+++ b/code/modules/mob/living/silicon/robot/robot.dm
@@ -1007,9 +1007,9 @@
status_flags &= ~CANPUSH
if(module.clean_on_move)
- flags |= CLEAN_ON_MOVE
+ flags_1 |= CLEAN_ON_MOVE_1
else
- flags &= ~CLEAN_ON_MOVE
+ flags_1 &= ~CLEAN_ON_MOVE_1
hat_offset = module.hat_offset
diff --git a/code/modules/mob/living/silicon/robot/robot_modules.dm b/code/modules/mob/living/silicon/robot/robot_modules.dm
index fd7d209604..8df0780d97 100644
--- a/code/modules/mob/living/silicon/robot/robot_modules.dm
+++ b/code/modules/mob/living/silicon/robot/robot_modules.dm
@@ -6,7 +6,7 @@
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
var/list/basic_modules = list() //a list of paths, converted to a list of instances on New()
var/list/emag_modules = list() //ditto
diff --git a/code/modules/mob/living/silicon/robot/robot_modules.dm.rej b/code/modules/mob/living/silicon/robot/robot_modules.dm.rej
new file mode 100644
index 0000000000..ad89ae720b
--- /dev/null
+++ b/code/modules/mob/living/silicon/robot/robot_modules.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/mob/living/silicon/robot/robot_modules.dm b/code/modules/mob/living/silicon/robot/robot_modules.dm (rejected hunks)
+@@ -121,7 +121,7 @@
+ if(I.loc != src)
+ I.forceMove(src)
+ modules += I
+- I.flags |= NODROP
++ I.flags_1 |= NODROP_1
+ I.mouse_opacity = MOUSE_OPACITY_OPAQUE
+ if(nonstandard)
+ added_modules += I
diff --git a/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm b/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm
index b37d5079d7..f798b9ac85 100644
--- a/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm
+++ b/code/modules/mob/living/simple_animal/friendly/drone/_drone.dm
@@ -92,7 +92,7 @@
var/obj/item/I = new default_hatmask(src)
equip_to_slot_or_del(I, slot_head)
- access_card.flags |= NODROP
+ access_card.flags_1 |= NODROP_1
alert_drones(DRONE_NET_CONNECT)
@@ -175,21 +175,21 @@
//Hands
for(var/obj/item/I in held_items)
- if(!(I.flags & ABSTRACT))
+ if(!(I.flags_1 & ABSTRACT_1))
if(I.blood_DNA)
msg += "It has [icon2html(I, user)] [I.gender==PLURAL?"some":"a"] blood-stained [I.name] in its [get_held_index_name(get_held_index_of_item(I))]!\n"
else
msg += "It has [icon2html(I, user)] \a [I] in its [get_held_index_name(get_held_index_of_item(I))].\n"
//Internal storage
- if(internal_storage && !(internal_storage.flags&ABSTRACT))
+ if(internal_storage && !(internal_storage.flags_1&ABSTRACT_1))
if(internal_storage.blood_DNA)
msg += "It is holding [icon2html(internal_storage, user)] [internal_storage.gender==PLURAL?"some":"a"] blood-stained [internal_storage.name] in its internal storage!\n"
else
msg += "It is holding [icon2html(internal_storage, user)] \a [internal_storage] in its internal storage.\n"
//Cosmetic hat - provides no function other than looks
- if(head && !(head.flags&ABSTRACT))
+ if(head && !(head.flags_1&ABSTRACT_1))
if(head.blood_DNA)
msg += "It is wearing [icon2html(head, user)] [head.gender==PLURAL?"some":"a"] blood-stained [head.name] on its head!\n"
else
diff --git a/code/modules/mob/living/simple_animal/guardian/types/dextrous.dm b/code/modules/mob/living/simple_animal/guardian/types/dextrous.dm
index 02754e0121..2f3ee4cefb 100644
--- a/code/modules/mob/living/simple_animal/guardian/types/dextrous.dm
+++ b/code/modules/mob/living/simple_animal/guardian/types/dextrous.dm
@@ -30,13 +30,13 @@
msg += "[desc]\n"
for(var/obj/item/I in held_items)
- if(!(I.flags & ABSTRACT))
+ if(!(I.flags_1 & ABSTRACT_1))
if(I.blood_DNA)
msg += "It has [icon2html(I, user)] [I.gender==PLURAL?"some":"a"] blood-stained [I.name] in its [get_held_index_name(get_held_index_of_item(I))]!\n"
else
msg += "It has [icon2html(I, user)] \a [I] in its [get_held_index_name(get_held_index_of_item(I))].\n"
- if(internal_storage && !(internal_storage.flags&ABSTRACT))
+ if(internal_storage && !(internal_storage.flags_1&ABSTRACT_1))
if(internal_storage.blood_DNA)
msg += "It is holding [icon2html(internal_storage, user)] [internal_storage.gender==PLURAL?"some":"a"] blood-stained [internal_storage.name] in its internal storage!\n"
else
diff --git a/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm.rej b/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm.rej
new file mode 100644
index 0000000000..9204780124
--- /dev/null
+++ b/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm b/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm (rejected hunks)
+@@ -80,7 +80,7 @@
+ /obj/item/restraints/legcuffs/beartrap/mega_arachnid
+ name = "fleshy restraints"
+ desc = "Used by mega arachnids to immobilize their prey."
+- flags = DROPDEL
++ flags_1 = DROPDEL_1
+ icon_state = "tentacle_end"
+ icon = 'icons/obj/projectiles.dmi'
+
diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/colossus.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/colossus.dm
index 6b528651f4..fad110c955 100644
--- a/code/modules/mob/living/simple_animal/hostile/megafauna/colossus.dm
+++ b/code/modules/mob/living/simple_animal/hostile/megafauna/colossus.dm
@@ -351,7 +351,7 @@ Difficulty: Very Hard
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
use_power = NO_POWER_USE
density = TRUE
- flags = HEAR
+ flags_1 = HEAR_1
var/activation_method
var/list/possible_methods = list(ACTIVATE_TOUCH, ACTIVATE_SPEECH, ACTIVATE_HEAT, ACTIVATE_BULLET, ACTIVATE_ENERGY, ACTIVATE_BOMB, ACTIVATE_MOB_BUMP, ACTIVATE_WEAPON, ACTIVATE_MAGIC)
@@ -667,7 +667,7 @@ Difficulty: Very Hard
for(var/i in T)
if(isitem(i) && !is_type_in_typecache(i, banned_items_typecache))
var/obj/item/W = i
- if(!W.admin_spawned && !HAS_SECONDARY_FLAG(W, HOLOGRAM) && !(W.flags & ABSTRACT))
+ if(!W.admin_spawned && !(W.flags_2 & HOLOGRAM_2) && !(W.flags_1 & ABSTRACT_1))
L += W
if(L.len)
var/obj/item/CHOSEN = pick(L)
diff --git a/code/modules/mob/living/simple_animal/hostile/wumborian_fugu.dm b/code/modules/mob/living/simple_animal/hostile/wumborian_fugu.dm
index 80fc8f366f..8266903dfa 100644
--- a/code/modules/mob/living/simple_animal/hostile/wumborian_fugu.dm
+++ b/code/modules/mob/living/simple_animal/hostile/wumborian_fugu.dm
@@ -104,7 +104,7 @@
desc = "The key to the wumborian fugu's ability to increase its mass arbitrarily, this disgusting remnant can apply the same effect to other creatures, giving them great strength."
icon = 'icons/obj/surgery.dmi'
icon_state = "fugu_gland"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
w_class = WEIGHT_CLASS_NORMAL
layer = MOB_LAYER
origin_tech = "biotech=6"
diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm
index 26b22d964e..0941ef9816 100644
--- a/code/modules/mob/mob.dm
+++ b/code/modules/mob/mob.dm
@@ -512,7 +512,7 @@
else
what = get_item_by_slot(slot)
if(what)
- if(!(what.flags & ABSTRACT))
+ if(!(what.flags_1 & ABSTRACT_1))
usr.stripPanelUnequip(what,src,slot)
else
usr.stripPanelEquip(what,src,slot)
diff --git a/code/modules/mob/mob_defines.dm b/code/modules/mob/mob_defines.dm
index 1da8a82c51..966dcbee6e 100644
--- a/code/modules/mob/mob_defines.dm
+++ b/code/modules/mob/mob_defines.dm
@@ -2,7 +2,7 @@
density = TRUE
layer = MOB_LAYER
animate_movement = 2
- flags = HEAR
+ flags_1 = HEAR_1
hud_possible = list(ANTAG_HUD)
pressure_resistance = 8
var/lighting_alpha = LIGHTING_PLANE_ALPHA_VISIBLE
diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm
index 999779c7e3..5bf1fcba3e 100644
--- a/code/modules/mob/mob_helpers.dm
+++ b/code/modules/mob/mob_helpers.dm
@@ -281,7 +281,7 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
/mob/proc/abiotic(full_body = 0)
for(var/obj/item/I in held_items)
- if(!(I.flags & NODROP))
+ if(!(I.flags_1 & NODROP_1))
return 1
return 0
diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm
index 714627b2c9..d795f4ff9e 100644
--- a/code/modules/mob/mob_movement.dm
+++ b/code/modules/mob/mob_movement.dm
@@ -274,7 +274,7 @@
R.reveal(20)
R.stun(20)
return
- if(stepTurf.flags & NOJAUNT)
+ if(stepTurf.flags_1 & NOJAUNT_1)
to_chat(L, "Holy energies block your path.")
else
L.loc = get_step(L, direct)
diff --git a/code/modules/mob/say_readme.dm b/code/modules/mob/say_readme.dm
index 0c64da1789..00e0f66246 100644
--- a/code/modules/mob/say_readme.dm
+++ b/code/modules/mob/say_readme.dm
@@ -11,7 +11,7 @@ This rewrite was needed, but is far from perfect. Report any bugs you come acros
Radio code, while very much related to saycode, is not something I wanted to touch, so the code related to that may be messy.
If you came here to see how to use saycode, all you will ever really need to call is say(message).
-To have things react when other things speak around them, add the HEAR flag to their flags variable and
+To have things react when other things speak around them, add the HEAR_1 flag to their flags variable and
override their Hear() proc.
=======================PROCS & VARIABLES=======================
@@ -28,7 +28,7 @@ global procs
recursive_hear_check(atom/O)
Checks for hearers by looping through the contents of O and the contents of the contents of O and etc and checking
- each object for the HEAR flag. Returns a list of objects with the HEAR flag.
+ each object for the HEAR_1 flag. Returns a list of objects with the HEAR_1 flag.
get_hear(range, atom/source)
Like view(), but ignores luminosity.
@@ -44,7 +44,7 @@ global procs
/atom/movable
flags
- The HEAR flag determines whether something is a hearer or not.
+ The HEAR_1 flag determines whether something is a hearer or not.
Hear() is only called on procs with this flag.
languages_spoken/languages_understood
@@ -66,7 +66,7 @@ global procs
IMPORTANT NOTE: If radio_freq is not null, the code will assume that the speaker is virtual! (more info on this in the Radios section below)
send_speech(message, range, source, bubble_type, spans)
- This proc composes a list of hearers (things with the HEAR flag + dead people) and calls Hear() on them.
+ This proc composes a list of hearers (things with the HEAR_1 flag + dead people) and calls Hear() on them.
Message treatment or composition of output are not done by this proc, these are handled by the rest of
say() and the hearer respectively.
diff --git a/code/modules/modular_computers/computers/item/computer_damage.dm b/code/modules/modular_computers/computers/item/computer_damage.dm
index 5e521a04e1..a0cdb2e97a 100644
--- a/code/modules/modular_computers/computers/item/computer_damage.dm
+++ b/code/modules/modular_computers/computers/item/computer_damage.dm
@@ -17,7 +17,7 @@
break_apart()
/obj/item/device/modular_computer/proc/break_apart()
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
physical.visible_message("\The [src] breaks apart!")
var/turf/newloc = get_turf(src)
new /obj/item/stack/sheet/metal(newloc, round(steel_sheet_cost/2))
diff --git a/code/modules/modular_computers/computers/item/laptop.dm b/code/modules/modular_computers/computers/item/laptop.dm
index af6d089f35..b6cf404248 100644
--- a/code/modules/modular_computers/computers/item/laptop.dm
+++ b/code/modules/modular_computers/computers/item/laptop.dm
@@ -12,6 +12,9 @@
max_hardware_size = 2
w_class = WEIGHT_CLASS_NORMAL
+ // No running around with open laptops in hands.
+ flags_2 = SLOWS_WHILE_IN_HAND_2
+
screen_on = 0 // Starts closed
var/start_open = TRUE // unless this var is set to 1
var/icon_state_closed = "laptop-closed"
@@ -21,9 +24,6 @@
/obj/item/device/modular_computer/laptop/Initialize()
. = ..()
- // No running around with open laptops in hands.
- SET_SECONDARY_FLAG(src, SLOWS_WHILE_IN_HAND)
-
if(start_open && !screen_on)
toggle_open()
diff --git a/code/modules/modular_computers/computers/machinery/modular_computer.dm.rej b/code/modules/modular_computers/computers/machinery/modular_computer.dm.rej
new file mode 100644
index 0000000000..375995bf60
--- /dev/null
+++ b/code/modules/modular_computers/computers/machinery/modular_computer.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/modular_computers/computers/machinery/modular_computer.dm b/code/modules/modular_computers/computers/machinery/modular_computer.dm (rejected hunks)
+@@ -125,7 +125,7 @@
+ update_icon()
+
+ /obj/machinery/modular_computer/attackby(var/obj/item/W as obj, mob/user)
+- if(cpu && !(flags & NODECONSTRUCT))
++ if(cpu && !(flags_1 & NODECONSTRUCT_1))
+ return cpu.attackby(W, user)
+ return ..()
+
diff --git a/code/modules/ninja/suit/gloves.dm b/code/modules/ninja/suit/gloves.dm
index e9a350eae3..62b8cee415 100644
--- a/code/modules/ninja/suit/gloves.dm
+++ b/code/modules/ninja/suit/gloves.dm
@@ -77,5 +77,5 @@
/obj/item/clothing/gloves/space_ninja/examine(mob/user)
..()
- if(flags & NODROP)
+ if(flags_1 & NODROP_1)
to_chat(user, "The energy drain mechanism is: [candrain?"active":"inactive"].")
diff --git a/code/modules/ninja/suit/shoes.dm b/code/modules/ninja/suit/shoes.dm
index ac8326b13f..4cc0bc86c9 100644
--- a/code/modules/ninja/suit/shoes.dm
+++ b/code/modules/ninja/suit/shoes.dm
@@ -5,7 +5,7 @@
icon_state = "s-ninja"
item_state = "secshoes"
permeability_coefficient = 0.01
- flags = NOSLIP
+ flags_1 = NOSLIP_1
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
armor = list(melee = 60, bullet = 50, laser = 30,energy = 15, bomb = 30, bio = 30, rad = 30, fire = 100, acid = 100)
strip_delay = 120
diff --git a/code/modules/ninja/suit/suit.dm b/code/modules/ninja/suit/suit.dm
index b673db5456..7cf0932115 100644
--- a/code/modules/ninja/suit/suit.dm
+++ b/code/modules/ninja/suit/suit.dm
@@ -130,15 +130,15 @@ Contents:
to_chat(H, "ERROR: 110223 UNABLE TO LOCATE HAND GEAR\nABORTING...")
return FALSE
affecting = H
- flags |= NODROP //colons make me go all |=
+ flags_1 |= NODROP_1 //colons make me go all |=
slowdown = FALSE
n_hood = H.head
- n_hood.flags |= NODROP
+ n_hood.flags_1 |= NODROP_1
n_shoes = H.shoes
- n_shoes.flags |= NODROP
+ n_shoes.flags_1 |= NODROP_1
n_shoes.slowdown--
n_gloves = H.gloves
- n_gloves.flags |= NODROP
+ n_gloves.flags_1 |= NODROP_1
return TRUE
/obj/item/clothing/suit/space/space_ninja/proc/lockIcons(mob/living/carbon/human/H)
@@ -150,18 +150,18 @@ Contents:
//This proc allows the suit to be taken off.
/obj/item/clothing/suit/space/space_ninja/proc/unlock_suit()
affecting = null
- flags &= ~NODROP
+ flags_1 &= ~NODROP_1
slowdown = 1
icon_state = "s-ninja"
if(n_hood)//Should be attached, might not be attached.
- n_hood.flags &= ~NODROP
+ n_hood.flags_1 &= ~NODROP_1
if(n_shoes)
- n_shoes.flags &= ~NODROP
+ n_shoes.flags_1 &= ~NODROP_1
n_shoes.slowdown++
if(n_gloves)
n_gloves.icon_state = "s-ninja"
n_gloves.item_state = "s-ninja"
- n_gloves.flags &= ~NODROP
+ n_gloves.flags_1 &= ~NODROP_1
n_gloves.candrain=0
n_gloves.draining=0
diff --git a/code/modules/paperwork/contract.dm.rej b/code/modules/paperwork/contract.dm.rej
new file mode 100644
index 0000000000..2cfb1cdcb1
--- /dev/null
+++ b/code/modules/paperwork/contract.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/paperwork/contract.dm b/code/modules/paperwork/contract.dm (rejected hunks)
+@@ -5,7 +5,7 @@
+ throw_speed = 3
+ var/signed = FALSE
+ var/datum/mind/target
+- flags = NOBLUDGEON
++ flags_1 = NOBLUDGEON_1
+
+ /obj/item/paper/contract/proc/update_text()
+ return
diff --git a/code/modules/paperwork/filingcabinet.dm b/code/modules/paperwork/filingcabinet.dm
index ca77641a9b..d3dfbb8ea4 100644
--- a/code/modules/paperwork/filingcabinet.dm
+++ b/code/modules/paperwork/filingcabinet.dm
@@ -39,7 +39,7 @@
I.loc = src
/obj/structure/filingcabinet/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc, 2)
for(var/obj/item/I in src)
I.forceMove(loc)
diff --git a/code/modules/paperwork/paperplane.dm b/code/modules/paperwork/paperplane.dm
index ec50c81eff..f15aa9f47e 100644
--- a/code/modules/paperwork/paperplane.dm
+++ b/code/modules/paperwork/paperplane.dm
@@ -18,7 +18,7 @@
pixel_x = rand(-9, 9)
if(newPaper)
internalPaper = newPaper
- flags = newPaper.flags
+ flags_1 = newPaper.flags_1
color = newPaper.color
newPaper.forceMove(src)
else
diff --git a/code/modules/paperwork/pen.dm.rej b/code/modules/paperwork/pen.dm.rej
new file mode 100644
index 0000000000..0f04a96950
--- /dev/null
+++ b/code/modules/paperwork/pen.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/paperwork/pen.dm b/code/modules/paperwork/pen.dm (rejected hunks)
+@@ -168,7 +168,7 @@
+ */
+ /obj/item/pen/sleepy
+ origin_tech = "engineering=4;syndicate=2"
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+
+
+ /obj/item/pen/sleepy/attack(mob/living/M, mob/user)
diff --git a/code/modules/paperwork/photocopier.dm b/code/modules/paperwork/photocopier.dm
index 1aa8720c45..2b896afde4 100644
--- a/code/modules/paperwork/photocopier.dm
+++ b/code/modules/paperwork/photocopier.dm
@@ -314,7 +314,7 @@
return ..()
/obj/machinery/photocopier/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(toner > 0)
new /obj/effect/decal/cleanable/oil(get_turf(src))
toner = 0
diff --git a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm
index 4755f3d64a..092322234a 100644
--- a/code/modules/paperwork/photography.dm
+++ b/code/modules/paperwork/photography.dm
@@ -111,7 +111,7 @@
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_SMALL
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
materials = list(MAT_METAL=2000)
var/pictures_max = 10
@@ -602,7 +602,7 @@
add_overlay(getFlatIcon(framed))
/obj/structure/sign/picture_frame/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/obj/item/wallframe/picture/F = new /obj/item/wallframe/picture(loc)
if(framed)
F.displayed = framed
diff --git a/code/modules/paperwork/photography.dm.rej b/code/modules/paperwork/photography.dm.rej
new file mode 100644
index 0000000000..eb8210739b
--- /dev/null
+++ b/code/modules/paperwork/photography.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm (rejected hunks)
+@@ -497,7 +497,7 @@
+ desc = "The perfect showcase for your favorite deathtrap memories."
+ icon = 'icons/obj/decals.dmi'
+ materials = list()
+- flags = 0
++ flags_1 = 0
+ icon_state = "frame-empty"
+ result_path = /obj/structure/sign/picture_frame
+ var/obj/item/photo/displayed
diff --git a/code/modules/power/antimatter/shielding.dm b/code/modules/power/antimatter/shielding.dm
index d4a26f61d9..e6814c5c0a 100644
--- a/code/modules/power/antimatter/shielding.dm
+++ b/code/modules/power/antimatter/shielding.dm
@@ -233,7 +233,7 @@
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
w_class = WEIGHT_CLASS_BULKY
- flags = CONDUCT
+ flags_1 = CONDUCT_1
throwforce = 5
throw_speed = 1
throw_range = 2
diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm
index d01516e312..4b82bece45 100644
--- a/code/modules/power/apc.dm
+++ b/code/modules/power/apc.dm
@@ -590,11 +590,11 @@
/obj/machinery/power/apc/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
set_broken()
/obj/machinery/power/apc/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
set_broken()
if(opened != 2)
diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm
index a60edab51e..fbd15a1fc3 100644
--- a/code/modules/power/cable.dm
+++ b/code/modules/power/cable.dm
@@ -93,7 +93,7 @@ By design, d1 is the smallest direction and d2 is the highest
return ..() // then go ahead and delete the cable
/obj/structure/cable/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/turf/T = loc
stored.forceMove(T)
qdel(src)
@@ -480,7 +480,7 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe("cable restrai
throw_speed = 3
throw_range = 5
materials = list(MAT_METAL=10, MAT_GLASS=5)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
attack_verb = list("whipped", "lashed", "disciplined", "flogged")
singular_name = "cable piece"
diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm
index 2da8a197ba..d3d75ca4f8 100644
--- a/code/modules/power/lighting.dm
+++ b/code/modules/power/lighting.dm
@@ -134,7 +134,7 @@
/obj/structure/light_construct/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal(loc, sheets_refunded)
qdel(src)
@@ -347,7 +347,7 @@
deconstruct()
else
to_chat(user, "You stick \the [W] into the light socket!")
- if(has_power() && (W.flags & CONDUCT))
+ if(has_power() && (W.flags_1 & CONDUCT_1))
do_sparks(3, TRUE, src)
if (prob(75))
electrocute_mob(user, get_area(src), src, rand(0.7,1.0), TRUE)
@@ -355,7 +355,7 @@
return ..()
/obj/machinery/light/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
var/obj/structure/light_construct/newlight = null
var/cur_stage = 2
if(!disassembled)
@@ -383,7 +383,7 @@
/obj/machinery/light/attacked_by(obj/item/I, mob/living/user)
..()
if(status == LIGHT_BROKEN || status == LIGHT_EMPTY)
- if(on && (I.flags & CONDUCT))
+ if(on && (I.flags_1 & CONDUCT_1))
if(prob(12))
electrocute_mob(user, get_area(src), src, 0.3, TRUE)
diff --git a/code/modules/power/singularity/collector.dm b/code/modules/power/singularity/collector.dm
index 5c01b60416..126012542b 100644
--- a/code/modules/power/singularity/collector.dm
+++ b/code/modules/power/singularity/collector.dm
@@ -120,7 +120,7 @@ GLOBAL_LIST_EMPTY(rad_collectors)
/obj/machinery/power/rad_collector/obj_break(damage_flag)
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
+ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
eject()
stat |= BROKEN
diff --git a/code/modules/power/singularity/emitter.dm.rej b/code/modules/power/singularity/emitter.dm.rej
new file mode 100644
index 0000000000..12ee0046bd
--- /dev/null
+++ b/code/modules/power/singularity/emitter.dm.rej
@@ -0,0 +1,12 @@
+diff a/code/modules/power/singularity/emitter.dm b/code/modules/power/singularity/emitter.dm (rejected hunks)
+@@ -445,8 +445,8 @@
+ name = "turret controls"
+ icon_state = "offhand"
+ w_class = WEIGHT_CLASS_HUGE
+- flags = ABSTRACT | NODROP
+- resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF | NOBLUDGEON
++ flags_1 = ABSTRACT_1 | NODROP_1
++ resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF | NOBLUDGEON_1
+ var/delay = 0
+
+ /obj/item/turret_control/afterattack(atom/targeted_atom, mob/user)
diff --git a/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm b/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm
index ea86474895..b91fe1e585 100644
--- a/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm
+++ b/code/modules/power/singularity/particle_accelerator/particle_accelerator.dm
@@ -147,7 +147,7 @@
/obj/structure/particle_accelerator/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
new /obj/item/stack/sheet/metal (loc, 5)
qdel(src)
diff --git a/code/modules/power/solar.dm b/code/modules/power/solar.dm
index 1eb048c78b..044ad0b146 100644
--- a/code/modules/power/solar.dm
+++ b/code/modules/power/solar.dm
@@ -79,14 +79,14 @@
/obj/machinery/power/solar/obj_break(damage_flag)
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
+ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
playsound(loc, 'sound/effects/glassbr3.ogg', 100, 1)
stat |= BROKEN
unset_control()
update_icon()
/obj/machinery/power/solar/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(disassembled)
var/obj/item/solar_assembly/S = locate() in src
if(S)
@@ -436,7 +436,7 @@
A.icon_state = "4"
A.anchored = TRUE
qdel(src)
- else if(user.a_intent != INTENT_HARM && !(I.flags & NOBLUDGEON))
+ else if(user.a_intent != INTENT_HARM && !(I.flags_1 & NOBLUDGEON_1))
src.attack_hand(user)
else
return ..()
@@ -452,7 +452,7 @@
playsound(src.loc, 'sound/items/welder.ogg', 100, 1)
/obj/machinery/power/solar_control/obj_break(damage_flag)
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
+ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
playsound(loc, 'sound/effects/glassbr3.ogg', 100, 1)
stat |= BROKEN
update_icon()
diff --git a/code/modules/power/supermatter/supermatter.dm.rej b/code/modules/power/supermatter/supermatter.dm.rej
new file mode 100644
index 0000000000..7360ec9fbb
--- /dev/null
+++ b/code/modules/power/supermatter/supermatter.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/power/supermatter/supermatter.dm b/code/modules/power/supermatter/supermatter.dm (rejected hunks)
+@@ -524,7 +524,7 @@
+ R.receive_pulse(power * (1 + power_transmission_bonus)/10 * freon_transmit_modifier)
+
+ /obj/machinery/power/supermatter_shard/attackby(obj/item/W, mob/living/user, params)
+- if(!istype(W) || (W.flags & ABSTRACT) || !istype(user))
++ if(!istype(W) || (W.flags_1 & ABSTRACT_1) || !istype(user))
+ return
+ if(istype(W, /obj/item/scalpel/supermatter))
+ playsound(src, W.usesound, 100, 1)
diff --git a/code/modules/power/tesla/energy_ball.dm b/code/modules/power/tesla/energy_ball.dm
index 9fc63d9421..6d90a88a33 100644
--- a/code/modules/power/tesla/energy_ball.dm
+++ b/code/modules/power/tesla/energy_ball.dm
@@ -214,7 +214,7 @@
else if(isliving(A))
var/dist = get_dist(source, A)
var/mob/living/L = A
- if(dist <= zap_range && (dist < closest_dist || !closest_mob) && L.stat != DEAD && !HAS_SECONDARY_FLAG(L, TESLA_IGNORE))
+ if(dist <= zap_range && (dist < closest_dist || !closest_mob) && L.stat != DEAD && !(L.flags_2 & TESLA_IGNORE_2))
closest_mob = L
closest_atom = A
closest_dist = dist
diff --git a/code/modules/power/tracker.dm b/code/modules/power/tracker.dm
index a7e304e364..650b320bdb 100644
--- a/code/modules/power/tracker.dm
+++ b/code/modules/power/tracker.dm
@@ -73,13 +73,13 @@
return ..()
/obj/machinery/power/tracker/obj_break(damage_flag)
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT))
+ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1))
playsound(loc, 'sound/effects/glassbr3.ogg', 100, 1)
stat |= BROKEN
unset_control()
/obj/machinery/power/solar/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(disassembled)
var/obj/item/solar_assembly/S = locate() in src
if(S)
diff --git a/code/modules/projectiles/ammunition.dm b/code/modules/projectiles/ammunition.dm
index e7e85bc8c4..71befb50f1 100644
--- a/code/modules/projectiles/ammunition.dm
+++ b/code/modules/projectiles/ammunition.dm
@@ -3,7 +3,7 @@
desc = "A bullet casing."
icon = 'icons/obj/ammo.dmi'
icon_state = "s-casing"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
throwforce = 0
w_class = WEIGHT_CLASS_TINY
diff --git a/code/modules/projectiles/ammunition/ammo_casings.dm b/code/modules/projectiles/ammunition/ammo_casings.dm
index 84865c8a27..65cce2b7c7 100644
--- a/code/modules/projectiles/ammunition/ammo_casings.dm
+++ b/code/modules/projectiles/ammunition/ammo_casings.dm
@@ -303,7 +303,7 @@
/obj/item/ammo_casing/shotgun/dart/New()
..()
- container_type |= OPENCONTAINER
+ container_type |= OPENCONTAINER_1
create_reagents(30)
reagents.set_reacting(FALSE)
diff --git a/code/modules/projectiles/box_magazine.dm b/code/modules/projectiles/box_magazine.dm
index 883954b5d2..29e27d18ba 100644
--- a/code/modules/projectiles/box_magazine.dm
+++ b/code/modules/projectiles/box_magazine.dm
@@ -4,7 +4,7 @@
desc = "A box of ammo."
icon_state = "357"
icon = 'icons/obj/ammo.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
item_state = "syringe_kit"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm
index d5109a2c0c..a4b329df8a 100644
--- a/code/modules/projectiles/gun.dm
+++ b/code/modules/projectiles/gun.dm
@@ -7,7 +7,7 @@
icon = 'icons/obj/guns/projectile.dmi'
icon_state = "detective"
item_state = "gun"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
materials = list(MAT_METAL=2000)
w_class = WEIGHT_CLASS_NORMAL
diff --git a/code/modules/projectiles/guns/ballistic/laser_gatling.dm b/code/modules/projectiles/guns/ballistic/laser_gatling.dm
index 1eac0eb321..c3b371dde9 100644
--- a/code/modules/projectiles/guns/ballistic/laser_gatling.dm
+++ b/code/modules/projectiles/guns/ballistic/laser_gatling.dm
@@ -96,7 +96,7 @@
icon_state = "minigun_spin"
item_state = "minigun"
origin_tech = "combat=6;powerstorage=5;magnets=4"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slowdown = 1
slot_flags = null
w_class = WEIGHT_CLASS_HUGE
@@ -108,16 +108,15 @@
fire_sound = 'sound/weapons/laser.ogg'
mag_type = /obj/item/ammo_box/magazine/internal/minigun
casing_ejector = 0
+ flags_2 = SLOWS_WHILE_IN_HAND_2
var/obj/item/weapon/minigunpack/ammo_pack
/obj/item/weapon/gun/ballistic/minigun/Initialize()
- SET_SECONDARY_FLAG(src, SLOWS_WHILE_IN_HAND)
-
if(istype(loc, /obj/item/weapon/minigunpack)) //We should spawn inside a ammo pack so let's use that one.
ammo_pack = loc
else
return INITIALIZE_HINT_QDEL //No pack, no gun
-
+
return ..()
/obj/item/weapon/gun/ballistic/minigun/attack_self(mob/living/user)
diff --git a/code/modules/projectiles/guns/ballistic/revolver.dm b/code/modules/projectiles/guns/ballistic/revolver.dm
index 226652f6d5..8ec22b94b7 100644
--- a/code/modules/projectiles/guns/ballistic/revolver.dm
+++ b/code/modules/projectiles/guns/ballistic/revolver.dm
@@ -261,7 +261,7 @@
w_class = WEIGHT_CLASS_BULKY
weapon_weight = WEAPON_MEDIUM
force = 10
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
mag_type = /obj/item/ammo_box/magazine/internal/shot/dual
sawn_desc = "Omar's coming!"
diff --git a/code/modules/projectiles/guns/ballistic/shotgun.dm b/code/modules/projectiles/guns/ballistic/shotgun.dm
index 59dc214dc3..ce18e4f656 100644
--- a/code/modules/projectiles/guns/ballistic/shotgun.dm
+++ b/code/modules/projectiles/guns/ballistic/shotgun.dm
@@ -5,7 +5,7 @@
item_state = "shotgun"
w_class = WEIGHT_CLASS_BULKY
force = 10
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
origin_tech = "combat=4;materials=2"
mag_type = /obj/item/ammo_box/magazine/internal/shot
@@ -143,7 +143,7 @@
icon_state = "arcane_barrage"
item_state = "arcane_barrage"
- flags = DROPDEL
+ flags_1 = DROPDEL_1
mag_type = /obj/item/ammo_box/magazine/internal/boltaction/enchanted/arcane_barrage
diff --git a/code/modules/projectiles/guns/beam_rifle.dm.rej b/code/modules/projectiles/guns/beam_rifle.dm.rej
new file mode 100644
index 0000000000..ecc9695fda
--- /dev/null
+++ b/code/modules/projectiles/guns/beam_rifle.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/projectiles/guns/beam_rifle.dm b/code/modules/projectiles/guns/beam_rifle.dm (rejected hunks)
+@@ -715,7 +715,7 @@
+ light_range = 2
+ light_color = "#00ffff"
+ mouse_opacity = MOUSE_OPACITY_TRANSPARENT
+- flags = ABSTRACT
++ flags_1 = ABSTRACT_1
+ appearance_flags = 0
+
+ /obj/effect/projectile_beam/proc/scale_to(nx,ny,override=TRUE)
diff --git a/code/modules/projectiles/guns/energy/laser.dm b/code/modules/projectiles/guns/energy/laser.dm
index a0a328afb0..971112bc0e 100644
--- a/code/modules/projectiles/guns/energy/laser.dm
+++ b/code/modules/projectiles/guns/energy/laser.dm
@@ -83,7 +83,7 @@
item_state = "laser"
w_class = WEIGHT_CLASS_BULKY
force = 10
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
origin_tech = "combat=4;magnets=4;powerstorage=3"
ammo_type = list(/obj/item/ammo_casing/energy/laser/accelerator)
diff --git a/code/modules/projectiles/guns/energy/pulse.dm.rej b/code/modules/projectiles/guns/energy/pulse.dm.rej
new file mode 100644
index 0000000000..1466e76076
--- /dev/null
+++ b/code/modules/projectiles/guns/energy/pulse.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/projectiles/guns/energy/pulse.dm b/code/modules/projectiles/guns/energy/pulse.dm (rejected hunks)
+@@ -6,7 +6,7 @@
+ w_class = WEIGHT_CLASS_BULKY
+ force = 10
+ modifystate = TRUE
+- flags = CONDUCT
++ flags_1 = CONDUCT_1
+ slot_flags = SLOT_BACK
+ ammo_type = list(/obj/item/ammo_casing/energy/laser/pulse, /obj/item/ammo_casing/energy/electrode, /obj/item/ammo_casing/energy/laser)
+ cell_type = "/obj/item/stock_parts/cell/pulse"
diff --git a/code/modules/projectiles/guns/energy/special.dm b/code/modules/projectiles/guns/energy/special.dm
index 0f8cfa0e28..81c9c19579 100644
--- a/code/modules/projectiles/guns/energy/special.dm
+++ b/code/modules/projectiles/guns/energy/special.dm
@@ -6,7 +6,7 @@
origin_tech = "combat=4;magnets=4"
can_flashlight = 1
w_class = WEIGHT_CLASS_HUGE
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
ammo_type = list(/obj/item/ammo_casing/energy/ion)
ammo_x_offset = 3
@@ -126,8 +126,8 @@
item_state = "plasmacutter"
origin_tech = "combat=1;materials=3;magnets=2;plasmatech=3;engineering=1"
ammo_type = list(/obj/item/ammo_casing/energy/plasma)
- flags = CONDUCT
- container_type = OPENCONTAINER
+ flags_1 = CONDUCT_1
+ container_type = OPENCONTAINER_1
attack_verb = list("attacked", "slashed", "cut", "sliced")
force = 12
sharpness = IS_SHARP
diff --git a/code/modules/projectiles/guns/magic.dm b/code/modules/projectiles/guns/magic.dm
index 7387efee2b..93f651ed4c 100644
--- a/code/modules/projectiles/guns/magic.dm
+++ b/code/modules/projectiles/guns/magic.dm
@@ -5,7 +5,7 @@
icon_state = "staffofnothing"
item_state = "staff"
fire_sound = 'sound/weapons/emitter.ogg'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_HUGE
var/max_charges = 6
var/charges = 0
diff --git a/code/modules/projectiles/pins.dm b/code/modules/projectiles/pins.dm
index 72a0b2ea8d..e3951cfd90 100644
--- a/code/modules/projectiles/pins.dm
+++ b/code/modules/projectiles/pins.dm
@@ -5,7 +5,7 @@
icon_state = "firing_pin"
item_state = "pen"
origin_tech = "materials=2;combat=4"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
attack_verb = list("poked")
var/emagged = FALSE
diff --git a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm
index 50f00478e2..75435885b8 100644
--- a/code/modules/projectiles/projectile.dm
+++ b/code/modules/projectiles/projectile.dm
@@ -170,7 +170,7 @@
permutated.Add(A)
return FALSE
else
- if(A && A.density && !ismob(A) && !(A.flags & ON_BORDER)) //if we hit a dense non-border obj or dense turf then we also hit one of the mobs on that tile.
+ if(A && A.density && !ismob(A) && !(A.flags_1 & ON_BORDER_1)) //if we hit a dense non-border obj or dense turf then we also hit one of the mobs on that tile.
var/list/mobs_list = list()
for(var/mob/living/L in target_turf)
mobs_list += L
@@ -188,7 +188,7 @@
return FALSE
/obj/item/projectile/proc/check_ricochet_flag(atom/A)
- if(A.flags & CHECK_RICOCHET)
+ if(A.flags_1 & CHECK_RICOCHET_1)
return TRUE
return FALSE
diff --git a/code/modules/projectiles/projectile.dm.rej b/code/modules/projectiles/projectile.dm.rej
new file mode 100644
index 0000000000..9c9e12e95a
--- /dev/null
+++ b/code/modules/projectiles/projectile.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm (rejected hunks)
+@@ -4,7 +4,7 @@
+ icon_state = "bullet"
+ density = FALSE
+ anchored = TRUE
+- flags = ABSTRACT
++ flags_1 = ABSTRACT_1
+ pass_flags = PASSTABLE
+ mouse_opacity = MOUSE_OPACITY_TRANSPARENT
+ hitsound = 'sound/weapons/pierce.ogg'
diff --git a/code/modules/projectiles/projectile/magic.dm b/code/modules/projectiles/projectile/magic.dm
index 7a1c12639f..ac238ab042 100644
--- a/code/modules/projectiles/projectile/magic.dm
+++ b/code/modules/projectiles/projectile/magic.dm
@@ -259,7 +259,7 @@
if(!new_mob)
return
new_mob.grant_language(/datum/language/common)
- SET_SECONDARY_FLAG(new_mob, OMNITONGUE)
+ new_mob.flags_2 |= OMNITONGUE_2
new_mob.logging = M.logging
// Some forms can still wear some items
diff --git a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm.rej b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm.rej
new file mode 100644
index 0000000000..8803fd1086
--- /dev/null
+++ b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm (rejected hunks)
+@@ -178,7 +178,7 @@
+ if(default_unfasten_wrench(user, I))
+ return
+
+- if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER))
++ if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER_1))
+ var/obj/item/reagent_containers/B = I
+ . = 1 //no afterattack
+ if(beaker)
diff --git a/code/modules/reagents/chemistry/machinery/chem_heater.dm.rej b/code/modules/reagents/chemistry/machinery/chem_heater.dm.rej
new file mode 100644
index 0000000000..d60e535a87
--- /dev/null
+++ b/code/modules/reagents/chemistry/machinery/chem_heater.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/reagents/chemistry/machinery/chem_heater.dm b/code/modules/reagents/chemistry/machinery/chem_heater.dm (rejected hunks)
+@@ -42,7 +42,7 @@
+ if(default_deconstruction_crowbar(I))
+ return
+
+- if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER))
++ if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER_1))
+ . = 1 //no afterattack
+ if(beaker)
+ to_chat(user, "A beaker is already loaded into the machine!")
diff --git a/code/modules/reagents/chemistry/machinery/chem_master.dm.rej b/code/modules/reagents/chemistry/machinery/chem_master.dm.rej
new file mode 100644
index 0000000000..cd3de881dc
--- /dev/null
+++ b/code/modules/reagents/chemistry/machinery/chem_master.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/reagents/chemistry/machinery/chem_master.dm b/code/modules/reagents/chemistry/machinery/chem_master.dm (rejected hunks)
+@@ -79,7 +79,7 @@
+ if(default_unfasten_wrench(user, I))
+ return
+
+- if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER))
++ if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER_1))
+ . = 1 // no afterattack
+ if(panel_open)
+ to_chat(user, "You can't use the [src.name] while its panel is opened!")
diff --git a/code/modules/reagents/chemistry/machinery/pandemic.dm.rej b/code/modules/reagents/chemistry/machinery/pandemic.dm.rej
new file mode 100644
index 0000000000..4aa7a64767
--- /dev/null
+++ b/code/modules/reagents/chemistry/machinery/pandemic.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/reagents/chemistry/machinery/pandemic.dm b/code/modules/reagents/chemistry/machinery/pandemic.dm (rejected hunks)
+@@ -177,7 +177,7 @@
+ . = TRUE
+
+ /obj/machinery/computer/pandemic/attackby(obj/item/I, mob/user, params)
+- if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER))
++ if(istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER_1))
+ . = TRUE //no afterattack
+ if(stat & (NOPOWER|BROKEN))
+ return
diff --git a/code/modules/reagents/chemistry/machinery/reagentgrinder.dm.rej b/code/modules/reagents/chemistry/machinery/reagentgrinder.dm.rej
new file mode 100644
index 0000000000..41ecfa55e8
--- /dev/null
+++ b/code/modules/reagents/chemistry/machinery/reagentgrinder.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/reagents/chemistry/machinery/reagentgrinder.dm b/code/modules/reagents/chemistry/machinery/reagentgrinder.dm (rejected hunks)
+@@ -116,7 +116,7 @@
+ if(default_unfasten_wrench(user, I))
+ return
+
+- if (istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER) )
++ if (istype(I, /obj/item/reagent_containers) && (I.container_type & OPENCONTAINER_1) )
+ if (!beaker)
+ if(!user.drop_item())
+ return 1
diff --git a/code/modules/reagents/reagent_containers/dropper.dm.rej b/code/modules/reagents/reagent_containers/dropper.dm.rej
new file mode 100644
index 0000000000..672eff145d
--- /dev/null
+++ b/code/modules/reagents/reagent_containers/dropper.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/reagents/reagent_containers/dropper.dm b/code/modules/reagents/reagent_containers/dropper.dm (rejected hunks)
+@@ -6,7 +6,7 @@
+ amount_per_transfer_from_this = 5
+ possible_transfer_amounts = list(1, 2, 3, 4, 5)
+ volume = 5
+- container_type = TRANSPARENT
++ container_type = TRANSPARENT_1
+
+ /obj/item/reagent_containers/dropper/afterattack(obj/target, mob/user , proximity)
+ if(!proximity) return
diff --git a/code/modules/reagents/reagent_containers/glass.dm b/code/modules/reagents/reagent_containers/glass.dm
index cca23a86c9..27b0a75ad5 100644
--- a/code/modules/reagents/reagent_containers/glass.dm
+++ b/code/modules/reagents/reagent_containers/glass.dm
@@ -3,7 +3,7 @@
amount_per_transfer_from_this = 10
possible_transfer_amounts = list(5, 10, 15, 20, 25, 30, 50)
volume = 50
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
spillable = 1
resistance_flags = ACID_PROOF
@@ -240,7 +240,7 @@
amount_per_transfer_from_this = 20
possible_transfer_amounts = list(10,15,20,25,30,50,70)
volume = 70
- flags = OPENCONTAINER
+ flags_1 = OPENCONTAINER_1
flags_inv = HIDEHAIR
slot_flags = SLOT_HEAD
resistance_flags = 0
diff --git a/code/modules/reagents/reagent_containers/glass.dm.rej b/code/modules/reagents/reagent_containers/glass.dm.rej
new file mode 100644
index 0000000000..fe8fd55da1
--- /dev/null
+++ b/code/modules/reagents/reagent_containers/glass.dm.rej
@@ -0,0 +1,28 @@
+diff a/code/modules/reagents/reagent_containers/glass.dm b/code/modules/reagents/reagent_containers/glass.dm (rejected hunks)
+@@ -169,7 +169,7 @@
+ volume = 100
+ amount_per_transfer_from_this = 10
+ possible_transfer_amounts = list(5,10,15,20,25,30,50,100)
+- flags = OPENCONTAINER
++ flags_1 = OPENCONTAINER_1
+
+ /obj/item/reagent_containers/glass/beaker/noreact
+ name = "cryostasis beaker"
+@@ -180,7 +180,7 @@
+ volume = 50
+ amount_per_transfer_from_this = 10
+ origin_tech = "materials=2;engineering=3;plasmatech=3"
+- flags = OPENCONTAINER
++ flags_1 = OPENCONTAINER_1
+
+ /obj/item/reagent_containers/glass/beaker/noreact/Initialize()
+ . = ..()
+@@ -196,7 +196,7 @@
+ volume = 300
+ amount_per_transfer_from_this = 10
+ possible_transfer_amounts = list(5,10,15,20,25,30,50,100,300)
+- flags = OPENCONTAINER
++ flags_1 = OPENCONTAINER_1
+ origin_tech = "bluespace=5;materials=4;plasmatech=4"
+
+ /obj/item/reagent_containers/glass/beaker/cryoxadone
diff --git a/code/modules/reagents/reagent_containers/hypospray.dm b/code/modules/reagents/reagent_containers/hypospray.dm
index 1b7f4f4eed..faff06d26f 100644
--- a/code/modules/reagents/reagent_containers/hypospray.dm
+++ b/code/modules/reagents/reagent_containers/hypospray.dm
@@ -10,7 +10,7 @@
volume = 30
possible_transfer_amounts = list()
resistance_flags = ACID_PROOF
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
slot_flags = SLOT_BELT
var/ignore_flags = 0
var/infinite = FALSE
diff --git a/code/modules/reagents/reagent_containers/hypospray.dm.rej b/code/modules/reagents/reagent_containers/hypospray.dm.rej
new file mode 100644
index 0000000000..03d17d2639
--- /dev/null
+++ b/code/modules/reagents/reagent_containers/hypospray.dm.rej
@@ -0,0 +1,12 @@
+diff a/code/modules/reagents/reagent_containers/hypospray.dm b/code/modules/reagents/reagent_containers/hypospray.dm (rejected hunks)
+@@ -77,8 +77,8 @@
+ amount_per_transfer_from_this = 10
+ volume = 10
+ ignore_flags = 1 //so you can medipen through hardsuits
+- container_type = DRAWABLE
+- flags = null
++ container_type = DRAWABLE_1
++ flags_1 = null
+ list_reagents = list("epinephrine" = 10)
+
+ /obj/item/reagent_containers/hypospray/medipen/attack(mob/M, mob/user)
diff --git a/code/modules/reagents/reagent_containers/spray.dm b/code/modules/reagents/reagent_containers/spray.dm
index a3da3a9e2f..899c723111 100644
--- a/code/modules/reagents/reagent_containers/spray.dm
+++ b/code/modules/reagents/reagent_containers/spray.dm
@@ -6,8 +6,8 @@
item_state = "cleaner"
lefthand_file = 'icons/mob/inhands/equipment/custodial_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/custodial_righthand.dmi'
- flags = NOBLUDGEON
- container_type = OPENCONTAINER
+ flags_1 = NOBLUDGEON_1
+ container_type = OPENCONTAINER_1
slot_flags = SLOT_BELT
throwforce = 0
w_class = WEIGHT_CLASS_SMALL
diff --git a/code/modules/reagents/reagent_containers/syringes.dm.rej b/code/modules/reagents/reagent_containers/syringes.dm.rej
new file mode 100644
index 0000000000..d184bef7fb
--- /dev/null
+++ b/code/modules/reagents/reagent_containers/syringes.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/reagents/reagent_containers/syringes.dm b/code/modules/reagents/reagent_containers/syringes.dm (rejected hunks)
+@@ -16,7 +16,7 @@
+ var/busy = FALSE // needed for delayed drawing of blood
+ var/proj_piercing = 0 //does it pierce through thick clothes when shot with syringe gun
+ materials = list(MAT_METAL=10, MAT_GLASS=20)
+- container_type = TRANSPARENT
++ container_type = TRANSPARENT_1
+
+ /obj/item/reagent_containers/syringe/Initialize()
+ . = ..()
diff --git a/code/modules/reagents/reagent_dispenser.dm b/code/modules/reagents/reagent_dispenser.dm
index 7a8d442d7b..27dffe5a2a 100644
--- a/code/modules/reagents/reagent_dispenser.dm
+++ b/code/modules/reagents/reagent_dispenser.dm
@@ -5,7 +5,7 @@
icon_state = "water"
density = TRUE
anchored = FALSE
- container_type = DRAWABLE
+ container_type = DRAWABLE_1
pressure_resistance = 2*ONE_ATMOSPHERE
max_integrity = 300
var/tank_volume = 1000 //In units, how much the dispenser can hold
@@ -42,7 +42,7 @@
qdel(src)
/obj/structure/reagent_dispensers/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!disassembled)
boom()
else
diff --git a/code/modules/recycling/disposal-structures.dm b/code/modules/recycling/disposal-structures.dm
index ff632f1f6c..56976b4dcc 100644
--- a/code/modules/recycling/disposal-structures.dm
+++ b/code/modules/recycling/disposal-structures.dm
@@ -316,7 +316,7 @@
// called when pipe is cut with welder
/obj/structure/disposalpipe/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(disassembled)
if(stored)
var/turf/T = loc
diff --git a/code/modules/recycling/disposal-unit.dm b/code/modules/recycling/disposal-unit.dm
index 0537380b20..738ac54178 100644
--- a/code/modules/recycling/disposal-unit.dm
+++ b/code/modules/recycling/disposal-unit.dm
@@ -95,7 +95,7 @@
return
if(user.a_intent != INTENT_HARM)
- if(!user.drop_item() || (I.flags & ABSTRACT))
+ if(!user.drop_item() || (I.flags_1 & ABSTRACT_1))
return
place_item_in_disposal(I, user)
update_icon()
@@ -236,7 +236,7 @@
/obj/machinery/disposal/deconstruct(disassembled = TRUE)
var/turf/T = loc
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(stored)
stored.forceMove(T)
src.transfer_fingerprints_to(stored)
diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm
index 69f4cc148c..de4e68f590 100644
--- a/code/modules/recycling/sortingmachinery.dm
+++ b/code/modules/recycling/sortingmachinery.dm
@@ -146,7 +146,7 @@
item_state = "electronic"
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
/obj/item/device/destTagger/proc/openwindow(mob/user)
diff --git a/code/modules/research/circuitprinter.dm.rej b/code/modules/research/circuitprinter.dm.rej
new file mode 100644
index 0000000000..6bd06f6d69
--- /dev/null
+++ b/code/modules/research/circuitprinter.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/research/circuitprinter.dm b/code/modules/research/circuitprinter.dm (rejected hunks)
+@@ -8,7 +8,7 @@ using metal and glass, it uses glass and reagents (usually sulfuric acis).
+ name = "circuit imprinter"
+ desc = "Manufactures circuit boards for the construction of machines."
+ icon_state = "circuit_imprinter"
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ circuit = /obj/item/circuitboard/machine/circuit_imprinter
+
+ var/datum/material_container/materials
diff --git a/code/modules/research/protolathe.dm.rej b/code/modules/research/protolathe.dm.rej
new file mode 100644
index 0000000000..fa39256713
--- /dev/null
+++ b/code/modules/research/protolathe.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/research/protolathe.dm b/code/modules/research/protolathe.dm (rejected hunks)
+@@ -11,7 +11,7 @@ Note: Must be placed west/left of and R&D console to function.
+ name = "protolathe"
+ desc = "Converts raw materials into useful objects."
+ icon_state = "protolathe"
+- container_type = OPENCONTAINER
++ container_type = OPENCONTAINER_1
+ circuit = /obj/item/circuitboard/machine/protolathe
+
+ var/datum/material_container/materials
diff --git a/code/modules/research/xenobiology/xenobiology.dm b/code/modules/research/xenobiology/xenobiology.dm
index 9c826f5f5f..24849b7b09 100644
--- a/code/modules/research/xenobiology/xenobiology.dm
+++ b/code/modules/research/xenobiology/xenobiology.dm
@@ -12,7 +12,7 @@
throw_speed = 3
throw_range = 6
origin_tech = "biotech=3"
- container_type = INJECTABLE
+ container_type = INJECTABLE_1
var/Uses = 1 // uses before it goes inert
var/qdel_timer = null // deletion timer, for delayed reactions
@@ -419,7 +419,7 @@
icon_state = "golem"
item_state = "golem"
item_color = "golem"
- flags = ABSTRACT | NODROP
+ flags_1 = ABSTRACT_1 | NODROP_1
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
has_sensor = NO_SENSORS
@@ -434,7 +434,7 @@
body_parts_covered = FULL_BODY
flags_inv = HIDEGLOVES | HIDESHOES | HIDEJUMPSUIT
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
- flags = ABSTRACT | NODROP
+ flags_1 = ABSTRACT_1 | NODROP_1
/obj/item/clothing/shoes/golem
name = "golem's feet"
@@ -442,7 +442,7 @@
icon_state = "golem"
item_state = null
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
- flags = NOSLIP | ABSTRACT | NODROP
+ flags_1 = NOSLIP_1 | ABSTRACT_1 | NODROP_1
/obj/item/clothing/mask/breath/golem
@@ -452,7 +452,7 @@
item_state = "golem"
siemens_coefficient = 0
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
- flags = ABSTRACT | NODROP
+ flags_1 = ABSTRACT_1 | NODROP_1
/obj/item/clothing/gloves/golem
@@ -461,7 +461,7 @@
icon_state = "golem"
item_state = null
siemens_coefficient = 0
- flags = ABSTRACT | NODROP
+ flags_1 = ABSTRACT_1 | NODROP_1
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
@@ -472,7 +472,7 @@
name = "golem's head"
desc = "a golem's head"
resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
- flags = ABSTRACT | NODROP
+ flags_1 = ABSTRACT_1 | NODROP_1
/obj/effect/golemrune
anchored = TRUE
@@ -632,7 +632,7 @@
throwforce = 10
throw_speed = 3
throw_range = 7
- flags = CONDUCT
+ flags_1 = CONDUCT_1
max_amount = 60
turf_type = /turf/open/floor/bluespace
@@ -648,7 +648,7 @@
throwforce = 10
throw_speed = 3
throw_range = 7
- flags = CONDUCT
+ flags_1 = CONDUCT_1
max_amount = 60
turf_type = /turf/open/floor/sepia
diff --git a/code/modules/ruins/objects_and_mobs/necropolis_gate.dm b/code/modules/ruins/objects_and_mobs/necropolis_gate.dm
index 3bda50c221..ebab6568d8 100644
--- a/code/modules/ruins/objects_and_mobs/necropolis_gate.dm
+++ b/code/modules/ruins/objects_and_mobs/necropolis_gate.dm
@@ -4,7 +4,7 @@
desc = "A massive stone gateway."
icon = 'icons/effects/96x96.dmi'
icon_state = "gate_full"
- flags = ON_BORDER
+ flags_1 = ON_BORDER_1
appearance_flags = 0
layer = TABLE_LAYER
anchored = TRUE
diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm
index 21de2161de..4c53ff6690 100644
--- a/code/modules/shuttle/shuttle.dm
+++ b/code/modules/shuttle/shuttle.dm
@@ -178,7 +178,7 @@
var/turf/T = assigned_turfs[i]
if(T.type == turf_type)
T.ChangeTurf(/turf/open/space,/turf/open/space)
- T.flags |= UNUSED_TRANSIT_TURF
+ T.flags_1 |= UNUSED_TRANSIT_TURF_1
/obj/docking_port/stationary/transit/Destroy(force=FALSE)
if(force)
diff --git a/code/modules/shuttle/special.dm b/code/modules/shuttle/special.dm
index 7a5f4936d9..9c2c67d97c 100644
--- a/code/modules/shuttle/special.dm
+++ b/code/modules/shuttle/special.dm
@@ -61,7 +61,7 @@
var/obj/machinery/power/emitter/energycannon/magical/our_statue
var/list/mob/living/sleepers = list()
var/never_spoken = TRUE
- flags = NODECONSTRUCT
+ flags_1 = NODECONSTRUCT_1
/obj/structure/table/abductor/wabbajack/Initialize(mapload)
. = ..()
@@ -168,7 +168,7 @@
var/datum/job/captain/C = new /datum/job/captain
access_card.access = C.get_access()
access_card.access |= ACCESS_CENT_BAR
- access_card.flags |= NODROP
+ access_card.flags_1 |= NODROP_1
/mob/living/simple_animal/hostile/alien/maid/barmaid/Destroy()
qdel(access_card)
@@ -180,7 +180,7 @@
/obj/structure/table/wood/bar
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
- flags = NODECONSTRUCT
+ flags_1 = NODECONSTRUCT_1
max_integrity = 1000
var/boot_dir = 1
diff --git a/code/modules/spells/spell_types/barnyard.dm b/code/modules/spells/spell_types/barnyard.dm
index f026cd1483..cc93644df3 100644
--- a/code/modules/spells/spell_types/barnyard.dm
+++ b/code/modules/spells/spell_types/barnyard.dm
@@ -38,7 +38,7 @@
var/choice = masks[randM]
var/obj/item/clothing/mask/magichead = new choice
- magichead.flags |=NODROP
+ magichead.flags_1 |= NODROP_1
magichead.flags_inv = null
target.visible_message("[target]'s face bursts into flames, and a barnyard animal's head takes its place!", \
"Your face burns up, and shortly after the fire you realise you have the face of a barnyard animal!")
diff --git a/code/modules/spells/spell_types/ethereal_jaunt.dm b/code/modules/spells/spell_types/ethereal_jaunt.dm
index baf9bdcc92..eb855921e8 100644
--- a/code/modules/spells/spell_types/ethereal_jaunt.dm
+++ b/code/modules/spells/spell_types/ethereal_jaunt.dm
@@ -90,7 +90,7 @@
if ((movedelay > world.time) || reappearing || !direction) return
var/turf/newLoc = get_step(src,direction)
setDir(direction)
- if(!(newLoc.flags & NOJAUNT))
+ if(!(newLoc.flags_1 & NOJAUNT_1))
loc = newLoc
else
to_chat(user, "Some strange aura is blocking the way!")
diff --git a/code/modules/spells/spell_types/godhand.dm.rej b/code/modules/spells/spell_types/godhand.dm.rej
new file mode 100644
index 0000000000..e7d133c6ab
--- /dev/null
+++ b/code/modules/spells/spell_types/godhand.dm.rej
@@ -0,0 +1,10 @@
+diff a/code/modules/spells/spell_types/godhand.dm b/code/modules/spells/spell_types/godhand.dm (rejected hunks)
+@@ -7,7 +7,7 @@
+ icon = 'icons/obj/items_and_weapons.dmi'
+ icon_state = "syndballoon"
+ item_state = null
+- flags = ABSTRACT | NODROP | DROPDEL
++ flags_1 = ABSTRACT_1 | NODROP_1 | DROPDEL_1
+ w_class = WEIGHT_CLASS_HUGE
+ force = 0
+ throwforce = 0
diff --git a/code/modules/spells/spell_types/lichdom.dm b/code/modules/spells/spell_types/lichdom.dm
index cc728f942e..c9fc54f7e6 100644
--- a/code/modules/spells/spell_types/lichdom.dm
+++ b/code/modules/spells/spell_types/lichdom.dm
@@ -34,7 +34,7 @@
for(var/obj/item in hand_items)
// I ensouled the nuke disk once. But it's probably a really
// mean tactic, so probably should discourage it.
- if(ABSTRACT in item.flags || NODROP in item.flags || HAS_SECONDARY_FLAG(item, STATIONLOVING))
+ if((item.flags_1 & ABSTRACT_1) || (item.flags_1 & NODROP_1) || (item.flags_2 & STATIONLOVING_2))
continue
marked_item = item
to_chat(M, "You begin to focus your very being into [item]...")
diff --git a/code/modules/spells/spell_types/summonitem.dm b/code/modules/spells/spell_types/summonitem.dm
index 61330265ab..0f956b3dc9 100644
--- a/code/modules/spells/spell_types/summonitem.dm
+++ b/code/modules/spells/spell_types/summonitem.dm
@@ -23,9 +23,9 @@
if(!marked_item) //linking item to the spell
message = ""
for(var/obj/item in hand_items)
- if(ABSTRACT in item.flags)
+ if(item.flags_1 & ABSTRACT_1)
continue
- if(NODROP in item.flags)
+ if(item.flags_1 & NODROP_1)
message += "Though it feels redundant, "
marked_item = item
message += "You mark [item] for recall."
diff --git a/code/modules/station_goals/dna_vault.dm b/code/modules/station_goals/dna_vault.dm
index d41ea48c5f..1ccb608fa0 100644
--- a/code/modules/station_goals/dna_vault.dm
+++ b/code/modules/station_goals/dna_vault.dm
@@ -67,7 +67,7 @@
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
icon_state = "hypo"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/list/animals = list()
var/list/plants = list()
var/list/dna = list()
diff --git a/code/modules/surgery/bodyparts/robot_bodyparts.dm b/code/modules/surgery/bodyparts/robot_bodyparts.dm
index c956380d20..fda8ac8902 100644
--- a/code/modules/surgery/bodyparts/robot_bodyparts.dm
+++ b/code/modules/surgery/bodyparts/robot_bodyparts.dm
@@ -6,7 +6,7 @@
attack_verb = list("slapped", "punched")
item_state = "buildpipe"
icon = 'icons/obj/robot_parts.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
icon_state = "borg_l_arm"
status = BODYPART_ROBOTIC
@@ -17,7 +17,7 @@
attack_verb = list("slapped", "punched")
item_state = "buildpipe"
icon = 'icons/obj/robot_parts.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
icon_state = "borg_r_arm"
status = BODYPART_ROBOTIC
@@ -28,7 +28,7 @@
attack_verb = list("kicked", "stomped")
item_state = "buildpipe"
icon = 'icons/obj/robot_parts.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
icon_state = "borg_l_leg"
status = BODYPART_ROBOTIC
@@ -39,7 +39,7 @@
attack_verb = list("kicked", "stomped")
item_state = "buildpipe"
icon = 'icons/obj/robot_parts.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
icon_state = "borg_r_leg"
status = BODYPART_ROBOTIC
@@ -49,7 +49,7 @@
desc = "A heavily reinforced case containing cyborg logic boards, with space for a standard power cell."
item_state = "buildpipe"
icon = 'icons/obj/robot_parts.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
icon_state = "borg_chest"
status = BODYPART_ROBOTIC
var/wired = 0
@@ -99,7 +99,7 @@
desc = "A standard reinforced braincase, with spine-plugged neural socket and sensor gimbals."
item_state = "buildpipe"
icon = 'icons/obj/robot_parts.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
icon_state = "borg_head"
status = BODYPART_ROBOTIC
var/obj/item/device/assembly/flash/handheld/flash1 = null
diff --git a/code/modules/surgery/cavity_implant.dm b/code/modules/surgery/cavity_implant.dm
index 842b6371ae..a37502a96b 100644
--- a/code/modules/surgery/cavity_implant.dm
+++ b/code/modules/surgery/cavity_implant.dm
@@ -24,7 +24,7 @@
/datum/surgery_step/handle_cavity/success(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
var/obj/item/bodypart/chest/CH = target.get_bodypart("chest")
if(tool)
- if(IC || tool.w_class > WEIGHT_CLASS_NORMAL || (NODROP in tool.flags) || istype(tool, /obj/item/organ))
+ if(IC || tool.w_class > WEIGHT_CLASS_NORMAL || (tool.flags_1 & NODROP_1) || istype(tool, /obj/item/organ))
to_chat(user, "You can't seem to fit [tool] in [target]'s [target_zone]!")
return 0
else
diff --git a/code/modules/surgery/organs/augments_arms.dm b/code/modules/surgery/organs/augments_arms.dm
index dfc0c658ce..841d0b9f5f 100644
--- a/code/modules/surgery/organs/augments_arms.dm
+++ b/code/modules/surgery/organs/augments_arms.dm
@@ -82,7 +82,7 @@
holder = item
- holder.flags |= NODROP
+ holder.flags_1 |= NODROP_1
holder.resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
holder.slot_flags = null
holder.materials = null
diff --git a/code/modules/surgery/organs/augments_internal.dm b/code/modules/surgery/organs/augments_internal.dm
index 78e5333b32..2d80b4b806 100644
--- a/code/modules/surgery/organs/augments_internal.dm
+++ b/code/modules/surgery/organs/augments_internal.dm
@@ -51,8 +51,8 @@
active = !active
if(active)
for(var/obj/item/I in owner.held_items)
- if(!(I.flags & NODROP))
- stored_items += I
+ if(!(I.flags_1 & NODROP_1))
+ flags_1 += I
var/list/L = owner.get_empty_held_indexes()
if(LAZYLEN(L) == owner.held_items.len)
@@ -62,7 +62,7 @@
else
for(var/obj/item/I in stored_items)
to_chat(owner, "Your [owner.get_held_index_name(owner.get_held_index_of_item(I))]'s grip tightens.")
- I.flags |= NODROP
+ I.flags_1 |= NODROP_1
else
release_items()
@@ -86,7 +86,7 @@
/obj/item/organ/cyberimp/brain/anti_drop/proc/release_items()
for(var/obj/item/I in stored_items)
- I.flags &= ~NODROP
+ I.flags_1 &= ~NODROP_1
/obj/item/organ/cyberimp/brain/anti_drop/Remove(var/mob/living/carbon/M, special = 0)
diff --git a/code/modules/surgery/organs/ears.dm b/code/modules/surgery/organs/ears.dm
index 75298342f4..2ee223b403 100644
--- a/code/modules/surgery/organs/ears.dm
+++ b/code/modules/surgery/organs/ears.dm
@@ -25,7 +25,7 @@
if(C.disabilities & DEAF)
deaf = max(deaf, 1)
else
- if(C.ears && HAS_SECONDARY_FLAG(C.ears, HEALS_EARS))
+ if(C.ears && (C.ears.flags_2 & HEALS_EARS_2))
deaf = max(deaf - 1, 1)
ear_damage = max(ear_damage - 0.10, 0)
// if higher than UNHEALING_EAR_DAMAGE, no natural healing occurs.
diff --git a/code/modules/surgery/tools.dm b/code/modules/surgery/tools.dm
index 5686389dea..e36d07d1a2 100644
--- a/code/modules/surgery/tools.dm
+++ b/code/modules/surgery/tools.dm
@@ -4,7 +4,7 @@
icon = 'icons/obj/surgery.dmi'
icon_state = "retractor"
materials = list(MAT_METAL=6000, MAT_GLASS=3000)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
@@ -15,7 +15,7 @@
icon = 'icons/obj/surgery.dmi'
icon_state = "retractor"
materials = list(MAT_METAL=6000, MAT_GLASS=3000)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
toolspeed = 0.5
@@ -27,7 +27,7 @@
icon = 'icons/obj/surgery.dmi'
icon_state = "hemostat"
materials = list(MAT_METAL=5000, MAT_GLASS=2500)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
attack_verb = list("attacked", "pinched")
@@ -39,7 +39,7 @@
icon = 'icons/obj/surgery.dmi'
icon_state = "hemostat"
materials = list(MAT_METAL=5000, MAT_GLASS=2500)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
toolspeed = 0.5
@@ -52,7 +52,7 @@
icon = 'icons/obj/surgery.dmi'
icon_state = "cautery"
materials = list(MAT_METAL=2500, MAT_GLASS=750)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
attack_verb = list("burnt")
@@ -64,7 +64,7 @@
icon = 'icons/obj/surgery.dmi'
icon_state = "cautery"
materials = list(MAT_METAL=2500, MAT_GLASS=750)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
toolspeed = 0.5
@@ -80,7 +80,7 @@
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
hitsound = 'sound/weapons/circsawhit.ogg'
materials = list(MAT_METAL=10000, MAT_GLASS=6000)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 15
w_class = WEIGHT_CLASS_NORMAL
origin_tech = "materials=1;biotech=1"
@@ -94,7 +94,7 @@
icon_state = "drill"
hitsound = 'sound/weapons/circsawhit.ogg'
materials = list(MAT_METAL=10000, MAT_GLASS=6000)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
w_class = WEIGHT_CLASS_SMALL
origin_tech = "materials=1;biotech=1"
@@ -109,7 +109,7 @@
icon_state = "scalpel"
lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
w_class = WEIGHT_CLASS_TINY
throwforce = 5
@@ -126,7 +126,7 @@
desc = "Ultra-sharp blade attached directly to your bone for extra-accuracy."
icon = 'icons/obj/surgery.dmi'
icon_state = "scalpel"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
w_class = WEIGHT_CLASS_TINY
throwforce = 5
@@ -153,7 +153,7 @@
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
hitsound = 'sound/weapons/circsawhit.ogg'
throwhitsound = 'sound/weapons/pierce.ogg'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 15
w_class = WEIGHT_CLASS_NORMAL
throwforce = 9
@@ -171,7 +171,7 @@
icon_state = "saw"
hitsound = 'sound/weapons/circsawhit.ogg'
throwhitsound = 'sound/weapons/pierce.ogg'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
w_class = WEIGHT_CLASS_SMALL
throwforce = 9
diff --git a/code/modules/vehicles/pimpin_ride.dm b/code/modules/vehicles/pimpin_ride.dm
index 42e9298c88..4305aa1bce 100644
--- a/code/modules/vehicles/pimpin_ride.dm
+++ b/code/modules/vehicles/pimpin_ride.dm
@@ -60,7 +60,7 @@
floorbuffer = TRUE
qdel(I)
to_chat(user, "You upgrade [src] with the floor buffer.")
- flags |= CLEAN_ON_MOVE
+ flags_1 |= CLEAN_ON_MOVE_1
update_icon()
else
return ..()
diff --git a/code/modules/zombie/items.dm b/code/modules/zombie/items.dm
index 1b93a4f685..1b6e486984 100644
--- a/code/modules/zombie/items.dm
+++ b/code/modules/zombie/items.dm
@@ -4,7 +4,7 @@
humans, butchering all other living things to \
sustain the zombie, smashing open airlock doors and opening \
child-safe caps on bottles."
- flags = NODROP|ABSTRACT|DROPDEL
+ flags_1 = NODROP_1|ABSTRACT_1|DROPDEL_1
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
icon = 'icons/effects/blood.dmi'
icon_state = "bloodhand_left"
diff --git a/tgstation.dme b/tgstation.dme
index 23ffe1fef1..185bc4f91d 100644
--- a/tgstation.dme
+++ b/tgstation.dme
@@ -82,7 +82,6 @@
#include "code\__HELPERS\AStar.dm"
#include "code\__HELPERS\cmp.dm"
#include "code\__HELPERS\files.dm"
-#include "code\__HELPERS\flags.dm"
#include "code\__HELPERS\game.dm"
#include "code\__HELPERS\global_lists.dm"
#include "code\__HELPERS\icon_smoothing.dm"
|