| [N.name], "
var/atom/disk_loc = N.loc
while(!istype(disk_loc, /turf))
diff --git a/code/game/antagonist/antagonist_update.dm b/code/game/antagonist/antagonist_update.dm
index b118cb91db8..e93e1e4c401 100644
--- a/code/game/antagonist/antagonist_update.dm
+++ b/code/game/antagonist/antagonist_update.dm
@@ -19,7 +19,7 @@
return player.current
/datum/antagonist/proc/update_access(var/mob/living/player)
- for(var/obj/item/weapon/card/id/id in player.contents)
+ for(var/obj/item/card/id/id in player.contents)
player.set_id_info(id)
/datum/antagonist/proc/clear_indicators(var/datum/mind/recipient)
diff --git a/code/game/antagonist/outsider/commando.dm b/code/game/antagonist/outsider/commando.dm
index b7bd756c97a..d0acbf61e73 100644
--- a/code/game/antagonist/outsider/commando.dm
+++ b/code/game/antagonist/outsider/commando.dm
@@ -7,7 +7,7 @@ var/datum/antagonist/deathsquad/mercenary/commandos
role_text_plural = "Commandos"
welcome_text = "You are in the employ of a criminal syndicate hostile to corporate interests."
antag_sound = 'sound/effects/antag_notice/deathsquid_alert.ogg'
- id_type = /obj/item/weapon/card/id/centcom/ERT
+ id_type = /obj/item/card/id/centcom/ERT
hard_cap = 4
hard_cap_round = 8
@@ -22,15 +22,15 @@ var/datum/antagonist/deathsquad/mercenary/commandos
/datum/antagonist/deathsquad/mercenary/equip(var/mob/living/carbon/human/player)
player.equip_to_slot_or_del(new /obj/item/clothing/under/syndicate(player), slot_w_uniform)
- player.equip_to_slot_or_del(new /obj/item/weapon/gun/projectile/silenced(player), slot_belt)
+ player.equip_to_slot_or_del(new /obj/item/gun/projectile/silenced(player), slot_belt)
player.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/swat(player), slot_shoes)
player.equip_to_slot_or_del(new /obj/item/clothing/gloves/swat(player), slot_gloves)
player.equip_to_slot_or_del(new /obj/item/clothing/glasses/thermal(player), slot_glasses)
player.equip_to_slot_or_del(new /obj/item/clothing/mask/gas/syndicate(player), slot_wear_mask)
- player.equip_to_slot_or_del(new /obj/item/weapon/storage/box(player), slot_in_backpack)
+ player.equip_to_slot_or_del(new /obj/item/storage/box(player), slot_in_backpack)
player.equip_to_slot_or_del(new /obj/item/ammo_magazine/clip/c45(player), slot_in_backpack)
- player.equip_to_slot_or_del(new /obj/item/weapon/rig/merc(player), slot_back)
- player.equip_to_slot_or_del(new /obj/item/weapon/gun/energy/pulse_rifle(player), slot_r_hand)
+ player.equip_to_slot_or_del(new /obj/item/rig/merc(player), slot_back)
+ player.equip_to_slot_or_del(new /obj/item/gun/energy/pulse_rifle(player), slot_r_hand)
create_id("Commando", player)
create_radio(SYND_FREQ, player)
diff --git a/code/game/antagonist/outsider/deathsquad.dm b/code/game/antagonist/outsider/deathsquad.dm
index 01b579b7de3..54ab78dd360 100644
--- a/code/game/antagonist/outsider/deathsquad.dm
+++ b/code/game/antagonist/outsider/deathsquad.dm
@@ -42,17 +42,17 @@ var/datum/antagonist/deathsquad/deathsquad
player.equip_to_slot_or_del(new /obj/item/clothing/glasses/thermal(player), slot_glasses)
player.equip_to_slot_or_del(new /obj/item/clothing/mask/gas/swat(player), slot_wear_mask)
if (player.mind == leader)
- player.equip_to_slot_or_del(new /obj/item/weapon/pinpointer(player), slot_l_store)
- player.equip_to_slot_or_del(new /obj/item/weapon/disk/nuclear(player), slot_r_store)
+ player.equip_to_slot_or_del(new /obj/item/pinpointer(player), slot_l_store)
+ player.equip_to_slot_or_del(new /obj/item/disk/nuclear(player), slot_r_store)
else
- player.equip_to_slot_or_del(new /obj/item/weapon/plastique(player), slot_l_store)
- player.equip_to_slot_or_del(new /obj/item/weapon/gun/projectile/revolver/mateba(player), slot_belt)
- player.equip_to_slot_or_del(new /obj/item/weapon/gun/energy/pulse_rifle(player), slot_r_hand)
- player.equip_to_slot_or_del(new /obj/item/weapon/rig/ert/assetprotection(player), slot_back)
- player.equip_to_slot_or_del(new /obj/item/weapon/melee/energy/sword(player), slot_s_store)
+ player.equip_to_slot_or_del(new /obj/item/plastique(player), slot_l_store)
+ player.equip_to_slot_or_del(new /obj/item/gun/projectile/revolver/mateba(player), slot_belt)
+ player.equip_to_slot_or_del(new /obj/item/gun/energy/pulse_rifle(player), slot_r_hand)
+ player.equip_to_slot_or_del(new /obj/item/rig/ert/assetprotection(player), slot_back)
+ player.equip_to_slot_or_del(new /obj/item/melee/energy/sword(player), slot_s_store)
// player.implant_loyalty()
- var/obj/item/weapon/card/id/id = create_id("Asset Protection", player)
+ var/obj/item/card/id/id = create_id("Asset Protection", player)
if(id)
id.access |= get_all_station_access()
id.icon_state = "centcom"
diff --git a/code/game/antagonist/outsider/ert.dm b/code/game/antagonist/outsider/ert.dm
index 59e6a4a30c8..9c8884caed6 100644
--- a/code/game/antagonist/outsider/ert.dm
+++ b/code/game/antagonist/outsider/ert.dm
@@ -16,7 +16,7 @@ var/datum/antagonist/ert/ert
rules aside from those without explicit exceptions apply to the ERT."
leader_welcome_text = "As leader of the Emergency Response Team, you answer only to the Company, and have authority to override the " + JOB_SITE_MANAGER + " where it is necessary to achieve your mission goals. It is recommended that you attempt to cooperate with the " + JOB_SITE_MANAGER + " where possible, however."
landmark_id = "Response Team"
- id_type = /obj/item/weapon/card/id/centcom/ERT
+ id_type = /obj/item/card/id/centcom/ERT
flags = ANTAG_OVERRIDE_JOB | ANTAG_SET_APPEARANCE | ANTAG_HAS_LEADER | ANTAG_CHOOSE_NAME
antaghud_indicator = "hudloyalist"
@@ -46,7 +46,7 @@ var/datum/antagonist/ert/ert
/datum/antagonist/ert/equip(var/mob/living/carbon/human/player)
//Special radio setup
- player.equip_to_slot_or_del(new /obj/item/device/radio/headset/ert(src), slot_l_ear)
+ player.equip_to_slot_or_del(new /obj/item/radio/headset/ert(src), slot_l_ear)
player.equip_to_slot_or_del(new /obj/item/clothing/under/ert(src), slot_w_uniform)
player.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/swat(src), slot_shoes)
player.equip_to_slot_or_del(new /obj/item/clothing/gloves/swat(src), slot_gloves)
diff --git a/code/game/antagonist/outsider/mercenary.dm b/code/game/antagonist/outsider/mercenary.dm
index 623291dde7d..47f2cd85bcc 100644
--- a/code/game/antagonist/outsider/mercenary.dm
+++ b/code/game/antagonist/outsider/mercenary.dm
@@ -11,7 +11,7 @@ var/datum/antagonist/mercenary/mercs
leader_welcome_text = "You are the leader of the mercenary strikeforce; hail to the chief. Use :t to speak to your underlings."
welcome_text = "To speak on the strike team's private channel use :t."
flags = ANTAG_OVERRIDE_JOB | ANTAG_CLEAR_EQUIPMENT | ANTAG_CHOOSE_NAME | ANTAG_HAS_NUKE | ANTAG_SET_APPEARANCE | ANTAG_HAS_LEADER
- id_type = /obj/item/weapon/card/id/syndicate
+ id_type = /obj/item/card/id/syndicate
antaghud_indicator = "hudoperative"
hard_cap = 4
@@ -38,17 +38,17 @@ var/datum/antagonist/mercenary/mercs
player.equip_to_slot_or_del(new /obj/item/clothing/under/syndicate(player), slot_w_uniform)
player.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/swat(player), slot_shoes)
player.equip_to_slot_or_del(new /obj/item/clothing/gloves/swat(player), slot_gloves)
- if(player.backbag == 2) player.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(player), slot_back)
- if(player.backbag == 3) player.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(player), slot_back)
- if(player.backbag == 4) player.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(player), slot_back)
- if(player.backbag == 5) player.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger(player), slot_back)
- if(player.backbag == 6) player.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/sport(player), slot_back)
- player.equip_to_slot_or_del(new /obj/item/weapon/reagent_containers/pill/cyanide(player), slot_in_backpack)
+ if(player.backbag == 2) player.equip_to_slot_or_del(new /obj/item/storage/backpack(player), slot_back)
+ if(player.backbag == 3) player.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel/norm(player), slot_back)
+ if(player.backbag == 4) player.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel(player), slot_back)
+ if(player.backbag == 5) player.equip_to_slot_or_del(new /obj/item/storage/backpack/messenger(player), slot_back)
+ if(player.backbag == 6) player.equip_to_slot_or_del(new /obj/item/storage/backpack/sport(player), slot_back)
+ player.equip_to_slot_or_del(new /obj/item/reagent_containers/pill/cyanide(player), slot_in_backpack)
player.mind.tcrystals = DEFAULT_TELECRYSTAL_AMOUNT
player.mind.accept_tcrystals = 1
- var/obj/item/device/radio/uplink/U = new(player.loc, player.mind, DEFAULT_TELECRYSTAL_AMOUNT)
+ var/obj/item/radio/uplink/U = new(player.loc, player.mind, DEFAULT_TELECRYSTAL_AMOUNT)
player.put_in_hands(U)
create_id("Mercenary", player)
diff --git a/code/game/antagonist/outsider/ninja.dm b/code/game/antagonist/outsider/ninja.dm
index 5ed22f4d49b..261c798cbde 100644
--- a/code/game/antagonist/outsider/ninja.dm
+++ b/code/game/antagonist/outsider/ninja.dm
@@ -16,7 +16,7 @@ var/datum/antagonist/ninja/ninjas
hard_cap = 1
hard_cap_round = 3
- id_type = /obj/item/weapon/card/id/syndicate
+ id_type = /obj/item/card/id/syndicate
/datum/antagonist/ninja/New()
..()
@@ -103,13 +103,13 @@ var/datum/antagonist/ninja/ninjas
if(!..())
return 0
- var/obj/item/device/radio/R = new /obj/item/device/radio/headset(player)
+ var/obj/item/radio/R = new /obj/item/radio/headset(player)
player.equip_to_slot_or_del(R, slot_l_ear)
player.equip_to_slot_or_del(new /obj/item/clothing/under/color/black(player), slot_w_uniform)
- player.equip_to_slot_or_del(new /obj/item/device/flashlight(player), slot_belt)
+ player.equip_to_slot_or_del(new /obj/item/flashlight(player), slot_belt)
create_id("Infiltrator", player)
- var/obj/item/weapon/rig/light/ninja/ninjasuit = new(get_turf(player))
+ var/obj/item/rig/light/ninja/ninjasuit = new(get_turf(player))
ninjasuit.seal_delay = 0
player.put_in_hands(ninjasuit)
player.equip_to_slot_or_del(ninjasuit,slot_back)
@@ -117,8 +117,8 @@ var/datum/antagonist/ninja/ninjas
ninjasuit.toggle_seals(src,1)
ninjasuit.seal_delay = initial(ninjasuit.seal_delay)
- if(istype(player.back,/obj/item/weapon/rig))
- var/obj/item/weapon/rig/rig = player.back
+ if(istype(player.back,/obj/item/rig))
+ var/obj/item/rig/rig = player.back
if(rig.air_supply)
player.internal = rig.air_supply
diff --git a/code/game/antagonist/outsider/raider.dm b/code/game/antagonist/outsider/raider.dm
index 5337ec9a0cf..bc17d1175d5 100644
--- a/code/game/antagonist/outsider/raider.dm
+++ b/code/game/antagonist/outsider/raider.dm
@@ -17,7 +17,7 @@ var/datum/antagonist/raider/raiders
initial_spawn_req = 3
initial_spawn_target = 3
- id_type = /obj/item/weapon/card/id/syndicate
+ id_type = /obj/item/card/id/syndicate
// Heist overrides check_victory() and doesn't need victory or loss strings/tags.
var/list/raider_uniforms = list(
@@ -64,40 +64,40 @@ var/datum/antagonist/raider/raiders
)
var/list/raider_guns = list(
- /obj/item/weapon/gun/energy/laser,
- /obj/item/weapon/gun/energy/retro,
- /obj/item/weapon/gun/energy/xray,
- /obj/item/weapon/gun/energy/mindflayer,
- /obj/item/weapon/gun/energy/toxgun,
- /obj/item/weapon/gun/energy/stunrevolver,
- /obj/item/weapon/gun/energy/stunrevolver/vintage,
- /obj/item/weapon/gun/energy/ionrifle,
- /obj/item/weapon/gun/energy/taser,
- /obj/item/weapon/gun/energy/crossbow/largecrossbow,
- /obj/item/weapon/gun/launcher/crossbow,
- /obj/item/weapon/gun/launcher/grenade,
- /obj/item/weapon/gun/launcher/pneumatic,
- /obj/item/weapon/gun/projectile/automatic/mini_uzi,
- /obj/item/weapon/gun/projectile/automatic/c20r,
- /obj/item/weapon/gun/projectile/automatic/wt550,
- /obj/item/weapon/gun/projectile/automatic/sts35,
- /obj/item/weapon/gun/projectile/automatic/bullpup,
- /obj/item/weapon/gun/projectile/automatic/tommygun,
- /obj/item/weapon/gun/projectile/silenced,
- /obj/item/weapon/gun/projectile/shotgun/pump,
- /obj/item/weapon/gun/projectile/shotgun/pump/combat,
- /obj/item/weapon/gun/projectile/shotgun/pump/rifle,
- /obj/item/weapon/gun/projectile/shotgun/doublebarrel,
- /obj/item/weapon/gun/projectile/shotgun/doublebarrel/pellet,
- /obj/item/weapon/gun/projectile/shotgun/doublebarrel/sawn,
- /obj/item/weapon/gun/projectile/colt/detective,
- /obj/item/weapon/gun/projectile/pistol,
- /obj/item/weapon/gun/projectile/p92x,
- /obj/item/weapon/gun/projectile/revolver,
- /obj/item/weapon/gun/projectile/pirate,
- /obj/item/weapon/gun/projectile/revolver/judge,
- list(/obj/item/weapon/gun/projectile/luger,/obj/item/weapon/gun/projectile/luger/brown),
- list(/obj/item/weapon/gun/projectile/deagle, /obj/item/weapon/gun/projectile/deagle/gold, /obj/item/weapon/gun/projectile/deagle/camo)
+ /obj/item/gun/energy/laser,
+ /obj/item/gun/energy/retro,
+ /obj/item/gun/energy/xray,
+ /obj/item/gun/energy/mindflayer,
+ /obj/item/gun/energy/toxgun,
+ /obj/item/gun/energy/stunrevolver,
+ /obj/item/gun/energy/stunrevolver/vintage,
+ /obj/item/gun/energy/ionrifle,
+ /obj/item/gun/energy/taser,
+ /obj/item/gun/energy/crossbow/largecrossbow,
+ /obj/item/gun/launcher/crossbow,
+ /obj/item/gun/launcher/grenade,
+ /obj/item/gun/launcher/pneumatic,
+ /obj/item/gun/projectile/automatic/mini_uzi,
+ /obj/item/gun/projectile/automatic/c20r,
+ /obj/item/gun/projectile/automatic/wt550,
+ /obj/item/gun/projectile/automatic/sts35,
+ /obj/item/gun/projectile/automatic/bullpup,
+ /obj/item/gun/projectile/automatic/tommygun,
+ /obj/item/gun/projectile/silenced,
+ /obj/item/gun/projectile/shotgun/pump,
+ /obj/item/gun/projectile/shotgun/pump/combat,
+ /obj/item/gun/projectile/shotgun/pump/rifle,
+ /obj/item/gun/projectile/shotgun/doublebarrel,
+ /obj/item/gun/projectile/shotgun/doublebarrel/pellet,
+ /obj/item/gun/projectile/shotgun/doublebarrel/sawn,
+ /obj/item/gun/projectile/colt/detective,
+ /obj/item/gun/projectile/pistol,
+ /obj/item/gun/projectile/p92x,
+ /obj/item/gun/projectile/revolver,
+ /obj/item/gun/projectile/pirate,
+ /obj/item/gun/projectile/revolver/judge,
+ list(/obj/item/gun/projectile/luger,/obj/item/gun/projectile/luger/brown),
+ list(/obj/item/gun/projectile/deagle, /obj/item/gun/projectile/deagle/gold, /obj/item/gun/projectile/deagle/camo)
)
var/list/raider_holster = list(
@@ -111,8 +111,8 @@ var/datum/antagonist/raider/raiders
raiders = src
/datum/antagonist/raider/update_access(var/mob/living/player)
- for(var/obj/item/weapon/storage/wallet/W in player.contents)
- for(var/obj/item/weapon/card/id/id in W.contents)
+ for(var/obj/item/storage/wallet/W in player.contents)
+ for(var/obj/item/card/id/id in W.contents)
id.name = "[player.real_name]'s Passport"
id.registered_name = player.real_name
W.name = "[initial(W.name)] ([id.name])"
@@ -227,10 +227,10 @@ var/datum/antagonist/raider/raiders
player.equip_to_slot_or_del(new new_suit(player),slot_wear_suit)
equip_weapons(player)
- var/obj/item/weapon/card/id/id = create_id(JOB_ALT_VISITOR, player, equip = 0)
+ var/obj/item/card/id/id = create_id(JOB_ALT_VISITOR, player, equip = 0)
id.name = "[player.real_name]'s Passport"
id.assignment = JOB_ALT_VISITOR
- var/obj/item/weapon/storage/wallet/W = new(player)
+ var/obj/item/storage/wallet/W = new(player)
W.handle_item_insertion(id)
player.equip_to_slot_or_del(W, slot_wear_id)
spawn_money(rand(50,150)*10,W)
@@ -248,7 +248,7 @@ var/datum/antagonist/raider/raiders
//Give some of the raiders a pirate gun as a secondary
if(prob(60))
- var/obj/item/secondary = new /obj/item/weapon/gun/projectile/pirate(T)
+ var/obj/item/secondary = new /obj/item/gun/projectile/pirate(T)
if(!(primary.slot_flags & SLOT_HOLSTER))
holster = new new_holster(T)
holster.holstered = secondary
@@ -277,26 +277,26 @@ var/datum/antagonist/raider/raiders
else
player.put_in_any_hand_if_possible(holster)
-/datum/antagonist/raider/proc/equip_ammo(var/mob/living/carbon/human/player, var/obj/item/weapon/gun/gun)
- if(istype(gun, /obj/item/weapon/gun/projectile))
- var/obj/item/weapon/gun/projectile/bullet_thrower = gun
+/datum/antagonist/raider/proc/equip_ammo(var/mob/living/carbon/human/player, var/obj/item/gun/gun)
+ if(istype(gun, /obj/item/gun/projectile))
+ var/obj/item/gun/projectile/bullet_thrower = gun
if(bullet_thrower.magazine_type)
player.equip_to_slot_or_del(new bullet_thrower.magazine_type(player), slot_l_store)
if(prob(20)) //don't want to give them too much
player.equip_to_slot_or_del(new bullet_thrower.magazine_type(player), slot_r_store)
else if(bullet_thrower.ammo_type)
- var/obj/item/weapon/storage/box/ammobox = new(get_turf(player.loc))
+ var/obj/item/storage/box/ammobox = new(get_turf(player.loc))
for(var/i in 1 to rand(3,5) + rand(0,2))
new bullet_thrower.ammo_type(ammobox)
player.put_in_any_hand_if_possible(ammobox)
return
- if(istype(gun, /obj/item/weapon/gun/launcher/grenade))
+ if(istype(gun, /obj/item/gun/launcher/grenade))
var/list/grenades = list(
- /obj/item/weapon/grenade/empgrenade,
- /obj/item/weapon/grenade/smokebomb,
- /obj/item/weapon/grenade/flashbang
+ /obj/item/grenade/empgrenade,
+ /obj/item/grenade/smokebomb,
+ /obj/item/grenade/flashbang
)
- var/obj/item/weapon/storage/box/ammobox = new(get_turf(player.loc))
+ var/obj/item/storage/box/ammobox = new(get_turf(player.loc))
for(var/i in 1 to 7)
var/grenade_type = pick(grenades)
new grenade_type(ammobox)
@@ -310,11 +310,11 @@ var/datum/antagonist/raider/raiders
player.equip_to_slot_or_del(new /obj/item/clothing/shoes/magboots/vox(player), slot_shoes) // REPLACE THESE WITH CODED VOX ALTERNATIVES.
player.equip_to_slot_or_del(new /obj/item/clothing/gloves/vox(player), slot_gloves) // AS ABOVE.
player.equip_to_slot_or_del(new /obj/item/clothing/mask/gas/swat/vox(player), slot_wear_mask)
- player.equip_to_slot_or_del(new /obj/item/weapon/tank/vox(player), slot_back)
- player.equip_to_slot_or_del(new /obj/item/device/flashlight(player), slot_r_store)
+ player.equip_to_slot_or_del(new /obj/item/tank/vox(player), slot_back)
+ player.equip_to_slot_or_del(new /obj/item/flashlight(player), slot_r_store)
- player.internal = locate(/obj/item/weapon/tank) in player.contents
- if(istype(player.internal,/obj/item/weapon/tank) && player.internals)
+ player.internal = locate(/obj/item/tank) in player.contents
+ if(istype(player.internal,/obj/item/tank) && player.internals)
player.internals.icon_state = "internal1"
return 1
diff --git a/code/game/antagonist/outsider/technomancer.dm b/code/game/antagonist/outsider/technomancer.dm
index e0b2f87433b..dc6e5567a57 100644
--- a/code/game/antagonist/outsider/technomancer.dm
+++ b/code/game/antagonist/outsider/technomancer.dm
@@ -20,7 +20,7 @@ var/datum/antagonist/technomancer/technomancers
initial_spawn_req = 1
initial_spawn_target = 1
- id_type = /obj/item/weapon/card/id/syndicate
+ id_type = /obj/item/card/id/syndicate
/datum/antagonist/technomancer/New()
..()
@@ -39,13 +39,13 @@ var/datum/antagonist/technomancer/technomancers
technomancer_mob.equip_to_slot_or_del(new /obj/item/clothing/under/technomancer/master(technomancer_mob), slot_w_uniform)
create_id("Technomagus", technomancer_mob)
- technomancer_mob.equip_to_slot_or_del(new /obj/item/weapon/disposable_teleporter/free(technomancer_mob), slot_r_store)
- technomancer_mob.equip_to_slot_or_del(new /obj/item/weapon/technomancer_catalog(technomancer_mob), slot_l_store)
- technomancer_mob.equip_to_slot_or_del(new /obj/item/device/radio/headset(technomancer_mob), slot_l_ear)
- var/obj/item/weapon/technomancer_core/core = new /obj/item/weapon/technomancer_core(technomancer_mob)
+ technomancer_mob.equip_to_slot_or_del(new /obj/item/disposable_teleporter/free(technomancer_mob), slot_r_store)
+ technomancer_mob.equip_to_slot_or_del(new /obj/item/technomancer_catalog(technomancer_mob), slot_l_store)
+ technomancer_mob.equip_to_slot_or_del(new /obj/item/radio/headset(technomancer_mob), slot_l_ear)
+ var/obj/item/technomancer_core/core = new /obj/item/technomancer_core(technomancer_mob)
technomancer_mob.equip_to_slot_or_del(core, slot_back)
technomancer_belongings.Add(core) // So it can be Tracked.
- technomancer_mob.equip_to_slot_or_del(new /obj/item/device/flashlight(technomancer_mob), slot_belt)
+ technomancer_mob.equip_to_slot_or_del(new /obj/item/flashlight(technomancer_mob), slot_belt)
technomancer_mob.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup(technomancer_mob), slot_shoes)
technomancer_mob.equip_to_slot_or_del(new /obj/item/clothing/head/technomancer/master(technomancer_mob), slot_head)
return 1
@@ -54,17 +54,17 @@ var/datum/antagonist/technomancer/technomancers
technomancer_mob.equip_to_slot_or_del(new /obj/item/clothing/under/technomancer/apprentice(technomancer_mob), slot_w_uniform)
create_id("Techno-apprentice", technomancer_mob)
- technomancer_mob.equip_to_slot_or_del(new /obj/item/weapon/disposable_teleporter/free(technomancer_mob), slot_r_store)
+ technomancer_mob.equip_to_slot_or_del(new /obj/item/disposable_teleporter/free(technomancer_mob), slot_r_store)
- var/obj/item/weapon/technomancer_catalog/apprentice/catalog = new /obj/item/weapon/technomancer_catalog/apprentice()
+ var/obj/item/technomancer_catalog/apprentice/catalog = new /obj/item/technomancer_catalog/apprentice()
catalog.bind_to_owner(technomancer_mob)
technomancer_mob.equip_to_slot_or_del(catalog, slot_l_store)
- technomancer_mob.equip_to_slot_or_del(new /obj/item/device/radio/headset(technomancer_mob), slot_l_ear)
- var/obj/item/weapon/technomancer_core/core = new /obj/item/weapon/technomancer_core(technomancer_mob)
+ technomancer_mob.equip_to_slot_or_del(new /obj/item/radio/headset(technomancer_mob), slot_l_ear)
+ var/obj/item/technomancer_core/core = new /obj/item/technomancer_core(technomancer_mob)
technomancer_mob.equip_to_slot_or_del(core, slot_back)
technomancer_belongings.Add(core) // So it can be Tracked.
- technomancer_mob.equip_to_slot_or_del(new /obj/item/device/flashlight(technomancer_mob), slot_belt)
+ technomancer_mob.equip_to_slot_or_del(new /obj/item/flashlight(technomancer_mob), slot_belt)
technomancer_mob.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup(technomancer_mob), slot_shoes)
technomancer_mob.equip_to_slot_or_del(new /obj/item/clothing/head/technomancer/apprentice(technomancer_mob), slot_head)
return 1
@@ -82,7 +82,7 @@ var/datum/antagonist/technomancer/technomancers
/datum/antagonist/technomancer/print_player_summary()
..()
- for(var/obj/item/weapon/technomancer_core/core in technomancer_belongings)
+ for(var/obj/item/technomancer_core/core in technomancer_belongings)
if(core.wearer)
continue // Only want abandoned cores.
if(!core.spells.len)
@@ -92,7 +92,7 @@ var/datum/antagonist/technomancer/technomancers
/datum/antagonist/technomancer/print_player_full(var/datum/mind/player)
var/text = print_player_lite(player)
- var/obj/item/weapon/technomancer_core/core
+ var/obj/item/technomancer_core/core
if(player.original)
core = locate() in player.original
if(core)
diff --git a/code/game/antagonist/outsider/trader.dm b/code/game/antagonist/outsider/trader.dm
index 07cfb6f9e98..9f09d492aac 100644
--- a/code/game/antagonist/outsider/trader.dm
+++ b/code/game/antagonist/outsider/trader.dm
@@ -16,7 +16,7 @@ var/datum/antagonist/trader/traders
leader_welcome_text = "As Captain of the Beruang, you have control over your crew and cargo. It may be worth briefly discussing a consistent shared backstory with your crew."
landmark_id = "Trader"
- id_type = /obj/item/weapon/card/id/external
+ id_type = /obj/item/card/id/external
flags = ANTAG_OVERRIDE_JOB | ANTAG_SET_APPEARANCE | ANTAG_HAS_LEADER | ANTAG_CHOOSE_NAME
@@ -49,11 +49,11 @@ var/datum/antagonist/trader/traders
create_radio(PUB_FREQ, player) //Assume they tune their headsets into the station's public radio as they approach
- var/obj/item/weapon/card/id/id = create_id("Trader", player, equip = 0)
+ var/obj/item/card/id/id = create_id("Trader", player, equip = 0)
id.name = "[player.real_name]'s Passport"
id.assignment = "Trader"
id.access |= access_trader
- var/obj/item/weapon/storage/wallet/W = new(player)
+ var/obj/item/storage/wallet/W = new(player)
W.handle_item_insertion(id)
player.equip_to_slot_or_del(W, slot_wear_id)
spawn_money(rand(50,150)*10,W)
@@ -61,8 +61,8 @@ var/datum/antagonist/trader/traders
return 1
/datum/antagonist/trader/update_access(var/mob/living/player)
- for(var/obj/item/weapon/storage/wallet/W in player.contents)
- for(var/obj/item/weapon/card/id/id in W.contents)
+ for(var/obj/item/storage/wallet/W in player.contents)
+ for(var/obj/item/card/id/id in W.contents)
id.name = "[player.real_name]'s Passport"
id.registered_name = player.real_name
W.name = "[initial(W.name)] ([id.name])"
\ No newline at end of file
diff --git a/code/game/antagonist/outsider/wizard.dm b/code/game/antagonist/outsider/wizard.dm
index 8c97145f188..76022fc5548 100644
--- a/code/game/antagonist/outsider/wizard.dm
+++ b/code/game/antagonist/outsider/wizard.dm
@@ -75,19 +75,19 @@ var/datum/antagonist/wizard/wizards
if(!..())
return 0
- wizard_mob.equip_to_slot_or_del(new /obj/item/device/radio/headset(wizard_mob), slot_l_ear)
+ wizard_mob.equip_to_slot_or_del(new /obj/item/radio/headset(wizard_mob), slot_l_ear)
wizard_mob.equip_to_slot_or_del(new /obj/item/clothing/under/color/lightpurple(wizard_mob), slot_w_uniform)
wizard_mob.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(wizard_mob), slot_shoes)
wizard_mob.equip_to_slot_or_del(new /obj/item/clothing/suit/wizrobe(wizard_mob), slot_wear_suit)
wizard_mob.equip_to_slot_or_del(new /obj/item/clothing/head/wizard(wizard_mob), slot_head)
- if(wizard_mob.backbag == 2) wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack(wizard_mob), slot_back)
- if(wizard_mob.backbag == 3) wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel/norm(wizard_mob), slot_back)
- if(wizard_mob.backbag == 4) wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/satchel(wizard_mob), slot_back)
- if(wizard_mob.backbag == 5) wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/messenger(wizard_mob), slot_back)
- if(wizard_mob.backbag == 6) wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/sport(wizard_mob), slot_back)
- wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/storage/box(wizard_mob), slot_in_backpack)
- wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/teleportation_scroll(wizard_mob), slot_r_store)
- wizard_mob.equip_to_slot_or_del(new /obj/item/weapon/spellbook(wizard_mob), slot_r_hand)
+ if(wizard_mob.backbag == 2) wizard_mob.equip_to_slot_or_del(new /obj/item/storage/backpack(wizard_mob), slot_back)
+ if(wizard_mob.backbag == 3) wizard_mob.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel/norm(wizard_mob), slot_back)
+ if(wizard_mob.backbag == 4) wizard_mob.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel(wizard_mob), slot_back)
+ if(wizard_mob.backbag == 5) wizard_mob.equip_to_slot_or_del(new /obj/item/storage/backpack/messenger(wizard_mob), slot_back)
+ if(wizard_mob.backbag == 6) wizard_mob.equip_to_slot_or_del(new /obj/item/storage/backpack/sport(wizard_mob), slot_back)
+ wizard_mob.equip_to_slot_or_del(new /obj/item/storage/box(wizard_mob), slot_in_backpack)
+ wizard_mob.equip_to_slot_or_del(new /obj/item/teleportation_scroll(wizard_mob), slot_r_store)
+ wizard_mob.equip_to_slot_or_del(new /obj/item/spellbook(wizard_mob), slot_r_hand)
return 1
/datum/antagonist/wizard/check_victory()
diff --git a/code/game/antagonist/station/cultist.dm b/code/game/antagonist/station/cultist.dm
index d96a0f57186..90987e11076 100644
--- a/code/game/antagonist/station/cultist.dm
+++ b/code/game/antagonist/station/cultist.dm
@@ -63,7 +63,7 @@ var/datum/antagonist/cultist/cult
if(!..())
return 0
- var/obj/item/weapon/paper/talisman/supply/T = new(get_turf(player))
+ var/obj/item/paper/talisman/supply/T = new(get_turf(player))
var/list/slots = list (
"backpack" = slot_in_backpack,
"left pocket" = slot_l_store,
@@ -75,7 +75,7 @@ var/datum/antagonist/cultist/cult
player.equip_to_slot(T, slot)
if(T.loc == player)
break
- var/obj/item/weapon/storage/S = locate() in player.contents
+ var/obj/item/storage/S = locate() in player.contents
if(S && istype(S))
T.loc = S
@@ -124,7 +124,7 @@ var/datum/antagonist/cultist/cult
/datum/antagonist/cultist/can_become_antag(var/datum/mind/player)
if(!..())
return 0
- for(var/obj/item/weapon/implant/loyalty/L in player.current)
+ for(var/obj/item/implant/loyalty/L in player.current)
if(L && (L.imp_in == player.current))
return 0
return 1
diff --git a/code/game/antagonist/station/highlander.dm b/code/game/antagonist/station/highlander.dm
index 2e4885fd769..0a21152aec9 100644
--- a/code/game/antagonist/station/highlander.dm
+++ b/code/game/antagonist/station/highlander.dm
@@ -12,7 +12,7 @@ var/datum/antagonist/highlander/highlanders
initial_spawn_req = 3
initial_spawn_target = 5
- id_type = /obj/item/weapon/card/id/centcom/ERT
+ id_type = /obj/item/card/id/centcom/ERT
/datum/antagonist/highlander/New()
..()
@@ -47,11 +47,11 @@ var/datum/antagonist/highlander/highlanders
// highlanders!
player.equip_to_slot_or_del(new /obj/item/clothing/under/kilt(player), slot_w_uniform)
player.equip_to_slot_or_del(new /obj/item/clothing/head/beret(player), slot_head)
- player.equip_to_slot_or_del(new /obj/item/weapon/material/sword(player), slot_l_hand)
+ player.equip_to_slot_or_del(new /obj/item/material/sword(player), slot_l_hand)
player.equip_to_slot_or_del(new /obj/item/clothing/shoes/boots/combat(player), slot_shoes)
- player.equip_to_slot_or_del(new /obj/item/weapon/pinpointer(get_turf(player)), slot_l_store)
+ player.equip_to_slot_or_del(new /obj/item/pinpointer(get_turf(player)), slot_l_store)
- var/obj/item/weapon/card/id/id = create_id("Highlander", player)
+ var/obj/item/card/id/id = create_id("Highlander", player)
if(id)
id.access |= get_all_station_access()
id.icon_state = "centcom"
diff --git a/code/game/antagonist/station/infiltrator.dm b/code/game/antagonist/station/infiltrator.dm
index dfa8c7f9390..3cceac3a80f 100644
--- a/code/game/antagonist/station/infiltrator.dm
+++ b/code/game/antagonist/station/infiltrator.dm
@@ -25,15 +25,15 @@ var/datum/antagonist/traitor/infiltrator/infiltrators
// Humans and the AI.
if(istype(traitor_mob) || istype(traitor_mob, /mob/living/silicon/ai))
- var/obj/item/device/radio/headset/R
- R = locate(/obj/item/device/radio/headset) in traitor_mob.contents
+ var/obj/item/radio/headset/R
+ R = locate(/obj/item/radio/headset) in traitor_mob.contents
if(!R)
to_chat(traitor_mob, "Unfortunately, a headset could not be found. You have been given an encryption key \
to put into a new headset. Once that is done, you can talk to your team using :t")
- var/obj/item/device/encryptionkey/syndicate/encrypt_key = new(null)
+ var/obj/item/encryptionkey/syndicate/encrypt_key = new(null)
traitor_mob.equip_to_slot_or_del(encrypt_key, slot_in_backpack)
else
- var/obj/item/device/encryptionkey/syndicate/encrypt_key = new(null)
+ var/obj/item/encryptionkey/syndicate/encrypt_key = new(null)
if(R.keyslot1 && R.keyslot2) // No room.
to_chat(traitor_mob, "Unfortunately, your headset cannot accept anymore encryption keys. You have been given an encryption key \
to put into a headset after making some room instead. Once that is done, you can talk to your team using :t")
@@ -52,7 +52,7 @@ var/datum/antagonist/traitor/infiltrator/infiltrators
// Borgs, because their radio is not a headset for some reason.
if(istype(traitor_mob, /mob/living/silicon/robot))
var/mob/living/silicon/robot/borg = traitor_mob
- var/obj/item/device/encryptionkey/syndicate/encrypt_key = new(null)
+ var/obj/item/encryptionkey/syndicate/encrypt_key = new(null)
if(borg.radio)
if(borg.radio.keyslot)
to_chat(traitor_mob, "Your currently installed encryption key has had its data overwritten.")
diff --git a/code/game/antagonist/station/renegade.dm b/code/game/antagonist/station/renegade.dm
index cdd4efb8f3c..3d228e96d7c 100644
--- a/code/game/antagonist/station/renegade.dm
+++ b/code/game/antagonist/station/renegade.dm
@@ -26,40 +26,40 @@ var/datum/antagonist/renegade/renegades
initial_spawn_target = 4
var/list/spawn_guns = list(
- /obj/item/weapon/gun/energy/laser,
- /obj/item/weapon/gun/energy/captain,
- /obj/item/weapon/gun/energy/lasercannon,
- /obj/item/weapon/gun/energy/xray,
- /obj/item/weapon/gun/energy/gun,
- /obj/item/weapon/gun/energy/gun/burst,
- /obj/item/weapon/gun/energy/gun/nuclear,
- /obj/item/weapon/gun/energy/crossbow,
- /obj/item/weapon/gun/energy/crossbow/largecrossbow,
- /obj/item/weapon/gun/projectile/automatic,
- /obj/item/weapon/gun/projectile/automatic/mini_uzi,
- /obj/item/weapon/gun/projectile/automatic/c20r,
- /obj/item/weapon/gun/projectile/automatic/sts35,
- /obj/item/weapon/gun/projectile/automatic/bullpup,
- /obj/item/weapon/gun/projectile/automatic/wt550,
- /obj/item/weapon/gun/projectile/automatic/z8,
- /obj/item/weapon/gun/projectile/automatic/tommygun,
- /obj/item/weapon/gun/projectile/colt/detective,
- /obj/item/weapon/gun/projectile/sec/wood,
- /obj/item/weapon/gun/projectile/silenced,
- /obj/item/weapon/gun/projectile/pistol,
- /obj/item/weapon/gun/projectile/p92x,
- /obj/item/weapon/gun/projectile/revolver,
- /obj/item/weapon/gun/projectile/derringer,
- /obj/item/weapon/gun/projectile/shotgun/pump,
- /obj/item/weapon/gun/projectile/shotgun/pump/rifle,
- /obj/item/weapon/gun/projectile/shotgun/pump/combat,
- /obj/item/weapon/gun/projectile/shotgun/doublebarrel,
- /obj/item/weapon/gun/projectile/revolver/judge,
- /obj/item/weapon/gun/projectile/revolver/lemat,
- list(/obj/item/weapon/gun/projectile/shotgun/doublebarrel/pellet, /obj/item/weapon/gun/projectile/shotgun/doublebarrel/sawn),
- list(/obj/item/weapon/gun/projectile/deagle, /obj/item/weapon/gun/projectile/deagle/gold, /obj/item/weapon/gun/projectile/deagle/camo),
- list(/obj/item/weapon/gun/projectile/revolver/detective, /obj/item/weapon/gun/projectile/revolver/deckard),
- list(/obj/item/weapon/gun/projectile/luger,/obj/item/weapon/gun/projectile/luger/brown)
+ /obj/item/gun/energy/laser,
+ /obj/item/gun/energy/captain,
+ /obj/item/gun/energy/lasercannon,
+ /obj/item/gun/energy/xray,
+ /obj/item/gun/energy/gun,
+ /obj/item/gun/energy/gun/burst,
+ /obj/item/gun/energy/gun/nuclear,
+ /obj/item/gun/energy/crossbow,
+ /obj/item/gun/energy/crossbow/largecrossbow,
+ /obj/item/gun/projectile/automatic,
+ /obj/item/gun/projectile/automatic/mini_uzi,
+ /obj/item/gun/projectile/automatic/c20r,
+ /obj/item/gun/projectile/automatic/sts35,
+ /obj/item/gun/projectile/automatic/bullpup,
+ /obj/item/gun/projectile/automatic/wt550,
+ /obj/item/gun/projectile/automatic/z8,
+ /obj/item/gun/projectile/automatic/tommygun,
+ /obj/item/gun/projectile/colt/detective,
+ /obj/item/gun/projectile/sec/wood,
+ /obj/item/gun/projectile/silenced,
+ /obj/item/gun/projectile/pistol,
+ /obj/item/gun/projectile/p92x,
+ /obj/item/gun/projectile/revolver,
+ /obj/item/gun/projectile/derringer,
+ /obj/item/gun/projectile/shotgun/pump,
+ /obj/item/gun/projectile/shotgun/pump/rifle,
+ /obj/item/gun/projectile/shotgun/pump/combat,
+ /obj/item/gun/projectile/shotgun/doublebarrel,
+ /obj/item/gun/projectile/revolver/judge,
+ /obj/item/gun/projectile/revolver/lemat,
+ list(/obj/item/gun/projectile/shotgun/doublebarrel/pellet, /obj/item/gun/projectile/shotgun/doublebarrel/sawn),
+ list(/obj/item/gun/projectile/deagle, /obj/item/gun/projectile/deagle/gold, /obj/item/gun/projectile/deagle/camo),
+ list(/obj/item/gun/projectile/revolver/detective, /obj/item/gun/projectile/revolver/deckard),
+ list(/obj/item/gun/projectile/luger,/obj/item/gun/projectile/luger/brown)
)
/datum/antagonist/renegade/New()
diff --git a/code/game/antagonist/station/traitor.dm b/code/game/antagonist/station/traitor.dm
index e27d3ca3870..026337fc6de 100644
--- a/code/game/antagonist/station/traitor.dm
+++ b/code/game/antagonist/station/traitor.dm
@@ -116,16 +116,16 @@ var/datum/antagonist/traitor/traitors
var/obj/item/R = locate() //Hide the uplink in a PDA if available, otherwise radio
if(traitor_mob.client.prefs.uplinklocation == "Headset")
- R = locate(/obj/item/device/radio) in traitor_mob.contents
+ R = locate(/obj/item/radio) in traitor_mob.contents
if(!R)
- R = locate(/obj/item/device/pda) in traitor_mob.contents
+ R = locate(/obj/item/pda) in traitor_mob.contents
to_chat(traitor_mob, "Could not locate a Radio, installing in PDA instead!")
if (!R)
to_chat(traitor_mob, "Unfortunately, neither a radio or a PDA relay could be installed.")
else if(traitor_mob.client.prefs.uplinklocation == "PDA")
- R = locate(/obj/item/device/pda) in traitor_mob.contents
+ R = locate(/obj/item/pda) in traitor_mob.contents
if(!R)
- R = locate(/obj/item/device/radio) in traitor_mob.contents
+ R = locate(/obj/item/radio) in traitor_mob.contents
to_chat(traitor_mob, "Could not locate a PDA, installing into a Radio instead!")
if(!R)
to_chat(traitor_mob, "Unfortunately, neither a radio or a PDA relay could be installed.")
@@ -134,9 +134,9 @@ var/datum/antagonist/traitor/traitors
R = null
else
to_chat(traitor_mob, "You have not selected a location for your relay in the antagonist options! Defaulting to PDA!")
- R = locate(/obj/item/device/pda) in traitor_mob.contents
+ R = locate(/obj/item/pda) in traitor_mob.contents
if (!R)
- R = locate(/obj/item/device/radio) in traitor_mob.contents
+ R = locate(/obj/item/radio) in traitor_mob.contents
to_chat(traitor_mob, "Could not locate a PDA, installing into a Radio instead!")
if (!R)
to_chat(traitor_mob, "Unfortunately, neither a radio or a PDA relay could be installed.")
@@ -144,9 +144,9 @@ var/datum/antagonist/traitor/traitors
if(!R)
return
- if(istype(R,/obj/item/device/radio))
+ if(istype(R,/obj/item/radio))
// generate list of radio freqs
- var/obj/item/device/radio/target_radio = R
+ var/obj/item/radio/target_radio = R
var/freq = PUBLIC_LOW_FREQ
var/list/freqlist = list()
while (freq <= PUBLIC_HIGH_FREQ)
@@ -156,18 +156,18 @@ var/datum/antagonist/traitor/traitors
if ((freq % 2) == 0)
freq += 1
freq = freqlist[rand(1, freqlist.len)]
- var/obj/item/device/uplink/hidden/T = new(R, traitor_mob.mind)
+ var/obj/item/uplink/hidden/T = new(R, traitor_mob.mind)
target_radio.hidden_uplink = T
target_radio.traitor_frequency = freq
to_chat(traitor_mob, "A portable object teleportation relay has been installed in your [R.name] [loc]. Simply dial the frequency [format_frequency(freq)] to unlock its hidden features.")
traitor_mob.mind.store_memory("Radio Freq: [format_frequency(freq)] ([R.name] [loc]).")
- else if (istype(R, /obj/item/device/pda))
+ else if (istype(R, /obj/item/pda))
// generate a passcode if the uplink is hidden in a PDA
var/pda_pass = "[rand(100,999)] [pick("Alpha","Bravo","Delta","Omega")]"
- var/obj/item/device/uplink/hidden/T = new(R, traitor_mob.mind)
+ var/obj/item/uplink/hidden/T = new(R, traitor_mob.mind)
R.hidden_uplink = T
- var/obj/item/device/pda/P = R
+ var/obj/item/pda/P = R
P.lock_code = pda_pass
to_chat(traitor_mob, "A portable object teleportation relay has been installed in your [R.name] [loc]. Simply enter the code \"[pda_pass]\" into the ringtone select to unlock its hidden features.")
traitor_mob.mind.store_memory("Uplink Passcode: [pda_pass] ([R.name] [loc]).")
diff --git a/code/game/atoms.dm b/code/game/atoms.dm
index 746b6a19ede..14b91f42265 100644
--- a/code/game/atoms.dm
+++ b/code/game/atoms.dm
@@ -287,10 +287,10 @@
// Returns an assoc list of RCD information.
// Example would be: list(RCD_VALUE_MODE = RCD_DECONSTRUCT, RCD_VALUE_DELAY = 50, RCD_VALUE_COST = RCD_SHEETS_PER_MATTER_UNIT * 4)
// This occurs before rcd_act() is called, and it won't be called if it returns FALSE.
-/atom/proc/rcd_values(mob/living/user, obj/item/weapon/rcd/the_rcd, passed_mode)
+/atom/proc/rcd_values(mob/living/user, obj/item/rcd/the_rcd, passed_mode)
return FALSE
-/atom/proc/rcd_act(mob/living/user, obj/item/weapon/rcd/the_rcd, passed_mode)
+/atom/proc/rcd_act(mob/living/user, obj/item/rcd/the_rcd, passed_mode)
return
/atom/proc/melt()
@@ -493,7 +493,7 @@
blood_DNA = null
return TRUE
-/atom/proc/on_rag_wipe(var/obj/item/weapon/reagent_containers/glass/rag/R)
+/atom/proc/on_rag_wipe(var/obj/item/reagent_containers/glass/rag/R)
clean_blood()
R.reagents.splash(src, 1)
diff --git a/code/game/dna/dna_modifier.dm b/code/game/dna/dna_modifier.dm
index 572583ef9ec..a6eff0b2253 100644
--- a/code/game/dna/dna_modifier.dm
+++ b/code/game/dna/dna_modifier.dm
@@ -67,10 +67,10 @@
idle_power_usage = 50
active_power_usage = 300
interact_offline = 1
- circuit = /obj/item/weapon/circuitboard/clonescanner
+ circuit = /obj/item/circuitboard/clonescanner
var/locked = 0
var/mob/living/carbon/occupant = null
- var/obj/item/weapon/reagent_containers/glass/beaker = null
+ var/obj/item/reagent_containers/glass/beaker = null
var/opened = 0
var/damage_coeff
var/scan_level
@@ -85,11 +85,11 @@
scan_level = 0
damage_coeff = 0
precision_coeff = 0
- for(var/obj/item/weapon/stock_parts/scanning_module/P in component_parts)
+ for(var/obj/item/stock_parts/scanning_module/P in component_parts)
scan_level += P.rating
- for(var/obj/item/weapon/stock_parts/manipulator/P in component_parts)
+ for(var/obj/item/stock_parts/manipulator/P in component_parts)
precision_coeff = P.rating
- for(var/obj/item/weapon/stock_parts/micro_laser/P in component_parts)
+ for(var/obj/item/stock_parts/micro_laser/P in component_parts)
damage_coeff = P.rating
/obj/machinery/dna_scannernew/relaymove(mob/user as mob)
@@ -114,7 +114,7 @@
/obj/machinery/dna_scannernew/proc/eject_occupant()
src.go_out()
for(var/obj/O in src)
- if((!istype(O,/obj/item/weapon/reagent_containers)) && (!istype(O,/obj/item/weapon/circuitboard/clonescanner)) && (!istype(O,/obj/item/weapon/stock_parts)) && (!istype(O,/obj/item/stack/cable_coil)))
+ if((!istype(O,/obj/item/reagent_containers)) && (!istype(O,/obj/item/circuitboard/clonescanner)) && (!istype(O,/obj/item/stock_parts)) && (!istype(O,/obj/item/stack/cable_coil)))
O.loc = get_turf(src)//Ejects items that manage to get in there (exluding the components)
if(!occupant)
for(var/mob/M in src)//Failsafe so you can get mobs out
@@ -150,8 +150,8 @@
src.add_fingerprint(usr)
SStgui.update_uis(src)
-/obj/machinery/dna_scannernew/attackby(var/obj/item/weapon/item as obj, var/mob/user as mob)
- if(istype(item, /obj/item/weapon/reagent_containers/glass))
+/obj/machinery/dna_scannernew/attackby(var/obj/item/item as obj, var/mob/user as mob)
+ if(istype(item, /obj/item/reagent_containers/glass))
if(beaker)
to_chat(user, "A beaker is already loaded into the machine.")
return
@@ -179,9 +179,9 @@
else
to_chat(user, "\The [brain] is not acceptable for genetic sampling!")
- else if(!istype(item, /obj/item/weapon/grab))
+ else if(!istype(item, /obj/item/grab))
return
- var/obj/item/weapon/grab/G = item
+ var/obj/item/grab/G = item
if(!ismob(G.affecting))
return
if(src.occupant)
@@ -271,7 +271,7 @@
icon_keyboard = "med_key"
icon_screen = "dna"
density = TRUE
- circuit = /obj/item/weapon/circuitboard/scan_consolenew
+ circuit = /obj/item/circuitboard/scan_consolenew
var/selected_ui_block = 1.0
var/selected_ui_subblock = 1.0
var/selected_se_block = 1.0
@@ -284,7 +284,7 @@
var/irradiating = 0
var/injector_ready = 0 //Quick fix for issue 286 (screwdriver the screen twice to restore injector) -Pete
var/obj/machinery/dna_scannernew/connected = null
- var/obj/item/weapon/disk/data/disk = null
+ var/obj/item/disk/data/disk = null
var/selected_menu_key = PAGE_UI
anchored = TRUE
use_power = USE_POWER_IDLE
@@ -292,7 +292,7 @@
active_power_usage = 400
/obj/machinery/computer/scan_consolenew/attackby(obj/item/I as obj, mob/user as mob)
- if(istype(I, /obj/item/weapon/disk/data)) //INSERT SOME diskS
+ if(istype(I, /obj/item/disk/data)) //INSERT SOME diskS
if(!src.disk)
user.drop_item()
I.loc = src
@@ -335,7 +335,7 @@
arr += "[i]:[EncodeDNABlock(buffer[i])]"
return arr
-/obj/machinery/computer/scan_consolenew/proc/setInjectorBlock(var/obj/item/weapon/dnainjector/I, var/blk, var/datum/dna2/record/buffer)
+/obj/machinery/computer/scan_consolenew/proc/setInjectorBlock(var/obj/item/dnainjector/I, var/blk, var/datum/dna2/record/buffer)
var/pos = findtext(blk,":")
if(!pos) return 0
var/id = text2num(copytext(blk,1,pos))
@@ -606,7 +606,7 @@
connected.occupant.UpdateAppearance()
if("ejectBeaker")
if(connected.beaker)
- var/obj/item/weapon/reagent_containers/glass/B = connected.beaker
+ var/obj/item/reagent_containers/glass/B = connected.beaker
B.loc = connected.loc
connected.beaker = null
if("ejectOccupant")
@@ -740,7 +740,7 @@
// Create it
var/datum/dna2/record/buf = buffers[buffer_id]
- var/obj/item/weapon/dnainjector/I = new()
+ var/obj/item/dnainjector/I = new()
I.forceMove(loc)
I.name += " ([buf.name])"
if(copy_buffer)
@@ -773,7 +773,7 @@
if(buffer_id < 1 || buffer_id > length(buffers))
return
var/datum/dna2/record/buf = buffers[buffer_id]
- var/obj/item/weapon/dnainjector/I = create_injector(buffer_id)
+ var/obj/item/dnainjector/I = create_injector(buffer_id)
setInjectorBlock(I, answer, buf.copy())
if("changeBufferLabel")
var/buffer_id = text2num(arguments["id"])
diff --git a/code/game/dna/genes/monkey.dm b/code/game/dna/genes/monkey.dm
index b9d4837184a..9bf5ff965af 100644
--- a/code/game/dna/genes/monkey.dm
+++ b/code/game/dna/genes/monkey.dm
@@ -14,7 +14,7 @@
var/mob/living/carbon/human/H = M
H.transforming = 1
var/list/implants = list() //Try to preserve implants.
- for(var/obj/item/weapon/implant/W in H)
+ for(var/obj/item/implant/W in H)
implants += W
W.loc = null
@@ -71,7 +71,7 @@
O.adjustOxyLoss(M.getOxyLoss())
O.set_stat(M.stat)
O.a_intent = I_HURT
- for (var/obj/item/weapon/implant/I in implants)
+ for (var/obj/item/implant/I in implants)
I.loc = O
I.implanted = O
// O.update_icon = 1 //queue a full icon update at next life() call
@@ -85,7 +85,7 @@
var/mob/living/carbon/monkey/Mo = M
Mo.transforming = 1
var/list/implants = list() //Still preserving implants
- for(var/obj/item/weapon/implant/W in Mo)
+ for(var/obj/item/implant/W in Mo)
implants += W
W.loc = null
if(!connected)
@@ -155,7 +155,7 @@
O.adjustToxLoss(M.getToxLoss())
O.adjustOxyLoss(M.getOxyLoss())
O.set_stat(M.stat)
- for (var/obj/item/weapon/implant/I in implants)
+ for (var/obj/item/implant/I in implants)
I.loc = O
I.implanted = O
// O.update_icon = 1 //queue a full icon update at next life() call
diff --git a/code/game/gamemodes/changeling/generic_equip_procs.dm b/code/game/gamemodes/changeling/generic_equip_procs.dm
index fa7ffc3d18c..af4ba13007a 100644
--- a/code/game/gamemodes/changeling/generic_equip_procs.dm
+++ b/code/game/gamemodes/changeling/generic_equip_procs.dm
@@ -245,7 +245,7 @@
to_chat(src, "Our hands are full. Drop something first.")
return 0
- var/obj/item/weapon/W = new weapon_type(src)
+ var/obj/item/W = new weapon_type(src)
src.put_in_hands(W)
src.mind.changeling.chem_charges -= cost
diff --git a/code/game/gamemodes/changeling/powers/absorb.dm b/code/game/gamemodes/changeling/powers/absorb.dm
index e532396176b..89cb41a88ac 100644
--- a/code/game/gamemodes/changeling/powers/absorb.dm
+++ b/code/game/gamemodes/changeling/powers/absorb.dm
@@ -14,7 +14,7 @@
var/datum/changeling/changeling = changeling_power(0,0,100)
if(!changeling) return
- var/obj/item/weapon/grab/G = src.get_active_hand()
+ var/obj/item/grab/G = src.get_active_hand()
if(!istype(G))
to_chat(src, "We must be grabbing a creature in our active hand to absorb them.")
return
diff --git a/code/game/gamemodes/changeling/powers/armblade.dm b/code/game/gamemodes/changeling/powers/armblade.dm
index ffdc9b4ae37..ca374db53f1 100644
--- a/code/game/gamemodes/changeling/powers/armblade.dm
+++ b/code/game/gamemodes/changeling/powers/armblade.dm
@@ -13,12 +13,12 @@
set name = "Arm Blade (20)"
if(src.mind.changeling.recursive_enhancement)
- if(changeling_generic_weapon(/obj/item/weapon/melee/changeling/arm_blade/greater))
+ if(changeling_generic_weapon(/obj/item/melee/changeling/arm_blade/greater))
to_chat(src, "We prepare an extra sharp blade.")
return 1
else
- if(changeling_generic_weapon(/obj/item/weapon/melee/changeling/arm_blade))
+ if(changeling_generic_weapon(/obj/item/melee/changeling/arm_blade))
return 1
return 0
@@ -38,16 +38,16 @@
set name = "Claw (15)"
if(src.mind.changeling.recursive_enhancement)
- if(changeling_generic_weapon(/obj/item/weapon/melee/changeling/claw/greater, 1, 15))
+ if(changeling_generic_weapon(/obj/item/melee/changeling/claw/greater, 1, 15))
to_chat(src, "We prepare an extra sharp claw.")
return 1
else
- if(changeling_generic_weapon(/obj/item/weapon/melee/changeling/claw, 1, 15))
+ if(changeling_generic_weapon(/obj/item/melee/changeling/claw, 1, 15))
return 1
return 0
-/obj/item/weapon/melee/changeling
+/obj/item/melee/changeling
name = "arm weapon"
desc = "A grotesque weapon made out of bone and flesh that cleaves through people as a hot knife through butter."
icon = 'icons/obj/weapons.dmi'
@@ -65,7 +65,7 @@
defend_chance = 40 // The base chance for the weapon to parry.
projectile_parry_chance = 15 // The base chance for a projectile to be deflected.
-/obj/item/weapon/melee/changeling/New(location)
+/obj/item/melee/changeling/New(location)
..()
START_PROCESSING(SSobj, src)
if(ismob(loc))
@@ -74,7 +74,7 @@
"You hear organic matter ripping and tearing!")
src.creator = loc
-/obj/item/weapon/melee/changeling/dropped(mob/user)
+/obj/item/melee/changeling/dropped(mob/user)
visible_message("With a sickening crunch, [creator] reforms their arm!",
"We assimilate the weapon back into our body.",
"You hear organic matter ripping and tearing!")
@@ -83,12 +83,12 @@
if(src)
qdel(src)
-/obj/item/weapon/melee/changeling/Destroy()
+/obj/item/melee/changeling/Destroy()
STOP_PROCESSING(SSobj, src)
creator = null
..()
-/obj/item/weapon/melee/changeling/process() //Stolen from ninja swords.
+/obj/item/melee/changeling/process() //Stolen from ninja swords.
if(!creator || loc != creator || !creator.item_is_in_hands(src))
// Tidy up a bit.
if(istype(loc,/mob/living))
@@ -105,7 +105,7 @@
if(src)
qdel(src)
-/obj/item/weapon/melee/changeling/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
+/obj/item/melee/changeling/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
if(default_parry_check(user, attacker, damage_source) && prob(defend_chance))
user.visible_message("\The [user] parries [attack_text] with \the [src]!")
playsound(src, 'sound/weapons/slash.ogg', 50, 1)
@@ -117,7 +117,7 @@
return 0
-/obj/item/weapon/melee/changeling/unique_parry_check(mob/user, mob/attacker, atom/damage_source)
+/obj/item/melee/changeling/unique_parry_check(mob/user, mob/attacker, atom/damage_source)
if(user.incapacitated() || !istype(damage_source, /obj/item/projectile))
return 0
@@ -127,7 +127,7 @@
return 1
-/obj/item/weapon/melee/changeling/arm_blade
+/obj/item/melee/changeling/arm_blade
name = "arm blade"
desc = "A grotesque blade made out of bone and flesh that cleaves through people as a hot knife through butter."
icon_state = "arm_blade"
@@ -140,14 +140,14 @@
defend_chance = 60
projectile_parry_chance = 25
-/obj/item/weapon/melee/changeling/arm_blade/greater
+/obj/item/melee/changeling/arm_blade/greater
name = "arm greatblade"
desc = "A grotesque blade made out of bone and flesh that cleaves through people and armor as a hot knife through butter."
armor_penetration = 30
defend_chance = 70
projectile_parry_chance = 35
-/obj/item/weapon/melee/changeling/claw
+/obj/item/melee/changeling/claw
name = "hand claw"
desc = "A grotesque claw made out of bone and flesh that cleaves through people as a hot knife through butter."
icon_state = "ling_claw"
@@ -158,7 +158,7 @@
defend_chance = 50
projectile_parry_chance = 15
-/obj/item/weapon/melee/changeling/claw/greater
+/obj/item/melee/changeling/claw/greater
name = "hand greatclaw"
force = 20
armor_penetration = 20
diff --git a/code/game/gamemodes/changeling/powers/armor.dm b/code/game/gamemodes/changeling/powers/armor.dm
index 5a6db52833a..ed16c983df2 100644
--- a/code/game/gamemodes/changeling/powers/armor.dm
+++ b/code/game/gamemodes/changeling/powers/armor.dm
@@ -37,7 +37,7 @@
desc = "A huge, bulky mass of pressure and temperature-resistant organic tissue, evolved to facilitate space travel."
flags = 0 //Not THICKMATERIAL because it's organic tissue, so if somebody tries to inject something into it,
//it still ends up in your blood. (also balance but muh fluff)
- allowed = list(/obj/item/device/flashlight, /obj/item/weapon/tank/emergency/oxygen, /obj/item/weapon/tank/oxygen)
+ allowed = list(/obj/item/flashlight, /obj/item/tank/emergency/oxygen, /obj/item/tank/oxygen)
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) //No armor at all.
canremove = FALSE
diff --git a/code/game/gamemodes/changeling/powers/bioelectrogenesis.dm b/code/game/gamemodes/changeling/powers/bioelectrogenesis.dm
index ca92d67ff74..7210e2263d7 100644
--- a/code/game/gamemodes/changeling/powers/bioelectrogenesis.dm
+++ b/code/game/gamemodes/changeling/powers/bioelectrogenesis.dm
@@ -24,11 +24,11 @@
if(held_item == null)
if(src.mind.changeling.recursive_enhancement)
- if(changeling_generic_weapon(/obj/item/weapon/electric_hand/efficent,0))
+ if(changeling_generic_weapon(/obj/item/electric_hand/efficent,0))
to_chat(src, "We will shock others more efficently.")
return 1
else
- if(changeling_generic_weapon(/obj/item/weapon/electric_hand,0)) //Chemical cost is handled in the equip proc.
+ if(changeling_generic_weapon(/obj/item/electric_hand,0)) //Chemical cost is handled in the equip proc.
return 1
return 0
@@ -40,8 +40,8 @@
siemens = gloves.siemens_coefficient
//If we're grabbing someone, electrocute them.
- if(istype(held_item,/obj/item/weapon/grab))
- var/obj/item/weapon/grab/G = held_item
+ if(istype(held_item,/obj/item/grab))
+ var/obj/item/grab/G = held_item
if(G.affecting)
G.affecting.electrocute_act(10 * siemens, src, 1.0, BP_TORSO, 0)
var/agony = 80 * siemens //Does more than if hit with an electric hand, since grabbing is slower.
@@ -65,15 +65,15 @@
var/list/L = new() //We make a new list to avoid copypasta.
//Check our hand.
- if(istype(held_item,/obj/item/weapon/cell))
+ if(istype(held_item,/obj/item/cell))
L.Add(held_item)
//Now check our hand's item's contents, so we can recharge guns and other stuff.
- for(var/obj/item/weapon/cell/cell in held_item.contents)
+ for(var/obj/item/cell/cell in held_item.contents)
L.Add(cell)
//Now for the actual recharging.
- for(var/obj/item/weapon/cell/cell in L)
+ for(var/obj/item/cell/cell in L)
visible_message("Some sparks fall out from \the [src.name]\'s [held_item]!",
"Our hand channels raw electricity into \the [held_item].",
"You hear sparks!")
@@ -97,7 +97,7 @@
src.mind.changeling.chem_charges -= 10
return success
-/obj/item/weapon/electric_hand
+/obj/item/electric_hand
name = "electrified hand"
desc = "You could probably shock someone badly if you touched them, or recharge something."
icon = 'icons/obj/weapons.dmi'
@@ -108,12 +108,12 @@
var/agony_amount = 60
var/electrocute_amount = 10
-/obj/item/weapon/electric_hand/efficent
+/obj/item/electric_hand/efficent
shock_cost = 5
agony_amount = 80
electrocute_amount = 20
-/obj/item/weapon/electric_hand/New()
+/obj/item/electric_hand/New()
if(ismob(loc))
visible_message("Electrical arcs form around [loc.name]\'s hand!",
"We store a charge of electricity in our hand.",
@@ -121,12 +121,12 @@
var/T = get_turf(src)
new /obj/effect/effect/sparks(T)
-/obj/item/weapon/electric_hand/dropped(mob/user)
+/obj/item/electric_hand/dropped(mob/user)
spawn(1)
if(src)
qdel(src)
-/obj/item/weapon/electric_hand/afterattack(var/atom/target, var/mob/living/carbon/human/user, proximity)
+/obj/item/electric_hand/afterattack(var/atom/target, var/mob/living/carbon/human/user, proximity)
if(!target)
return
if(!proximity)
@@ -183,7 +183,7 @@
var/success = 0
var/obj/T = target
//We can also recharge things we touch, such as APCs or hardsuits.
- for(var/obj/item/weapon/cell/cell in T.contents)
+ for(var/obj/item/cell/cell in T.contents)
visible_message("Some sparks fall out from \the [target]!",
"Our hand channels raw electricity into \the [target].",
"You hear sparks!")
diff --git a/code/game/gamemodes/changeling/powers/electric_lockpick.dm b/code/game/gamemodes/changeling/powers/electric_lockpick.dm
index 262d90429f3..bc59cd5d129 100644
--- a/code/game/gamemodes/changeling/powers/electric_lockpick.dm
+++ b/code/game/gamemodes/changeling/powers/electric_lockpick.dm
@@ -21,28 +21,28 @@
return 0
if(held_item == null)
- if(changeling_generic_weapon(/obj/item/weapon/finger_lockpick,0,5)) //Chemical cost is handled in the equip proc.
+ if(changeling_generic_weapon(/obj/item/finger_lockpick,0,5)) //Chemical cost is handled in the equip proc.
return 1
return 0
-/obj/item/weapon/finger_lockpick
+/obj/item/finger_lockpick
name = "finger lockpick"
desc = "This finger appears to be an organic datajack."
icon = 'icons/obj/weapons.dmi'
icon_state = "electric_hand"
show_examine = FALSE
-/obj/item/weapon/finger_lockpick/New()
+/obj/item/finger_lockpick/New()
if(ismob(loc))
to_chat(loc, "We shape our finger to fit inside electronics, and are ready to force them open.")
-/obj/item/weapon/finger_lockpick/dropped(mob/user)
+/obj/item/finger_lockpick/dropped(mob/user)
to_chat(user, "We discreetly shape our finger back to a less suspicious form.")
spawn(1)
if(src)
qdel(src)
-/obj/item/weapon/finger_lockpick/afterattack(var/atom/target, var/mob/living/user, proximity)
+/obj/item/finger_lockpick/afterattack(var/atom/target, var/mob/living/user, proximity)
if(!target)
return
if(!proximity)
diff --git a/code/game/gamemodes/changeling/powers/escape_restraints.dm b/code/game/gamemodes/changeling/powers/escape_restraints.dm
index ced80d35bf6..eee9b3c30f2 100644
--- a/code/game/gamemodes/changeling/powers/escape_restraints.dm
+++ b/code/game/gamemodes/changeling/powers/escape_restraints.dm
@@ -30,7 +30,7 @@
to_chat(C,"We contort our extremities and slip our cuffs.")
playsound(src, 'sound/effects/blobattack.ogg', 30, 1)
if(C.handcuffed)
- var/obj/item/weapon/W = C.handcuffed
+ var/obj/item/W = C.handcuffed
C.handcuffed = null
if(C.buckled && C.buckled.buckle_require_restraints)
C.buckled.unbuckle_mob()
@@ -42,7 +42,7 @@
if(W)
W.layer = initial(W.layer)
if(C.legcuffed)
- var/obj/item/weapon/W = C.legcuffed
+ var/obj/item/W = C.legcuffed
C.legcuffed = null
C.update_inv_legcuffed()
if(C.client)
diff --git a/code/game/gamemodes/changeling/powers/fabricate_clothing.dm b/code/game/gamemodes/changeling/powers/fabricate_clothing.dm
index c3c5f2aa15c..1b58ad220b1 100644
--- a/code/game/gamemodes/changeling/powers/fabricate_clothing.dm
+++ b/code/game/gamemodes/changeling/powers/fabricate_clothing.dm
@@ -6,9 +6,9 @@ var/global/list/changeling_fabricated_clothing = list(
"gloves" = /obj/item/clothing/gloves/chameleon/changeling,
"wear_mask" = /obj/item/clothing/mask/chameleon/changeling,
"glasses" = /obj/item/clothing/glasses/chameleon/changeling,
- "back" = /obj/item/weapon/storage/backpack/chameleon/changeling,
- "belt" = /obj/item/weapon/storage/belt/chameleon/changeling,
- "wear_id" = /obj/item/weapon/card/id/syndicate/changeling
+ "back" = /obj/item/storage/backpack/chameleon/changeling,
+ "belt" = /obj/item/storage/belt/chameleon/changeling,
+ "wear_id" = /obj/item/card/id/syndicate/changeling
)
/datum/power/changeling/fabricate_clothing
@@ -128,7 +128,7 @@ var/global/list/changeling_fabricated_clothing = list(
"We remove [src].")
qdel(src)
-/obj/item/weapon/storage/backpack/chameleon/changeling
+/obj/item/storage/backpack/chameleon/changeling
name = "backpack"
icon_state = "backpack"
item_icons = list(
@@ -140,10 +140,10 @@ var/global/list/changeling_fabricated_clothing = list(
origin_tech = list()
canremove = FALSE
-/obj/item/weapon/storage/backpack/chameleon/changeling/emp_act()
+/obj/item/storage/backpack/chameleon/changeling/emp_act()
return
-/obj/item/weapon/storage/backpack/chameleon/changeling/verb/shred()
+/obj/item/storage/backpack/chameleon/changeling/verb/shred()
set name = "Shred Backpack"
set category = "Chameleon Items"
if(ishuman(loc))
@@ -228,7 +228,7 @@ var/global/list/changeling_fabricated_clothing = list(
"We remove [src].")
qdel(src)
-/obj/item/weapon/storage/belt/chameleon/changeling
+/obj/item/storage/belt/chameleon/changeling
name = "waist pouch"
desc = "We can store objects in this, as well as shift it's appearance, so that it resembles various common belts."
icon_state = "lingchameleon"
@@ -240,10 +240,10 @@ var/global/list/changeling_fabricated_clothing = list(
origin_tech = list()
canremove = FALSE
-/obj/item/weapon/storage/belt/chameleon/changeling/emp_act()
+/obj/item/storage/belt/chameleon/changeling/emp_act()
return
-/obj/item/weapon/storage/belt/chameleon/changeling/verb/shred()
+/obj/item/storage/belt/chameleon/changeling/verb/shred()
set name = "Shred Belt"
set category = "Chameleon Items"
if(ishuman(loc))
@@ -253,7 +253,7 @@ var/global/list/changeling_fabricated_clothing = list(
"We remove [src].")
qdel(src)
-/obj/item/weapon/card/id/syndicate/changeling
+/obj/item/card/id/syndicate/changeling
name = "chitinous card"
desc = "A card that we can reform to resemble identification cards. Due to the nature of the material this is made of, it cannot store any access codes."
icon_state = "changeling"
@@ -264,15 +264,15 @@ var/global/list/changeling_fabricated_clothing = list(
access = null
canremove = FALSE
-/obj/item/weapon/card/id/syndicate/changeling/New(mob/user as mob)
+/obj/item/card/id/syndicate/changeling/New(mob/user as mob)
..()
registered_user = user
-/obj/item/weapon/card/id/syndicate/changeling/Initialize()
+/obj/item/card/id/syndicate/changeling/Initialize()
. = ..()
access = null
-/obj/item/weapon/card/id/syndicate/changeling/verb/shred()
+/obj/item/card/id/syndicate/changeling/verb/shred()
set name = "Shred ID Card"
set category = "Chameleon Items"
if(ishuman(loc))
@@ -282,7 +282,7 @@ var/global/list/changeling_fabricated_clothing = list(
"We remove [src].")
qdel(src)
-/obj/item/weapon/card/id/syndicate/changeling/Click() //Since we can't hold it in our hands, and attack_hand() doesn't work if it in inventory...
+/obj/item/card/id/syndicate/changeling/Click() //Since we can't hold it in our hands, and attack_hand() doesn't work if it in inventory...
if(!registered_user)
registered_user = usr
usr.set_id_info(src)
diff --git a/code/game/gamemodes/changeling/powers/lesser_form.dm b/code/game/gamemodes/changeling/powers/lesser_form.dm
index aa70756344b..447480f0c7c 100644
--- a/code/game/gamemodes/changeling/powers/lesser_form.dm
+++ b/code/game/gamemodes/changeling/powers/lesser_form.dm
@@ -28,7 +28,7 @@
changeling.geneticdamage = 30
to_chat(H, "Our genes cry out!")
var/list/implants = list() //Try to preserve implants.
- for(var/obj/item/weapon/implant/W in H)
+ for(var/obj/item/implant/W in H)
implants += W
H.monkeyize()
feedback_add_details("changeling_powers","LF")
@@ -61,7 +61,7 @@
C.dna = chosen_dna.Clone()
var/list/implants = list()
- for (var/obj/item/weapon/implant/I in C) //Still preserving implants
+ for (var/obj/item/implant/I in C) //Still preserving implants
implants += I
C.transforming = 1
@@ -101,7 +101,7 @@
O.setOxyLoss(C.getOxyLoss())
O.adjustFireLoss(C.getFireLoss())
O.set_stat(C.stat)
- for (var/obj/item/weapon/implant/I in implants)
+ for (var/obj/item/implant/I in implants)
I.loc = O
I.implanted = O
diff --git a/code/game/gamemodes/changeling/powers/revive.dm b/code/game/gamemodes/changeling/powers/revive.dm
index e4834981554..774d5a70ecd 100644
--- a/code/game/gamemodes/changeling/powers/revive.dm
+++ b/code/game/gamemodes/changeling/powers/revive.dm
@@ -46,7 +46,7 @@
BITSET(H.hud_updateflag, LIFE_HUD)
if(H.handcuffed)
- var/obj/item/weapon/W = H.handcuffed
+ var/obj/item/W = H.handcuffed
H.handcuffed = null
if(H.buckled && H.buckled.buckle_require_restraints)
H.buckled.unbuckle_mob()
@@ -58,7 +58,7 @@
if(W)
W.layer = initial(W.layer)
if(H.legcuffed)
- var/obj/item/weapon/W = H.legcuffed
+ var/obj/item/W = H.legcuffed
H.legcuffed = null
H.update_inv_legcuffed()
if(H.client)
diff --git a/code/game/gamemodes/cult/construct_spells.dm b/code/game/gamemodes/cult/construct_spells.dm
index 6273273c98d..6340f908892 100644
--- a/code/game/gamemodes/cult/construct_spells.dm
+++ b/code/game/gamemodes/cult/construct_spells.dm
@@ -1,7 +1,7 @@
//////////////////////////////Construct Spells/////////////////////////
/proc/findNullRod(var/atom/target)
- if(istype(target,/obj/item/weapon/nullrod))
+ if(istype(target,/obj/item/nullrod))
return 1
else if(target.contents)
for(var/atom/A in target.contents)
@@ -91,7 +91,7 @@
invocation_type = SpI_NONE
range = 0
- summon_type = list(/obj/item/device/soulstone)
+ summon_type = list(/obj/item/soulstone)
hud_state = "const_stone"
override_base = "const"
@@ -370,7 +370,7 @@
charge_max = 10
- var/obj/item/weapon/spell/construct/spell_obj = null //This is the var that determines what Technomancer-style spell is put into their hands.
+ var/obj/item/spell/construct/spell_obj = null //This is the var that determines what Technomancer-style spell is put into their hands.
/spell/targeted/construct_advanced/cast(list/targets, mob/living/user)
if(!findNullRod(user))
@@ -381,7 +381,7 @@
desc = "Fire a searing beam of darkness at your foes."
hud_state = "const_beam"
- spell_obj = /obj/item/weapon/spell/construct/projectile/inverted_beam
+ spell_obj = /obj/item/spell/construct/projectile/inverted_beam
/spell/targeted/construct_advanced/mend_acolyte
name = "Mend Acolyte"
@@ -390,7 +390,7 @@
charge_max = 100
hud_state = "const_mend"
- spell_obj = /obj/item/weapon/spell/construct/mend_occult
+ spell_obj = /obj/item/spell/construct/mend_occult
/spell/targeted/construct_advanced/agonizing_sphere
name = "Sphere of Agony"
@@ -399,7 +399,7 @@
charge_max = 100
hud_state = "const_harvest"
- spell_obj = /obj/item/weapon/spell/construct/spawner/agonizing_sphere
+ spell_obj = /obj/item/spell/construct/spawner/agonizing_sphere
/spell/targeted/construct_advanced/slam
name = "Slam"
@@ -408,7 +408,7 @@
charge_max = 300
hud_state = "const_fist"
- spell_obj = /obj/item/weapon/spell/construct/slam
+ spell_obj = /obj/item/spell/construct/slam
/*
*
@@ -420,7 +420,7 @@
* Base advanced construct spell types.
*/
-/obj/item/weapon/spell/construct //Energy costs are in units of blood, in the event a cultist gets one of these.
+/obj/item/spell/construct //Energy costs are in units of blood, in the event a cultist gets one of these.
name = "unholy energy"
desc = "Your hands appear to be screaming. This is a debug text, you should probably tell a developer!"
icon = 'icons/obj/spells.dmi'
@@ -441,7 +441,7 @@
cast_sound = null // Sound file played when this is used.
var/last_castcheck = null // The last time this spell was cast.
-/obj/item/weapon/spell/construct/New()
+/obj/item/spell/construct/New()
//..() //This kills the spell, because super on this calls the default spell's New, which checks for a core. Can't have that.
if(isliving(loc))
owner = loc
@@ -449,17 +449,17 @@
qdel(src)
update_icon()
-/obj/item/weapon/spell/construct/adjust_instability(var/amount) //The only drawback to the boons of the geometer is the use of a mortal's blood as fuel. Constructs have already paid that price long ago.
+/obj/item/spell/construct/adjust_instability(var/amount) //The only drawback to the boons of the geometer is the use of a mortal's blood as fuel. Constructs have already paid that price long ago.
return
-/obj/item/weapon/spell/construct/run_checks()
+/obj/item/spell/construct/run_checks()
if(owner)
if((iscultist(owner) || istype(owner, /mob/living/simple_mob/construct)) && (world.time >= (last_castcheck + cooldown))) //Are they a cultist or a construct, and has the cooldown time passed?
last_castcheck = world.time
return 1
return 0
-/obj/item/weapon/spell/construct/pay_energy(var/amount)
+/obj/item/spell/construct/pay_energy(var/amount)
if(owner)
if(istype(owner, /mob/living/simple_mob/construct))
return 1
@@ -467,7 +467,7 @@
return 1
return 0
-/obj/item/weapon/spell/construct/proc/pay_blood(var/amount) //If, for some reason, this is put into the hands of a cultist, by a talisnam or whatever.
+/obj/item/spell/construct/proc/pay_blood(var/amount) //If, for some reason, this is put into the hands of a cultist, by a talisnam or whatever.
if(ishuman(owner))
var/mob/living/carbon/human/H = owner
if(!H.should_have_organ(O_HEART))
@@ -476,15 +476,15 @@
return 1
return 0
-/obj/item/weapon/spell/construct/afterattack(atom/target, mob/user, proximity_flag, click_parameters) //Not overriding it caused runtimes, because cooldown checked for core.
+/obj/item/spell/construct/afterattack(atom/target, mob/user, proximity_flag, click_parameters) //Not overriding it caused runtimes, because cooldown checked for core.
if(!run_checks())
return
if(!proximity_flag)
if(cast_methods & CAST_RANGED)
on_ranged_cast(target, user)
else
- if(istype(target, /obj/item/weapon/spell))
- var/obj/item/weapon/spell/spell = target
+ if(istype(target, /obj/item/spell))
+ var/obj/item/spell/spell = target
if(spell.cast_methods & CAST_COMBINE)
spell.on_combine_cast(src, user)
return
@@ -497,7 +497,7 @@
user.setClickCooldown(effective_cooldown)
flick("cooldown_[effective_cooldown]",src)
-/obj/item/weapon/spell/construct/projectile //This makes me angry, but we need the template, and we can't use it because special check overrides on the base.
+/obj/item/spell/construct/projectile //This makes me angry, but we need the template, and we can't use it because special check overrides on the base.
name = "construct projectile template"
icon_state = "generic"
desc = "This is a generic template that shoots projectiles. If you can read this, the game broke!"
@@ -507,7 +507,7 @@
var/fire_sound = null
var/energy_cost_per_shot = 5
-/obj/item/weapon/spell/construct/projectile/on_ranged_cast(atom/hit_atom, mob/living/user)
+/obj/item/spell/construct/projectile/on_ranged_cast(atom/hit_atom, mob/living/user)
if(set_up(hit_atom, user))
var/obj/item/projectile/new_projectile = make_projectile(spell_projectile, user)
new_projectile.old_style_target(hit_atom)
@@ -518,11 +518,11 @@
return 1
return 0
-/obj/item/weapon/spell/construct/projectile/proc/make_projectile(obj/item/projectile/projectile_type, mob/living/user)
+/obj/item/spell/construct/projectile/proc/make_projectile(obj/item/projectile/projectile_type, mob/living/user)
var/obj/item/projectile/P = new projectile_type(get_turf(user))
return P
-/obj/item/weapon/spell/construct/projectile/proc/set_up(atom/hit_atom, mob/living/user)
+/obj/item/spell/construct/projectile/proc/set_up(atom/hit_atom, mob/living/user)
if(spell_projectile)
if(pay_energy(energy_cost_per_shot))
if(pre_shot_delay)
@@ -537,14 +537,14 @@
return TRUE // No delay, no need to check.
return FALSE
-/obj/item/weapon/spell/construct/spawner
+/obj/item/spell/construct/spawner
name = "spawner template"
desc = "If you see me, someone messed up."
icon_state = "darkness"
cast_methods = CAST_RANGED
var/obj/effect/spawner_type = null
-/obj/item/weapon/spell/construct/spawner/on_ranged_cast(atom/hit_atom, mob/user)
+/obj/item/spell/construct/spawner/on_ranged_cast(atom/hit_atom, mob/user)
var/turf/T = get_turf(hit_atom)
if(T)
new spawner_type(T)
@@ -554,7 +554,7 @@
//Harvester Laser.
-/obj/item/weapon/spell/construct/projectile/inverted_beam
+/obj/item/spell/construct/projectile/inverted_beam
name = "inversion beam"
icon_state = "generic"
desc = "Your manipulators fire searing beams of inverted light."
@@ -582,17 +582,17 @@
//Harvester Pain Orb
-/obj/item/weapon/spell/construct/spawner/agonizing_sphere
+/obj/item/spell/construct/spawner/agonizing_sphere
name = "sphere of agony"
desc = "Call forth a portal to a dimension of naught but pain at your target."
spawner_type = /obj/effect/temporary_effect/pulse/agonizing_sphere
-/obj/item/weapon/spell/construct/spawner/agonizing_sphere/on_ranged_cast(atom/hit_atom, mob/user)
+/obj/item/spell/construct/spawner/agonizing_sphere/on_ranged_cast(atom/hit_atom, mob/user)
if(within_range(hit_atom) && pay_energy(10))
..()
-/obj/item/weapon/spell/construct/spawner/agonizing_sphere/on_throw_cast(atom/hit_atom, mob/user)
+/obj/item/spell/construct/spawner/agonizing_sphere/on_throw_cast(atom/hit_atom, mob/user)
pay_energy(5)
if(isliving(hit_atom))
var/mob/living/L = hit_atom
@@ -620,7 +620,7 @@
//Artificer Heal
-/obj/item/weapon/spell/construct/mend_occult
+/obj/item/spell/construct/mend_occult
name = "mend acolyte"
desc = "Mend the wounds of a cultist, or construct, over time."
icon_state = "mend_wounds"
@@ -630,14 +630,14 @@
light_power = -2
light_on = TRUE
-/obj/item/weapon/spell/construct/mend_occult/on_melee_cast(atom/hit_atom, mob/living/user, def_zone)
+/obj/item/spell/construct/mend_occult/on_melee_cast(atom/hit_atom, mob/living/user, def_zone)
if(isliving(hit_atom))
var/mob/living/L = hit_atom
L.add_modifier(/datum/modifier/mend_occult, 150)
qdel(src)
//Juggernaut Slam
-/obj/item/weapon/spell/construct/slam
+/obj/item/spell/construct/slam
name = "slam"
desc = "Empower your FIST, to send an opponent flying."
icon_state = "toggled_old"
@@ -648,7 +648,7 @@
light_on = TRUE
cooldown = 15
-/obj/item/weapon/spell/construct/slam/on_melee_cast(atom/hit_atom, mob/living/user, def_zone)
+/obj/item/spell/construct/slam/on_melee_cast(atom/hit_atom, mob/living/user, def_zone)
var/attack_message = "slams"
if(istype(user, /mob/living/simple_mob))
var/mob/living/simple_mob/S = user
diff --git a/code/game/gamemodes/cult/cult_items.dm b/code/game/gamemodes/cult/cult_items.dm
index e54bb88eefe..d9974cd0ed6 100644
--- a/code/game/gamemodes/cult/cult_items.dm
+++ b/code/game/gamemodes/cult/cult_items.dm
@@ -1,4 +1,4 @@
-/obj/item/weapon/melee/cultblade
+/obj/item/melee/cultblade
name = "cult blade"
desc = "An arcane weapon wielded by the followers of Nar-Sie."
icon_state = "cultblade"
@@ -13,10 +13,10 @@
edge = TRUE
sharp = TRUE
-/obj/item/weapon/melee/cultblade/cultify()
+/obj/item/melee/cultblade/cultify()
return
-/obj/item/weapon/melee/cultblade/attack(mob/living/M, mob/living/user, var/target_zone)
+/obj/item/melee/cultblade/attack(mob/living/M, mob/living/user, var/target_zone)
if(iscultist(user) && !istype(user, /mob/living/simple_mob/construct))
return ..()
@@ -41,7 +41,7 @@
return 1
-/obj/item/weapon/melee/cultblade/pickup(mob/living/user as mob)
+/obj/item/melee/cultblade/pickup(mob/living/user as mob)
if(!iscultist(user) && !istype(user, /mob/living/simple_mob/construct))
to_chat(user, "An overwhelming feeling of dread comes over you as you pick up the cultist's sword. It would be wise to be rid of this blade quickly.")
user.make_dizzy(120)
@@ -79,7 +79,7 @@
icon_state = "cultrobes"
origin_tech = list(TECH_MATERIAL = 3, TECH_ARCANE = 1)
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
- allowed = list(/obj/item/weapon/book/tome,/obj/item/weapon/melee/cultblade)
+ allowed = list(/obj/item/book/tome,/obj/item/melee/cultblade)
armor = list(melee = 50, bullet = 30, laser = 50, energy = 80, bomb = 25, bio = 10, rad = 0)
flags_inv = HIDEJUMPSUIT
siemens_coefficient = 0
@@ -114,7 +114,7 @@
origin_tech = list(TECH_MATERIAL = 3, TECH_ARCANE = 1)
desc = "A bulky suit of armour, bristling with spikes. It looks space-worthy."
w_class = ITEMSIZE_NORMAL
- allowed = list(/obj/item/weapon/book/tome,/obj/item/weapon/melee/cultblade,/obj/item/weapon/tank/emergency/oxygen,/obj/item/device/suit_cooling_unit)
+ allowed = list(/obj/item/book/tome,/obj/item/melee/cultblade,/obj/item/tank/emergency/oxygen,/obj/item/suit_cooling_unit)
slowdown = 0.5
armor = list(melee = 60, bullet = 50, laser = 30, energy = 80, bomb = 30, bio = 30, rad = 30)
siemens_coefficient = 0
diff --git a/code/game/gamemodes/cult/cultify/obj.dm b/code/game/gamemodes/cult/cultify/obj.dm
index e00dbc6aad5..672fdb1fd3b 100644
--- a/code/game/gamemodes/cult/cultify/obj.dm
+++ b/code/game/gamemodes/cult/cultify/obj.dm
@@ -10,26 +10,26 @@
/obj/effect/overlay/cultify()
return
-/obj/item/device/flashlight/lamp/cultify()
+/obj/item/flashlight/lamp/cultify()
new /obj/structure/cult/pylon(loc)
..()
/obj/item/stack/material/wood/cultify()
return
-/obj/item/weapon/book/cultify()
- new /obj/item/weapon/book/tome(loc)
+/obj/item/book/cultify()
+ new /obj/item/book/tome(loc)
..()
-/obj/item/weapon/material/sword/cultify()
- new /obj/item/weapon/melee/cultblade(loc)
+/obj/item/material/sword/cultify()
+ new /obj/item/melee/cultblade(loc)
..()
-/obj/item/weapon/storage/backpack/cultify()
- new /obj/item/weapon/storage/backpack/cultpack(loc)
+/obj/item/storage/backpack/cultify()
+ new /obj/item/storage/backpack/cultpack(loc)
..()
-/obj/item/weapon/storage/backpack/cultpack/cultify()
+/obj/item/storage/backpack/cultpack/cultify()
return
/obj/machinery/cultify()
diff --git a/code/game/gamemodes/cult/ritual.dm b/code/game/gamemodes/cult/ritual.dm
index 41d3f2a7161..6f35c436410 100644
--- a/code/game/gamemodes/cult/ritual.dm
+++ b/code/game/gamemodes/cult/ritual.dm
@@ -90,11 +90,11 @@ var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","
/obj/effect/rune/attackby(I as obj, user as mob)
- if(istype(I, /obj/item/weapon/book/tome) && iscultist(user))
+ if(istype(I, /obj/item/book/tome) && iscultist(user))
to_chat(user, "You retrace your steps, carefully undoing the lines of the rune.")
qdel(src)
return
- else if(istype(I, /obj/item/weapon/nullrod))
+ else if(istype(I, /obj/item/nullrod))
to_chat(user, "You disrupt the vile magic with the deadening field of the null rod!")
qdel(src)
return
@@ -176,7 +176,7 @@ var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","
/obj/effect/rune/proc/check_icon()
icon = get_uristrune_cult(word1, word2, word3)
-/obj/item/weapon/book/tome
+/obj/item/book/tome
name = "arcane tome"
icon = 'icons/obj/weapons.dmi'
item_icons = list(
@@ -288,14 +288,14 @@ var/global/list/rnwords = list("ire","ego","nahlizet","certum","veri","jatkaa","
|