[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..7669658522 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.", "[src] begins to glow a piercing magenta!", "You feel something start to invade your mind...")
var/oldcolor = color
- animate(src, color = "#AF0AAF", time = convert_time, flags = ANIMATION_END_NOW)
+ animate(src, color = "#AF0AAF", time = convert_time, flags_1 = ANIMATION_END_NOW)
var/obj/effect/temp_visual/ratvar/sigil/glow
if(glow_type)
glow = new glow_type(get_turf(src))
@@ -114,7 +114,7 @@
if(get_turf(L) != get_turf(src))
if(glow)
qdel(glow)
- animate(src, color = oldcolor, time = 20, flags = ANIMATION_END_NOW)
+ animate(src, color = oldcolor, time = 20, flags_1 = ANIMATION_END_NOW)
addtimer(CALLBACK(src, /atom/proc/update_atom_colour), 20)
visible_message("[src] slowly stops glowing!")
return
@@ -136,7 +136,7 @@
to_chat(M, "[message] you!")
else
to_chat(M, "[message] [L.real_name]!")
- animate(src, color = oldcolor, time = 20, flags = ANIMATION_END_NOW)
+ animate(src, color = oldcolor, time = 20, flags_1 = ANIMATION_END_NOW)
addtimer(CALLBACK(src, /atom/proc/update_atom_colour), 20)
visible_message("[src] slowly stops glowing!")
@@ -314,7 +314,7 @@
if((is_servant_of_ratvar(L) && L.suiciding) || sigil_active)
return
visible_message("[src] begins to glow bright blue!")
- animate(src, alpha = 255, time = 10, flags = ANIMATION_END_NOW) //we may have a previous animation going. finish it first, then do this one without delay.
+ animate(src, alpha = 255, time = 10, flags_1 = ANIMATION_END_NOW) //we may have a previous animation going. finish it first, then do this one without delay.
sleep(10)
//as long as they're still on the sigil and are either not a servant or they're a servant AND it has remaining vitality
while(L && (!is_servant_of_ratvar(L) || (is_servant_of_ratvar(L) && (GLOB.ratvar_awakens || GLOB.clockwork_vitality))) && get_turf(L) == get_turf(src))
@@ -380,4 +380,4 @@
animation_number = initial(animation_number)
sigil_active = FALSE
visible_message("[src] slowly stops glowing!")
- animate(src, alpha = initial(alpha), time = 10, flags = ANIMATION_END_NOW)
+ animate(src, alpha = initial(alpha), time = 10, flags_1 = ANIMATION_END_NOW)
diff --git a/code/game/gamemodes/clock_cult/clock_effects/spatial_gateway.dm b/code/game/gamemodes/clock_cult/clock_effects/spatial_gateway.dm
index 0770c62bec..057d424838 100644
--- a/code/game/gamemodes/clock_cult/clock_effects/spatial_gateway.dm
+++ b/code/game/gamemodes/clock_cult/clock_effects/spatial_gateway.dm
@@ -98,12 +98,12 @@
if(severity == 1 && uses)
uses = 0
visible_message("[src] is disrupted!")
- animate(src, alpha = 0, transform = matrix()*2, time = 10, flags = ANIMATION_END_NOW)
+ animate(src, alpha = 0, transform = matrix()*2, time = 10, flags_1 = ANIMATION_END_NOW)
deltimer(timerid)
timerid = QDEL_IN(src, 10)
linked_gateway.uses = 0
linked_gateway.visible_message("[linked_gateway] is disrupted!")
- animate(linked_gateway, alpha = 0, transform = matrix()*2, time = 10, flags = ANIMATION_END_NOW)
+ animate(linked_gateway, alpha = 0, transform = matrix()*2, time = 10, flags_1 = ANIMATION_END_NOW)
deltimer(linked_gateway.timerid)
linked_gateway.timerid = QDEL_IN(linked_gateway, 10)
return TRUE
@@ -136,13 +136,13 @@
uses = max(0, uses - 1)
linked_gateway.uses = max(0, linked_gateway.uses - 1)
if(!uses)
- animate(src, transform = matrix() * 0.1, time = 10, flags = ANIMATION_END_NOW)
- animate(linked_gateway, transform = matrix() * 0.1, time = 10, flags = ANIMATION_END_NOW)
+ animate(src, transform = matrix() * 0.1, time = 10, flags_1 = ANIMATION_END_NOW)
+ animate(linked_gateway, transform = matrix() * 0.1, time = 10, flags_1 = ANIMATION_END_NOW)
density = FALSE
linked_gateway.density = FALSE
else
- animate(src, transform = matrix() / 1.5, time = 10, flags = ANIMATION_END_NOW)
- animate(linked_gateway, transform = matrix() / 1.5, time = 10, flags = ANIMATION_END_NOW)
+ animate(src, transform = matrix() / 1.5, time = 10, flags_1 = ANIMATION_END_NOW)
+ animate(linked_gateway, transform = matrix() / 1.5, time = 10, flags_1 = ANIMATION_END_NOW)
addtimer(CALLBACK(src, .proc/check_uses), 10)
return TRUE
diff --git a/code/game/gamemodes/clock_cult/clock_helpers/fabrication_helpers.dm b/code/game/gamemodes/clock_cult/clock_helpers/fabrication_helpers.dm
index 47d095b35c..0c740d7f36 100644
--- a/code/game/gamemodes/clock_cult/clock_helpers/fabrication_helpers.dm
+++ b/code/game/gamemodes/clock_cult/clock_helpers/fabrication_helpers.dm
@@ -328,7 +328,7 @@
return
if(health == maxHealth)
return FALSE
- else if(!(flags & GODMODE))
+ else if(!(flags_1 & GODMODE))
user.visible_message("[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/proselytizer_helpers.dm b/code/game/gamemodes/clock_cult/clock_helpers/proselytizer_helpers.dm
index 56f55a8f80..e103bc2de4 100644
--- a/code/game/gamemodes/clock_cult/clock_helpers/proselytizer_helpers.dm
+++ b/code/game/gamemodes/clock_cult/clock_helpers/proselytizer_helpers.dm
@@ -365,7 +365,7 @@
return
if(health == maxHealth)
return FALSE
- else if(!(flags & GODMODE))
+ else if(!(flags_1 & GODMODE))
user.visible_message("[user]'s [proselytizer.name] starts coverin[src == user ? "g [user.p_them()]" : "g [src]"] in glowing orange energy...", \
"You start repairin[src == user ? "g yourself" : "g [src]"]...")
proselytizer.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 2c7d666cbf..2174f04dcb 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..0a99ba516b 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
@@ -31,7 +31,7 @@
/obj/item/weapon/melee/cultblade/ghost
name = "eldritch sword"
force = 19 //can't break normal airlocks
- flags = NODROP|DROPDEL
+ flags_1 = NODROP_1|DROPDEL_1
/obj/item/weapon/melee/cultblade/pickup(mob/living/user)
..()
@@ -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 b/code/game/gamemodes/cult/talisman.dm
index c5b94d983f..f63713aa5f 100644
--- a/code/game/gamemodes/cult/talisman.dm
+++ b/code/game/gamemodes/cult/talisman.dm
@@ -343,7 +343,7 @@
desc = "Shackles that bind the wrists with sinister magic."
trashtype = /obj/item/weapon/restraints/handcuffs/energy/used
origin_tech = "materials=2;magnets=5"
- flags = DROPDEL
+ flags_1 = DROPDEL_1
/obj/item/weapon/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/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/game_mode.dm b/code/game/gamemodes/game_mode.dm
index 790319e362..1aee6ee7d3 100644
--- a/code/game/gamemodes/game_mode.dm
+++ b/code/game/gamemodes/game_mode.dm
@@ -19,7 +19,7 @@
var/probability = 0
var/station_was_nuked = 0 //see nuclearbomb.dm and malfunction.dm
var/explosion_in_progress = 0 //sit back and relax
- var/round_ends_with_antag_death = 0 //flags the "one verse the station" antags as such
+ var/round_ends_with_antag_death = 0 //flags_1 the "one verse the station" antags as such
var/list/datum/mind/modePlayer = new
var/list/datum/mind/antag_candidates = list() // List of possible starting antags goes here
var/list/restricted_jobs = list() // Jobs it doesn't make sense to be. I.E chaplain or AI cultist
@@ -83,7 +83,7 @@
if(SSdbcore.Connect())
var/sql
- if(SSticker.mode)
+ if(SSticker.mode)
sql += "game_mode = '[SSticker.mode]'"
if(GLOB.revdata.originmastercommit)
if(sql)
@@ -111,7 +111,7 @@
var/list/living_crew = list()
for(var/mob/Player in GLOB.mob_list)
- if(Player.mind && Player.stat != DEAD && !isnewplayer(Player) && !isbrain(Player) && Player.client)
+ if(Player.mind && Player.stat != DEAD && !isnewplayer(Player) && !isbrain(Player) && Player.client)
living_crew += Player
if(living_crew.len / GLOB.joined_player_list.len <= config.midround_antag_life_check) //If a lot of the player base died, we start fresh
message_admins("Convert_roundtype failed due to too many dead people. Limit is [config.midround_antag_life_check * 100]% living crew")
@@ -120,7 +120,7 @@
var/list/datum/game_mode/runnable_modes = config.get_runnable_midround_modes(living_crew.len)
var/list/datum/game_mode/usable_modes = list()
for(var/datum/game_mode/G in runnable_modes)
- if(G.reroll_friendly && living_crew >= G.required_players)
+ if(G.reroll_friendly && living_crew >= G.required_players)
usable_modes += G
else
qdel(G)
@@ -208,7 +208,7 @@
return 0 //A resource saver: once we find someone who has to die for all antags to be dead, we can just keep checking them, cycling over everyone only when we lose our mark.
for(var/mob/Player in GLOB.living_mob_list)
- if(Player.mind && Player.stat != DEAD && !isnewplayer(Player) &&!isbrain(Player) && Player.client)
+ if(Player.mind && Player.stat != DEAD && !isnewplayer(Player) &&!isbrain(Player) && Player.client)
if(Player.mind.special_role) //Someone's still antaging!
living_antag_player = Player
return 0
@@ -369,7 +369,7 @@
if(candidates.len < recommended_enemies)
for(var/mob/dead/new_player/player in players)
if(player.client && player.ready == PLAYER_READY_TO_PLAY)
- if(!(role in player.client.prefs.be_special)) // We don't have enough people who want to be antagonist, make a separate list of people who don't want to be one
+ if(!(role in player.client.prefs.be_special)) // We don't have enough people who want to be antagonist, make a separate list of people who don't want to be one
if(!jobban_isbanned(player, "Syndicate") && !jobban_isbanned(player, role)) //Nodrak/Carn: Antag Job-bans
drafted += player.mind
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..579080894c 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)
@@ -499,7 +499,7 @@ Congratulations! You are now trained for invasive xenobiology research!"}
/obj/item/weapon/restraints/handcuffs/energy/used
desc = "energy discharge"
- flags = DROPDEL
+ flags_1 = DROPDEL_1
/obj/item/weapon/restraints/handcuffs/energy/used/dropped(mob/user)
user.visible_message("[user]'s [src] break in a discharge of energy!", \
@@ -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 b/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm
index c92fdddf26..74b4dc7ce1 100644
--- a/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm
+++ b/code/game/gamemodes/miniantags/abduction/abduction_outfits.dm
@@ -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/weapon/storage/backpack/B = locate() in H
if(B)
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/hades/hades_chapel.dm b/code/game/gamemodes/miniantags/hades/hades_chapel.dm
index 6b1f781fe0..cfed1e76be 100644
--- a/code/game/gamemodes/miniantags/hades/hades_chapel.dm
+++ b/code/game/gamemodes/miniantags/hades/hades_chapel.dm
@@ -16,7 +16,7 @@
/obj/structure/chair/hades/New()
..()
- flags |= NODECONSTRUCT
+ flags_1 |= NODECONSTRUCT_1
for(var/obj/structure/kitchenspike/KS in range(12))
watchedSpikes += KS
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 59bd4265d5..836287c9df 100644
--- a/code/game/machinery/PDApainter.dm
+++ b/code/game/machinery/PDApainter.dm
@@ -103,7 +103,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/_machinery.dm b/code/game/machinery/_machinery.dm
index f9d530feac..9d398fea53 100644
--- a/code/game/machinery/_machinery.dm
+++ b/code/game/machinery/_machinery.dm
@@ -35,8 +35,8 @@ Class Variables:
Next uid value in sequence
stat (bitflag)
- Machine status bit flags.
- Possible bit flags:
+ Machine status bit flags_1.
+ Possible bit flags_1:
BROKEN:1 -- Machine is broken
NOPOWER:2 -- No power is being supplied to machine.
POWEROFF:4 -- tbd
@@ -307,7 +307,7 @@ Class Procs:
gl_uid++
/obj/machinery/proc/default_pry_open(obj/item/weapon/crowbar/C)
- . = !(state_open || panel_open || is_operational() || (flags & NODECONSTRUCT)) && istype(C)
+ . = !(state_open || panel_open || is_operational() || (flags_1 & NODECONSTRUCT_1)) && istype(C)
if(.)
playsound(loc, C.usesound, 50, 1)
visible_message("[usr] pries open \the [src].", "You pry open \the [src].")
@@ -315,13 +315,13 @@ Class Procs:
return 1
/obj/machinery/proc/default_deconstruction_crowbar(obj/item/weapon/crowbar/C, ignore_panel = 0)
- . = istype(C) && (panel_open || ignore_panel) && !(flags & NODECONSTRUCT)
+ . = istype(C) && (panel_open || ignore_panel) && !(flags_1 & NODECONSTRUCT_1)
if(.)
playsound(loc, C.usesound, 50, 1)
deconstruct(TRUE)
/obj/machinery/deconstruct(disassembled = TRUE)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
on_deconstruction()
if(component_parts && component_parts.len)
spawn_frame(disassembled)
@@ -340,7 +340,7 @@ Class Procs:
M.icon_state = "box_1"
/obj/machinery/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
stat |= BROKEN
/obj/machinery/contents_explosion(severity, target)
@@ -354,7 +354,7 @@ Class Procs:
updateUsrDialog()
/obj/machinery/proc/default_deconstruction_screwdriver(mob/user, icon_state_open, icon_state_closed, obj/item/weapon/screwdriver/S)
- if(istype(S) && !(flags & NODECONSTRUCT))
+ if(istype(S) && !(flags_1 & NODECONSTRUCT_1))
playsound(loc, S.usesound, 50, 1)
if(!panel_open)
panel_open = TRUE
@@ -382,7 +382,7 @@ Class Procs:
return SUCCESSFUL_UNFASTEN
/obj/proc/default_unfasten_wrench(mob/user, obj/item/weapon/wrench/W, time = 20) //try to unwrench an object in a WONDERFUL DYNAMIC WAY
- if(istype(W) && !(flags & NODECONSTRUCT))
+ if(istype(W) && !(flags_1 & NODECONSTRUCT_1))
var/can_be_unfasten = can_be_unfasten_wrench(user)
if(!can_be_unfasten || can_be_unfasten == FAILED_UNFASTEN)
return can_be_unfasten
@@ -409,7 +409,7 @@ Class Procs:
/obj/machinery/proc/exchange_parts(mob/user, obj/item/weapon/storage/part_replacer/W)
if(!istype(W))
return
- if((flags & NODECONSTRUCT) && !W.works_from_distance)
+ if((flags_1 & NODECONSTRUCT_1) && !W.works_from_distance)
return
var/shouldplaysound = 0
if(component_parts)
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 c6606c6ced..53d8acd0a2 100644
--- a/code/game/machinery/autolathe.dm
+++ b/code/game/machinery/autolathe.dm
@@ -123,7 +123,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/_computer.dm b/code/game/machinery/computer/_computer.dm
index 85c02f6d37..2fe7d7b384 100644
--- a/code/game/machinery/computer/_computer.dm
+++ b/code/game/machinery/computer/_computer.dm
@@ -66,7 +66,7 @@
return
/obj/machinery/computer/attackby(obj/item/I, mob/user, params)
- if(istype(I, /obj/item/weapon/screwdriver) && circuit && !(flags&NODECONSTRUCT))
+ if(istype(I, /obj/item/weapon/screwdriver) && circuit && !(flags_1&NODECONSTRUCT_1))
playsound(src.loc, I.usesound, 50, 1)
to_chat(user, " You start to disconnect the monitor...")
if(do_after(user, 20*I.toolspeed, target = src))
@@ -85,7 +85,7 @@
playsound(src.loc, 'sound/items/welder.ogg', 100, 1)
/obj/machinery/computer/obj_break(damage_flag)
- if(circuit && !(flags & NODECONSTRUCT)) //no circuit, no breaking
+ if(circuit && !(flags_1 & NODECONSTRUCT_1)) //no circuit, no breaking
if(!(stat & BROKEN))
playsound(loc, 'sound/effects/glassbr3.ogg', 100, 1)
stat |= BROKEN
@@ -103,7 +103,7 @@
/obj/machinery/computer/deconstruct(disassembled = TRUE, mob/user)
on_deconstruction()
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(circuit) //no circuit, no computer frame
var/obj/structure/frame/computer/A = new /obj/structure/frame/computer(src.loc)
A.circuit = circuit
diff --git a/code/game/machinery/computer/buildandrepair.dm b/code/game/machinery/computer/buildandrepair.dm
index a53b270130..94b538a741 100644
--- a/code/game/machinery/computer/buildandrepair.dm
+++ b/code/game/machinery/computer/buildandrepair.dm
@@ -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/weapon/shard(loc)
new /obj/item/weapon/shard(loc)
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 7f71f77f4d..1ff66314f2 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..e1c477f82e 100644
--- a/code/game/machinery/doors/door.dm
+++ b/code/game/machinery/doors/door.dm
@@ -3,30 +3,30 @@
desc = "It opens and closes."
icon = 'icons/obj/doors/Doorint.dmi'
icon_state = "door1"
- anchored = TRUE
+ anchored = TRUE
opacity = 1
- density = TRUE
+ density = TRUE
layer = OPEN_DOOR_LAYER
power_channel = ENVIRON
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()
- var/visible = TRUE
- var/operating = FALSE
- var/glass = FALSE
- var/welded = FALSE
+ var/visible = TRUE
+ var/operating = FALSE
+ var/glass = FALSE
+ var/welded = FALSE
var/normalspeed = 1
- var/heat_proof = FALSE // For rglass-windowed airlocks and firedoors
- var/emergency = FALSE // Emergency access override
- var/sub_door = FALSE // true if it's meant to go under another door.
+ var/heat_proof = FALSE // For rglass-windowed airlocks and firedoors
+ var/emergency = FALSE // Emergency access override
+ var/sub_door = FALSE // true if it's meant to go under another door.
var/closingLayer = CLOSED_DOOR_LAYER
- var/autoclose = FALSE //does it automatically close after some time
- var/safe = TRUE //whether the door detects things and mobs in its way and reopen or crushes them.
- var/locked = FALSE //whether the door is bolted or not.
+ var/autoclose = FALSE //does it automatically close after some time
+ var/safe = TRUE //whether the door detects things and mobs in its way and reopen or crushes them.
+ var/locked = FALSE //whether the door is bolted or not.
var/assemblytype //the type of door frame to drop during deconstruction
var/auto_close //TO BE REMOVED, no longer used, it's just preventing a runtime with a map var edit.
var/datum/effect_system/spark_spread/spark_system
@@ -50,7 +50,7 @@
explosion_block = EXPLOSION_BLOCK_PROC
/obj/machinery/door/Destroy()
- density = FALSE
+ density = FALSE
air_update_turf(1)
update_freelook_sight()
GLOB.airlocks -= src
@@ -62,7 +62,7 @@
//process()
//return
-/obj/machinery/door/CollidedWith(atom/movable/AM)
+/obj/machinery/door/CollidedWith(atom/movable/AM)
if(operating || emagged)
return
if(ismob(AM))
@@ -98,7 +98,7 @@
..()
move_update_air(T)
-/obj/machinery/door/CanPass(atom/movable/mover, turf/target)
+/obj/machinery/door/CanPass(atom/movable/mover, turf/target)
if(istype(mover) && mover.checkpass(PASSGLASS))
return !opacity
return !density
@@ -163,7 +163,7 @@
else if(istype(I, /obj/item/weapon/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 ..()
@@ -192,7 +192,7 @@
playsound(src.loc, 'sound/items/welder.ogg', 100, 1)
/obj/machinery/door/emp_act(severity)
- if(prob(20/severity) && (istype(src, /obj/machinery/door/airlock) || istype(src, /obj/machinery/door/window)) )
+ if(prob(20/severity) && (istype(src, /obj/machinery/door/airlock) || istype(src, /obj/machinery/door/window)) )
INVOKE_ASYNC(src, .proc/open)
if(prob(40/severity))
if(secondsElectrified == 0)
@@ -232,16 +232,16 @@
return 1
if(operating)
return
- operating = TRUE
+ operating = TRUE
do_animate("opening")
set_opacity(0)
sleep(5)
- density = FALSE
+ density = FALSE
sleep(5)
layer = OPEN_DOOR_LAYER
update_icon()
set_opacity(0)
- operating = FALSE
+ operating = FALSE
air_update_turf(1)
update_freelook_sight()
if(autoclose)
@@ -260,17 +260,17 @@
if(autoclose)
addtimer(CALLBACK(src, .proc/autoclose), 60)
return
- operating = TRUE
+ operating = TRUE
do_animate("closing")
layer = closingLayer
sleep(5)
- density = TRUE
+ density = TRUE
sleep(5)
update_icon()
if(visible && !glass)
set_opacity(1)
- operating = FALSE
+ operating = FALSE
air_update_turf(1)
update_freelook_sight()
if(safe)
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 823e2f1805..f610531be1 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..d13685ccf1 100644
--- a/code/game/machinery/doors/windowdoor.dm
+++ b/code/game/machinery/doors/windowdoor.dm
@@ -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/weapon/electronics/airlock/electronics = null
@@ -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)
@@ -221,7 +221,7 @@
return
add_fingerprint(user)
- if(!(flags&NODECONSTRUCT))
+ if(!(flags_1&NODECONSTRUCT_1))
if(istype(I, /obj/item/weapon/screwdriver))
if(density || operating)
to_chat(user, "You need to open the door to access the maintenance panel!")
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 35f2bdcf30..4336571f56 100644
--- a/code/game/machinery/droneDispenser.dm
+++ b/code/game/machinery/droneDispenser.dm
@@ -292,7 +292,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] \
@@ -303,7 +303,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 b/code/game/machinery/firealarm.dm
index 0acdc5353c..363e4de80c 100644
--- a/code/game/machinery/firealarm.dm
+++ b/code/game/machinery/firealarm.dm
@@ -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/weapon/electronics/firealarm(loc)
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 b8434cc94d..8a0b86d034 100644
--- a/code/game/machinery/flasher.dm
+++ b/code/game/machinery/flasher.dm
@@ -130,7 +130,7 @@
..()
/obj/machinery/flasher/obj_break(damage_flag)
- if(!(flags & NODECONSTRUCT))
+ if(!(flags_1 & NODECONSTRUCT_1))
if(!(stat & BROKEN))
stat |= BROKEN
if(bulb)
@@ -138,7 +138,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 335210382e..4a0cf3a23a 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 6ce246d90f..45b891ce30 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 337411e508..1155dfa577 100644
--- a/code/game/machinery/launch_pad.dm
+++ b/code/game/machinery/launch_pad.dm
@@ -196,7 +196,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 b/code/game/machinery/limbgrower.dm
index ec0c6eb4d7..692c7dcb26 100644
--- a/code/game/machinery/limbgrower.dm
+++ b/code/game/machinery/limbgrower.dm
@@ -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/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 936f16320d..d0d40e7233 100644
--- a/code/game/machinery/magnet.dm
+++ b/code/game/machinery/magnet.dm
@@ -173,7 +173,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 b/code/game/machinery/newscaster.dm
index 9883236d64..d1a7bbd87a 100644
--- a/code/game/machinery/newscaster.dm
+++ b/code/game/machinery/newscaster.dm
@@ -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/weapon/shard(loc)
new /obj/item/weapon/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/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 87785b6a93..2e090e7c4f 100644
--- a/code/game/machinery/porta_turret/portable_turret.dm
+++ b/code/game/machinery/porta_turret/portable_turret.dm
@@ -321,7 +321,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 b/code/game/machinery/recycler.dm
index 07251f6cf0..e3d0128006 100644
--- a/code/game/machinery/recycler.dm
+++ b/code/game/machinery/recycler.dm
@@ -6,9 +6,9 @@
icon = 'icons/obj/recycling.dmi'
icon_state = "grinder-o0"
layer = ABOVE_ALL_MOB_LAYER // Overhead
- anchored = TRUE
- density = TRUE
- circuit = /obj/item/weapon/circuitboard/machine/recycler
+ anchored = TRUE
+ density = TRUE
+ circuit = /obj/item/weapon/circuitboard/machine/recycler
var/safety_mode = FALSE // Temporarily stops machine if it detects a mob
var/icon_name = "grinder-o"
var/blood = 0
@@ -19,10 +19,10 @@
var/eat_victim_items = TRUE
var/item_recycle_sound = 'sound/items/welder.ogg'
-/obj/machinery/recycler/Initialize()
+/obj/machinery/recycler/Initialize()
materials = new /datum/material_container(src, list(MAT_METAL, MAT_GLASS, MAT_PLASMA, MAT_SILVER, MAT_GOLD, MAT_DIAMOND, MAT_URANIUM, MAT_BANANIUM, MAT_TITANIUM))
update_icon()
- return ..()
+ return ..()
/obj/machinery/recycler/RefreshParts()
var/amt_made = 0
@@ -64,14 +64,14 @@
return ..()
/obj/machinery/recycler/emag_act(mob/user)
- if(emagged)
- return
- emagged = TRUE
- if(safety_mode)
- safety_mode = FALSE
- update_icon()
- playsound(src, "sparks", 75, 1, -1)
- to_chat(user, "You use the cryptographic sequencer on the [src].")
+ if(emagged)
+ return
+ emagged = TRUE
+ if(safety_mode)
+ safety_mode = FALSE
+ update_icon()
+ playsound(src, "sparks", 75, 1, -1)
+ to_chat(user, "You use the cryptographic sequencer on the [src].")
/obj/machinery/recycler/update_icon()
..()
@@ -80,7 +80,7 @@
is_powered = FALSE
icon_state = icon_name + "[is_powered]" + "[(blood ? "bld" : "")]" // add the blood tag at the end
-/obj/machinery/recycler/CollidedWith(atom/movable/AM)
+/obj/machinery/recycler/CollidedWith(atom/movable/AM)
if(stat & (BROKEN|NOPOWER))
return
@@ -187,10 +187,10 @@
name = "dangerous old crusher"
emagged = TRUE
crush_damage = 120
- flags = NODECONSTRUCT
+ flags_1 = NODECONSTRUCT_1
-/obj/item/weapon/paper/guides/recycler
+/obj/item/weapon/paper/guides/recycler
name = "paper - 'garbage duty instructions'"
info = "New Assignment
You have been assigned to collect garbage from trash bins, located around the station. The crewmembers will put their trash into it and you will collect the said trash.
There is a recycling machine near your closet, inside maintenance; use it to recycle the trash for a small chance to get useful minerals. Then deliver these minerals to cargo or engineering. You are our last hope for a clean station, do not screw this up!"
-#undef SAFETY_COOLDOWN
+#undef SAFETY_COOLDOWN
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 1de9f5f403..4079db2018 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 6aaea43f97..f625de8c5c 100644
--- a/code/game/machinery/suit_storage_unit.dm
+++ b/code/game/machinery/suit_storage_unit.dm
@@ -161,7 +161,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 4390aaebf6..15877eea39 100644
--- a/code/game/machinery/vending.dm
+++ b/code/game/machinery/vending.dm
@@ -106,14 +106,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..02f5b2e15a 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.
@@ -112,7 +112,7 @@
var/nextsmash = 0
var/smashcooldown = 3 //deciseconds
- var/occupant_sight_flags = 0 //sight flags to give to the occupant (e.g. mech mining scanner gives meson-like vision)
+ var/occupant_sight_flags = 0 //sight flags_1 to give to the occupant (e.g. mech mining scanner gives meson-like vision)
hud_possible = list (DIAG_STAT_HUD, DIAG_BATT_HUD, DIAG_MECH_HUD, DIAG_TRACK_HUD)
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 b/code/game/objects/effects/mines.dm
index 80b291e571..09c1716ad0 100644
--- a/code/game/objects/effects/mines.dm
+++ b/code/game/objects/effects/mines.dm
@@ -130,7 +130,7 @@
new /datum/hallucination/delusion(victim, TRUE, "demon",duration,0)
var/obj/item/weapon/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/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/effects/temporary_visuals/clockcult.dm b/code/game/objects/effects/temporary_visuals/clockcult.dm
index b1068b0038..237fdbc0ea 100644
--- a/code/game/objects/effects/temporary_visuals/clockcult.dm
+++ b/code/game/objects/effects/temporary_visuals/clockcult.dm
@@ -86,8 +86,8 @@
transform = matrix()*2
var/matrix/M = transform
M.Turn(90)
- animate(src, alpha = 20, time = duration, easing = BOUNCE_EASING, flags = ANIMATION_PARALLEL)
- animate(src, transform = M, time = duration, flags = ANIMATION_PARALLEL)
+ animate(src, alpha = 20, time = duration, easing = BOUNCE_EASING, flags_1 = ANIMATION_PARALLEL)
+ animate(src, transform = M, time = duration, flags_1 = ANIMATION_PARALLEL)
/obj/effect/temp_visual/ratvar/ocular_warden
name = "warden's gaze"
diff --git a/code/game/objects/effects/temporary_visuals/cult.dm b/code/game/objects/effects/temporary_visuals/cult.dm
index a649763435..125904604f 100644
--- a/code/game/objects/effects/temporary_visuals/cult.dm
+++ b/code/game/objects/effects/temporary_visuals/cult.dm
@@ -65,8 +65,8 @@
var/matrix/M = transform
M.Turn(turnedness)
transform = M
- animate(src, alpha = 255, time = duration, easing = BOUNCE_EASING, flags = ANIMATION_PARALLEL)
- animate(src, transform = oldtransform, time = duration, flags = ANIMATION_PARALLEL)
+ animate(src, alpha = 255, time = duration, easing = BOUNCE_EASING, flags_1 = ANIMATION_PARALLEL)
+ animate(src, transform = oldtransform, time = duration, flags_1 = ANIMATION_PARALLEL)
/obj/effect/temp_visual/cult/rune_spawn/rune1
icon_state = "rune1words"
diff --git a/code/game/objects/effects/temporary_visuals/miscellaneous.dm b/code/game/objects/effects/temporary_visuals/miscellaneous.dm
index b0049fc3fd..8b2d95f373 100644
--- a/code/game/objects/effects/temporary_visuals/miscellaneous.dm
+++ b/code/game/objects/effects/temporary_visuals/miscellaneous.dm
@@ -377,7 +377,7 @@
M = size_matrix*0.1
else
M = size_matrix*2
- animate(src, alpha = 20, transform = M, time = duration, flags = ANIMATION_PARALLEL)
+ animate(src, alpha = 20, transform = M, time = duration, flags_1 = ANIMATION_PARALLEL)
/obj/effect/temp_visual/bleed/explode
icon_state = "bleed10"
diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm
index 6e428b99ba..44526b72bc 100644
--- a/code/game/objects/items.dm
+++ b/code/game/objects/items.dm
@@ -35,10 +35,10 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
pressure_resistance = 4
var/obj/item/master = null
- var/heat_protection = 0 //flags which determine which body parts are protected from heat. Use the HEAD, CHEST, GROIN, etc. flags. See setup.dm
- var/cold_protection = 0 //flags which determine which body parts are protected from cold. Use the HEAD, CHEST, GROIN, etc. flags. See setup.dm
- var/max_heat_protection_temperature //Set this variable to determine up to which temperature (IN KELVIN) the item protects against heat damage. Keep at null to disable protection. Only protects areas set by heat_protection flags
- var/min_cold_protection_temperature //Set this variable to determine down to which temperature (IN KELVIN) the item protects against cold damage. 0 is NOT an acceptable number due to if(varname) tests!! Keep at null to disable protection. Only protects areas set by cold_protection flags
+ var/heat_protection = 0 //flags_1 which determine which body parts are protected from heat. Use the HEAD, CHEST, GROIN, etc. flags_1. See setup.dm
+ var/cold_protection = 0 //flags_1 which determine which body parts are protected from cold. Use the HEAD, CHEST, GROIN, etc. flags_1. See setup.dm
+ var/max_heat_protection_temperature //Set this variable to determine up to which temperature (IN KELVIN) the item protects against heat damage. Keep at null to disable protection. Only protects areas set by heat_protection flags_1
+ var/min_cold_protection_temperature //Set this variable to determine down to which temperature (IN KELVIN) the item protects against cold damage. 0 is NOT an acceptable number due to if(varname) tests!! Keep at null to disable protection. Only protects areas set by cold_protection flags_1
var/list/actions //list of /datum/action's that this item has.
var/list/actions_types //list of paths of action datums to give to the item on New().
@@ -48,7 +48,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
var/item_color = null //this needs deprecating, soonish
- var/body_parts_covered = 0 //see setup.dm for appropriate bit flags
+ var/body_parts_covered = 0 //see setup.dm for appropriate bit flags_1
//var/heat_transfer_coefficient = 1 //0 prevents all transfers, 1 is invisible
var/gas_transfer_coefficient = 1 // for leaking gas from turf to mask and vice-versa (for masks right now, but at some point, i'd like to include space helmets)
var/permeability_coefficient = 1 // for chemicals/diseases
@@ -86,7 +86,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
var/embedded_unsafe_removal_pain_multiplier = EMBEDDED_UNSAFE_REMOVAL_PAIN_MULTIPLIER //The coefficient of multiplication for the damage removing this without surgery causes (this*w_class)
var/embedded_unsafe_removal_time = EMBEDDED_UNSAFE_REMOVAL_TIME //A time in ticks, multiplied by the w_class.
- var/flags_cover = 0 //for flags such as GLASSESCOVERSEYES
+ var/flags_cover = 0 //for flags_1 such as GLASSESCOVERSEYES
var/heat = 0
var/sharpness = IS_BLUNT
var/toolspeed = 1
@@ -127,7 +127,7 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
force_string_override = TRUE
/obj/item/Destroy()
- flags &= ~DROPDEL //prevent reqdels
+ flags_1 &= ~DROPDEL_1 //prevent reqdels
if(ismob(loc))
var/mob/m = loc
m.temporarilyRemoveItemFromInventory(src, TRUE)
@@ -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/PDA/cart.dm b/code/game/objects/items/devices/PDA/cart.dm
index fb5fb06d82..6298b8ce03 100644
--- a/code/game/objects/items/devices/PDA/cart.dm
+++ b/code/game/objects/items/devices/PDA/cart.dm
@@ -27,12 +27,12 @@
var/obj/item/radio/integrated/radio = null
- var/access = 0 //Bit flags for cartridge access
+ var/access = 0 //Bit flags_1 for cartridge access
// var/access_flora = 0
var/remote_door_id = ""
- var/bot_access_flags = 0 //Bit flags. Selection: SEC_BOT | MULE_BOT | FLOOR_BOT | CLEAN_BOT | MED_BOT
+ var/bot_access_flags = 0 //Bit flags_1. Selection: SEC_BOT | MULE_BOT | FLOOR_BOT | CLEAN_BOT | MED_BOT
var/spam_enabled = 0 //Enables "Send to All" Option
var/obj/item/device/pda/host_pda = null
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 b4d66ac5e6..e3fb16ee81 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 b/code/game/objects/items/robot/robot_items.dm
index 8d6c74a83c..960d861e26 100644
--- a/code/game/objects/items/robot/robot_items.dm
+++ b/code/game/objects/items/robot/robot_items.dm
@@ -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/weapon/stock_parts/cell, /obj/item/weapon/gun/energy))
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 1bd66b6a38..9d3a0c7705 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 b/code/game/objects/items/stacks/wrap.dm
index 06c289846e..c162875abd 100644
--- a/code/game/objects/items/stacks/wrap.dm
+++ b/code/game/objects/items/stacks/wrap.dm
@@ -9,7 +9,7 @@
desc = "Wrap packages with this festive paper to make gifts."
icon = 'icons/obj/items.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.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/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..4736e401aa 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)
@@ -244,8 +244,8 @@
// Copied from /obj/item/weapon/melee/transforming/energy/sword/attackby
/obj/item/toy/sword/attackby(obj/item/weapon/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.")
@@ -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/AI_modules.dm b/code/game/objects/items/weapons/AI_modules.dm
index 66e3e0317f..0d5f542b74 100644
--- a/code/game/objects/items/weapons/AI_modules.dm
+++ b/code/game/objects/items/weapons/AI_modules.dm
@@ -14,7 +14,7 @@ AI MODULES
lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
desc = "An AI Module for programming laws to an AI."
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 5
w_class = WEIGHT_CLASS_SMALL
throwforce = 0
diff --git a/code/game/objects/items/weapons/RCD.dm b/code/game/objects/items/weapons/RCD.dm
index b40316ff78..72e17872c8 100644
--- a/code/game/objects/items/weapons/RCD.dm
+++ b/code/game/objects/items/weapons/RCD.dm
@@ -12,7 +12,7 @@ obj/item/weapon/construction
opacity = 0
density = FALSE
anchored = FALSE
- flags = CONDUCT | NOBLUDGEON
+ flags_1 = CONDUCT_1 | NOBLUDGEON_1
force = 0
throwforce = 10
throw_speed = 3
diff --git a/code/game/objects/items/weapons/RPD.dm b/code/game/objects/items/weapons/RPD.dm
index 75141bddd5..9cd697edb2 100644
--- a/code/game/objects/items/weapons/RPD.dm
+++ b/code/game/objects/items/weapons/RPD.dm
@@ -124,7 +124,7 @@ GLOBAL_LIST_INIT(RPD_recipes, list(
desc = "A device used to rapidly pipe things."
icon = 'icons/obj/tools.dmi'
icon_state = "rpd"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
throwforce = 10
throw_speed = 1
diff --git a/code/game/objects/items/weapons/RSF.dm b/code/game/objects/items/weapons/RSF.dm
index 6bae1adcd9..6f5088f326 100644
--- a/code/game/objects/items/weapons/RSF.dm
+++ b/code/game/objects/items/weapons/RSF.dm
@@ -13,7 +13,7 @@ RSF
opacity = 0
density = FALSE
anchored = FALSE
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 0, acid = 0)
var/matter = 0
var/mode = 1
diff --git a/code/game/objects/items/weapons/airlock_painter.dm b/code/game/objects/items/weapons/airlock_painter.dm
index a635bcdefb..844c59075b 100644
--- a/code/game/objects/items/weapons/airlock_painter.dm
+++ b/code/game/objects/items/weapons/airlock_painter.dm
@@ -10,7 +10,7 @@
materials = list(MAT_METAL=50, MAT_GLASS=50)
origin_tech = "engineering=2"
- flags = CONDUCT | NOBLUDGEON
+ flags_1 = CONDUCT_1 | NOBLUDGEON_1
slot_flags = SLOT_BELT
var/obj/item/device/toner/ink = null
diff --git a/code/game/objects/items/weapons/cards_ids.dm b/code/game/objects/items/weapons/cards_ids.dm
index e4a69dfab7..19c55e23ac 100644
--- a/code/game/objects/items/weapons/cards_ids.dm
+++ b/code/game/objects/items/weapons/cards_ids.dm
@@ -56,7 +56,7 @@
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
origin_tech = "magnets=2;syndicate=2"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/prox_check = TRUE //If the emag requires you to be in range
/obj/item/weapon/card/emag/bluespace
diff --git a/code/game/objects/items/weapons/chrono_eraser.dm b/code/game/objects/items/weapons/chrono_eraser.dm
index 2d99238eb8..e7681b52c3 100644
--- a/code/game/objects/items/weapons/chrono_eraser.dm
+++ b/code/game/objects/items/weapons/chrono_eraser.dm
@@ -46,7 +46,7 @@
icon_state = "chronogun"
item_state = "chronogun"
w_class = WEIGHT_CLASS_NORMAL
- flags = NODROP | DROPDEL
+ flags_1 = NODROP_1 | DROPDEL_1
ammo_type = list(/obj/item/ammo_casing/energy/chrono_beam)
can_charge = 0
fire_delay = 50
diff --git a/code/game/objects/items/weapons/cigs_lighters.dm b/code/game/objects/items/weapons/cigs_lighters.dm
index f920dc10f9..97f17c19d1 100644
--- a/code/game/objects/items/weapons/cigs_lighters.dm
+++ b/code/game/objects/items/weapons/cigs_lighters.dm
@@ -102,7 +102,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
icon_state = "cigoff"
throw_speed = 0.5
item_state = "cigoff"
- container_type = INJECTABLE
+ container_type = INJECTABLE_1
w_class = WEIGHT_CLASS_TINY
body_parts_covered = null
var/lit = FALSE
@@ -470,7 +470,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
icon_state = "zippo"
item_state = "zippo"
w_class = WEIGHT_CLASS_TINY
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
var/lit = 0
var/fancy = TRUE
@@ -649,7 +649,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
item_state = "[param_color]_vape"
/obj/item/clothing/mask/vape/attackby(obj/item/O, mob/user, params)
- if(istype(O, /obj/item/weapon/reagent_containers) && (O.container_type & OPENCONTAINER))
+ if(istype(O, /obj/item/weapon/reagent_containers) && (O.container_type & OPENCONTAINER_1))
if(reagents.total_volume < chem_volume)
if(O.reagents.total_volume > 0)
O.reagents.trans_to(src,25)
diff --git a/code/game/objects/items/weapons/clown_items.dm b/code/game/objects/items/weapons/clown_items.dm
index 567ac3672a..35e3e09cda 100644
--- a/code/game/objects/items/weapons/clown_items.dm
+++ b/code/game/objects/items/weapons/clown_items.dm
@@ -16,7 +16,7 @@
icon = 'icons/obj/items.dmi'
icon_state = "soap"
w_class = WEIGHT_CLASS_TINY
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
throwforce = 0
throw_speed = 3
throw_range = 7
diff --git a/code/game/objects/items/weapons/cosmetics.dm b/code/game/objects/items/weapons/cosmetics.dm
index a7051ed109..35875837bf 100644
--- a/code/game/objects/items/weapons/cosmetics.dm
+++ b/code/game/objects/items/weapons/cosmetics.dm
@@ -107,7 +107,7 @@
desc = "The latest and greatest power razor born from the science of shaving."
icon = 'icons/obj/items.dmi'
icon_state = "razor"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_TINY
diff --git a/code/game/objects/items/weapons/extinguisher.dm b/code/game/objects/items/weapons/extinguisher.dm
index da8d4fe97e..87572b0832 100644
--- a/code/game/objects/items/weapons/extinguisher.dm
+++ b/code/game/objects/items/weapons/extinguisher.dm
@@ -5,7 +5,7 @@
icon_state = "fire_extinguisher0"
item_state = "fire_extinguisher"
hitsound = 'sound/weapons/smash.ogg'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
throwforce = 10
w_class = WEIGHT_CLASS_NORMAL
throw_speed = 2
@@ -30,7 +30,7 @@
icon_state = "miniFE0"
item_state = "miniFE"
hitsound = null //it is much lighter, after all.
- flags = null //doesn't CONDUCT
+ flags_1 = null //doesn't CONDUCT_1
throwforce = 2
w_class = WEIGHT_CLASS_SMALL
force = 3
diff --git a/code/game/objects/items/weapons/flamethrower.dm b/code/game/objects/items/weapons/flamethrower.dm
index 1829538a01..0320fe39af 100755
--- a/code/game/objects/items/weapons/flamethrower.dm
+++ b/code/game/objects/items/weapons/flamethrower.dm
@@ -6,7 +6,7 @@
item_state = "flamethrower_0"
lefthand_file = 'icons/mob/inhands/weapons/flamethrower_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/flamethrower_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 3
throwforce = 10
throw_speed = 1
diff --git a/code/game/objects/items/weapons/grenades/ghettobomb.dm b/code/game/objects/items/weapons/grenades/ghettobomb.dm
index de1c3a6cbd..8313732d20 100644
--- a/code/game/objects/items/weapons/grenades/ghettobomb.dm
+++ b/code/game/objects/items/weapons/grenades/ghettobomb.dm
@@ -11,7 +11,7 @@
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
throw_speed = 3
throw_range = 7
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
active = 0
det_time = 50
diff --git a/code/game/objects/items/weapons/grenades/grenade.dm b/code/game/objects/items/weapons/grenades/grenade.dm
index 08118f6447..74de39a6d9 100644
--- a/code/game/objects/items/weapons/grenades/grenade.dm
+++ b/code/game/objects/items/weapons/grenades/grenade.dm
@@ -9,7 +9,7 @@
righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
throw_speed = 3
throw_range = 7
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
resistance_flags = FLAMMABLE
max_integrity = 40
diff --git a/code/game/objects/items/weapons/grenades/plastic.dm b/code/game/objects/items/weapons/grenades/plastic.dm
index a043f3890c..654914b8bf 100644
--- a/code/game/objects/items/weapons/grenades/plastic.dm
+++ b/code/game/objects/items/weapons/grenades/plastic.dm
@@ -3,7 +3,8 @@
desc = "Used to put holes in specific areas without too much extra hole."
icon_state = "plastic-explosive0"
item_state = "plastic-explosive"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
+ 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
@@ -164,7 +161,7 @@
item_state = "plasticx"
lefthand_file = 'icons/mob/inhands/weapons/bombs_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/bombs_righthand.dmi'
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
w_class = WEIGHT_CLASS_SMALL
origin_tech = "syndicate=1"
var/timer = 10
diff --git a/code/game/objects/items/weapons/handcuffs.dm b/code/game/objects/items/weapons/handcuffs.dm
index 40fa7d2520..2f0d105eac 100644
--- a/code/game/objects/items/weapons/handcuffs.dm
+++ b/code/game/objects/items/weapons/handcuffs.dm
@@ -9,9 +9,9 @@
gender = PLURAL
icon = 'icons/obj/items.dmi'
icon_state = "handcuff"
- lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
- flags = CONDUCT
+ lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
throwforce = 0
w_class = WEIGHT_CLASS_SMALL
@@ -90,8 +90,8 @@
desc = "Looks like some cables tied together. Could be used to tie something up."
icon_state = "cuff_red"
item_state = "coil_red"
- lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
materials = list(MAT_METAL=150, MAT_GLASS=75)
origin_tech = "engineering=2"
breakouttime = 300 //Deciseconds = 30s
@@ -145,7 +145,7 @@
/obj/item/weapon/restraints/handcuffs/cable/white
icon_state = "cuff_white"
- item_state = "coil_white"
+ item_state = "coil_white"
/obj/item/weapon/restraints/handcuffs/alien
icon_state = "handcuffAlien"
@@ -210,8 +210,8 @@
name = "zipties"
desc = "Plastic, disposable zipties that can be used to restrain temporarily but are destroyed after use."
icon_state = "cuff_white"
- lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
materials = list()
breakouttime = 450 //Deciseconds = 45s
trashtype = /obj/item/weapon/restraints/handcuffs/cable/zipties/used
@@ -219,7 +219,7 @@
/obj/item/weapon/restraints/handcuffs/cable/zipties/used
desc = "A pair of broken zipties."
icon_state = "cuff_white_used"
- item_state = "cuff_white"
+ item_state = "cuff_white"
/obj/item/weapon/restraints/handcuffs/cable/zipties/used/attack()
return
@@ -233,9 +233,9 @@
gender = PLURAL
icon = 'icons/obj/items.dmi'
icon_state = "handcuff"
- lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
- flags = CONDUCT
+ lefthand_file = 'icons/mob/inhands/equipment/security_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/security_righthand.dmi'
+ flags_1 = CONDUCT_1
throwforce = 0
w_class = WEIGHT_CLASS_NORMAL
origin_tech = "engineering=3;combat=3"
@@ -304,7 +304,7 @@
armed = 1
icon_state = "e_snare"
trap_damage = 0
- flags = DROPDEL
+ flags_1 = DROPDEL_1
/obj/item/weapon/restraints/legcuffs/beartrap/energy/New()
..()
diff --git a/code/game/objects/items/weapons/his_grace.dm b/code/game/objects/items/weapons/his_grace.dm
index 5b57fab800..43f6a1cdf3 100644
--- a/code/game/objects/items/weapons/his_grace.dm
+++ b/code/game/objects/items/weapons/his_grace.dm
@@ -85,7 +85,7 @@
do_attack_animation(master, null, src)
master.emote("scream")
master.remove_status_effect(STATUS_EFFECT_HISGRACE)
- flags &= ~NODROP
+ flags_1 &= ~NODROP_1
master.Knockdown(60)
master.adjustBruteLoss(master.maxHealth)
playsound(master, 'sound/effects/splat.ogg', 100, 0)
@@ -169,20 +169,20 @@
update_stats()
/obj/item/weapon/his_grace/proc/update_stats()
- flags &= ~NODROP
+ flags_1 &= ~NODROP_1
var/mob/living/master = get_atom_on_turf(src, /mob/living)
switch(bloodthirst)
if(HIS_GRACE_CONSUME_OWNER to HIS_GRACE_FALL_ASLEEP)
if(HIS_GRACE_CONSUME_OWNER > prev_bloodthirst)
master.visible_message("[src] enters a frenzy!")
if(HIS_GRACE_STARVING to HIS_GRACE_CONSUME_OWNER)
- flags |= NODROP
+ flags_1 |= NODROP_1
if(HIS_GRACE_STARVING > prev_bloodthirst)
master.visible_message("[src] is starving!", "[src]'s bloodlust overcomes you. [src] must be fed, or you will become His meal.\
[force_bonus < 15 ? " And still, His power grows.":""]")
force_bonus = max(force_bonus, 15)
if(HIS_GRACE_FAMISHED to HIS_GRACE_STARVING)
- flags |= NODROP
+ flags_1 |= NODROP_1
if(HIS_GRACE_FAMISHED > prev_bloodthirst)
master.visible_message("[src] is very hungry!", "Spines sink into your hand. [src] must feed immediately.\
[force_bonus < 10 ? " His power grows.":""]")
diff --git a/code/game/objects/items/weapons/holosign_creator.dm b/code/game/objects/items/weapons/holosign_creator.dm
index 23b65e01bf..22f93003ab 100644
--- a/code/game/objects/items/weapons/holosign_creator.dm
+++ b/code/game/objects/items/weapons/holosign_creator.dm
@@ -12,7 +12,7 @@
throw_speed = 3
throw_range = 7
origin_tech = "magnets=1;programming=3"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/list/signs = list()
var/max_signs = 10
var/creation_time = 0 //time to create a holosign in deciseconds.
diff --git a/code/game/objects/items/weapons/holy_weapons.dm b/code/game/objects/items/weapons/holy_weapons.dm
index 8e1cf3301e..e43ee91cc4 100644
--- a/code/game/objects/items/weapons/holy_weapons.dm
+++ b/code/game/objects/items/weapons/holy_weapons.dm
@@ -53,7 +53,7 @@
item_state = "disintegrate"
name = "god hand"
desc = "This hand of yours glows with an awesome power!"
- flags = ABSTRACT | NODROP | DROPDEL
+ flags_1 = ABSTRACT_1 | NODROP_1 | DROPDEL_1
w_class = WEIGHT_CLASS_HUGE
hitsound = 'sound/weapons/sear.ogg'
damtype = BURN
@@ -275,7 +275,7 @@
lefthand_file = 'icons/mob/inhands/weapons/chainsaw_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/chainsaw_righthand.dmi'
w_class = WEIGHT_CLASS_HUGE
- flags = NODROP | ABSTRACT
+ flags_1 = NODROP_1 | ABSTRACT_1
sharpness = IS_SHARP
attack_verb = list("sawed", "torn", "cut", "chopped", "diced")
hitsound = 'sound/weapons/chainsawhit.ogg'
@@ -322,7 +322,7 @@
item_state = "arm_blade"
lefthand_file = 'icons/mob/inhands/antag/changeling_lefthand.dmi'
righthand_file = 'icons/mob/inhands/antag/changeling_righthand.dmi'
- flags = ABSTRACT | NODROP
+ flags_1 = ABSTRACT_1 | NODROP_1
w_class = WEIGHT_CLASS_HUGE
sharpness = IS_SHARP
@@ -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/items/weapons/implants/implant.dm b/code/game/objects/items/weapons/implants/implant.dm
index e91211f1b2..bec58ebc6e 100644
--- a/code/game/objects/items/weapons/implants/implant.dm
+++ b/code/game/objects/items/weapons/implants/implant.dm
@@ -9,7 +9,7 @@
item_color = "b"
var/allow_multiple = FALSE
var/uses = -1
- flags = DROPDEL
+ flags_1 = DROPDEL_1
/obj/item/weapon/implant/proc/trigger(emote, mob/living/carbon/source)
diff --git a/code/game/objects/items/weapons/implants/implant_chem.dm b/code/game/objects/items/weapons/implants/implant_chem.dm
index d259e7b26e..4fc78d180e 100644
--- a/code/game/objects/items/weapons/implants/implant_chem.dm
+++ b/code/game/objects/items/weapons/implants/implant_chem.dm
@@ -3,7 +3,7 @@
desc = "Injects things."
icon_state = "reagents"
origin_tech = "materials=3;biotech=4"
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
/obj/item/weapon/implant/chem/get_data()
var/dat = {"Implant Specifications:
diff --git a/code/game/objects/items/weapons/kitchen.dm b/code/game/objects/items/weapons/kitchen.dm
index a125aaf89c..0529e729a1 100644
--- a/code/game/objects/items/weapons/kitchen.dm
+++ b/code/game/objects/items/weapons/kitchen.dm
@@ -24,7 +24,7 @@
throw_speed = 3
throw_range = 5
materials = list(MAT_METAL=80)
- flags = CONDUCT
+ flags_1 = CONDUCT_1
attack_verb = list("attacked", "stabbed", "poked")
hitsound = 'sound/weapons/bladeslice.ogg'
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 30)
@@ -56,7 +56,7 @@
name = "kitchen knife"
icon_state = "knife"
desc = "A general purpose Chef's Knife made by SpaceCook Incorporated. Guaranteed to stay sharp for years to come."
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
w_class = WEIGHT_CLASS_SMALL
throwforce = 10
@@ -95,7 +95,7 @@
name = "butcher's cleaver"
icon_state = "butch"
desc = "A huge thing used for chopping and chopping up meat. This includes clowns and clown by-products."
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 15
throwforce = 10
materials = list(MAT_METAL=18000)
diff --git a/code/game/objects/items/weapons/melee/energy.dm b/code/game/objects/items/weapons/melee/energy.dm
index 8bca4d02a1..900156aabe 100644
--- a/code/game/objects/items/weapons/melee/energy.dm
+++ b/code/game/objects/items/weapons/melee/energy.dm
@@ -72,7 +72,7 @@
throw_range = 5
w_class = WEIGHT_CLASS_NORMAL
w_class_on = WEIGHT_CLASS_HUGE
- flags = CONDUCT
+ flags_1 = CONDUCT_1
armour_penetration = 100
origin_tech = "combat=4;magnets=3"
attack_verb_off = list("attacked", "chopped", "cleaved", "torn", "cut")
diff --git a/code/game/objects/items/weapons/melee/misc.dm b/code/game/objects/items/weapons/melee/misc.dm
index 5d32856bc9..bcdddd4ef3 100644
--- a/code/game/objects/items/weapons/melee/misc.dm
+++ b/code/game/objects/items/weapons/melee/misc.dm
@@ -16,7 +16,7 @@
item_state = "chain"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
force = 10
throwforce = 7
@@ -51,7 +51,7 @@
item_state = "sabre"
lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
unique_rename = 1
force = 15
throwforce = 10
diff --git a/code/game/objects/items/weapons/paiwire.dm b/code/game/objects/items/weapons/paiwire.dm
index 6753b177df..c4d52c9bd0 100644
--- a/code/game/objects/items/weapons/paiwire.dm
+++ b/code/game/objects/items/weapons/paiwire.dm
@@ -3,7 +3,7 @@
name = "data cable"
icon = 'icons/obj/power.dmi'
icon_state = "wire1"
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
var/obj/machinery/machine
/obj/item/weapon/pai_cable/proc/plugin(obj/machinery/M, mob/living/user)
diff --git a/code/game/objects/items/weapons/powerfist.dm b/code/game/objects/items/weapons/powerfist.dm
index 77d7784852..4282bf1698 100644
--- a/code/game/objects/items/weapons/powerfist.dm
+++ b/code/game/objects/items/weapons/powerfist.dm
@@ -5,7 +5,7 @@
item_state = "powerfist"
lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
attack_verb = list("whacked", "fisted", "power-punched")
force = 20
throwforce = 10
diff --git a/code/game/objects/items/weapons/singularityhammer.dm b/code/game/objects/items/weapons/singularityhammer.dm
index a229b82660..d292b7d783 100644
--- a/code/game/objects/items/weapons/singularityhammer.dm
+++ b/code/game/objects/items/weapons/singularityhammer.dm
@@ -4,7 +4,7 @@
icon_state = "mjollnir0"
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
force = 5
force_unwielded = 5
@@ -75,7 +75,7 @@
icon_state = "mjollnir0"
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
force = 5
force_unwielded = 5
diff --git a/code/game/objects/items/weapons/storage/bags.dm b/code/game/objects/items/weapons/storage/bags.dm
index 5c245bf4c0..113d8fd1cd 100644
--- a/code/game/objects/items/weapons/storage/bags.dm
+++ b/code/game/objects/items/weapons/storage/bags.dm
@@ -307,7 +307,7 @@
throw_speed = 3
throw_range = 5
w_class = WEIGHT_CLASS_BULKY
- flags = CONDUCT
+ flags_1 = CONDUCT_1
materials = list(MAT_METAL=3000)
preposition = "on"
diff --git a/code/game/objects/items/weapons/storage/briefcase.dm b/code/game/objects/items/weapons/storage/briefcase.dm
index d7ec67c78a..c3632e2ddb 100644
--- a/code/game/objects/items/weapons/storage/briefcase.dm
+++ b/code/game/objects/items/weapons/storage/briefcase.dm
@@ -2,9 +2,9 @@
name = "briefcase"
desc = "It's made of AUTHENTIC faux-leather and has a price-tag still attached. Its owner must be a real professional."
icon_state = "briefcase"
- lefthand_file = 'icons/mob/inhands/equipment/briefcase_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/briefcase_righthand.dmi'
- flags = CONDUCT
+ lefthand_file = 'icons/mob/inhands/equipment/briefcase_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/briefcase_righthand.dmi'
+ flags_1 = CONDUCT_1
force = 8
hitsound = "swing_hit"
throw_speed = 2
@@ -34,7 +34,7 @@
name = "briefcase"
desc = "It's label reads genuine hardened Captain leather, but suspiciously has no other tags or branding. Smells like L'Air du Temps."
icon_state = "briefcase"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
hitsound = "swing_hit"
throw_speed = 2
diff --git a/code/game/objects/items/weapons/storage/storage.dm b/code/game/objects/items/weapons/storage/storage.dm
index 226cea104f..47037dfdbb 100644
--- a/code/game/objects/items/weapons/storage/storage.dm
+++ b/code/game/objects/items/weapons/storage/storage.dm
@@ -261,7 +261,7 @@
//This proc return 1 if the item can be picked up and 0 if it can't.
//Set the stop_messages to stop it from printing messages
/obj/item/weapon/storage/proc/can_be_inserted(obj/item/W, stop_messages = 0, mob/user)
- if(!istype(W) || (W.flags & ABSTRACT))
+ if(!istype(W) || (W.flags_1 & ABSTRACT_1))
return //Not an item
if(loc == W)
@@ -302,7 +302,7 @@
to_chat(usr, "[src] cannot hold [W] as it's a storage item of the same size!")
return 0 //To prevent the stacking of same sized storage items.
- if(W.flags & NODROP) //SHOULD be handled in unEquip, but better safe than sorry.
+ if(W.flags_1 & NODROP_1) //SHOULD be handled in unEquip, but better safe than sorry.
to_chat(usr, "\the [W] is stuck to your hand, you can't put it in \the [src]!")
return 0
diff --git a/code/game/objects/items/weapons/storage/toolbox.dm b/code/game/objects/items/weapons/storage/toolbox.dm
index 8fa9a0bf00..7f8a8006c7 100644
--- a/code/game/objects/items/weapons/storage/toolbox.dm
+++ b/code/game/objects/items/weapons/storage/toolbox.dm
@@ -3,9 +3,9 @@
desc = "Danger. Very robust."
icon_state = "red"
item_state = "toolbox_red"
- lefthand_file = 'icons/mob/inhands/equipment/toolbox_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/toolbox_righthand.dmi'
- flags = CONDUCT
+ lefthand_file = 'icons/mob/inhands/equipment/toolbox_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/toolbox_righthand.dmi'
+ flags_1 = CONDUCT_1
force = 12
throwforce = 12
throw_speed = 2
diff --git a/code/game/objects/items/weapons/tanks/tank_types.dm b/code/game/objects/items/weapons/tanks/tank_types.dm
index 971afd3aad..ba9e28ca16 100644
--- a/code/game/objects/items/weapons/tanks/tank_types.dm
+++ b/code/game/objects/items/weapons/tanks/tank_types.dm
@@ -79,7 +79,7 @@
name = "plasma tank"
desc = "Contains dangerous plasma. Do not inhale. Warning: extremely flammable."
icon_state = "plasma"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = null //they have no straps!
force = 8
@@ -158,7 +158,7 @@
name = "emergency oxygen tank"
desc = "Used for emergencies. Contains very little oxygen, so try to conserve it until you actually need it."
icon_state = "emergency"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
force = 4
diff --git a/code/game/objects/items/weapons/tanks/tanks.dm b/code/game/objects/items/weapons/tanks/tanks.dm
index 7a42cdc5f1..fbf2cfad50 100644
--- a/code/game/objects/items/weapons/tanks/tanks.dm
+++ b/code/game/objects/items/weapons/tanks/tanks.dm
@@ -3,7 +3,7 @@
icon = 'icons/obj/tank.dmi'
lefthand_file = 'icons/mob/inhands/equipment/tanks_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tanks_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BACK
hitsound = 'sound/weapons/smash.ogg'
pressure_resistance = ONE_ATMOSPHERE * 5
@@ -37,7 +37,7 @@
return
if(H.wear_mask.mask_adjusted)
H.wear_mask.adjustmask(H)
- if(!(H.wear_mask.flags & MASKINTERNALS))
+ if(!(H.wear_mask.flags_1 & MASKINTERNALS_1))
to_chat(H, "[H.wear_mask] can't use [src]!")
return
diff --git a/code/game/objects/items/weapons/tanks/watertank.dm b/code/game/objects/items/weapons/tanks/watertank.dm
index 64fa2ee68e..12b2df1b42 100644
--- a/code/game/objects/items/weapons/tanks/watertank.dm
+++ b/code/game/objects/items/weapons/tanks/watertank.dm
@@ -109,8 +109,8 @@
amount_per_transfer_from_this = 50
possible_transfer_amounts = list(25,50,100)
volume = 500
- flags = NODROP | NOBLUDGEON
- container_type = OPENCONTAINER
+ flags_1 = NODROP_1 | NOBLUDGEON_1
+ container_type = OPENCONTAINER_1
slot_flags = 0
var/obj/item/weapon/watertank/tank
@@ -221,7 +221,7 @@
precision = 1
cooling_power = 5
w_class = WEIGHT_CLASS_HUGE
- flags = NODROP //Necessary to ensure that the nozzle and tank never separate
+ flags_1 = NODROP_1 //Necessary to ensure that the nozzle and tank never separate
var/obj/item/weapon/watertank/tank
var/nozzle_mode = 0
var/metal_synthesis_cooldown = 0
@@ -348,7 +348,7 @@
var/usage_ratio = 5 //5 unit added per 1 removed
var/injection_amount = 1
amount_per_transfer_from_this = 5
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
spillable = 0
possible_transfer_amounts = list(5,10,15)
diff --git a/code/game/objects/items/weapons/teleportation.dm b/code/game/objects/items/weapons/teleportation.dm
index a53e16233f..11ab9744b6 100644
--- a/code/game/objects/items/weapons/teleportation.dm
+++ b/code/game/objects/items/weapons/teleportation.dm
@@ -20,11 +20,11 @@
var/frequency = 1451
var/broadcasting = null
var/listening = 1
- flags = CONDUCT
+ flags_1 = CONDUCT_1
w_class = WEIGHT_CLASS_SMALL
item_state = "electronic"
- lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throw_speed = 3
throw_range = 7
materials = list(MAT_METAL=400)
@@ -134,8 +134,8 @@ Frequency:
icon = 'icons/obj/device.dmi'
icon_state = "hand_tele"
item_state = "electronic"
- lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
throwforce = 0
w_class = WEIGHT_CLASS_SMALL
throw_speed = 3
@@ -203,9 +203,9 @@ Frequency:
return
try_move_adjacent(created[1])
active_portal_pairs[created[1]] = created[2]
- var/obj/effect/portal/c1 = created[1]
- var/obj/effect/portal/c2 = created[2]
- investigate_log("was used by [key_name(user)] at [COORD(user)] to create a portal pair with destinations [COORD(c1)] and [COORD(c2)].", INVESTIGATE_PORTAL)
+ var/obj/effect/portal/c1 = created[1]
+ var/obj/effect/portal/c2 = created[2]
+ investigate_log("was used by [key_name(user)] at [COORD(user)] to create a portal pair with destinations [COORD(c1)] and [COORD(c2)].", INVESTIGATE_PORTAL)
add_fingerprint(user)
/obj/item/weapon/hand_tele/proc/on_portal_destroy(obj/effect/portal/P)
diff --git a/code/game/objects/items/weapons/tools.dm b/code/game/objects/items/weapons/tools.dm
index 1121100d8c..f86ba0fea9 100755
--- a/code/game/objects/items/weapons/tools.dm
+++ b/code/game/objects/items/weapons/tools.dm
@@ -21,7 +21,7 @@
icon_state = "wrench"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
force = 5
throwforce = 7
@@ -135,7 +135,7 @@
item_state = "screwdriver"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
force = 5
w_class = WEIGHT_CLASS_TINY
@@ -272,7 +272,7 @@
icon_state = null
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
force = 6
throw_speed = 3
@@ -369,7 +369,7 @@
item_state = "welder"
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
force = 3
throwforce = 5
@@ -707,7 +707,7 @@
lefthand_file = 'icons/mob/inhands/equipment/tools_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/tools_righthand.dmi'
usesound = 'sound/items/crowbar.ogg'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT
force = 5
throwforce = 7
diff --git a/code/game/objects/items/weapons/twohanded.dm b/code/game/objects/items/weapons/twohanded.dm
index 5cdf679cbe..4c7abb5e48 100644
--- a/code/game/objects/items/weapons/twohanded.dm
+++ b/code/game/objects/items/weapons/twohanded.dm
@@ -117,7 +117,7 @@
name = "offhand"
icon_state = "offhand"
w_class = WEIGHT_CLASS_HUGE
- flags = ABSTRACT | NODROP
+ flags_1 = ABSTRACT_1 | NODROP_1
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
/obj/item/weapon/twohanded/offhand/unwield()
@@ -485,7 +485,7 @@
icon_state = "chainsaw_off"
lefthand_file = 'icons/mob/inhands/weapons/chainsaw_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/chainsaw_righthand.dmi'
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 13
var/force_on = 21
w_class = WEIGHT_CLASS_HUGE
diff --git a/code/game/objects/items/weapons/vending_items.dm b/code/game/objects/items/weapons/vending_items.dm
index bcb1969382..8031b3f745 100644
--- a/code/game/objects/items/weapons/vending_items.dm
+++ b/code/game/objects/items/weapons/vending_items.dm
@@ -7,7 +7,7 @@
item_state = "restock_unit"
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 = 7
throwforce = 10
throw_speed = 1
diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm
index 53bfe5d64c..14af3ea94c 100644
--- a/code/game/objects/items/weapons/weaponry.dm
+++ b/code/game/objects/items/weapons/weaponry.dm
@@ -1,5 +1,5 @@
/obj/item/weapon
- var/trigger_guard = TRIGGER_GUARD_NONE
+ var/trigger_guard = TRIGGER_GUARD_NONE
/obj/item/weapon/banhammer
desc = "A banhammer"
@@ -30,8 +30,8 @@
desc = "This thing is so unspeakably shitty you are having a hard time even holding it."
icon_state = "sord"
item_state = "sord"
- lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
slot_flags = SLOT_BELT
force = 2
throwforce = 1
@@ -49,10 +49,10 @@
desc = "What are you standing around staring at this for? Get to killing!"
icon_state = "claymore"
item_state = "claymore"
- lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
+ 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 | SLOT_BACK
force = 40
throwforce = 10
@@ -70,7 +70,7 @@
/obj/item/weapon/claymore/highlander //ALL COMMENTS MADE REGARDING THIS SWORD MUST BE MADE IN ALL CAPS
desc = "THERE CAN BE ONLY ONE, AND IT WILL BE YOU!!!\nActivate it in your hand to point to the nearest victim."
- flags = CONDUCT | NODROP | DROPDEL
+ flags_1 = CONDUCT_1 | NODROP_1 | DROPDEL_1
slot_flags = null
block_chance = 0 //RNG WON'T HELP YOU NOW, PANSY
luminosity = 3
@@ -78,8 +78,8 @@
var/notches = 0 //HOW MANY PEOPLE HAVE BEEN SLAIN WITH THIS BLADE
var/obj/item/weapon/disk/nuclear/nuke_disk //OUR STORED NUKE DISK
-/obj/item/weapon/claymore/highlander/Initialize()
- . = ..()
+/obj/item/weapon/claymore/highlander/Initialize()
+ . = ..()
START_PROCESSING(SSobj, src)
/obj/item/weapon/claymore/highlander/Destroy()
@@ -195,9 +195,9 @@
desc = "Woefully underpowered in D20"
icon_state = "katana"
item_state = "katana"
- lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
- flags = CONDUCT
+ lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
+ flags_1 = CONDUCT_1
slot_flags = SLOT_BELT | SLOT_BACK
force = 40
throwforce = 10
@@ -222,7 +222,7 @@
desc = "A rod with some wire wrapped around the top. It'd be easy to attach something to the top bit."
icon_state = "wiredrod"
item_state = "rods"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 9
throwforce = 10
w_class = WEIGHT_CLASS_NORMAL
@@ -240,7 +240,7 @@
user.put_in_hands(S)
to_chat(user, "You fasten the glass shard to the top of the rod with the cable.")
- else if(istype(I, /obj/item/device/assembly/igniter) && !(I.flags & NODROP))
+ else if(istype(I, /obj/item/device/assembly/igniter) && !(I.flags_1 & NODROP_1))
var/obj/item/weapon/melee/baton/cattleprod/P = new /obj/item/weapon/melee/baton/cattleprod
remove_item_from_storage(user)
@@ -260,8 +260,8 @@
desc = "An ancient weapon still used to this day due to it's ease of lodging itself into victim's body parts"
icon_state = "throwingstar"
item_state = "eshield0"
- lefthand_file = 'icons/mob/inhands/equipment/shields_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/shields_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/equipment/shields_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/shields_righthand.dmi'
force = 2
throwforce = 20 //This is never used on mobs since this has a 100% embed chance.
throw_speed = 4
@@ -277,10 +277,10 @@
/obj/item/weapon/switchblade
name = "switchblade"
icon_state = "switchblade"
- lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/weapons/swords_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/swords_righthand.dmi'
desc = "A sharp, concealable, spring-loaded knife."
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 3
w_class = WEIGHT_CLASS_SMALL
throwforce = 5
@@ -343,8 +343,8 @@
icon = 'icons/obj/weapons.dmi'
icon_state = "cane"
item_state = "stick"
- lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 5
throwforce = 5
w_class = WEIGHT_CLASS_SMALL
@@ -356,8 +356,8 @@
desc = "Apparently a staff used by the wizard."
icon = 'icons/obj/wizard.dmi'
icon_state = "staff"
- lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/weapons/staves_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/staves_righthand.dmi'
force = 3
throwforce = 5
throw_speed = 2
@@ -380,8 +380,8 @@
icon = 'icons/obj/weapons.dmi'
icon_state = "stick"
item_state = "stick"
- lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 3
throwforce = 5
throw_speed = 2
@@ -404,9 +404,9 @@
desc = "A chainsaw that has replaced your arm."
icon_state = "chainsaw_on"
item_state = "mounted_chainsaw"
- lefthand_file = 'icons/mob/inhands/weapons/chainsaw_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/chainsaw_righthand.dmi'
- flags = NODROP | ABSTRACT | DROPDEL
+ lefthand_file = 'icons/mob/inhands/weapons/chainsaw_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/chainsaw_righthand.dmi'
+ flags_1 = NODROP_1 | ABSTRACT_1 | DROPDEL_1
w_class = WEIGHT_CLASS_HUGE
force = 21
throwforce = 0
@@ -481,8 +481,8 @@
icon = 'icons/obj/items.dmi'
icon_state = "baseball_bat"
item_state = "baseball_bat"
- lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 10
throwforce = 12
attack_verb = list("beat", "smacked")
@@ -516,7 +516,7 @@
if(homerun_ready)
user.visible_message("It's a home run!")
target.throw_at(throw_target, rand(8,10), 14, user)
- target.ex_act(EXPLODE_HEAVY)
+ target.ex_act(EXPLODE_HEAVY)
playsound(get_turf(src), 'sound/weapons/homerun.ogg', 100, 1)
homerun_ready = 0
return
@@ -541,13 +541,13 @@
return 1
/obj/item/weapon/melee/flyswatter
- name = "flyswatter"
+ name = "flyswatter"
desc = "Useful for killing insects of all sizes."
icon = 'icons/obj/weapons.dmi'
icon_state = "flyswatter"
item_state = "flyswatter"
- lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/weapons/melee_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/weapons/melee_righthand.dmi'
force = 1
throwforce = 1
attack_verb = list("swatted", "smacked")
@@ -556,8 +556,8 @@
//Things in this list will be instantly splatted. Flyman weakness is handled in the flyman species weakness proc.
var/list/strong_against
-/obj/item/weapon/melee/flyswatter/Initialize()
- . = ..()
+/obj/item/weapon/melee/flyswatter/Initialize()
+ . = ..()
strong_against = typecacheof(list(
/mob/living/simple_animal/hostile/poison/bees/,
/mob/living/simple_animal/butterfly,
@@ -583,10 +583,10 @@
icon_state = "madeyoulook"
force = 0
throwforce = 0
- flags = DROPDEL | ABSTRACT
+ flags_1 = DROPDEL_1 | ABSTRACT_1
attack_verb = list("bopped")
-
-/obj/item/weapon/proc/can_trigger_gun(mob/living/user)
- if(!user.can_use_guns(src))
- return FALSE
+
+/obj/item/weapon/proc/can_trigger_gun(mob/living/user)
+ if(!user.can_use_guns(src))
+ return FALSE
return TRUE
\ No newline at end of file
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..0f078f8452 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)
..()
@@ -31,7 +31,7 @@
return attack_hand(user)
/obj/structure/bed/attackby(obj/item/weapon/W, mob/user, params)
- if(istype(W, /obj/item/weapon/wrench) && !(flags&NODECONSTRUCT))
+ if(istype(W, /obj/item/weapon/wrench) && !(flags_1&NODECONSTRUCT_1))
playsound(src.loc, W.usesound, 50, 1)
deconstruct(TRUE)
else
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..26982382dc 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)
..()
@@ -41,7 +41,7 @@
qdel(src)
/obj/structure/chair/attackby(obj/item/weapon/W, mob/user, params)
- if(istype(W, /obj/item/weapon/wrench) && !(flags&NODECONSTRUCT))
+ if(istype(W, /obj/item/weapon/wrench) && !(flags_1&NODECONSTRUCT_1))
playsound(src.loc, W.usesound, 50, 1)
deconstruct()
else if(istype(W, /obj/item/assembly/shock_kit))
@@ -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..dc9fadcfa6 100644
--- a/code/game/objects/structures/crates_lockers/closets.dm
+++ b/code/game/objects/structures/crates_lockers/closets.dm
@@ -3,7 +3,7 @@
desc = "It's a basic storage unit."
icon = 'icons/obj/closet.dmi'
icon_state = "generic"
- density = TRUE
+ density = TRUE
var/icon_door = null
var/icon_door_override = FALSE //override to have open overlay use icon different to its base's
var/secure = FALSE //secure locker or not, also used if overriding a non-secure locker with a secure door overlay to add fancy lights
@@ -38,7 +38,7 @@
/obj/structure/closet/Initialize(mapload)
if(mapload && !opened) // if closed, any item at the crate's loc is put in the contents
addtimer(CALLBACK(src, .proc/take_contents), 0)
- . = ..()
+ . = ..()
update_icon()
PopulateContents()
@@ -81,8 +81,8 @@
else if(secure && !opened)
to_chat(user, "Alt-click to [locked ? "unlock" : "lock"].")
-/obj/structure/closet/CanPass(atom/movable/mover, turf/target)
- if(wall_mounted)
+/obj/structure/closet/CanPass(atom/movable/mover, turf/target)
+ if(wall_mounted)
return 1
return !density
@@ -130,7 +130,7 @@
playsound(loc, open_sound, 15, 1, -3)
opened = 1
if(!dense_when_open)
- density = FALSE
+ density = FALSE
climb_time *= 0.5 //it's faster to climb onto an open thing
dump_contents()
update_icon()
@@ -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
@@ -182,7 +182,7 @@
playsound(loc, close_sound, 15, 1, -3)
climb_time = initial(climb_time)
opened = 0
- density = TRUE
+ density = TRUE
update_icon()
return 1
@@ -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/weapon/W, mob/user, params)
@@ -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
@@ -381,8 +381,8 @@
to_chat(user, "You fail to break out of [src]!")
/obj/structure/closet/proc/bust_open()
- welded = FALSE //applies to all lockers
- locked = FALSE //applies to critter crates and secure lockers only
+ welded = FALSE //applies to all lockers
+ locked = FALSE //applies to critter crates and secure lockers only
broken = 1 //applies to secure lockers only
open()
@@ -415,9 +415,9 @@
user.visible_message("Sparks fly from [src]!",
"You scramble [src]'s lock, breaking it open!",
"You hear a faint electrical spark.")
- playsound(src, "sparks", 50, 1)
+ playsound(src, "sparks", 50, 1)
broken = 1
- locked = FALSE
+ locked = FALSE
update_icon()
/obj/structure/closet/get_remote_view_fullscreens(mob/user)
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 b/code/game/objects/structures/displaycase.dm
index 494b35953d..12f4196486 100644
--- a/code/game/objects/structures/displaycase.dm
+++ b/code/game/objects/structures/displaycase.dm
@@ -3,8 +3,8 @@
icon = 'icons/obj/stationobjs.dmi'
icon_state = "glassbox0"
desc = "A display case for prized possessions."
- density = TRUE
- anchored = TRUE
+ density = TRUE
+ anchored = TRUE
resistance_flags = ACID_PROOF
armor = list(melee = 30, bullet = 0, laser = 0, energy = 0, bomb = 10, bio = 0, rad = 0, fire = 70, acid = 100)
max_integrity = 200
@@ -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/weapon/shard( src.loc )
@@ -58,8 +58,8 @@
qdel(src)
/obj/structure/displaycase/obj_break(damage_flag)
- if(!broken && !(flags & NODECONSTRUCT))
- density = FALSE
+ if(!broken && !(flags_1 & NODECONSTRUCT_1))
+ density = FALSE
broken = 1
new /obj/item/weapon/shard( src.loc )
playsound(src, "shatter", 70, 1)
@@ -132,7 +132,7 @@
else
to_chat(user, "[src] is already in good condition!")
return
- else if(!alert && istype(W, /obj/item/weapon/crowbar) && openable) //Only applies to the lab cage and player made display cases
+ else if(!alert && istype(W, /obj/item/weapon/crowbar) && openable) //Only applies to the lab cage and player made display cases
if(broken)
if(showpiece)
to_chat(user, "Remove the displayed object first.")
@@ -189,8 +189,8 @@
/obj/structure/displaycase_chassis
- anchored = TRUE
- density = FALSE
+ anchored = TRUE
+ density = FALSE
name = "display case chassis"
desc = "wooden base of display case"
icon = 'icons/obj/stationobjs.dmi'
@@ -239,13 +239,13 @@
/obj/structure/displaycase/captain
alert = 1
start_showpiece_type = /obj/item/weapon/gun/energy/laser/captain
- req_access = list(ACCESS_CENT_SPECOPS)
+ req_access = list(ACCESS_CENT_SPECOPS)
/obj/structure/displaycase/labcage
name = "lab cage"
desc = "A glass lab container for storing interesting creatures."
start_showpiece_type = /obj/item/clothing/mask/facehugger/lamarr
- req_access = list(ACCESS_RD)
+ req_access = list(ACCESS_RD)
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..4685d702b8 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)
@@ -91,7 +91,7 @@
new /obj/item/weapon/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/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 b/code/game/objects/structures/flora.dm
index d141f71b7a..aa0bfe8b4c 100644
--- a/code/game/objects/structures/flora.dm
+++ b/code/game/objects/structures/flora.dm
@@ -14,7 +14,7 @@
var/log_amount = 10
/obj/structure/flora/tree/attackby(obj/item/weapon/W, mob/user, params)
- if(!cut && log_amount && (!(NODECONSTRUCT in flags)))
+ if(!cut && log_amount && (!(NODECONSTRUCT_1 in flags_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/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 b/code/game/objects/structures/janicart.dm
index 2ca456e060..9a0309ee22 100644
--- a/code/game/objects/structures/janicart.dm
+++ b/code/game/objects/structures/janicart.dm
@@ -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/weapon/storage/bag/trash/mybag = null
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..f52966951a 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_1 = 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 b/code/game/objects/structures/manned_turret.dm
index 7448aa128f..76b3a4059e 100644
--- a/code/game/objects/structures/manned_turret.dm
+++ b/code/game/objects/structures/manned_turret.dm
@@ -85,7 +85,7 @@
calculated_projectile_vars = calculate_projectile_angle_and_pixel_offsets(controller, C.mouseParams)
/obj/machinery/manned_turret/proc/direction_track(mob/user, atom/targeted)
- if(user.incapacitated())
+ if(user.incapacitated())
return
setDir(get_dir(src,targeted))
user.setDir(dir)
@@ -125,7 +125,7 @@
/obj/machinery/manned_turret/proc/checkfire(atom/targeted_atom, mob/user)
target = targeted_atom
- if(target == user || user.incapacitated() || target == get_turf(src))
+ if(target == user || user.incapacitated() || target == get_turf(src))
return
if(world.time < cooldown)
if(!warned && world.time > (cooldown - cooldown_duration + rate_of_fire*number_of_shots)) // To capture the window where one is done firing
@@ -143,8 +143,8 @@
addtimer(CALLBACK(src, /obj/machinery/manned_turret/.proc/fire_helper, user), i*rate_of_fire)
/obj/machinery/manned_turret/proc/fire_helper(mob/user)
- if(user.incapacitated())
- return
+ if(user.incapacitated())
+ return
update_positioning() //REFRESH MOUSE TRACKING!!
var/turf/targets_from = get_turf(src)
if(QDELETED(target))
@@ -179,7 +179,7 @@
icon = 'icons/obj/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/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 b/code/game/objects/structures/mirror.dm
index d2ea22006e..83fd315059 100644
--- a/code/game/objects/structures/mirror.dm
+++ b/code/game/objects/structures/mirror.dm
@@ -4,8 +4,8 @@
desc = "Mirror mirror on the wall, who's the most robust of them all?"
icon = 'icons/obj/watercloset.dmi'
icon_state = "mirror"
- density = FALSE
- anchored = TRUE
+ density = FALSE
+ anchored = TRUE
max_integrity = 200
integrity_failure = 100
@@ -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/weapon/shard( src.loc )
qdel(src)
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..002222e5f9 100644
--- a/code/game/objects/structures/tables_racks.dm
+++ b/code/game/objects/structures/tables_racks.dm
@@ -17,15 +17,15 @@
desc = "A square piece of metal standing on four metal legs. It can not move."
icon = 'icons/obj/smooth_structures/table.dmi'
icon_state = "table"
- density = TRUE
- anchored = TRUE
+ density = TRUE
+ anchored = TRUE
layer = TABLE_LAYER
climbable = TRUE
pass_flags = LETPASSTHROW //You can throw objects over this, despite it's density.")
var/frame = /obj/structure/table_frame
var/framestack = /obj/item/stack/rods
var/buildstack = /obj/item/stack/sheet/metal
- var/busy = FALSE
+ var/busy = FALSE
var/buildstackamount = 1
var/framestackamount = 2
var/deconstruction_ready = 1
@@ -69,7 +69,7 @@
else
..()
-/obj/structure/table/CanPass(atom/movable/mover, turf/target)
+/obj/structure/table/CanPass(atom/movable/mover, turf/target)
if(istype(mover) && mover.checkpass(PASSTABLE))
return 1
if(mover.throwing)
@@ -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/weapon/screwdriver) && deconstruction_ready)
to_chat(user, "You start disassembling [src]...")
playsound(src.loc, I.usesound, 50, 1)
@@ -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
@@ -266,7 +266,7 @@
frame = /obj/structure/table_frame
framestack = /obj/item/stack/rods
buildstack = /obj/item/stack/tile/carpet
- canSmoothWith = list(/obj/structure/table/wood/fancy, /obj/structure/table/wood/fancy/black)
+ canSmoothWith = list(/obj/structure/table/wood/fancy, /obj/structure/table/wood/fancy/black)
/obj/structure/table/wood/fancy/New()
icon = 'icons/obj/smooth_structures/fancy_table.dmi' //so that the tables place correctly in the map editor
@@ -367,7 +367,7 @@
/obj/structure/table/optable/New()
..()
- for(var/dir in GLOB.cardinals)
+ for(var/dir in GLOB.cardinals)
computer = locate(/obj/machinery/computer/operating, get_step(src, dir))
if(computer)
computer.table = src
@@ -400,12 +400,12 @@
desc = "Different from the Middle Ages version."
icon = 'icons/obj/objects.dmi'
icon_state = "rack"
- density = TRUE
- anchored = TRUE
+ density = TRUE
+ anchored = TRUE
pass_flags = LETPASSTHROW //You can throw objects over this, despite it's density.
max_integrity = 20
-/obj/structure/rack/CanPass(atom/movable/mover, turf/target)
+/obj/structure/rack/CanPass(atom/movable/mover, turf/target)
if(src.density == 0) //Because broken racks -Agouri |TODO: SPRITE!|
return 1
if(istype(mover) && mover.checkpass(PASSTABLE))
@@ -429,7 +429,7 @@
/obj/structure/rack/attackby(obj/item/weapon/W, mob/user, params)
- if (istype(W, /obj/item/weapon/wrench) && !(flags&NODECONSTRUCT))
+ if (istype(W, /obj/item/weapon/wrench) && !(flags_1&NODECONSTRUCT_1))
playsound(src.loc, W.usesound, 50, 1)
deconstruct(TRUE)
return
@@ -466,8 +466,8 @@
*/
/obj/structure/rack/deconstruct(disassembled = TRUE)
- if(!(flags&NODECONSTRUCT))
- density = FALSE
+ if(!(flags_1&NODECONSTRUCT_1))
+ density = FALSE
var/obj/item/weapon/rack_parts/newparts = new(loc)
transfer_fingerprints_to(newparts)
qdel(src)
@@ -482,7 +482,7 @@
desc = "Parts of a rack."
icon = 'icons/obj/items.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/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 5e9997478f..5d71929c75 100644
--- a/code/game/objects/structures/watercloset.dm
+++ b/code/game/objects/structures/watercloset.dm
@@ -462,7 +462,7 @@
if(istype(O, /obj/item/weapon/reagent_containers))
var/obj/item/weapon/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].")
@@ -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..10e5ec46a8 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
@@ -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/weapon/screwdriver))
playsound(src, I.usesound, 75, 1)
if(reinf)
@@ -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..6dd187b527 100644
--- a/code/game/turfs/simulated/floor/fancy_floor.dm
+++ b/code/game/turfs/simulated/floor/fancy_floor.dm
@@ -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/weapon/ore/glass
var/turfverb = "uproot"
@@ -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 9eb5337768..6cb00dba89 100644
--- a/code/game/turfs/simulated/floor/plating/asteroid.dm
+++ b/code/game/turfs/simulated/floor/plating/asteroid.dm
@@ -339,7 +339,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 ed76b7704e..fb210176a1 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
@@ -163,7 +163,7 @@
..()
if(explosion_level && AM.ex_check(explosion_id))
AM.ex_act(explosion_level)
-
+
// If an opaque movable atom moves around we need to potentially update visibility.
if (AM.opacity)
has_opaque_atom = TRUE // Make sure to do this before reconsider_lights(), incase we're on instant updates. Guaranteed to be on in this case.
@@ -193,7 +193,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()
@@ -232,7 +232,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
@@ -256,7 +256,7 @@
W.AfterChange(ignore_air)
W.blueprint_data = old_bp
-
+
if(SSlighting.initialized)
recalc_atom_opacity()
lighting_object = old_lighting_object
@@ -342,7 +342,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/weapon/storage/src_object, mob/user)
if(src_object.contents.len)
diff --git a/code/game/turfs/turf.dm.rej b/code/game/turfs/turf.dm.rej
index 1c4472c18a..d58adb0f78 100644
--- a/code/game/turfs/turf.dm.rej
+++ b/code/game/turfs/turf.dm.rej
@@ -1,13 +1 @@
-diff a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm (rejected hunks)
-@@ -163,6 +163,11 @@
- if(explosion_level && AM.ex_check(explosion_id))
- AM.ex_act(explosion_level)
-
-+ // If an opaque movable atom moves around we need to potentially update visibility.
-+ if (AM.opacity)
-+ has_opaque_atom = TRUE // Make sure to do this before reconsider_lights(), incase we're on instant updates. Guaranteed to be on in this case.
-+ reconsider_lights()
-+
- /turf/open/Entered(atom/movable/AM)
- ..()
- //melting
+garbage
\ No newline at end of file
diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm
index b99f9228b9..5507d856f6 100644
--- a/code/modules/admin/admin_verbs.dm
+++ b/code/modules/admin/admin_verbs.dm
@@ -27,7 +27,7 @@ GLOBAL_LIST_INIT(admin_verbs_admin, world.AVerbsAdmin())
return list(
/client/proc/invisimin, /*allows our mob to go invisible/visible*/
// /datum/admins/proc/show_traitor_panel, /*interface which shows a mob's mind*/ -Removed due to rare practical use. Moved to debug verbs ~Errorage
- /datum/admins/proc/show_player_panel, /*shows an interface for individual players, with various links (links require additional flags*/
+ /datum/admins/proc/show_player_panel, /*shows an interface for individual players, with various links (links require additional flags_1*/
/client/proc/game_panel, /*game panel, allows to change game-mode etc*/
/client/proc/check_ai_laws, /*shows AI and borg laws*/
/datum/admins/proc/toggleooc, /*toggles ooc on/off for everyone*/
diff --git a/code/modules/admin/holder2.dm b/code/modules/admin/holder2.dm
index 836f8f81bc..bdd799badf 100644
--- a/code/modules/admin/holder2.dm
+++ b/code/modules/admin/holder2.dm
@@ -31,11 +31,11 @@ GLOBAL_PROTECT(admin_datums)
GLOB.admin_datums[ckey] = src
/datum/admins/proc/associate(client/C)
- if(IsAdminAdvancedProcCall())
- var/msg = " has tried to elevate permissions!"
- message_admins("[key_name_admin(usr)][msg]")
- log_admin_private("[key_name(usr)][msg]")
- return
+ if(IsAdminAdvancedProcCall())
+ var/msg = " has tried to elevate permissions!"
+ message_admins("[key_name_admin(usr)][msg]")
+ log_admin_private("[key_name(usr)][msg]")
+ return
if(istype(C))
owner = C
owner.holder = src
@@ -66,7 +66,7 @@ GLOBAL_PROTECT(admin_datums)
return FALSE //nice try trialmin
/*
-checks if usr is an admin with at least ONE of the flags in rights_required. (Note, they don't need all the flags)
+checks if usr is an admin with at least ONE of the flags_1 in rights_required. (Note, they don't need all the flags_1)
if rights_required == 0, then it simply checks if they are an admin.
if it doesn't return 1 and show_msg=1 it will prints a message explaining why the check has failed
generally it would be used like so:
@@ -84,7 +84,7 @@ you will have to do something like if(client.rights & R_ADMIN) yourself.
return 1
else
if(show_msg)
- to_chat(usr, "Error: You do not have sufficient rights to do that. You require one of the following flags:[rights2text(rights_required," ")].")
+ to_chat(usr, "Error: You do not have sufficient rights to do that. You require one of the following flags_1:[rights2text(rights_required," ")].")
return 0
//probably a bit iffy - will hopefully figure out a better solution
diff --git a/code/modules/admin/ipintel.dm b/code/modules/admin/ipintel.dm
index 0857f28d11..50f81e01c3 100644
--- a/code/modules/admin/ipintel.dm
+++ b/code/modules/admin/ipintel.dm
@@ -77,7 +77,7 @@
if (!SSipintel.enabled)
return
- var/list/http[] = world.Export("http://[config.ipintel_domain]/check.php?ip=[ip]&contact=[config.ipintel_email]&format=json&flags=f")
+ var/list/http[] = world.Export("http://[config.ipintel_domain]/check.php?ip=[ip]&contact=[config.ipintel_email]&format=json&flags_1=f")
if (http)
var/status = text2num(http["STATUS"])
diff --git a/code/modules/admin/permissionverbs/permissionedit.dm b/code/modules/admin/permissionverbs/permissionedit.dm
index aa685f79f7..aafe3b393e 100644
--- a/code/modules/admin/permissionverbs/permissionedit.dm
+++ b/code/modules/admin/permissionverbs/permissionedit.dm
@@ -86,7 +86,7 @@
admin_id = text2num(query_get_admin.item[1])
if(new_admin)
- var/datum/DBQuery/query_add_admin = SSdbcore.NewQuery("INSERT INTO `[format_table_name("admin")]` (`id`, `ckey`, `rank`, `level`, `flags`) VALUES (null, '[adm_ckey]', '[new_rank]', -1, 0)")
+ var/datum/DBQuery/query_add_admin = SSdbcore.NewQuery("INSERT INTO `[format_table_name("admin")]` (`id`, `ckey`, `rank`, `level`, `flags_1`) VALUES (null, '[adm_ckey]', '[new_rank]', -1, 0)")
if(!query_add_admin.warn_execute())
return
var/datum/DBQuery/query_add_admin_log = SSdbcore.NewQuery("INSERT INTO `[format_table_name("admin_log")]` (`id` ,`datetime` ,`adminckey` ,`adminip` ,`log` ) VALUES (NULL , NOW( ) , '[usr.ckey]', '[usr.client.address]', 'Added new admin [adm_ckey] to rank [new_rank]');")
@@ -119,7 +119,7 @@
if(!adm_ckey || !istext(adm_ckey) || !isnum(new_permission))
return
- var/datum/DBQuery/query_get_perms = SSdbcore.NewQuery("SELECT id, flags FROM [format_table_name("admin")] WHERE ckey = '[adm_ckey]'")
+ var/datum/DBQuery/query_get_perms = SSdbcore.NewQuery("SELECT id, flags_1 FROM [format_table_name("admin")] WHERE ckey = '[adm_ckey]'")
if(!query_get_perms.warn_execute())
return
@@ -130,7 +130,7 @@
if(!admin_id)
return
- var/datum/DBQuery/query_change_perms = SSdbcore.NewQuery("UPDATE `[format_table_name("admin")]` SET flags = [new_permission] WHERE id = [admin_id]")
+ var/datum/DBQuery/query_change_perms = SSdbcore.NewQuery("UPDATE `[format_table_name("admin")]` SET flags_1 = [new_permission] WHERE id = [admin_id]")
if(!query_change_perms.warn_execute())
return
var/datum/DBQuery/query_change_perms_log = SSdbcore.NewQuery("INSERT INTO `[format_table_name("admin_log")]` (`id` ,`datetime` ,`adminckey` ,`adminip` ,`log` ) VALUES (NULL , NOW( ) , '[usr.ckey]', '[usr.client.address]', 'Edit permission [rights2text(new_permission)] (flag = [new_permission]) to admin [adm_ckey]');")
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/SDQL2/SDQL_2_wrappers.dm b/code/modules/admin/verbs/SDQL2/SDQL_2_wrappers.dm
index 286e3a890f..c2a6ab7cd5 100644
--- a/code/modules/admin/verbs/SDQL2/SDQL_2_wrappers.dm
+++ b/code/modules/admin/verbs/SDQL2/SDQL_2_wrappers.dm
@@ -3,8 +3,8 @@
/proc/_abs(A)
return abs(A)
-/*/proc/_animate(atom/A, set_vars, time = 10, loop = 1, easing = LINEAR_EASING, flags = null)
- animate(A, set_vars, time, loop, easing, flags)
+/*/proc/_animate(atom/A, set_vars, time = 10, loop = 1, easing = LINEAR_EASING, flags_1 = null)
+ animate(A, set_vars, time, loop, easing, flags_1)
Borked. If anyone wants to fix this be my guest.*/
/proc/_acrccos(A)
@@ -112,8 +112,8 @@
/proc/_range(Dist, Center = usr)
return range(Dist, Center)
-/proc/_regex(pattern, flags)
- return regex(pattern, flags)
+/proc/_regex(pattern, flags_1)
+ return regex(pattern, flags_1)
/proc/_REGEX_QUOTE(text)
return REGEX_QUOTE(text)
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 b/code/modules/assembly/bomb.dm
index 6cd8efdd1d..0cc2c61528 100644
--- a/code/modules/assembly/bomb.dm
+++ b/code/modules/assembly/bomb.dm
@@ -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/weapon/tank/bombtank = null //the second part of the bomb is a plasma tank
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 b/code/modules/atmospherics/machinery/airalarm.dm
index 4371bd5986..47d0fd70f5 100644
--- a/code/modules/atmospherics/machinery/airalarm.dm
+++ b/code/modules/atmospherics/machinery/airalarm.dm
@@ -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/weapon/electronics/airalarm(loc)
if(!disassembled)
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/components/unary_devices/vent_scrubber.dm b/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm
index 113d029c0b..7786aa70d1 100644
--- a/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm
+++ b/code/modules/atmospherics/machinery/components/unary_devices/vent_scrubber.dm
@@ -257,7 +257,7 @@
return 1
-//There is no easy way for an object to be notified of changes to atmos can pass flags
+//There is no easy way for an object to be notified of changes to atmos can pass flags_1
// So we check every machinery process (2 seconds)
/obj/machinery/atmospherics/components/unary/vent_scrubber/process()
if (widenet)
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 6d634ab3a4..4770d8ef7b 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
@@ -34,7 +35,6 @@
/obj/item/weapon/twohanded/ctf/Initialize()
. = ..()
- SET_SECONDARY_FLAG(src, SLOWS_WHILE_IN_HAND)
if(!reset)
reset = new reset_path(get_turf(src))
@@ -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/weapon/gun/energy/laser/instakill
@@ -532,6 +532,7 @@
var/team = WHITE_TEAM
time_between_triggers = 1
anchored = TRUE
+ flags_2 = SLOWS_WHILE_IN_HAND_2
alpha = 255
/obj/structure/trap/examine(mob/user)
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..344ed80d44 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
@@ -170,30 +170,30 @@
var/obj/item/I = target
var/mob/living/M = owner
- var/flags = I.slot_flags
- if(flags & SLOT_OCLOTHING)
+ var/flags_1 = I.slot_flags
+ if(flags_1 & SLOT_OCLOTHING)
M.update_inv_wear_suit()
- if(flags & SLOT_ICLOTHING)
+ if(flags_1 & SLOT_ICLOTHING)
M.update_inv_w_uniform()
- if(flags & SLOT_GLOVES)
+ if(flags_1 & SLOT_GLOVES)
M.update_inv_gloves()
- if(flags & SLOT_EYES)
+ if(flags_1 & SLOT_EYES)
M.update_inv_glasses()
- if(flags & SLOT_EARS)
+ if(flags_1 & SLOT_EARS)
M.update_inv_ears()
- if(flags & SLOT_MASK)
+ if(flags_1 & SLOT_MASK)
M.update_inv_wear_mask()
- if(flags & SLOT_HEAD)
+ if(flags_1 & SLOT_HEAD)
M.update_inv_head()
- if(flags & SLOT_FEET)
+ if(flags_1 & SLOT_FEET)
M.update_inv_shoes()
- if(flags & SLOT_ID)
+ if(flags_1 & SLOT_ID)
M.update_inv_wear_id()
- if(flags & SLOT_BELT)
+ if(flags_1 & SLOT_BELT)
M.update_inv_belt()
- if(flags & SLOT_BACK)
+ if(flags_1 & SLOT_BACK)
M.update_inv_back()
- if(flags & SLOT_NECK)
+ if(flags_1 & SLOT_NECK)
M.update_inv_neck()
/obj/item/clothing/under/chameleon
@@ -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
@@ -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/weapon/storage/internal/pocket/shoes
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..7ef2cbbde3 100644
--- a/code/modules/clothing/clothing.dm
+++ b/code/modules/clothing/clothing.dm
@@ -7,7 +7,7 @@
var/flash_protect = 0 //What level of bright light protection item has. 1 = Flashers, Flashes, & Flashbangs | 2 = Welding | -1 = OH GOD WELDING BURNT OUT MY RETINAS
var/tint = 0 //Sets the item's level of visual impairment tint, normally set to the same as flash_protect
var/up = 0 //but separated to allow items to protect but not impair vision, like space helmets
- var/visor_flags = 0 //flags that are added/removed when an item is adjusted up/down
+ var/visor_flags = 0 //flags_1 that are added/removed when an item is adjusted up/down
var/visor_flags_inv = 0 //same as visor_flags, but for flags_inv
var/visor_flags_cover = 0 //same as above, but for flags_cover
//what to toggle when toggled with weldingvisortoggle()
@@ -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)
@@ -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/weapon/tank/internals)
slowdown = 1
@@ -783,9 +783,9 @@ BLIND // can't see anything
A.UpdateButtonIcon()
return TRUE
-/obj/item/clothing/proc/visor_toggling() //handles all the actual toggling of flags
+/obj/item/clothing/proc/visor_toggling() //handles all the actual toggling of flags_1
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..fd2b4f1dc8 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
@@ -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/weapon/W as obj, mob/user as mob, params)
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/head/vg_hats.dm b/code/modules/clothing/head/vg_hats.dm
index 42f98e3090..a1cdbe6a30 100644
--- a/code/modules/clothing/head/vg_hats.dm
+++ b/code/modules/clothing/head/vg_hats.dm
@@ -10,7 +10,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
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 aefb7c4d98..bfaa8a55c6 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..7e4059ff63 100644
--- a/code/modules/clothing/suits/armor.dm
+++ b/code/modules/clothing/suits/armor.dm
@@ -348,7 +348,7 @@
w_class = WEIGHT_CLASS_BULKY
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
allowed = list(/obj/item/weapon/gun/energy, /obj/item/weapon/melee/baton, /obj/item/weapon/restraints/handcuffs, /obj/item/weapon/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
@@ -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..12787ac034 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
@@ -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/weapon/tank/internals/emergency_oxygen, /obj/item/weapon/pen, /obj/item/device/flashlight/pen, /obj/item/weapon/reagent_containers/dropper, /obj/item/weapon/reagent_containers/syringe, /obj/item/weapon/reagent_containers/hypospray)
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..b638e7e153 100644
--- a/code/modules/clothing/suits/utility.dm
+++ b/code/modules/clothing/suits/utility.dm
@@ -21,7 +21,7 @@
allowed = list(/obj/item/device/flashlight, /obj/item/weapon/tank/internals/emergency_oxygen, /obj/item/weapon/extinguisher, /obj/item/weapon/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
@@ -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
@@ -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/weapon/tank/internals/emergency_oxygen, /obj/item/device/geiger_counter)
slowdown = 1.5
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..cccf84ed67 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
@@ -96,7 +96,7 @@
else
if(istype(I, /obj/item/weapon/reagent_containers))
var/obj/item/weapon/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/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 b/code/modules/fields/turf_objects.dm
index c1efef1ed4..edb1a6ce6b 100644
--- a/code/modules/fields/turf_objects.dm
+++ b/code/modules/fields/turf_objects.dm
@@ -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/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 49ba0d0a8d..75d72c325c 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
@@ -121,8 +121,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
@@ -362,7 +362,7 @@
/obj/item/weapon/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/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 b/code/modules/food_and_drinks/food.dm
index 2a7ce2e8ec..f71a133ed3 100644
--- a/code/modules/food_and_drinks/food.dm
+++ b/code/modules/food_and_drinks/food.dm
@@ -4,7 +4,7 @@
/obj/item/weapon/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.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 6c9e1e4e7b..03de5129f6 100644
--- a/code/modules/food_and_drinks/food/customizables.dm
+++ b/code/modules/food_and_drinks/food/customizables.dm
@@ -290,7 +290,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 b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm
index e2f38141f3..3d3ed34dc9 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/deep_fryer.dm
@@ -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/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 fcef69e0d0..e1fd0da9e6 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
@@ -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/weapon/reagent_containers/mixer
/obj/machinery/food_cart/Initialize()
@@ -155,7 +155,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 fc1666bbc4..791ad26516 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/icecream_vat.dm
@@ -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
@@ -224,7 +224,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 2fb95fd4a6..40a52b0d3b 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/microwave.dm
@@ -79,7 +79,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!")
@@ -96,7 +96,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
@@ -117,7 +117,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!")
@@ -309,7 +309,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/computer_funcs.dm b/code/modules/holodeck/computer_funcs.dm
index cb378f0952..65741eafea 100644
--- a/code/modules/holodeck/computer_funcs.dm
+++ b/code/modules/holodeck/computer_funcs.dm
@@ -57,7 +57,7 @@
last_change = world.time
active = (A != offline_program)
- use_power = active ? ACTIVE_POWER_USE : IDLE_POWER_USE
+ use_power = active ? ACTIVE_POWER_USE : IDLE_POWER_USE
for(var/obj/effect/holodeck_effect/HE in effects)
HE.deactivate(src)
@@ -71,9 +71,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()
spawn(30)
@@ -86,9 +86,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(var/obj/obj, var/silent = 1, var/forced = 0)
// Emagging a machine creates an anomaly in the derez systems.
@@ -108,4 +108,4 @@
if(!silent)
visible_message("The [obj.name] fades away!")
- qdel(obj)
+ qdel(obj)
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/language/codespeak.dm b/code/modules/language/codespeak.dm
index 35fc6e0aa7..53b26d7f28 100644
--- a/code/modules/language/codespeak.dm
+++ b/code/modules/language/codespeak.dm
@@ -3,7 +3,7 @@
desc = "Syndicate operatives can use a series of codewords to convey complex information, while sounding like random concepts and drinks to anyone listening in."
key = "t"
default_priority = 0
- flags = TONGUELESS_SPEECH | LANGUAGE_HIDE_ICON_IF_NOT_UNDERSTOOD
+ flags_1 = TONGUELESS_SPEECH | LANGUAGE_HIDE_ICON_IF_NOT_UNDERSTOOD
icon_state = "codespeak"
/datum/language/codespeak/scramble(input)
diff --git a/code/modules/language/common.dm b/code/modules/language/common.dm
index c00ab328ec..162fbf9226 100644
--- a/code/modules/language/common.dm
+++ b/code/modules/language/common.dm
@@ -5,7 +5,7 @@
speech_verb = "says"
whisper_verb = "whispers"
key = "0"
- flags = TONGUELESS_SPEECH | LANGUAGE_HIDE_ICON_IF_UNDERSTOOD
+ flags_1 = TONGUELESS_SPEECH | LANGUAGE_HIDE_ICON_IF_UNDERSTOOD
default_priority = 100
icon_state = "galcom"
diff --git a/code/modules/language/draconic.dm b/code/modules/language/draconic.dm
index aaa998c2c0..a85c1c9747 100644
--- a/code/modules/language/draconic.dm
+++ b/code/modules/language/draconic.dm
@@ -5,7 +5,7 @@
ask_verb = "hisses"
exclaim_verb = "roars"
key = "o"
- flags = TONGUELESS_SPEECH
+ flags_1 = TONGUELESS_SPEECH
space_chance = 40
syllables = list(
"za", "az", "ze", "ez", "zi", "iz", "zo", "oz", "zu", "uz", "zs", "sz",
diff --git a/code/modules/language/drone.dm b/code/modules/language/drone.dm
index 390e0027cf..32659e263b 100644
--- a/code/modules/language/drone.dm
+++ b/code/modules/language/drone.dm
@@ -1,12 +1,12 @@
/datum/language/drone
name = "Drone"
- desc = "A heavily encoded damage control coordination stream, with special flags for hats."
+ desc = "A heavily encoded damage control coordination stream, with special flags_1 for hats."
speech_verb = "chitters"
ask_verb = "chitters inquisitively"
exclaim_verb = "chitters loudly"
spans = list(SPAN_ROBOT)
key = "d"
- flags = NO_STUTTER
+ flags_1 = NO_STUTTER
syllables = list(".", "|")
// ...|..||.||||.|.||.|.|.|||.|||
space_chance = 0
diff --git a/code/modules/language/language.dm b/code/modules/language/language.dm
index 8b51429bd3..67881f7510 100644
--- a/code/modules/language/language.dm
+++ b/code/modules/language/language.dm
@@ -11,10 +11,10 @@
var/ask_verb = "asks" // Used when sentence ends in a ?
var/exclaim_verb = "exclaims" // Used when sentence ends in a !
var/whisper_verb = "whispers" // Optional. When not specified speech_verb + quietly/softly is used instead.
- var/list/signlang_verb = list("signs", "gestures") // list of emotes that might be displayed if this language has NONVERBAL or SIGNLANG flags
+ var/list/signlang_verb = list("signs", "gestures") // list of emotes that might be displayed if this language has NONVERBAL or SIGNLANG flags_1
var/key // Character used to speak in language
// If key is null, then the language isn't real or learnable.
- var/flags // Various language flags.
+ var/flags_1 // Various language flags_1.
var/list/syllables // Used when scrambling text for a non-speaker.
var/sentence_chance = 5 // Likelihood of making a new sentence after each syllable.
var/space_chance = 55 // Likelihood of getting a space in the random scramble string
@@ -28,9 +28,9 @@
/datum/language/proc/display_icon(atom/movable/hearer)
var/understands = hearer.has_language(src.type)
- if(flags & LANGUAGE_HIDE_ICON_IF_UNDERSTOOD && understands)
+ if(flags_1 & LANGUAGE_HIDE_ICON_IF_UNDERSTOOD && understands)
return FALSE
- if(flags & LANGUAGE_HIDE_ICON_IF_NOT_UNDERSTOOD && !understands)
+ if(flags_1 & LANGUAGE_HIDE_ICON_IF_NOT_UNDERSTOOD && !understands)
return FALSE
return TRUE
diff --git a/code/modules/language/machine.dm b/code/modules/language/machine.dm
index 4d88bcb416..e5775040a2 100644
--- a/code/modules/language/machine.dm
+++ b/code/modules/language/machine.dm
@@ -6,7 +6,7 @@
exclaim_verb = "whistles loudly"
spans = list(SPAN_ROBOT)
key = "6"
- flags = NO_STUTTER
+ flags_1 = NO_STUTTER
syllables = list("beep","beep","beep","beep","beep","boop","boop","boop","bop","bop","dee","dee","doo","doo","hiss","hss","buzz","buzz","bzz","ksssh","keey","wurr","wahh","tzzz")
space_chance = 10
default_priority = 90
diff --git a/code/modules/language/swarmer.dm b/code/modules/language/swarmer.dm
index e3b7826706..ea58775a08 100644
--- a/code/modules/language/swarmer.dm
+++ b/code/modules/language/swarmer.dm
@@ -6,7 +6,7 @@
exclaim_verb = "tones loudly"
spans = list(SPAN_ROBOT)
key = "s"
- flags = NO_STUTTER
+ flags_1 = NO_STUTTER
space_chance = 100
sentence_chance = 0
default_priority = 60
diff --git a/code/modules/mapping/dmm_suite.dm b/code/modules/mapping/dmm_suite.dm
index c4ceec33ee..d272a10673 100644
--- a/code/modules/mapping/dmm_suite.dm
+++ b/code/modules/mapping/dmm_suite.dm
@@ -27,7 +27,7 @@ dmm_suite{
write_map(), which accepts three arguments:
- A turf representing one corner of a three dimensional grid (Required).
- Another turf representing the other corner of the same grid (Required).
- - Any, or a combination, of several bit flags (Optional, see documentation).
+ - Any, or a combination, of several bit flags_1 (Optional, see documentation).
The order in which the turfs are supplied does not matter, the /dmm_writer will
determine the grid containing both, in much the same way as DM's block() function.
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..4e6bde732f 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
@@ -73,7 +73,7 @@
plane = FULLSCREEN_PLANE
layer = FLASH_LAYER
icon = 'icons/effects/ore_visuals.dmi'
- appearance_flags = 0 //to avoid having TILE_BOUND in the flags, so that the 480x480 icon states let you see it no matter where you are
+ appearance_flags = 0 //to avoid having TILE_BOUND in the flags_1, so that the 480x480 icon states let you see it no matter where you are
duration = 35
pixel_x = -224
pixel_y = -224
diff --git a/code/modules/mining/equipment/mining_tools.dm b/code/modules/mining/equipment/mining_tools.dm
index a3ffa82114..3fe4284101 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
@@ -62,7 +62,7 @@
/obj/item/weapon/pickaxe/drill/cyborg
name = "cyborg mining drill"
desc = "An integrated electric mining drill."
- flags = NODROP
+ flags_1 = NODROP_1
/obj/item/weapon/pickaxe/drill/diamonddrill
name = "diamond-tipped mining drill"
@@ -72,7 +72,7 @@
desc = "Yours is the drill that will pierce the heavens!"
/obj/item/weapon/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
@@ -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 b/code/modules/mining/equipment/survival_pod.dm
index 981b97940c..cee0adaeb6 100644
--- a/code/modules/mining/equipment/survival_pod.dm
+++ b/code/modules/mining/equipment/survival_pod.dm
@@ -167,7 +167,7 @@
pixel_y = -32
/obj/item/device/gps/computer/attackby(obj/item/weapon/W, mob/user, params)
- if(istype(W, /obj/item/weapon/wrench) && !(flags&NODECONSTRUCT))
+ if(istype(W, /obj/item/weapon/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/weapon/W, mob/user, params)
- if(istype(W, /obj/item/weapon/wrench) && !(flags&NODECONSTRUCT))
+ if(istype(W, /obj/item/weapon/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/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 8671504bfb..f7dabb40aa 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/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm
index da769c23cb..bc6640286d 100644
--- a/code/modules/mob/dead/observer/observer.dm
+++ b/code/modules/mob/dead/observer/observer.dm
@@ -132,13 +132,13 @@ GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
/mob/dead/observer/narsie_act()
var/old_color = color
color = "#960000"
- animate(src, color = old_color, time = 10, flags = ANIMATION_PARALLEL)
+ animate(src, color = old_color, time = 10, flags_1 = ANIMATION_PARALLEL)
addtimer(CALLBACK(src, /atom/proc/update_atom_colour), 10)
/mob/dead/observer/ratvar_act()
var/old_color = color
color = "#FAE48C"
- animate(src, color = old_color, time = 10, flags = ANIMATION_PARALLEL)
+ animate(src, color = old_color, time = 10, flags_1 = ANIMATION_PARALLEL)
addtimer(CALLBACK(src, /atom/proc/update_atom_colour), 10)
/mob/dead/observer/Destroy()
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..89cb7a285d 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)
@@ -167,7 +167,7 @@
if(iscarbon(src))
var/mob/living/carbon/C = src
for(var/obj/item/weapon/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/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 feef638fdc..6f72ec401a 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)
@@ -188,13 +188,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"]"
@@ -220,7 +220,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/weapon/tank) && wear_mask && (wear_mask.flags & MASKINTERNALS))
+ if(ITEM && istype(ITEM, /obj/item/weapon/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))
@@ -228,7 +228,7 @@
internal = null
update_internals_hud_icon(0)
else if(ITEM && istype(ITEM, /obj/item/weapon/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)
@@ -394,7 +394,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 0b98784b75..41ba685cc6 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 2ea8dfe84a..5330b7c2a8 100644
--- a/code/modules/mob/living/carbon/human/human.dm
+++ b/code/modules/mob/living/carbon/human/human.dm
@@ -145,42 +145,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/weapon/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/weapon/tank))
dat += " [internal ? "Disable Internals" : "Set Internals"]"
dat += " | "
@@ -190,30 +190,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/weapon/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 | "
@@ -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..1fcf412fc8 100644
--- a/code/modules/mob/living/carbon/human/life.dm
+++ b/code/modules/mob/living/carbon/human/life.dm
@@ -32,7 +32,7 @@
//citadel code
if(stat != DEAD)
handle_arousal()
-
+
if(..()) //not dead
for(var/datum/mutation/human/HM in dna.mutations)
HM.on_life(src)
@@ -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
@@ -153,7 +153,7 @@
//END FIRE CODE
-//This proc returns a number made up of the flags for body parts which you are protected on. (such as HEAD, CHEST, GROIN, etc. See setup.dm for the full list)
+//This proc returns a number made up of the flags_1 for body parts which you are protected on. (such as HEAD, CHEST, GROIN, etc. See setup.dm for the full list)
/mob/living/carbon/human/proc/get_heat_protection_flags(temperature) //Temperature is the temperature you're being exposed to.
var/thermal_protection_flags = 0
//Handle normal clothing
@@ -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 847f904017..ef819129dd 100644
--- a/code/modules/mob/living/carbon/human/species.dm
+++ b/code/modules/mob/living/carbon/human/species.dm
@@ -54,7 +54,7 @@
var/damage_overlay_type = "human" //what kind of damage overlays (if any) appear on our species when wounded?
var/fixed_mut_color = "" //to use MUTCOLOR with a fixed color that's independent of dna.feature["mcolor"]
- // species flags. these can be found in flags.dm
+ // species flags_1. these can be found in flags_1.dm
var/list/species_traits = list()
var/attack_verb = "punch" // punch-specific attack verb
@@ -218,7 +218,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))
@@ -913,7 +913,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
@@ -929,7 +929,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
@@ -946,7 +946,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
@@ -1183,7 +1183,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 2aec3df781..028d277569 100644
--- a/code/modules/mob/living/carbon/human/species_types/plasmamen.dm
+++ b/code/modules/mob/living/carbon/human/species_types/plasmamen.dm
@@ -22,7 +22,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 4e21a12f85..f1a6998523 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 b/code/modules/mob/living/carbon/monkey/combat.dm
index 4b8454fcde..cf1042dce3 100644
--- a/code/modules/mob/living/carbon/monkey/combat.dm
+++ b/code/modules/mob/living/carbon/monkey/combat.dm
@@ -153,7 +153,7 @@
if(!locate(/obj/item/weapon) 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/weapon/W
for(var/obj/item/weapon/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/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/carbon/say.dm b/code/modules/mob/living/carbon/say.dm
index ed1f5f08b5..d6ee2ebbfc 100644
--- a/code/modules/mob/living/carbon/say.dm
+++ b/code/modules/mob/living/carbon/say.dm
@@ -34,4 +34,4 @@
if(T)
. = T.could_speak_in_language(dt)
else
- . = initial(dt.flags) & TONGUELESS_SPEECH
+ . = initial(dt.flags_1) & TONGUELESS_SPEECH
diff --git a/code/modules/mob/living/death.dm b/code/modules/mob/living/death.dm
index 69b3d75096..40219161c6 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 e2db3899de..16580ab64e 100644
--- a/code/modules/mob/living/living.dm
+++ b/code/modules/mob/living/living.dm
@@ -638,7 +638,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].", \
@@ -659,7 +659,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 01dca7f00e..a4c49ccc7e 100644
--- a/code/modules/mob/living/living_defense.dm
+++ b/code/modules/mob/living/living_defense.dm
@@ -280,7 +280,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 7d1bd0da02..eeeb39e44b 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 54d698a60b..f564f0f823 100644
--- a/code/modules/mob/living/silicon/robot/robot_modules.dm
+++ b/code/modules/mob/living/silicon/robot/robot_modules.dm
@@ -4,9 +4,9 @@
icon_state = "std_module"
w_class = WEIGHT_CLASS_GIGANTIC
item_state = "electronic"
- lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
- flags = CONDUCT
+ lefthand_file = 'icons/mob/inhands/misc/devices_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/misc/devices_righthand.dmi'
+ 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
@@ -121,8 +121,8 @@
if(I.loc != src)
I.forceMove(src)
modules += I
- I.flags |= NODROP
- I.mouse_opacity = MOUSE_OPACITY_OPAQUE
+ I.flags_1 |= NODROP_1
+ I.mouse_opacity = MOUSE_OPACITY_OPAQUE
if(nonstandard)
added_modules += I
if(requires_rebuild)
@@ -248,7 +248,7 @@
/obj/item/weapon/restraints/handcuffs/cable/zipties/cyborg,
/obj/item/weapon/soap/nanotrasen,
/obj/item/borg/cyborghug)
- emag_modules = list(/obj/item/weapon/melee/transforming/energy/sword/cyborg)
+ emag_modules = list(/obj/item/weapon/melee/transforming/energy/sword/cyborg)
ratvar_modules = list(
/obj/item/clockwork/slab/cyborg,
/obj/item/clockwork/ratvarian_spear/cyborg,
@@ -471,7 +471,7 @@
/obj/item/stack/tile/plasteel/cyborg,
/obj/item/weapon/soap/nanotrasen,
/obj/item/weapon/storage/bag/trash/cyborg,
- /obj/item/weapon/extinguisher/mini,
+ /obj/item/weapon/extinguisher/mini,
/obj/item/weapon/mop/cyborg,
/obj/item/device/lightreplacer/cyborg,
/obj/item/weapon/holosign_creator,
@@ -518,7 +518,7 @@
/obj/item/weapon/reagent_containers/food/condiment/enzyme,
/obj/item/weapon/pen,
/obj/item/toy/crayon/spraycan/borg,
- /obj/item/weapon/extinguisher/mini,
+ /obj/item/weapon/extinguisher/mini,
/obj/item/weapon/hand_labeler/borg,
/obj/item/weapon/razor,
/obj/item/device/instrument/violin,
@@ -594,7 +594,7 @@
name = "Syndicate Assault"
basic_modules = list(
/obj/item/device/assembly/flash/cyborg,
- /obj/item/weapon/melee/transforming/energy/sword/cyborg,
+ /obj/item/weapon/melee/transforming/energy/sword/cyborg,
/obj/item/weapon/gun/energy/printer,
/obj/item/weapon/gun/ballistic/revolver/grenadelauncher/cyborg,
/obj/item/weapon/card/emag,
@@ -621,7 +621,7 @@
/obj/item/weapon/hemostat,
/obj/item/weapon/cautery,
/obj/item/weapon/scalpel,
- /obj/item/weapon/melee/transforming/energy/sword/cyborg/saw,
+ /obj/item/weapon/melee/transforming/energy/sword/cyborg/saw,
/obj/item/roller/robo,
/obj/item/weapon/card/emag,
/obj/item/weapon/crowbar/cyborg,
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 b/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm
index 169a95f157..288645760b 100644
--- a/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm
+++ b/code/modules/mob/living/simple_animal/hostile/jungle_mobs.dm
@@ -80,7 +80,7 @@
/obj/item/weapon/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/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/blood_drunk_miner.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner.dm
index 6991cb4ad3..8ad8441f2a 100644
--- a/code/modules/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner.dm
+++ b/code/modules/mob/living/simple_animal/hostile/megafauna/blood_drunk_miner.dm
@@ -251,9 +251,9 @@ Difficulty: Medium
animate(src, transform = M, pixel_y = -6, dir = final_dir, time = 2, easing = EASE_IN|EASE_OUT)
sleep(5)
- animate(src, color = list("#A7A19E", "#A7A19E", "#A7A19E", list(0, 0, 0)), time = 10, easing = EASE_IN, flags = ANIMATION_PARALLEL)
+ animate(src, color = list("#A7A19E", "#A7A19E", "#A7A19E", list(0, 0, 0)), time = 10, easing = EASE_IN, flags_1 = ANIMATION_PARALLEL)
sleep(4)
- animate(src, alpha = 0, time = 6, easing = EASE_OUT, flags = ANIMATION_PARALLEL)
+ animate(src, alpha = 0, time = 6, easing = EASE_OUT, flags_1 = ANIMATION_PARALLEL)
/obj/item/device/gps/internal/miner
icon_state = null
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 356c3197b3..bf40a95070 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/megafauna/dragon.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/dragon.dm
index fa79630c28..c9f0c7a7cb 100644
--- a/code/modules/mob/living/simple_animal/hostile/megafauna/dragon.dm
+++ b/code/modules/mob/living/simple_animal/hostile/megafauna/dragon.dm
@@ -193,7 +193,7 @@ Difficulty: Medium
qdel(F)
if(stat == DEAD)
swooping &= ~SWOOP_DAMAGEABLE
- animate(src, alpha = 255, transform = oldtransform, time = 0, flags = ANIMATION_END_NOW) //reset immediately
+ animate(src, alpha = 255, transform = oldtransform, time = 0, flags_1 = ANIMATION_END_NOW) //reset immediately
return
animate(src, alpha = 100, transform = matrix()*0.7, time = 7)
swooping |= SWOOP_INVULNERABLE
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 d5d4b096b9..fff5781405 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 d612611ea6..7f2ba4bdb2 100644
--- a/code/modules/mob/mob.dm
+++ b/code/modules/mob/mob.dm
@@ -514,7 +514,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..a4f85c1422 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_1 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.
@@ -43,8 +43,8 @@ global procs
Attaches span classes around input.
/atom/movable
- flags
- The HEAR flag determines whether something is a hearer or not.
+ flags_1
+ 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 b/code/modules/modular_computers/computers/machinery/modular_computer.dm
index c0f0a05a3e..4ec09ee7c7 100644
--- a/code/modules/modular_computers/computers/machinery/modular_computer.dm
+++ b/code/modules/modular_computers/computers/machinery/modular_computer.dm
@@ -125,7 +125,7 @@
update_icon()
/obj/machinery/modular_computer/attackby(var/obj/item/weapon/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/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 b/code/modules/paperwork/contract.dm
index 39f0d7a933..927f3da873 100644
--- a/code/modules/paperwork/contract.dm
+++ b/code/modules/paperwork/contract.dm
@@ -5,7 +5,7 @@
throw_speed = 3
var/signed = FALSE
var/datum/mind/target
- flags = NOBLUDGEON
+ flags_1 = NOBLUDGEON_1
/obj/item/weapon/paper/contract/proc/update_text()
return
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 b/code/modules/paperwork/pen.dm
index 0f0ccfa4a7..bdb36cdcb1 100644
--- a/code/modules/paperwork/pen.dm
+++ b/code/modules/paperwork/pen.dm
@@ -168,7 +168,7 @@
*/
/obj/item/weapon/pen/sleepy
origin_tech = "engineering=4;syndicate=2"
- container_type = OPENCONTAINER
+ container_type = OPENCONTAINER_1
/obj/item/weapon/pen/sleepy/attack(mob/living/M, mob/user)
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..b81a073596 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
@@ -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/weapon/photo/displayed
@@ -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 28ffb52db4..553b932d53 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 b/code/modules/power/singularity/emitter.dm
index 1e4baee4be..f2b0bc124f 100644
--- a/code/modules/power/singularity/emitter.dm
+++ b/code/modules/power/singularity/emitter.dm
@@ -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/weapon/turret_control/afterattack(atom/targeted_atom, mob/user)
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 b/code/modules/power/supermatter/supermatter.dm
index f635d8e227..c33a4e85a2 100644
--- a/code/modules/power/supermatter/supermatter.dm
+++ b/code/modules/power/supermatter/supermatter.dm
@@ -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/weapon/scalpel/supermatter))
playsound(src, W.usesound, 100, 1)
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 e11b0a3b34..9137a8731a 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/procedural_mapping/mapGeneratorReadme.dm b/code/modules/procedural_mapping/mapGeneratorReadme.dm
index c4ced7674b..85f937b41b 100644
--- a/code/modules/procedural_mapping/mapGeneratorReadme.dm
+++ b/code/modules/procedural_mapping/mapGeneratorReadme.dm
@@ -127,7 +127,7 @@ Variable Breakdown (For Mappers):
clusterCheckFlags - A Bitfield that controls how the cluster checks work, All based on clusterMin and clusterMax guides
allowAtomsOnSpace - A Boolean for if we allow atoms to spawn on space tiles
- clusterCheckFlags flags:
+ clusterCheckFlags flags_1:
CLUSTER_CHECK_NONE 0 //No checks are done, cluster as much as possible
CLUSTER_CHECK_DIFFERENT_TURFS 2 //Don't let turfs of DIFFERENT types cluster
CLUSTER_CHECK_DIFFERENT_ATOMS 4 //Don't let atoms of DIFFERENT types cluster
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 b/code/modules/projectiles/guns/beam_rifle.dm
index ac9508138c..8a6d796da3 100644
--- a/code/modules/projectiles/guns/beam_rifle.dm
+++ b/code/modules/projectiles/guns/beam_rifle.dm
@@ -678,7 +678,7 @@
pixel_x = pixel_x_offset
pixel_y = pixel_y_offset
else
- animate(src, pixel_x = pixel_x_offset, pixel_y = pixel_y_offset, time = max(1, (delay <= 3 ? delay - 1 : delay)), flags = ANIMATION_END_NOW)
+ animate(src, pixel_x = pixel_x_offset, pixel_y = pixel_y_offset, time = max(1, (delay <= 3 ? delay - 1 : delay)), flags_1 = ANIMATION_END_NOW)
old_pixel_x = pixel_x_offset
old_pixel_y = pixel_y_offset
if(can_hit_target(original, permutated))
@@ -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/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 b/code/modules/projectiles/guns/energy/pulse.dm
index d53bd0da85..2f40a395ab 100644
--- a/code/modules/projectiles/guns/energy/pulse.dm
+++ b/code/modules/projectiles/guns/energy/pulse.dm
@@ -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/weapon/stock_parts/cell/pulse"
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 bd023cc51b..527d02e52a 100644
--- a/code/modules/projectiles/projectile.dm
+++ b/code/modules/projectiles/projectile.dm
@@ -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'
@@ -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/holder.dm b/code/modules/reagents/chemistry/holder.dm
index 54d17497f3..6ef7d778b6 100644
--- a/code/modules/reagents/chemistry/holder.dm
+++ b/code/modules/reagents/chemistry/holder.dm
@@ -11,12 +11,12 @@
var/last_tick = 1
var/addiction_tick = 1
var/list/datum/reagent/addiction_list = new/list()
- var/flags
+ var/flags_1
/datum/reagents/New(maximum=100)
maximum_volume = maximum
- if(!(flags & REAGENT_NOREACT))
+ if(!(flags_1 & REAGENT_NOREACT))
START_PROCESSING(SSobj, src)
//I dislike having these here but map-objects are initialised before world/New() is called. >_>
@@ -290,7 +290,7 @@
/datum/reagents/process()
var/list/cached_reagents = reagent_list
- if(flags & REAGENT_NOREACT)
+ if(flags_1 & REAGENT_NOREACT)
STOP_PROCESSING(SSobj, src)
return
@@ -302,11 +302,11 @@
if(react)
// Order is important, process() can remove from processing if
// the flag is present
- flags &= ~(REAGENT_NOREACT)
+ flags_1 &= ~(REAGENT_NOREACT)
START_PROCESSING(SSobj, src)
else
STOP_PROCESSING(SSobj, src)
- flags |= REAGENT_NOREACT
+ flags_1 |= REAGENT_NOREACT
/datum/reagents/proc/conditional_update_move(atom/A, Running = 0)
var/list/cached_reagents = reagent_list
@@ -326,7 +326,7 @@
var/list/cached_reagents = reagent_list
var/list/cached_reactions = GLOB.chemical_reactions_list
var/datum/cached_my_atom = my_atom
- if(flags & REAGENT_NOREACT)
+ if(flags_1 & REAGENT_NOREACT)
return //Yup, no reactions here. No siree.
var/reaction_occurred = 0
diff --git a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm
index 716943e7f4..4811a11785 100644
--- a/code/modules/reagents/chemistry/machinery/chem_dispenser.dm
+++ b/code/modules/reagents/chemistry/machinery/chem_dispenser.dm
@@ -178,7 +178,7 @@
if(default_unfasten_wrench(user, I))
return
- if(istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER))
+ if(istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER_1))
var/obj/item/weapon/reagent_containers/B = I
. = 1 //no afterattack
if(beaker)
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 b/code/modules/reagents/chemistry/machinery/chem_heater.dm
index b43841c43b..83ee0c2d51 100644
--- a/code/modules/reagents/chemistry/machinery/chem_heater.dm
+++ b/code/modules/reagents/chemistry/machinery/chem_heater.dm
@@ -42,7 +42,7 @@
if(default_deconstruction_crowbar(I))
return
- if(istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER))
+ if(istype(I, /obj/item/weapon/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_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 b/code/modules/reagents/chemistry/machinery/chem_master.dm
index c0d5fef9cc..aa99988c7d 100644
--- a/code/modules/reagents/chemistry/machinery/chem_master.dm
+++ b/code/modules/reagents/chemistry/machinery/chem_master.dm
@@ -79,7 +79,7 @@
if(default_unfasten_wrench(user, I))
return
- if(istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER))
+ if(istype(I, /obj/item/weapon/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/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 b/code/modules/reagents/chemistry/machinery/pandemic.dm
index 46597fb028..1634f616b0 100644
--- a/code/modules/reagents/chemistry/machinery/pandemic.dm
+++ b/code/modules/reagents/chemistry/machinery/pandemic.dm
@@ -177,7 +177,7 @@
. = TRUE
/obj/machinery/computer/pandemic/attackby(obj/item/I, mob/user, params)
- if(istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER))
+ if(istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER_1))
. = TRUE //no afterattack
if(stat & (NOPOWER|BROKEN))
return
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 b/code/modules/reagents/chemistry/machinery/reagentgrinder.dm
index 5bf7db5c6d..7f6f5bd436 100644
--- a/code/modules/reagents/chemistry/machinery/reagentgrinder.dm
+++ b/code/modules/reagents/chemistry/machinery/reagentgrinder.dm
@@ -116,7 +116,7 @@
if(default_unfasten_wrench(user, I))
return
- if (istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER) )
+ if (istype(I, /obj/item/weapon/reagent_containers) && (I.container_type & OPENCONTAINER_1) )
if (!beaker)
if(!user.drop_item())
return 1
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 b/code/modules/reagents/reagent_containers/dropper.dm
index 5845e9409e..527bc0a50b 100644
--- a/code/modules/reagents/reagent_containers/dropper.dm
+++ b/code/modules/reagents/reagent_containers/dropper.dm
@@ -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/weapon/reagent_containers/dropper/afterattack(obj/target, mob/user , proximity)
if(!proximity) return
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..657efb32c6 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
@@ -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/weapon/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/weapon/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/weapon/reagent_containers/glass/beaker/cryoxadone
@@ -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..726c6c538e 100644
--- a/code/modules/reagents/reagent_containers/hypospray.dm
+++ b/code/modules/reagents/reagent_containers/hypospray.dm
@@ -3,14 +3,14 @@
desc = "The DeForest Medical Corporation hypospray is a sterile, air-needle autoinjector for rapid administration of drugs to patients."
icon = 'icons/obj/syringe.dmi'
item_state = "hypo"
- lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
icon_state = "hypo"
amount_per_transfer_from_this = 5
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
@@ -72,13 +72,13 @@
desc = "A rapid and safe way to stabilize patients in critical condition for personnel without advanced medical knowledge."
icon_state = "medipen"
item_state = "medipen"
- lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
- righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
+ lefthand_file = 'icons/mob/inhands/equipment/medical_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
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/weapon/reagent_containers/hypospray/medipen/attack(mob/M, mob/user)
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 b/code/modules/reagents/reagent_containers/syringes.dm
index f11965496d..ed57bb8a75 100644
--- a/code/modules/reagents/reagent_containers/syringes.dm
+++ b/code/modules/reagents/reagent_containers/syringes.dm
@@ -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/weapon/reagent_containers/syringe/Initialize()
. = ..()
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 b/code/modules/research/circuitprinter.dm
index c3e1bd2c98..0cd3010eb6 100644
--- a/code/modules/research/circuitprinter.dm
+++ b/code/modules/research/circuitprinter.dm
@@ -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/weapon/circuitboard/machine/circuit_imprinter
var/datum/material_container/materials
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 b/code/modules/research/protolathe.dm
index 2691286771..bc800abb9a 100644
--- a/code/modules/research/protolathe.dm
+++ b/code/modules/research/protolathe.dm
@@ -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/weapon/circuitboard/machine/protolathe
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 029d641958..4b010c85b2 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 681a334a44..8c4772d434 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 12b8e83c65..149685532d 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 b/code/modules/spells/spell_types/godhand.dm
index f1543d1691..c650837750 100644
--- a/code/modules/spells/spell_types/godhand.dm
+++ b/code/modules/spells/spell_types/godhand.dm
@@ -7,7 +7,7 @@
icon = 'icons/obj/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/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 3412db9b72..1b6d11719f 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/telesci/telepad.dm b/code/modules/telesci/telepad.dm
index 5d85cde569..9280d16b10 100644
--- a/code/modules/telesci/telepad.dm
+++ b/code/modules/telesci/telepad.dm
@@ -10,8 +10,8 @@
active_power_usage = 5000
var/efficiency
-/obj/machinery/telepad/Initialize()
- . = ..()
+/obj/machinery/telepad/Initialize()
+ . = ..()
var/obj/item/weapon/circuitboard/machine/B = new /obj/item/weapon/circuitboard/machine/telesci_pad(null)
B.apply_default_parts(src)
@@ -120,7 +120,7 @@
desc = "Use this to send crates and closets to cargo telepads."
icon = 'icons/obj/telescience.dmi'
icon_state = "rcs"
- flags = CONDUCT
+ flags_1 = CONDUCT_1
force = 10
throwforce = 10
throw_speed = 2
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/code/modules/zombie/organs.dm b/code/modules/zombie/organs.dm
index d3c30ac285..addcfc6dec 100644
--- a/code/modules/zombie/organs.dm
+++ b/code/modules/zombie/organs.dm
@@ -55,8 +55,8 @@
life has not abandoned your broken form. You can only feel a deep and immutable hunger that \
not even death can stop, you will rise again!")
var/revive_time = rand(revive_time_min, revive_time_max)
- var/flags = TIMER_STOPPABLE
- timer_id = addtimer(CALLBACK(src, .proc/zombify), revive_time, flags)
+ var/flags_1 = TIMER_STOPPABLE
+ timer_id = addtimer(CALLBACK(src, .proc/zombify), revive_time, flags_1)
/obj/item/organ/zombie_infection/proc/zombify()
timer_id = null
diff --git a/tgstation.dme b/tgstation.dme
index 45960fc7de..ea4c83c1f7 100644
--- a/tgstation.dme
+++ b/tgstation.dme
@@ -83,7 +83,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"
|