mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Drill and drone fixes
- Fixes mining drones having access to a plasma cutter energy weapon, replaced with a diamond drill. Functionality is almost identical to what it was with old plasma cutters. - Pathing fixes for diamond drills.
This commit is contained in:
@@ -841,7 +841,7 @@ datum
|
||||
return 2
|
||||
|
||||
diamond_drill
|
||||
steal_target = /obj/item/weapon/pickaxe/diamonddrill
|
||||
steal_target = /obj/item/weapon/pickaxe/drill/diamonddrill
|
||||
explanation_text = "Steal a diamond drill."
|
||||
weight = 20
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ datum/theft_objective/ai/check_special_completion(var/obj/item/device/aicard/C)
|
||||
|
||||
/datum/theft_objective/special/diamond_drill
|
||||
name = "diamond drill"
|
||||
typepath = /obj/item/weapon/pickaxe/diamonddrill
|
||||
typepath = /obj/item/weapon/pickaxe/drill/diamonddrill
|
||||
|
||||
/datum/theft_objective/special/boh
|
||||
name = "bag of holding"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
new /obj/item/stack/sheet/metal(get_turf(src))
|
||||
qdel(src)
|
||||
|
||||
else if(istype(W, /obj/item/weapon/pickaxe/diamonddrill))
|
||||
else if(istype(W, /obj/item/weapon/pickaxe/drill/diamonddrill))
|
||||
user << "\blue You drill through the girder!"
|
||||
new /obj/item/stack/sheet/metal(get_turf(src))
|
||||
qdel(src)
|
||||
@@ -224,7 +224,7 @@
|
||||
user << "\blue You slice apart the girder!"
|
||||
dismantle()
|
||||
|
||||
else if(istype(W, /obj/item/weapon/pickaxe/diamonddrill))
|
||||
else if(istype(W, /obj/item/weapon/pickaxe/drill/diamonddrill))
|
||||
user << "\blue You drill through the girder!"
|
||||
dismantle()
|
||||
|
||||
|
||||
@@ -385,7 +385,7 @@
|
||||
return
|
||||
|
||||
//DRILLING
|
||||
else if (istype(W, /obj/item/weapon/pickaxe/diamonddrill))
|
||||
else if (istype(W, /obj/item/weapon/pickaxe/drill/diamonddrill))
|
||||
|
||||
user << "<span class='notice'>You begin to drill though the wall.</span>"
|
||||
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
//vv OK, we weren't performing a valid deconstruction step or igniting thermite,let's check the other possibilities vv
|
||||
|
||||
//DRILLING
|
||||
if (istype(W, /obj/item/weapon/pickaxe/diamonddrill))
|
||||
if (istype(W, /obj/item/weapon/pickaxe/drill/diamonddrill))
|
||||
|
||||
user << "<span class='notice'>You begin to drill though the wall.</span>"
|
||||
|
||||
|
||||
@@ -415,8 +415,7 @@
|
||||
src.modules += new /obj/item/weapon/reagent_containers/spray/cleaner/drone(src)
|
||||
src.modules += new /obj/item/weapon/soap(src)
|
||||
|
||||
src.emag = new /obj/item/weapon/gun/energy/plasmacutter(src)
|
||||
src.emag.name = "Plasma Cutter"
|
||||
src.emag = new /obj/item/weapon/pickaxe/drill/cyborg/diamond(src)
|
||||
|
||||
for(var/T in stacktypes)
|
||||
var/obj/item/stack/sheet/W = new T(src)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
build_type = PROTOLATHE
|
||||
materials = list("$metal" = 3000, "$glass" = 1000, "$diamond" = 3750) //Yes, a whole diamond is needed.
|
||||
reliability_base = 79
|
||||
build_path = /obj/item/weapon/pickaxe/diamonddrill
|
||||
build_path = /obj/item/weapon/pickaxe/drill/diamonddrill
|
||||
category = list("Mining")
|
||||
|
||||
/datum/design/pick_diamond
|
||||
|
||||
Reference in New Issue
Block a user