[MIRROR] SM, Tesla, and general engineering adjustments [MDB IGNORE] [IDB IGNORE] (#12603)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-26 23:08:54 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 743a16c74d
commit a62b9ed8fe
83 changed files with 992 additions and 309 deletions
+9 -2
View File
@@ -56,6 +56,7 @@
use_power = USE_POWER_IDLE
idle_power_usage = 10
active_power_usage = 100
circuit = /obj/item/circuitboard/message_server
var/list/datum/data_pda_msg/pda_msgs = list()
var/list/datum/data_rc_msg/rc_msgs = list()
@@ -159,7 +160,7 @@
Console.set_light(2)
/obj/machinery/message_server/attack_hand(user as mob)
/obj/machinery/message_server/attack_hand(mob/living/user)
// to_chat(user, span_blue("There seem to be some parts missing from this server. They should arrive on the station in a few days, give or take a few CentCom delays."))
to_chat(user, span_filter_notice("You toggle PDA message passing from [active ? "On" : "Off"] to [active ? "Off" : "On"]."))
active = !active
@@ -167,7 +168,13 @@
return
/obj/machinery/message_server/attackby(obj/item/O as obj, mob/living/user as mob)
/obj/machinery/message_server/attackby(obj/item/O, mob/living/user)
if(default_deconstruction_screwdriver(user, O))
return
if(default_deconstruction_crowbar(user, O))
return
if (active && !(stat & (BROKEN|NOPOWER)) && (spamfilter_limit < MESSAGE_SERVER_DEFAULT_SPAM_LIMIT*2) && \
istype(O,/obj/item/circuitboard/message_monitor))
spamfilter_limit += round(MESSAGE_SERVER_DEFAULT_SPAM_LIMIT / 2)
@@ -116,6 +116,16 @@
)
departmental_flags = DEPARTMENT_BITFLAG_ENGINEERING | DEPARTMENT_BITFLAG_SCIENCE
/datum/design_techweb/board/hydromagnetic_trap
SET_CIRCUIT_DESIGN_NAMEDESC("hydromagnetic trap")
id = "hydromagnetic_trap"
// req_tech = list(TECH_POWER = 3, TECH_ENGINEERING = 3)
build_path = /obj/item/circuitboard/hydromagnetic_trap
category = list(
RND_CATEGORY_MACHINE + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_ENGINEERING | DEPARTMENT_BITFLAG_SCIENCE
/datum/design_techweb/board/secure_airlock
name = "secure airlock electronics circuit"
desc = "Allows for the construction of a tamper-resistant airlock electronics."
@@ -360,6 +370,15 @@
)
departmental_flags = DEPARTMENT_BITFLAG_ENGINEERING | DEPARTMENT_BITFLAG_SCIENCE
/datum/design_techweb/board/mass_driver_button
SET_CIRCUIT_DESIGN_NAMEDESC("mass driver button")
id = "mass_driver_button"
build_path = /obj/item/circuitboard/mass_driver_button
category = list(
RND_CATEGORY_MACHINE + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_ENGINEERING | DEPARTMENT_BITFLAG_SCIENCE
/datum/design_techweb/board/automatic_pipe_layer
SET_CIRCUIT_DESIGN_NAMEDESC("automatic pipe layer")
id = "automatic_pipe_layer"
@@ -404,3 +423,125 @@
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
//Smartfridges
/datum/design_techweb/board/drying_rack
SET_CIRCUIT_DESIGN_NAMEDESC("drying rack")
id = "drying_rack_circuit"
build_path = /obj/item/circuitboard/smartfridge/drying
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/industrial_sheet_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge industrial sheet storage")
id = "industrial_sheet_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/sheets
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/mining_sheet_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge mining sheet storage")
id = "mining_sheet_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/sheets/mining
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/refrigerated_medicine_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge refrigerated medicine storage")
id = "refrigerated_medicine_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/medbay
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/secure_refrigerated_medicine_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge secure refrigerated medicine storage")
id = "secure_refrigerated_medicine_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/medbay/secure
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/biological_sample_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge biological sample storage")
id = "biological_sample_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/science
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/food_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge food storage")
id = "food_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/kitchen
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/drink_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge drink storage")
id = "drink_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/drinks
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/drink_showcase
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge drink showcase")
id = "drink_showcase_circuit"
build_path = /obj/item/circuitboard/smartfridge/drinks/showcase
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/produce_showcase
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge produce storage")
id = "produce_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/produce
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/seed_storage
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge seed storage")
id = "seed_storage_circuit"
build_path = /obj/item/circuitboard/smartfridge/seeds
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/chemavator_storage_upper
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge smart chemavator - upper")
id = "chemavator_storage_upper_circuit"
build_path = /obj/item/circuitboard/smartfridge/chemvator
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
/datum/design_techweb/board/chemavator_storage_lower
SET_CIRCUIT_DESIGN_NAMEDESC("smartfridge smart chemavator - lower")
id = "chemavator_storage_lower_circuit"
build_path = /obj/item/circuitboard/smartfridge/chemvator/down
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_ENGINEERING
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_ENGINEERING
@@ -325,3 +325,14 @@
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_SERVICE
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_SERVICE
/datum/design_techweb/board/account_console
SET_CIRCUIT_DESIGN_NAMEDESC("account database console")
id = "account_console"
build_type = AUTOLATHE | IMPRINTER // Simple circuit
build_path = /obj/item/circuitboard/account_console
category = list(
RND_CATEGORY_COMPUTER + RND_SUBCATEGORY_MACHINE_SERVICE
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE | DEPARTMENT_BITFLAG_COMMAND
@@ -74,6 +74,11 @@
id = "comm_traffic"
build_path = /obj/item/circuitboard/comm_traffic
/datum/design_techweb/board/tcom/message_server
SET_CIRCUIT_DESIGN_NAMEDESC("message server")
id = "message_server"
build_path = /obj/item/circuitboard/message_server
// Telecomm parts
/datum/design_techweb/subspace
desc = "Complex components used to construct and repair telecomms machinery."
@@ -107,6 +107,7 @@
"tcom-receiver",
"tcom-exonet_node",
"message_monitor",
"message_server",
"comm_monitor",
"comm_server",
"ntnet_relay",
@@ -200,6 +201,7 @@
"large_light_tube",
"floor_light",
"electrochromic",
"mass_driver_button",
// "crossing_signal",
// "guideway_sensor",
// "manuunloader",
@@ -240,6 +242,7 @@
"smes_cell",
"grid_checker",
"breakerbox",
"hydromagnetic_trap",
"tesla_coil",
"rtg",
// "apc_control",
@@ -381,6 +384,30 @@
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = TECHWEB_TIER_2_POINTS)
announce_channels = list(CHANNEL_ENGINEERING,CHANNEL_MEDICAL)
/datum/techweb_node/smartfridges
id = TECHWEB_NODE_SMARTFRIDGES
display_name = "Smart Fridges"
description = "Is it the space that makes the fridge smart, or the fridge that makes the space smart?"
prereq_ids = list(TECHWEB_NODE_PARTS_UPG)
design_ids = list(
"drying_rack_circuit",
"industrial_sheet_storage_circuit",
"mining_sheet_storage_circuit",
"refrigerated_medicine_storage_circuit",
"secure_refrigerated_medicine_storage_circuit",
"biological_sample_storage_circuit",
"food_storage_circuit",
"drink_storage_circuit",
"drink_showcase_circuit",
"produce_storage_circuit",
"seed_storage_circuit",
"chemavator_storage_upper_circuit",
"chemavator_storage_lower_circuit",
)
research_costs = list(TECHWEB_POINT_TYPE_GENERIC = TECHWEB_TIER_2_POINTS)
announce_channels = list(CHANNEL_ENGINEERING)
/datum/techweb_node/cells_empproof
id = TECHWEB_NODE_PARTS_EMP_PROOF
display_name = "EMP-Proof Parts"
@@ -117,7 +117,7 @@
"gps_exp",
// "automated_announcement",
"bankmachine",
// "account_console",
"account_console",
"idcard",
"idrestore_console",
"guestpass",