Integrated Mining Drill for IPCs (#14030)

This commit is contained in:
Benedict
2022-05-23 13:37:37 -04:00
committed by GitHub
parent ba453296f3
commit a0a05dd6f4
5 changed files with 44 additions and 0 deletions

View File

@@ -148,6 +148,7 @@
#define BP_AUG_CYBORG_ANALYZER "retractable cyborg analyzer"
#define BP_AUG_LIGHTER "retractable lighter"
#define BP_AUG_HEALTHSCAN "integrated health scanner"
#define BP_AUG_DRILL "integrated mining drill"
#define BP_AUG_GUSTATORIAL "integrated gustatorial centre"
#define BP_AUG_TESLA "tesla spine"
#define BP_AUG_EYE_SENSORS "integrated eyes sensors"

View File

@@ -161,6 +161,22 @@
handies["gustatorial centre (left hand)"] = /obj/item/organ/internal/augment/gustatorial/hand/left
gear_tweaks += new /datum/gear_tweak/path(handies)
/datum/gear/augment/drill
display_name = "integrated drill"
description = "A mining drill integrated in the hand. The drill is heavy, so only industrial IPCs can use it."
path = /obj/item/organ/internal/augment/tool/drill
whitelisted = list(SPECIES_IPC_G1, SPECIES_IPC_G2, SPECIES_IPC_XION)
allowed_roles = list("Shaft Miner")
cost = 5
sort_category = "Xenowear - IPC"
/datum/gear/augment/drill/New()
..()
var/list/augs = list()
augs["integrated drill, right hand"] = /obj/item/organ/internal/augment/tool/drill
augs["integrated drill, left hand"] = /obj/item/organ/internal/augment/tool/drill/left
gear_tweaks += new /datum/gear_tweak/path(augs)
/datum/gear/accessory/syntheticcard
display_name = "synthetic residence card"
description = "An identification card given to free IPC residents within the Republic of Biesel."

View File

@@ -132,6 +132,19 @@
parent_organ = BP_L_HAND
aug_slot = slot_l_hand
/obj/item/organ/internal/augment/tool/drill
name = "integrated drill"
icon_state = "drill"
action_button_name = "Deploy Drill"
action_button_icon = "drill"
parent_organ = BP_R_HAND
organ_tag = BP_AUG_DRILL
augment_type = /obj/item/pickaxe/drill/integrated
/obj/item/organ/internal/augment/tool/drill/left
parent_organ = BP_L_HAND
aug_slot = slot_l_hand
/obj/item/organ/internal/augment/tool/combitool/lighter
name = "integrated lighter"
icon_state = "lighter-aug"

View File

@@ -320,6 +320,7 @@
/obj/item/pickaxe/drill/integrated
name = "integrated mining drill"
desc = "A integrated mining drill that is installed on the hand of the user, it can retract at the user's command."
icon_state = "integrateddrill"
item_state = "integrateddrill"