mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Converts ALL typepaths to lowercase (#51642)
* Case of lower * More changes * Ruins the nice 420 diff, brainfart when doing the second batch of conversions * More changes * Next batch. I think * Converts even more paths * Restarts bots * Capital Free Zone * Come on travis, do something * Renames areas * Bots, please stop dying * Updates CONTRIBUTING.md and updates a few paths I missed. * APC recgarftzfvas /obj/item/computer_hardware/recharger/apc to /obj/item/computer_hardware/recharger/apc_recharger
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/obj/structure/AIcore
|
||||
/obj/structure/ai_core
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
name = "\improper AI core"
|
||||
@@ -12,12 +12,12 @@
|
||||
var/obj/item/mmi/brain
|
||||
var/can_deconstruct = TRUE
|
||||
|
||||
/obj/structure/AIcore/Initialize()
|
||||
/obj/structure/ai_core/Initialize()
|
||||
. = ..()
|
||||
laws = new
|
||||
laws.set_laws_config()
|
||||
|
||||
/obj/structure/AIcore/handle_atom_del(atom/A)
|
||||
/obj/structure/ai_core/handle_atom_del(atom/A)
|
||||
if(A == circuit)
|
||||
circuit = null
|
||||
if((state != GLASS_CORE) && (state != AI_READY_CORE))
|
||||
@@ -28,7 +28,7 @@
|
||||
. = ..()
|
||||
|
||||
|
||||
/obj/structure/AIcore/Destroy()
|
||||
/obj/structure/ai_core/Destroy()
|
||||
if(circuit)
|
||||
qdel(circuit)
|
||||
circuit = null
|
||||
@@ -37,7 +37,7 @@
|
||||
brain = null
|
||||
return ..()
|
||||
|
||||
/obj/structure/AIcore/latejoin_inactive
|
||||
/obj/structure/ai_core/latejoin_inactive
|
||||
name = "networked AI core"
|
||||
desc = "This AI core is connected by bluespace transmitters to NTNet, allowing for an AI personality to be downloaded to it on the fly mid-shift."
|
||||
can_deconstruct = FALSE
|
||||
@@ -48,12 +48,12 @@
|
||||
var/safety_checks = TRUE
|
||||
var/active = TRUE
|
||||
|
||||
/obj/structure/AIcore/latejoin_inactive/examine(mob/user)
|
||||
/obj/structure/ai_core/latejoin_inactive/examine(mob/user)
|
||||
. = ..()
|
||||
. += "Its transmitter seems to be <b>[active? "on" : "off"]</b>."
|
||||
. += "<span class='notice'>You could [active? "deactivate" : "activate"] it with a multitool.</span>"
|
||||
|
||||
/obj/structure/AIcore/latejoin_inactive/proc/is_available() //If people still manage to use this feature to spawn-kill AI latejoins ahelp them.
|
||||
/obj/structure/ai_core/latejoin_inactive/proc/is_available() //If people still manage to use this feature to spawn-kill AI latejoins ahelp them.
|
||||
if(!available)
|
||||
return FALSE
|
||||
if(!safety_checks)
|
||||
@@ -72,22 +72,22 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/structure/AIcore/latejoin_inactive/attackby(obj/item/P, mob/user, params)
|
||||
/obj/structure/ai_core/latejoin_inactive/attackby(obj/item/P, mob/user, params)
|
||||
if(P.tool_behaviour == TOOL_MULTITOOL)
|
||||
active = !active
|
||||
to_chat(user, "<span class='notice'>You [active? "activate" : "deactivate"] \the [src]'s transmitters.</span>")
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/structure/AIcore/latejoin_inactive/Initialize()
|
||||
/obj/structure/ai_core/latejoin_inactive/Initialize()
|
||||
. = ..()
|
||||
GLOB.latejoin_ai_cores += src
|
||||
|
||||
/obj/structure/AIcore/latejoin_inactive/Destroy()
|
||||
/obj/structure/ai_core/latejoin_inactive/Destroy()
|
||||
GLOB.latejoin_ai_cores -= src
|
||||
return ..()
|
||||
|
||||
/obj/structure/AIcore/attackby(obj/item/P, mob/user, params)
|
||||
/obj/structure/ai_core/attackby(obj/item/P, mob/user, params)
|
||||
if(P.tool_behaviour == TOOL_WRENCH)
|
||||
return default_unfasten_wrench(user, P, 20)
|
||||
if(!anchored)
|
||||
@@ -175,11 +175,11 @@
|
||||
to_chat(user, "<span class='warning'>You need two sheets of reinforced glass to insert them into the AI core!</span>")
|
||||
return
|
||||
|
||||
if(istype(P, /obj/item/aiModule))
|
||||
if(istype(P, /obj/item/ai_module))
|
||||
if(brain && brain.laws.id != DEFAULT_AI_LAWID)
|
||||
to_chat(user, "<span class='warning'>The installed [brain.name] already has set laws!</span>")
|
||||
return
|
||||
var/obj/item/aiModule/module = P
|
||||
var/obj/item/ai_module/module = P
|
||||
module.install(laws, user)
|
||||
return
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/structure/AIcore/update_icon_state()
|
||||
/obj/structure/ai_core/update_icon_state()
|
||||
switch(state)
|
||||
if(EMPTY_CORE)
|
||||
icon_state = "0"
|
||||
@@ -273,7 +273,7 @@
|
||||
if(AI_READY_CORE)
|
||||
icon_state = "ai-empty"
|
||||
|
||||
/obj/structure/AIcore/deconstruct(disassembled = TRUE)
|
||||
/obj/structure/ai_core/deconstruct(disassembled = TRUE)
|
||||
if(state == GLASS_CORE)
|
||||
new /obj/item/stack/sheet/rglass(loc, 2)
|
||||
if(state >= CABLED_CORE)
|
||||
@@ -284,13 +284,13 @@
|
||||
new /obj/item/stack/sheet/plasteel(loc, 4)
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/AIcore/deactivated
|
||||
/obj/structure/ai_core/deactivated
|
||||
name = "inactive AI"
|
||||
icon_state = "ai-empty"
|
||||
anchored = TRUE
|
||||
state = AI_READY_CORE
|
||||
|
||||
/obj/structure/AIcore/deactivated/Initialize()
|
||||
/obj/structure/ai_core/deactivated/Initialize()
|
||||
. = ..()
|
||||
circuit = new(src)
|
||||
|
||||
@@ -310,7 +310,7 @@ That prevents a few funky behaviors.
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/structure/AIcore/transfer_ai(interaction, mob/user, mob/living/silicon/ai/AI, obj/item/aicard/card)
|
||||
/obj/structure/ai_core/transfer_ai(interaction, mob/user, mob/living/silicon/ai/AI, obj/item/aicard/card)
|
||||
if(state != AI_READY_CORE || !..())
|
||||
return
|
||||
//Transferring a carded AI to a core.
|
||||
|
||||
@@ -186,7 +186,7 @@
|
||||
painting_name = new_name
|
||||
SStgui.update_uis(src)
|
||||
|
||||
/obj/item/canvas/nineteenXnineteen
|
||||
/obj/item/canvas/nineteen_nineteen
|
||||
icon_state = "19x19"
|
||||
width = 19
|
||||
height = 19
|
||||
@@ -197,7 +197,7 @@
|
||||
framed_offset_x = 8
|
||||
framed_offset_y = 9
|
||||
|
||||
/obj/item/canvas/twentythreeXnineteen
|
||||
/obj/item/canvas/twentythree_nineteen
|
||||
icon_state = "23x19"
|
||||
width = 23
|
||||
height = 19
|
||||
@@ -208,7 +208,7 @@
|
||||
framed_offset_x = 6
|
||||
framed_offset_y = 8
|
||||
|
||||
/obj/item/canvas/twentythreeXtwentythree
|
||||
/obj/item/canvas/twentythree_twentythree
|
||||
icon_state = "23x23"
|
||||
width = 23
|
||||
height = 23
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
new /obj/item/export_scanner(src)
|
||||
new /obj/item/door_remote/quartermaster(src)
|
||||
new /obj/item/circuitboard/machine/techfab/department/cargo(src)
|
||||
new /obj/item/storage/photo_album/QM(src)
|
||||
new /obj/item/storage/photo_album/qm(src)
|
||||
new /obj/item/circuitboard/machine/ore_silo(src)
|
||||
new /obj/item/card/id/departmental_budget/car(src)
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
new /obj/item/pipe_dispenser(src)
|
||||
new /obj/item/circuitboard/machine/techfab/department/engineering(src)
|
||||
new /obj/item/extinguisher/advanced(src)
|
||||
new /obj/item/storage/photo_album/CE(src)
|
||||
new /obj/item/storage/photo_album/ce(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/engineering_electrical
|
||||
name = "electrical supplies locker"
|
||||
|
||||
@@ -66,12 +66,12 @@
|
||||
new /obj/item/clothing/mask/muzzle(src)
|
||||
new /obj/item/clothing/glasses/blindfold(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/CMO
|
||||
/obj/structure/closet/secure_closet/chief_medical
|
||||
name = "\proper chief medical officer's locker"
|
||||
req_access = list(ACCESS_CMO)
|
||||
icon_state = "cmo"
|
||||
|
||||
/obj/structure/closet/secure_closet/CMO/PopulateContents()
|
||||
/obj/structure/closet/secure_closet/chief_medical/PopulateContents()
|
||||
..()
|
||||
new /obj/item/clothing/neck/cloak/cmo(src)
|
||||
new /obj/item/clothing/suit/bio_suit/cmo(src)
|
||||
@@ -87,14 +87,14 @@
|
||||
new /obj/item/clothing/gloves/color/latex/nitrile(src)
|
||||
new /obj/item/healthanalyzer/advanced(src)
|
||||
new /obj/item/assembly/flash/handheld(src)
|
||||
new /obj/item/reagent_containers/hypospray/CMO(src)
|
||||
new /obj/item/reagent_containers/hypospray/cmo(src)
|
||||
new /obj/item/autosurgeon/cmo(src)
|
||||
new /obj/item/door_remote/chief_medical_officer(src)
|
||||
new /obj/item/clothing/neck/petcollar(src)
|
||||
new /obj/item/pet_carrier(src)
|
||||
new /obj/item/wallframe/defib_mount(src)
|
||||
new /obj/item/circuitboard/machine/techfab/department/medical(src)
|
||||
new /obj/item/storage/photo_album/CMO(src)
|
||||
new /obj/item/storage/photo_album/cmo(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/animal
|
||||
name = "animal control"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/obj/structure/closet/secure_closet/ertCom
|
||||
/obj/structure/closet/secure_closet/ert_com
|
||||
name = "emergency response team commander's locker"
|
||||
desc = "A storage unit containing equipment for an Emergency Response Team Commander."
|
||||
req_access = list(ACCESS_CENT_CAPTAIN)
|
||||
icon_state = "cap"
|
||||
|
||||
/obj/structure/closet/secure_closet/ertCom/PopulateContents()
|
||||
/obj/structure/closet/secure_closet/ert_com/PopulateContents()
|
||||
..()
|
||||
new /obj/item/storage/firstaid/regular(src)
|
||||
new /obj/item/storage/box/handcuffs(src)
|
||||
@@ -19,13 +19,13 @@
|
||||
new /obj/item/ammo_box/a357(src)
|
||||
new /obj/item/gun/ballistic/revolver/mateba(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/ertSec
|
||||
/obj/structure/closet/secure_closet/ert_sec
|
||||
name = "emergency response team security locker"
|
||||
desc = "A storage unit containing equipment for an Emergency Response Team Security Officer."
|
||||
req_access = list(ACCESS_CENT_SPECOPS)
|
||||
icon_state = "hos"
|
||||
|
||||
/obj/structure/closet/secure_closet/ertSec/PopulateContents()
|
||||
/obj/structure/closet/secure_closet/ert_sec/PopulateContents()
|
||||
..()
|
||||
new /obj/item/storage/box/flashbangs(src)
|
||||
new /obj/item/storage/box/teargas(src)
|
||||
@@ -33,13 +33,13 @@
|
||||
new /obj/item/storage/box/handcuffs(src)
|
||||
new /obj/item/shield/riot/tele(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/ertMed
|
||||
/obj/structure/closet/secure_closet/ert_med
|
||||
name = "emergency response team medical locker"
|
||||
desc = "A storage unit containing equipment for an Emergency Response Team Medical Officer."
|
||||
req_access = list(ACCESS_CENT_MEDICAL)
|
||||
icon_state = "cmo"
|
||||
|
||||
/obj/structure/closet/secure_closet/ertMed/PopulateContents()
|
||||
/obj/structure/closet/secure_closet/ert_med/PopulateContents()
|
||||
..()
|
||||
new /obj/item/storage/firstaid/o2(src)
|
||||
new /obj/item/storage/firstaid/toxin(src)
|
||||
@@ -49,13 +49,13 @@
|
||||
new /obj/item/defibrillator/compact/combat/loaded/nanotrasen(src)
|
||||
new /mob/living/simple_animal/bot/medbot(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/ertEngi
|
||||
/obj/structure/closet/secure_closet/ert_engi
|
||||
name = "emergency response team engineer locker"
|
||||
desc = "A storage unit containing equipment for an Emergency Response Team Engineer."
|
||||
req_access = list(ACCESS_CENT_STORAGE)
|
||||
icon_state = "ce"
|
||||
|
||||
/obj/structure/closet/secure_closet/ertEngi/PopulateContents()
|
||||
/obj/structure/closet/secure_closet/ert_engi/PopulateContents()
|
||||
..()
|
||||
new /obj/item/stack/sheet/plasteel(src, 50)
|
||||
new /obj/item/stack/sheet/metal(src, 50)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/obj/structure/closet/secure_closet/RD
|
||||
/obj/structure/closet/secure_closet/research_director
|
||||
name = "\proper research director's locker"
|
||||
req_access = list(ACCESS_RD)
|
||||
icon_state = "rd"
|
||||
|
||||
/obj/structure/closet/secure_closet/RD/PopulateContents()
|
||||
/obj/structure/closet/secure_closet/research_director/PopulateContents()
|
||||
..()
|
||||
new /obj/item/clothing/neck/cloak/rd(src)
|
||||
new /obj/item/clothing/suit/bio_suit/scientist(src)
|
||||
@@ -25,4 +25,4 @@
|
||||
new /obj/item/laser_pointer(src)
|
||||
new /obj/item/door_remote/research_director(src)
|
||||
new /obj/item/circuitboard/machine/techfab/department/science(src)
|
||||
new /obj/item/storage/photo_album/RD(src)
|
||||
new /obj/item/storage/photo_album/rd(src)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
new /obj/item/gun/energy/e_gun(src)
|
||||
new /obj/item/door_remote/captain(src)
|
||||
new /obj/item/card/id/captains_spare(src)
|
||||
new /obj/item/storage/photo_album/Captain(src)
|
||||
new /obj/item/storage/photo_album/captain(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/hop
|
||||
name = "\proper head of personnel's locker"
|
||||
@@ -60,7 +60,7 @@
|
||||
new /obj/item/pet_carrier(src)
|
||||
new /obj/item/door_remote/civilian(src)
|
||||
new /obj/item/circuitboard/machine/techfab/department/service(src)
|
||||
new /obj/item/storage/photo_album/HoP(src)
|
||||
new /obj/item/storage/photo_album/hop(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/hos
|
||||
name = "\proper head of security's locker"
|
||||
@@ -79,7 +79,7 @@
|
||||
new /obj/item/clothing/under/rank/security/head_of_security/skirt(src)
|
||||
new /obj/item/clothing/under/rank/security/head_of_security/alt(src)
|
||||
new /obj/item/clothing/under/rank/security/head_of_security/alt/skirt(src)
|
||||
new /obj/item/clothing/head/HoS(src)
|
||||
new /obj/item/clothing/head/hos(src)
|
||||
new /obj/item/clothing/glasses/hud/security/sunglasses/eyepatch(src)
|
||||
new /obj/item/clothing/glasses/hud/security/sunglasses/gars/supergars(src)
|
||||
new /obj/item/clothing/under/rank/security/head_of_security/grey(src)
|
||||
@@ -94,7 +94,7 @@
|
||||
new /obj/item/gun/energy/e_gun/hos(src)
|
||||
new /obj/item/pinpointer/nuke(src)
|
||||
new /obj/item/circuitboard/machine/techfab/department/security(src)
|
||||
new /obj/item/storage/photo_album/HoS(src)
|
||||
new /obj/item/storage/photo_album/hos(src)
|
||||
|
||||
/obj/structure/closet/secure_closet/warden
|
||||
name = "\proper warden's locker"
|
||||
|
||||
@@ -142,11 +142,11 @@
|
||||
. = ..()
|
||||
new /obj/item/reagent_containers/blood(src)
|
||||
new /obj/item/reagent_containers/blood(src)
|
||||
new /obj/item/reagent_containers/blood/AMinus(src)
|
||||
new /obj/item/reagent_containers/blood/BMinus(src)
|
||||
new /obj/item/reagent_containers/blood/BPlus(src)
|
||||
new /obj/item/reagent_containers/blood/OMinus(src)
|
||||
new /obj/item/reagent_containers/blood/OPlus(src)
|
||||
new /obj/item/reagent_containers/blood/a_minus(src)
|
||||
new /obj/item/reagent_containers/blood/b_minus(src)
|
||||
new /obj/item/reagent_containers/blood/b_plus(src)
|
||||
new /obj/item/reagent_containers/blood/o_minus(src)
|
||||
new /obj/item/reagent_containers/blood/o_plus(src)
|
||||
new /obj/item/reagent_containers/blood/lizard(src)
|
||||
new /obj/item/reagent_containers/blood/ethereal(src)
|
||||
for(var/i in 1 to 3)
|
||||
|
||||
@@ -479,9 +479,9 @@
|
||||
short_desc = "You are a crewmember aboard the syndicate flagship: the SBC Starfury."
|
||||
flavour_text = "Your job is to follow your captain's orders, maintain the ship, and keep the engine running. If you are not familiar with how the supermatter engine functions: do not attempt to start it."
|
||||
important_info = "The armory is not a candy store, and your role is not to assault the station directly, leave that work to the assault operatives."
|
||||
outfit = /datum/outfit/syndicate_empty/SBC
|
||||
outfit = /datum/outfit/syndicate_empty/battlecruiser
|
||||
|
||||
/datum/outfit/syndicate_empty/SBC
|
||||
/datum/outfit/syndicate_empty/battlecruiser
|
||||
name = "Syndicate Battlecruiser Ship Operative"
|
||||
l_pocket = /obj/item/gun/ballistic/automatic/pistol
|
||||
r_pocket = /obj/item/kitchen/knife/combat/survival
|
||||
@@ -492,9 +492,9 @@
|
||||
short_desc = "You are an assault operative aboard the syndicate flagship: the SBC Starfury."
|
||||
flavour_text = "Your job is to follow your captain's orders, keep intruders out of the ship, and assault Space Station 13. There is an armory, multiple assault ships, and beam cannons to attack the station with."
|
||||
important_info = "Work as a team with your fellow operatives and work out a plan of attack. If you are overwhelmed, escape back to your ship!"
|
||||
outfit = /datum/outfit/syndicate_empty/SBC/assault
|
||||
outfit = /datum/outfit/syndicate_empty/battlecruiser/assault
|
||||
|
||||
/datum/outfit/syndicate_empty/SBC/assault
|
||||
/datum/outfit/syndicate_empty/battlecruiser/assault
|
||||
name = "Syndicate Battlecruiser Assault Operative"
|
||||
uniform = /obj/item/clothing/under/syndicate/combat
|
||||
l_pocket = /obj/item/ammo_box/magazine/m10mm
|
||||
@@ -510,17 +510,17 @@
|
||||
short_desc = "You are the captain aboard the syndicate flagship: the SBC Starfury."
|
||||
flavour_text = "Your job is to oversee your crew, defend the ship, and destroy Space Station 13. The ship has an armory, multiple ships, beam cannons, and multiple crewmembers to accomplish this goal."
|
||||
important_info = "As the captain, this whole operation falls on your shoulders. You do not need to nuke the station, causing sufficient damage and preventing your ship from being destroyed will be enough."
|
||||
outfit = /datum/outfit/syndicate_empty/SBC/assault/captain
|
||||
outfit = /datum/outfit/syndicate_empty/battlecruiser/assault/captain
|
||||
id_access_list = list(150,151)
|
||||
|
||||
/datum/outfit/syndicate_empty/SBC/assault/captain
|
||||
/datum/outfit/syndicate_empty/battlecruiser/assault/captain
|
||||
name = "Syndicate Battlecruiser Captain"
|
||||
l_pocket = /obj/item/melee/transforming/energy/sword/saber/red
|
||||
r_pocket = /obj/item/melee/classic_baton/telescopic
|
||||
suit = /obj/item/clothing/suit/armor/vest/capcarapace/syndicate
|
||||
suit_store = /obj/item/gun/ballistic/revolver/mateba
|
||||
back = /obj/item/storage/backpack/satchel/leather
|
||||
head = /obj/item/clothing/head/HoS/syndicate
|
||||
head = /obj/item/clothing/head/hos/syndicate
|
||||
mask = /obj/item/clothing/mask/cigarette/cigar/havana
|
||||
glasses = /obj/item/clothing/glasses/thermal/eyepatch
|
||||
|
||||
@@ -698,7 +698,7 @@
|
||||
/datum/outfit/syndicatespace/syndicaptain
|
||||
name = "Syndicate Ship Captain"
|
||||
suit = /obj/item/clothing/suit/armor/vest/capcarapace/syndicate
|
||||
head = /obj/item/clothing/head/HoS/beret/syndicate
|
||||
head = /obj/item/clothing/head/hos/beret/syndicate
|
||||
ears = /obj/item/radio/headset/syndicate/alt/leader
|
||||
shoes = /obj/item/clothing/shoes/combat
|
||||
gloves = /obj/item/clothing/gloves/combat
|
||||
|
||||
Reference in New Issue
Block a user