RnD Tech Processors (#12136)

This commit is contained in:
Geeves
2021-07-06 22:30:41 -03:00
committed by GitHub
parent f5dc81d247
commit ce19ab1681
15 changed files with 217 additions and 42 deletions
@@ -66,6 +66,7 @@
buffer_object = buffer
if(buffer_object)
destroyed_event.register(buffer_object, src, /obj/item/device/multitool/proc/unregister_buffer)
update_icon()
/obj/item/device/multitool/proc/unregister_buffer(var/atom/buffer_to_unregister)
// Only remove the buffered object, don't reset the name
@@ -73,6 +74,7 @@
if(buffer_to_unregister == buffer_object && buffer_object)
destroyed_event.unregister(buffer_object, src)
buffer_object = null
update_icon()
/obj/item/device/multitool/resolve_attackby(atom/A, mob/user, var/click_parameters)
if(!isobj(A))
@@ -16,4 +16,24 @@
#define CHANNEL_MERCENARY "Mercenary"
#define CHANNEL_NINJA "Ninja"
#define CHANNEL_BLUESPACE "Bluespace"
#define CHANNEL_BURGLAR "Burglar"
#define CHANNEL_BURGLAR "Burglar"
var/global/list/ALL_RADIO_CHANNELS = list(
CHANNEL_COMMON = TRUE,
CHANNEL_ENTERTAINMENT = TRUE,
CHANNEL_COMMAND = TRUE,
CHANNEL_SCIENCE = TRUE,
CHANNEL_MEDICAL = TRUE,
CHANNEL_ENGINEERING = TRUE,
CHANNEL_SECURITY = TRUE,
CHANNEL_SUPPLY = TRUE,
CHANNEL_SERVICE = TRUE,
CHANNEL_AI_PRIVATE = TRUE,
CHANNEL_PENAL = TRUE,
CHANNEL_RESPONSE_TEAM = TRUE,
CHANNEL_RAIDER = TRUE,
CHANNEL_MERCENARY = TRUE,
CHANNEL_NINJA = TRUE,
CHANNEL_BLUESPACE = TRUE,
CHANNEL_BURGLAR = TRUE
)
@@ -808,3 +808,7 @@ var/global/list/default_medbay_channels = list(
/obj/item/device/radio/phone/medbay/Initialize()
. = ..()
internal_channels = default_medbay_channels.Copy()
/obj/item/device/radio/all_channels/Initialize()
channels = ALL_RADIO_CHANNELS.Copy()
. = ..()
@@ -11,6 +11,16 @@ obj/item/circuitboard/rdserver
"/obj/item/stack/cable_coil" = 2,
"/obj/item/stock_parts/scanning_module" = 1)
obj/item/circuitboard/rdtechprocessor
name = T_BOARD("R&D tech processor")
build_path = /obj/machinery/r_n_d/tech_processor
board_type = "machine"
origin_tech = list(TECH_DATA = 3)
req_components = list(
"/obj/item/stack/cable_coil" = 2,
"/obj/item/stock_parts/scanning_module" = 2
)
/obj/item/circuitboard/destructive_analyzer
name = T_BOARD("destructive analyzer")
build_path = /obj/machinery/r_n_d/destructive_analyzer