[MIRROR] Gives drones more basic engineering tools (multitool, RPD, scanner, t-ray) [MDB IGNORE] (#15763)

* Gives drones more basic engineering tools (multitool, RPD, scanner, t-ray) (#69364)

* Gives drones multitools, t-ray scanners, analyzers, and an RPD to their default kit.

* Gives drones more basic engineering tools (multitool, RPD, scanner, t-ray)

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-08-25 00:46:35 +02:00
committed by GitHub
parent f45987d7ec
commit b7e2bbbf4a
2 changed files with 21 additions and 1 deletions
@@ -131,6 +131,10 @@
/obj/item/wrench/drone,
/obj/item/weldingtool/drone,
/obj/item/wirecutters/drone,
/obj/item/multitool/drone,
/obj/item/pipe_dispenser,
/obj/item/t_scanner,
/obj/item/analyzer,
)
/// whitelisted drone items, recursive/includes descendants
var/list/drone_item_whitelist_recursive = list(
@@ -16,10 +16,14 @@
/obj/item/wrench/drone,
/obj/item/weldingtool/drone,
/obj/item/wirecutters/drone,
/obj/item/multitool/drone,
/obj/item/pipe_dispenser,
/obj/item/t_scanner,
/obj/item/analyzer,
)
atom_storage.max_total_storage = 40
atom_storage.max_specific_storage = WEIGHT_CLASS_NORMAL
atom_storage.max_slots = 5
atom_storage.max_slots = 9
atom_storage.rustle_sound = FALSE
atom_storage.set_holdable(drone_builtins)
@@ -31,6 +35,10 @@
builtintools += new /obj/item/wrench/drone(src)
builtintools += new /obj/item/weldingtool/drone(src)
builtintools += new /obj/item/wirecutters/drone(src)
builtintools += new /obj/item/multitool/drone(src)
builtintools += new /obj/item/pipe_dispenser(src)
builtintools += new /obj/item/t_scanner(src)
builtintools += new /obj/item/analyzer(src)
for(var/obj/item/tool as anything in builtintools)
tool.AddComponent(/datum/component/holderloving, src, TRUE)
@@ -86,3 +94,11 @@
inhand_icon_state = "cutters"
item_flags = NO_MAT_REDEMPTION
random_color = FALSE
/obj/item/multitool/drone
name = "built-in multitool"
desc = "A multitool built into your chassis."
icon = 'icons/obj/items_cyborg.dmi'
icon_state = "multitool_cyborg"
item_flags = NO_MAT_REDEMPTION
toolspeed = 0.5