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