[MDB Ignore] [IDB Ignore] Kills off /obj/item/device (#21774)

This has zero reason to exist in our code base. We have no procs or
variables tied to this. I removed it to make future modifications
cleaner.

---------

Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
This commit is contained in:
Cody Brittain
2026-02-01 05:14:26 +00:00
committed by GitHub
parent 75424095ac
commit 3f62424312
857 changed files with 8690 additions and 8599 deletions
+4 -4
View File
@@ -68,8 +68,8 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
var/obj/machinery/camera/camera
/// For storing what is shown to the cameras
var/list/cameraRecords = list()
var/obj/item/device/multitool/ai_multi
var/obj/item/device/radio/headset/heads/ai_integrated/ai_radio
var/obj/item/multitool/ai_multi
var/obj/item/radio/headset/heads/ai_integrated/ai_radio
var/datum/announcement/priority/announcement
var/obj/machinery/ai_powersupply/psupply
@@ -145,7 +145,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
remove_verb(src, GLOB.ai_verbs_default)
remove_verb(src, silicon_subsystems)
/mob/living/silicon/ai/Initialize(mapload, datum/ai_laws/L, obj/item/device/mmi/B, safety = 0)
/mob/living/silicon/ai/Initialize(mapload, datum/ai_laws/L, obj/item/mmi/B, safety = 0)
shouldnt_see = typecacheof(/obj/effect/rune)
announcement = new()
announcement.title = "A.I. Announcement"
@@ -180,7 +180,7 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
ai_radio.myAi = src
additional_law_channels["Holopad"] = ":h"
ai_camera = new/obj/item/device/camera/siliconcam/ai_camera(src)
ai_camera = new/obj/item/camera/siliconcam/ai_camera(src)
if(istype(loc, /turf))
add_ai_verbs(src)
@@ -27,12 +27,12 @@
. = ..()
modules += new /obj/item/crowbar/hydraulic_rescue_tool(src)
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/device/healthanalyzer(src)
modules += new /obj/item/healthanalyzer(src)
modules += new /obj/item/extinguisher/mini(src)
modules += new /obj/item/device/advanced_healthanalyzer/cyborg(src)
modules += new /obj/item/advanced_healthanalyzer/cyborg(src)
modules += new /obj/item/tank/jetpack/carbondioxide/synthetic(src)
modules += new /obj/item/inflatable_dispenser(src)
modules += new /obj/item/device/gps(src)
modules += new /obj/item/gps(src)
modules += new /obj/item/taperoll/medical(src)
modules += new /obj/item/taperoll/engineering(src)
modules += new /obj/item/taperoll/police(src)
@@ -40,7 +40,7 @@
modules += new /obj/item/pen/robopen(src)
modules += new /obj/item/form_printer(src)
modules += new /obj/item/gripper/paperwork(src)
modules += new /obj/item/device/flash(src)
modules += new /obj/item/flash(src)
/mob/living/silicon/robot/shell
spawn_module = /obj/item/robot_module/aicontrol
+1 -1
View File
@@ -21,7 +21,7 @@
pai_key = C.key
log_and_message_admins("made a pAI with key=[pai_key] at ([t.x],[t.y],[t.z])")
var/obj/item/device/paicard/card = new(t)
var/obj/item/paicard/card = new(t)
var/mob/living/silicon/pai/pai = new(card)
pai.key = pai_key
card.setPersonality(pai)
+11 -11
View File
@@ -16,8 +16,8 @@
var/ram = 100 // Used as currency to purchase different abilities
var/list/software = list()
var/userDNA // The DNA string of our assigned user
var/obj/item/device/paicard/card // The card we inhabit
var/obj/item/device/radio/pai/radio // Our primary radio
var/obj/item/paicard/card // The card we inhabit
var/obj/item/radio/pai/radio // Our primary radio
var/chassis = "repairbot" // A record of your chosen chassis.
@@ -96,7 +96,7 @@
var/hackprogress = 0 // Possible values: 0 - 1000, >= 1000 means the hack is complete and will be reset upon next check
var/hack_aborted = 0
var/obj/item/radio/integrated/signal/sradio // AI's signaller
var/obj/item/integrated_signaler/signal/sradio // AI's signaller
var/translator_on = 0 // keeps track of the translator module
@@ -156,11 +156,11 @@
P.set_light(light_range, light_power, light_color)
/mob/living/silicon/pai/Initialize(mapload)
var/obj/item/device/paicard/paicard = loc
var/obj/item/paicard/paicard = loc
if (!istype(paicard))
//If we get here, then we must have been created by adminspawning.
//so lets assist with debugging by creating our own card and adding ourself to it
paicard = new /obj/item/device/paicard(loc)
paicard = new /obj/item/paicard(loc)
paicard.pai = src
canmove = 0
@@ -169,9 +169,9 @@
sradio = new(src)
if(card)
if(!card.radio)
card.radio = new /obj/item/device/radio/pai(src.card)
card.radio = new /obj/item/radio/pai(src.card)
radio = card.radio
INVOKE_ASYNC(card, TYPE_PROC_REF(/obj/item/device/paicard, recalculateChannels))
INVOKE_ASYNC(card, TYPE_PROC_REF(/obj/item/paicard, recalculateChannels))
//Default languages without universal translator software
@@ -230,7 +230,7 @@
return 0
/mob/living/silicon/pai/restrained()
return !istype(loc, /obj/item/device/paicard) && ..()
return !istype(loc, /obj/item/paicard) && ..()
/mob/living/silicon/pai/emp_act(severity)
. = ..()
@@ -289,7 +289,7 @@
/*
// Debug command - Maybe should be added to admin verbs later
/mob/verb/makePAI(var/turf/t in view())
var/obj/item/device/paicard/card = new(t)
var/obj/item/paicard/card = new(t)
var/mob/living/silicon/pai/pai = new(card)
pai.key = src.key
card.setPersonality(pai)
@@ -418,7 +418,7 @@
set category = "IC.Maneuver"
// Pass lying down or getting up to our pet human, if we're in a rig.
if(istype(src.loc,/obj/item/device/paicard))
if(istype(src.loc,/obj/item/paicard))
resting = 0
var/obj/item/rig/rig = src.get_rig()
if(istype(rig))
@@ -548,5 +548,5 @@
/mob/living/silicon/pai/set_respawn_time()
set_death_time(MINISYNTH, world.time)
/obj/item/device/radio/pai
/obj/item/radio/pai
canhear_range = 0 // only people on their tile
@@ -1,9 +1,9 @@
//
//Robotic Component Analyzer, basically a health analyzer for robots
//
/obj/item/device/robotanalyzer
/obj/item/robotanalyzer
name = "cyborg analyzer"
icon = 'icons/obj/item/device/robotanalyzer.dmi'
icon = 'icons/obj/item/robotanalyzer.dmi'
icon_state = "robotanalyzer"
item_state = "analyzer"
desc = "A hand-held scanner able to diagnose robotic injuries."
@@ -16,7 +16,7 @@
origin_tech = list(TECH_MAGNET = 2, TECH_BIO = 1, TECH_ENGINEERING = 2)
matter = list(DEFAULT_WALL_MATERIAL = 500, MATERIAL_GLASS = 200)
/obj/item/device/robotanalyzer/attack(mob/living/target_mob, mob/living/user, target_zone)
/obj/item/robotanalyzer/attack(mob/living/target_mob, mob/living/user, target_zone)
robotic_analyze_mob(target_mob, user)
add_fingerprint(user)
@@ -132,19 +132,19 @@
else
. = "minor"
/obj/item/device/robotanalyzer/augment
/obj/item/robotanalyzer/augment
name = "retractable cyborg analyzer"
desc = "An scanner implanted directly into the hand, popping through the finger. This scanner can diagnose robotic injuries."
icon = 'icons/obj/item/device/robotanalyzer.dmi'
icon = 'icons/obj/item/robotanalyzer.dmi'
icon_state = "robotanalyzer"
item_state = "analyzer"
slot_flags = null
w_class = WEIGHT_CLASS_HUGE
/obj/item/device/robotanalyzer/augment/throw_at(atom/target, range, speed, mob/user)
/obj/item/robotanalyzer/augment/throw_at(atom/target, range, speed, mob/user)
user.drop_from_inventory(src)
/obj/item/device/robotanalyzer/augment/dropped()
/obj/item/robotanalyzer/augment/dropped()
. = ..()
loc = null
qdel(src)
@@ -26,7 +26,7 @@
// ID and Access
req_access = list(ACCESS_SYNDICATE)
id_card_type = /obj/item/card/id/syndicate
key_type = /obj/item/device/encryptionkey/syndicate
key_type = /obj/item/encryptionkey/syndicate
var/datum/antagonist/assigned_antagonist
/mob/living/silicon/robot/combat/Initialize()
@@ -45,7 +45,7 @@
assigned_antagonist.add_antagonist_mind(src.mind, TRUE)
if(assigned_antagonist.get_antag_radio())
module.channels[assigned_antagonist.get_antag_radio()] = TRUE
INVOKE_ASYNC(radio, TYPE_PROC_REF(/obj/item/device/radio/borg, recalculateChannels))
INVOKE_ASYNC(radio, TYPE_PROC_REF(/obj/item/radio/borg, recalculateChannels))
client.init_verbs()
say("Boot sequence complete!")
return src
@@ -271,7 +271,7 @@
SSghostroles.add_spawn_atom("matriarchmaintdrone", src)
/mob/living/silicon/robot/drone/init()
ai_camera = new /obj/item/device/camera/siliconcam/drone_camera(src)
ai_camera = new /obj/item/camera/siliconcam/drone_camera(src)
additional_law_channels["Drone"] = ":d"
if(!laws)
laws = new law_type
@@ -22,7 +22,7 @@
/obj/item/tank,
/obj/item/circuitboard,
/obj/item/smes_coil,
/obj/item/device/assembly,//Primarily for making improved cameras, but opens many possibilities
/obj/item/assembly,//Primarily for making improved cameras, but opens many possibilities
/obj/item/computer_hardware,
/obj/item/pipe,
/obj/item/smallDelivery,
@@ -242,7 +242,7 @@
/obj/item/extraction_pack,
/obj/item/smallDelivery,
/obj/item/gift,
/obj/item/device/mine_bot_upgrade
/obj/item/mine_bot_upgrade
)
/obj/item/gripper/paperwork
@@ -276,26 +276,26 @@
can_hold = list(
/obj/item/cell,
/obj/item/stock_parts,
/obj/item/device/mmi,
/obj/item/mmi,
/obj/item/robot_parts,
/obj/item/mech_component,
/obj/item/mecha_equipment,
/obj/item/device/radio/exosuit,
/obj/item/radio/exosuit,
/obj/item/borg/upgrade,
/obj/item/device/flash, // to build borgs,
/obj/item/flash, // to build borgs,
/obj/item/organ/internal/brain, // to insert into MMIs,
/obj/item/stack/cable_coil, // again, for borg building,
/obj/item/circuitboard,
/obj/item/slime_extract,
/obj/item/device/slime_scanner,
/obj/item/slime_scanner,
/obj/item/reagent_containers/glass,
/obj/item/reagent_containers/food/snacks/monkeycube,
/obj/item/seeds, // To be able to plant things for Xenobotany
/obj/item/grown, // To be able to plant things for Xenobotany
/obj/item/device/assembly, // For building bots and similar complex R&D devices
/obj/item/device/healthanalyzer,// For building medibots
/obj/item/assembly, // For building bots and similar complex R&D devices
/obj/item/healthanalyzer,// For building medibots
/obj/item/disk,
/obj/item/device/analyzer/plant_analyzer,//For farmbot construction
/obj/item/analyzer/plant_analyzer,//For farmbot construction
/obj/item/material/minihoe, // Farmbots and xenoflora
/obj/item/computer_hardware,
/obj/item/slimesteroid,
@@ -305,7 +305,7 @@
/obj/item/remote_mecha,
/obj/item/smallDelivery,
/obj/item/gift,
/obj/item/device/integrated_circuit_printer
/obj/item/integrated_circuit_printer
)
/obj/item/gripper/chemistry //A gripper designed for chemistry, to allow borgs to work efficiently in the lab
@@ -324,7 +324,7 @@
/obj/item/reagent_containers/inhaler,
/obj/item/reagent_containers/hypospray,
/obj/item/storage/pill_bottle,
/obj/item/device/hand_labeler,
/obj/item/hand_labeler,
/obj/item/paper,
/obj/item/stack/material/phoron,
/obj/item/reagent_containers/blood,
@@ -2,7 +2,7 @@
/obj/item/borg/combat/shield
name = "personal shielding"
desc = "A powerful experimental module that turns aside or absorbs incoming attacks at the cost of charge."
icon = 'icons/obj/item/device/chameleon.dmi'
icon = 'icons/obj/item/chameleon.dmi'
icon_state = "shield1" //placeholder for now // four fucking years alberyk. FOUR
var/shield_level = 0.5 //Percentage of damage absorbed by the shield.
@@ -77,8 +77,8 @@
desc = "A standard reinforced braincase, with spine-plugged neural socket and sensor gimbals."
icon_state = "head"
part = list(BP_HEAD)
var/obj/item/device/flash/left_flash = null
var/obj/item/device/flash/right_flash = null
var/obj/item/flash/left_flash = null
var/obj/item/flash/right_flash = null
var/law_manager = TRUE
/obj/item/robot_parts/robot_suit
@@ -208,8 +208,8 @@
to_chat(user, SPAN_WARNING("You need to attach a flash to it first!"))
return
if(istype(attacking_item, /obj/item/device/mmi/shell))
var/obj/item/device/mmi/shell/M = attacking_item
if(istype(attacking_item, /obj/item/mmi/shell))
var/obj/item/mmi/shell/M = attacking_item
if(check_completion())
var/mob/living/silicon/robot/O = new /mob/living/silicon/robot/shell(get_turf(src), TRUE)
if(!O)
@@ -235,8 +235,8 @@
to_chat(user, SPAN_WARNING("\The [attacking_item] can only be inserted after everything else is installed."))
return
if(istype(attacking_item, /obj/item/device/mmi))
var/obj/item/device/mmi/M = attacking_item
if(istype(attacking_item, /obj/item/mmi))
var/obj/item/mmi/M = attacking_item
if(check_completion())
if(!isturf(loc))
to_chat(user, SPAN_WARNING("You can't put \the [attacking_item] in, the frame has to be standing on the ground to be perfectly precise."))
@@ -280,7 +280,7 @@
return
// So you cannot make a cyborg with a positronic in it.
if(istype(M, /obj/item/device/mmi/digital/posibrain))
if(istype(M, /obj/item/mmi/digital/posibrain))
to_chat(user, SPAN_WARNING("Positronic brains are not compatible with this kind of chassis."))
return
@@ -311,7 +311,7 @@
callHook("borgify", list(O))
O.Namepick()
qdel(src)
else if(!istype(M, /obj/item/device/mmi/digital/posibrain))
else if(!istype(M, /obj/item/mmi/digital/posibrain))
to_chat(user, SPAN_WARNING("\The [attacking_item] can only be inserted after everything else is installed."))
return
@@ -367,8 +367,8 @@
/obj/item/robot_parts/head/attackby(obj/item/attacking_item, mob/user)
..()
if(istype(attacking_item, /obj/item/device/assembly/infra))
var/obj/item/device/assembly/S = attacking_item
if(istype(attacking_item, /obj/item/assembly/infra))
var/obj/item/assembly/S = attacking_item
var/obj/item/tv_assembly/A = new(user)
qdel(S)
user.put_in_hands(A)
@@ -383,10 +383,10 @@
to_chat(user, SPAN_NOTICE("You enable the lawing circuits on \the [src]."))
law_manager = TRUE
else if(istype(attacking_item, /obj/item/device/flash))
else if(istype(attacking_item, /obj/item/flash))
if(isrobot(user))
var/mob/living/silicon/robot/R = user
if(istype(R.module_active, /obj/item/device/flash))
if(istype(R.module_active, /obj/item/flash))
to_chat(user, SPAN_WARNING("You cannot detach your own flash and install it into \the [src]."))
return
else
@@ -6,7 +6,7 @@
icon_state = "screwdriver"
build_from_parts = FALSE
/obj/item/device/multitool/robotic
/obj/item/multitool/robotic
icon = 'icons/obj/robot_items.dmi'
/obj/item/wirecutters/robotic
@@ -273,7 +273,7 @@
if(client)
client.screen -= contents
for(var/obj/I in contents)
if(I && !(istype(I, /obj/item/cell) || istype(I, /obj/item/device/radio) || istype(I, /obj/machinery/camera) || istype(I, /obj/item/device/mmi)))
if(I && !(istype(I, /obj/item/cell) || istype(I, /obj/item/radio) || istype(I, /obj/machinery/camera) || istype(I, /obj/item/mmi)))
client.screen += I
if(module_state_1)
module_state_1.screen_loc = ui_inv1
@@ -1,5 +1,5 @@
/mob/living/silicon/robot/proc/photosync()
var/obj/item/device/camera/siliconcam/master_cam = connected_ai ? connected_ai.ai_camera : null
var/obj/item/camera/siliconcam/master_cam = connected_ai ? connected_ai.ai_camera : null
if(!master_cam)
return
@@ -10,7 +10,7 @@
law_update = FALSE
law_preset = /datum/ai_laws/conglomerate_aggressive
id_card_type = /obj/item/card/id/ert
key_type = /obj/item/device/encryptionkey/ert
key_type = /obj/item/encryptionkey/ert
has_jetpack = TRUE
/mob/living/silicon/robot/scrambled //should not stand linked to the station or the ai
@@ -80,9 +80,9 @@
// Internal components (non-datum)
var/obj/item/cell/cell
var/obj/item/device/radio/borg/radio
var/obj/item/radio/borg/radio
var/obj/machinery/camera/camera
var/obj/item/device/mmi/mmi
var/obj/item/mmi/mmi
var/obj/item/stock_parts/matter_bin/storage
var/obj/item/tank/jetpack/carbondioxide/synthetic/jetpack
@@ -158,7 +158,7 @@
mmi.brainmob.real_name = src.name
mmi.name = "[initial(mmi.name)]: [src.name]"
radio = new /obj/item/device/radio/borg(src)
radio = new /obj/item/radio/borg(src)
common_radio = radio
if(!camera)
@@ -235,13 +235,13 @@
update_access()
/mob/living/silicon/robot/proc/init()
ai_camera = new /obj/item/device/camera/siliconcam/robot_camera(src)
ai_camera = new /obj/item/camera/siliconcam/robot_camera(src)
laws = new law_preset()
if(spawn_module)
new spawn_module(src, src)
if(key_type)
radio.keyslot = new key_type(radio)
INVOKE_ASYNC(radio, TYPE_PROC_REF(/obj/item/device/radio/borg, recalculateChannels))
INVOKE_ASYNC(radio, TYPE_PROC_REF(/obj/item/radio/borg, recalculateChannels))
if(law_update)
var/new_ai = select_active_ai_with_fewest_borgs()
if(new_ai)
@@ -368,7 +368,7 @@
if(prefix)
mod_type = prefix
if(istype(mmi, /obj/item/device/mmi/digital/robot))
if(istype(mmi, /obj/item/mmi/digital/robot))
braintype = "Robot"
else
braintype = "Cyborg"
@@ -754,7 +754,7 @@
else
to_chat(user, SPAN_WARNING("\The [src] does not have a radio installed!"))
return
else if(istype(attacking_item, /obj/item/device/encryptionkey) && opened)
else if(istype(attacking_item, /obj/item/encryptionkey) && opened)
if(radio) //sanityyyyyy
radio.attackby(attacking_item, user) //GTFO, you have your own procs
else
@@ -789,7 +789,7 @@
user.drop_from_inventory(U, src)
return
else
if(attacking_item.force && !(istype(attacking_item, /obj/item/device/robotanalyzer) || istype(attacking_item, /obj/item/device/healthanalyzer)) )
if(attacking_item.force && !(istype(attacking_item, /obj/item/robotanalyzer) || istype(attacking_item, /obj/item/healthanalyzer)) )
spark_system.queue()
return ..()
else
@@ -67,7 +67,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
apply_status_flags(R)
if(R.radio)
INVOKE_ASYNC(R.radio, TYPE_PROC_REF(/obj/item/device/radio/borg, recalculateChannels))
INVOKE_ASYNC(R.radio, TYPE_PROC_REF(/obj/item/radio/borg, recalculateChannels))
R.set_module_sprites(sprites)
R.icon_selected = FALSE
@@ -115,7 +115,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
/obj/item/robot_module/proc/respawn_consumable(var/mob/living/silicon/robot/R, var/rate)
var/obj/item/extinguisher/E = locate() in modules
var/obj/item/device/flash/F = locate() in modules
var/obj/item/flash/F = locate() in modules
if(F)
if(F.broken)
F.broken = FALSE
@@ -216,7 +216,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
/obj/item/robot_module/medical/general/Initialize()
. = ..()
modules += new /obj/item/device/healthanalyzer(src)
modules += new /obj/item/healthanalyzer(src)
modules += new /obj/item/reagent_containers/hypospray/borghypo/medical(src)
modules += new /obj/item/surgery/scalpel(src)
modules += new /obj/item/surgery/hemostat(src)
@@ -231,16 +231,16 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/reagent_containers/dropper/cyborg_pipette(src)
modules += new /obj/item/roller_holder(src)
modules += new /obj/item/reagent_containers/syringe/robotic(src)
modules += new /obj/item/device/reagent_scanner/adv(src)
modules += new /obj/item/device/mass_spectrometer(src)
modules += new /obj/item/reagent_scanner/adv(src)
modules += new /obj/item/mass_spectrometer(src)
modules += new /obj/item/autopsy_scanner(src)
modules += new /obj/item/device/breath_analyzer(src)
modules += new /obj/item/breath_analyzer(src)
modules += new /obj/item/taperoll/medical(src)
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher/mini(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
emag = new /obj/item/reagent_containers/hypospray/cmo(src)
emag.reagents.add_reagent(/singleton/reagent/wulumunusha, 30)
@@ -279,10 +279,10 @@ GLOBAL_LIST_INIT(robot_modules, list(
/obj/item/robot_module/medical/rescue/Initialize()
. = ..()
modules += new /obj/item/device/healthanalyzer(src)
modules += new /obj/item/device/reagent_scanner/adv(src)
modules += new /obj/item/device/mass_spectrometer(src)
modules += new /obj/item/device/breath_analyzer(src)
modules += new /obj/item/healthanalyzer(src)
modules += new /obj/item/reagent_scanner/adv(src)
modules += new /obj/item/mass_spectrometer(src)
modules += new /obj/item/breath_analyzer(src)
modules += new /obj/item/roller_holder(src)
modules += new /obj/item/reagent_containers/hypospray/borghypo/rescue(src)
modules += new /obj/item/reagent_containers/dropper/cyborg_pipette(src)
@@ -293,9 +293,9 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/taperoll/medical(src)
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher/mini(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
modules += new /obj/item/gripper/paperwork(src)
emag = new /obj/item/reagent_containers/hypospray/cmo(src)
@@ -372,19 +372,19 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/screwdriver/robotic(src)
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/weldingtool/experimental(src)
modules += new /obj/item/device/pipe_painter(src)
modules += new /obj/item/pipe_painter(src)
modules += new /obj/item/gripper/no_use/loader(src)
modules += new /obj/item/gripper(src)
modules += new /obj/item/device/t_scanner(src) // to check underfloor wiring
modules += new /obj/item/device/analyzer(src) // to check air pressure in the area
modules += new /obj/item/device/lightreplacer(src) // to install lightning in the area
modules += new /obj/item/device/paint_sprayer(src)// to make america great again (c)
modules += new /obj/item/t_scanner(src) // to check underfloor wiring
modules += new /obj/item/analyzer(src) // to check air pressure in the area
modules += new /obj/item/lightreplacer(src) // to install lightning in the area
modules += new /obj/item/paint_sprayer(src)// to make america great again (c)
modules += new /obj/item/pickaxe/borgdrill(src) // as station is being located at the rock terrain, which is presumed to be digged out to clear the area for new rooms
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
modules += new /obj/item/pen/robopen(src) // Pen for renaming doors
emag = new /obj/item/gun/energy/plasmacutter/mounted(src)
@@ -436,20 +436,20 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/screwdriver/robotic(src)
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/wirecutters/robotic(src)
modules += new /obj/item/device/multitool/robotic(src)
modules += new /obj/item/multitool/robotic(src)
modules += new /obj/item/rfd/piping/borg(src)
modules += new /obj/item/device/t_scanner(src)
modules += new /obj/item/device/analyzer(src)
modules += new /obj/item/t_scanner(src)
modules += new /obj/item/analyzer(src)
modules += new /obj/item/gripper(src)
modules += new /obj/item/gripper/no_use/loader(src)
modules += new /obj/item/device/lightreplacer(src)
modules += new /obj/item/device/pipe_painter(src)
modules += new /obj/item/device/paint_sprayer(src)
modules += new /obj/item/lightreplacer(src)
modules += new /obj/item/pipe_painter(src)
modules += new /obj/item/paint_sprayer(src)
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
modules += new /obj/item/pen/robopen(src) // Pen for renaming doors
emag = new /obj/item/melee/baton/robot/arm(src)
@@ -564,14 +564,14 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/soap/drone(src)
modules += new /obj/item/storage/bag/trash(src)
modules += new /obj/item/mop(src)
modules += new /obj/item/device/lightreplacer/advanced(src)
modules += new /obj/item/lightreplacer/advanced(src)
modules += new /obj/item/reagent_containers/glass/bucket(src) // a hydroponist's bucket
modules += new /obj/item/matter_decompiler(src) // free drone remains for all
modules += new /obj/item/taperoll/custodial(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher/mini(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
modules += new /obj/item/wetfloor_holder(src) // Holds caution signs.
emag = new /obj/item/reagent_containers/spray(src)
@@ -604,7 +604,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
/obj/item/robot_module/janitor/respawn_consumable(var/mob/living/silicon/robot/R, var/amount)
..()
var/obj/item/device/lightreplacer/LR = locate() in modules
var/obj/item/lightreplacer/LR = locate() in modules
LR.Charge(R, amount)
if(emag)
var/obj/item/reagent_containers/spray/S = emag
@@ -661,7 +661,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/reagent_containers/glass/bucket(src)
modules += new /obj/item/material/minihoe(src)
modules += new /obj/item/material/hatchet(src)
modules += new /obj/item/device/analyzer/plant_analyzer(src)
modules += new /obj/item/analyzer/plant_analyzer(src)
modules += new /obj/item/storage/bag/plants(src)
modules += new /obj/item/robot_harvester(src)
modules += new /obj/item/material/kitchen/rollingpin(src)
@@ -670,15 +670,15 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/pen/robopen(src)
modules += new /obj/item/form_printer(src)
modules += new /obj/item/gripper/paperwork(src)
modules += new /obj/item/device/hand_labeler(src)
modules += new /obj/item/hand_labeler(src)
modules += new /obj/item/tape_roll(src) //allows it to place flyers
modules += new /obj/item/device/quikpay(src)
modules += new /obj/item/quikpay(src)
modules += new /obj/item/reagent_containers/glass/rag(src) // a rag for.. yeah.. the primary tool of bartender
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher/mini(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
var/obj/item/rfd/service/M = new /obj/item/rfd/service(src)
@@ -712,18 +712,18 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/pen/robopen(src)
modules += new /obj/item/form_printer(src)
modules += new /obj/item/gripper/paperwork(src)
modules += new /obj/item/device/hand_labeler(src)
modules += new /obj/item/device/destTagger(src)
modules += new /obj/item/hand_labeler(src)
modules += new /obj/item/destTagger(src)
modules += new /obj/item/stamp(src)
modules += new /obj/item/stamp/denied(src)
modules += new /obj/item/tape_roll(src) //allows it to place flyers
modules += new /obj/item/device/quikpay(src)
modules += new /obj/item/quikpay(src)
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/taperoll/police(src)
modules += new /obj/item/paper_scanner(src) //TODO: Add functionality to allow for scanned paperwork to show up in internal computer
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher/mini(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
emag = new /obj/item/stamp/chameleon(src)
@@ -766,13 +766,13 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/mining_scanner(src)
modules += new /obj/item/ore_radar(src)
modules += new /obj/item/gripper/paperwork(src) // for Yield Declarations
modules += new /obj/item/device/gps/mining(src) // for locating itself in the deep space
modules += new /obj/item/gps/mining(src) // for locating itself in the deep space
modules += new /obj/item/gun/custom_ka/cyborg(src)
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher/mini(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/screwdriver/robotic(src)
@@ -827,7 +827,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/gripper/research(src)
modules += new /obj/item/robot_harvester(src)
modules += new /obj/item/gripper/no_use/loader(src)
modules += new /obj/item/device/robotanalyzer(src)
modules += new /obj/item/robotanalyzer(src)
modules += new /obj/item/card/robot(src)
var/datum/matter_synth/wire = new /datum/matter_synth/wire(15)
@@ -845,17 +845,17 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/reagent_containers/syringe(src)
modules += new /obj/item/gripper/chemistry(src)
modules += new /obj/item/reagent_containers/dropper/cyborg_pipette(src)
modules += new /obj/item/device/reagent_scanner/adv(src)
modules += new /obj/item/reagent_scanner/adv(src)
modules += new /obj/item/storage/bag/plants(src)
modules += new /obj/item/taperoll/engineering(src) // To enable 'borgs to telegraph danger visually.
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/device/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/gps(src) // For being located while disabled and coordinating with life sensor consoles.
modules += new /obj/item/extinguisher(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
modules += new /obj/item/pen/robopen(src) // Pen for renaming robots
modules += new /obj/item/storage/part_replacer(src)
modules += new /obj/item/device/multitool/robotic(src) // To enable them to connect machines that require multitools e.g. tech-processors
modules += new /obj/item/multitool/robotic(src) // To enable them to connect machines that require multitools e.g. tech-processors
emag = new /obj/item/hand_tele(src)
var/datum/matter_synth/nanite = new /datum/matter_synth/nanite(10000)
@@ -929,17 +929,17 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/handcuffs/cyborg(src)
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/extinguisher(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
modules += new /obj/item/roller_holder(src)
modules += new /obj/item/device/healthanalyzer(src)
modules += new /obj/item/healthanalyzer(src)
modules += new /obj/item/reagent_containers/hypospray/borghypo/medical(src)
modules += new /obj/item/plastique/cyborg(src)
modules += new /obj/item/grenade/smokebomb/cyborg(src)
supported_upgrades = list(/obj/item/robot_parts/robot_component/jetpack)
if(R.radio)
INVOKE_ASYNC(R.radio, TYPE_PROC_REF(/obj/item/device/radio/borg, recalculateChannels))
INVOKE_ASYNC(R.radio, TYPE_PROC_REF(/obj/item/radio/borg, recalculateChannels))
/obj/item/robot_module/military
name = "military robot module"
@@ -962,7 +962,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/handcuffs/cyborg(src)
modules += new /obj/item/inflatable_dispenser(src) // To enable 'borgs to protect Crew from danger in direct hazards.
modules += new /obj/item/extinguisher(src) // For navigating space and/or low grav, and just being useful.
modules += new /obj/item/device/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/flash(src) // Non-lethal tool that prevents any 'borg from going lethal on Crew so long as it's an option according to laws.
modules += new /obj/item/crowbar/robotic(src) // Base crowbar that all 'borgs should have access to.
emag = new /obj/item/gun/energy/lasercannon/mounted(src)
@@ -979,14 +979,14 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/crowbar/robotic(src)
modules += new /obj/item/wirecutters/robotic(src)
modules += new /obj/item/device/multitool/robotic(src)
modules += new /obj/item/multitool/robotic(src)
modules += new /obj/item/taperoll/engineering(src)
modules += new /obj/item/device/lightreplacer(src)
modules += new /obj/item/lightreplacer(src)
modules += new /obj/item/soap/drone(src)
modules += new /obj/item/extinguisher(src)
modules += new /obj/item/device/pipe_painter(src)
modules += new /obj/item/device/paint_sprayer(src)
modules += new /obj/item/device/t_scanner(src)
modules += new /obj/item/pipe_painter(src)
modules += new /obj/item/paint_sprayer(src)
modules += new /obj/item/t_scanner(src)
modules += new /obj/item/gripper/multi_purpose(src)
modules += new /obj/item/gripper/no_use/loader(src)
@@ -1055,7 +1055,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/rfd/piping/borg(src) // putting this here so it's next to the RFD-C on construction drones
/obj/item/robot_module/drone/respawn_consumable(var/mob/living/silicon/robot/R, var/amount)
var/obj/item/device/lightreplacer/LR = locate() in src.modules
var/obj/item/lightreplacer/LR = locate() in src.modules
LR.Charge(R, amount)
return ..()
@@ -1100,7 +1100,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
languages[LANGUAGE_LOCAL_DRONE] = TRUE
/obj/item/robot_module/mining_drone/proc/set_up_default(var/mob/living/silicon/robot/R, var/has_drill = TRUE)
modules += new /obj/item/device/flash(src)
modules += new /obj/item/flash(src)
if(has_drill)
modules += new /obj/item/pickaxe/drill(src)
modules += new /obj/item/storage/bag/ore/drone(src)
@@ -1109,7 +1109,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/screwdriver/robotic(src)
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/mining_scanner(src)
modules += new /obj/item/device/gps/mining(src)
modules += new /obj/item/gps/mining(src)
modules += new /obj/item/tank/jetpack/carbondioxide(src)
modules += new /obj/item/rfd/mining(src)
modules += new /obj/item/tethering_device(src)
@@ -1182,7 +1182,7 @@ GLOBAL_LIST_INIT(robot_modules, list(
/obj/item/robot_module/bluespace/Initialize(mapload, mob/living/silicon/robot/R)
. = ..()
modules += new /obj/item/device/flash(src)
modules += new /obj/item/flash(src)
modules += new /obj/item/borg/sight/meson(src)
modules += new /obj/item/rfd/construction/borg/infinite(src)
modules += new /obj/item/extinguisher(src)
@@ -1191,15 +1191,15 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/crowbar/robotic(src)
modules += new /obj/item/wirecutters/robotic(src)
modules += new /obj/item/device/multitool/robotic(src)
modules += new /obj/item/device/t_scanner(src)
modules += new /obj/item/device/analyzer(src)
modules += new /obj/item/multitool/robotic(src)
modules += new /obj/item/t_scanner(src)
modules += new /obj/item/analyzer(src)
modules += new /obj/item/gripper(src)
modules += new /obj/item/gripper/no_use/loader(src)
modules += new /obj/item/device/lightreplacer(src)
modules += new /obj/item/lightreplacer(src)
modules += new /obj/item/inflatable_dispenser(src)
// Medical
modules += new /obj/item/device/healthanalyzer(src)
modules += new /obj/item/healthanalyzer(src)
modules += new /obj/item/reagent_containers/hypospray/borghypo/medical(src)
modules += new /obj/item/surgery/scalpel(src)
modules += new /obj/item/surgery/hemostat(src)
@@ -1345,9 +1345,9 @@ GLOBAL_LIST_INIT(robot_modules, list(
modules += new /obj/item/wrench/robotic(src)
modules += new /obj/item/crowbar/robotic(src)
modules += new /obj/item/wirecutters/robotic(src)
modules += new /obj/item/device/multitool/robotic(src)
modules += new /obj/item/device/analyzer(src)
modules += new /obj/item/device/healthanalyzer(src)
modules += new /obj/item/multitool/robotic(src)
modules += new /obj/item/analyzer(src)
modules += new /obj/item/healthanalyzer(src)
modules += new /obj/item/borg/sight/thermal(src)
modules += new /obj/item/gun/energy/pulse/mounted(src)
modules += new /obj/item/gun/energy/lasercannon/mounted/cyborg/overclocked(src)
+2 -2
View File
@@ -19,7 +19,7 @@
var/law_channel = DEFAULT_LAW_CHANNEL
var/list/additional_law_channels = list("State" = "")
var/list/stating_laws = list() // Channels laws are currently being stated on
var/obj/item/device/radio/common_radio // Used to determine default channels
var/obj/item/radio/common_radio // Used to determine default channels
// Hud Stuff
var/list/hud_list[10]
@@ -38,7 +38,7 @@
)
// Utility
var/obj/item/device/camera/siliconcam/ai_camera //photography
var/obj/item/camera/siliconcam/ai_camera //photography
// ID and Access
var/list/access_rights