mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user