Created a robotic excavation pick that enables miner robots to dig out anomalies: it can be activated in-hand to change the number of centimeters excavated. Gave the pick, a depth scanner, and a wrench to the miner robot.

This commit is contained in:
thatprogrammerguy
2014-05-01 02:24:56 -04:00
parent 556ef83532
commit 85ad5b2269
3 changed files with 19 additions and 1 deletions
@@ -206,7 +206,9 @@
modules += new /obj/item/weapon/storage/bag/ore(src)
modules += new /obj/item/weapon/pickaxe/borgdrill(src)
modules += new /obj/item/weapon/storage/bag/sheetsnatcher/borg(src)
modules += new /obj/item/weapon/wrench(src)
modules += new /obj/item/weapon/pickaxe/robotic(src)
modules += new /obj/item/device/depth_scanner(src)
/obj/item/weapon/robot_module/syndicate
name = "syndicate robot module"
@@ -98,6 +98,22 @@
drill_verb = "clearing"
w_class = 3
/obj/item/weapon/pickaxe/robotic
name = "robotic pickaxe"
icon = 'icons/obj/xenoarchaeology.dmi'
icon_state = "pick_robotic"
item_state = "syringe_0"
digspeed = 30
desc = "An adjustable pickaxe designed to be resized internally as a robotic module.."
excavation_amount = 15
var/possible_excavation_amounts = list(1, 2, 4, 6, 8, 10, 12, 30)
attack_self(var/mob/user as mob)
var/N = input("Excavation amount (in centimeters):", "[src]") as null|anything in possible_excavation_amounts
if (N)
excavation_amount = N / 2
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Pack for holding pickaxes