Add mini plasma cutters & makes them roundstart (#15310)
* Mini cutters * Move it to voucher * lower cost * that was meant to be WAY slower
@@ -24,6 +24,7 @@
|
||||
new /datum/data/mining_equipment("Super Resonator", /obj/item/resonator/upgraded, 2500, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Silver Pickaxe", /obj/item/pickaxe/silver, 1000, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Diamond Pickaxe", /obj/item/pickaxe/diamond, 2000, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Mini Plasma Cutter", /obj/item/gun/energy/plasmacutter/mini, 2500, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Plasma Cutter Shotgun", /obj/item/gun/energy/plasmacutter/scatter, 6000, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Plasma Shotgun Upgrade", /obj/item/upgrade/plasmacutter/defuser, 1000, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("KA Minebot Passthrough", /obj/item/borg/upgrade/modkit/minebot_passthrough, 100, VENDING_UPGRADE),
|
||||
@@ -193,8 +194,9 @@
|
||||
"Minebot Kit" = image(icon = 'icons/mob/aibots.dmi', icon_state = "mining_drone"),
|
||||
"Extraction and Rescue Kit" = image(icon = 'icons/obj/fulton.dmi', icon_state = "extraction_pack"),
|
||||
"Crusher Kit" = image(icon = 'icons/obj/mining.dmi', icon_state = "mining_hammer1"),
|
||||
"Mining Conscription Kit" = image(icon = 'icons/obj/storage.dmi', icon_state = "duffel")
|
||||
)
|
||||
"Mining Conscription Kit" = image(icon = 'icons/obj/storage.dmi', icon_state = "duffel"),
|
||||
"Mini Plasma Cutter Kit" = image(icon = 'icons/obj/guns/energy.dmi', icon_state="plasmacutter_mini")
|
||||
)
|
||||
|
||||
items = sortList(items)
|
||||
var/selection = show_radial_menu(redeemer, src, items, custom_check = CALLBACK(src, .proc/check_menu, voucher, redeemer), radius = 38, require_near = TRUE, tooltips = TRUE)
|
||||
@@ -222,6 +224,8 @@
|
||||
new /obj/item/twohanded/required/kinetic_crusher(drop_location)
|
||||
if("Mining Conscription Kit")
|
||||
new /obj/item/storage/backpack/duffelbag/mining_conscript(drop_location)
|
||||
if("Mini Plasma Cutter Kit")
|
||||
new /obj/item/gun/energy/plasmacutter/mini(drop_location)
|
||||
|
||||
SSblackbox.record_feedback("tally", "mining_voucher_redeemed", 1, selection)
|
||||
qdel(voucher)
|
||||
@@ -282,6 +286,7 @@
|
||||
new /datum/data/mining_equipment("Super Resonator", /obj/item/resonator/upgraded, 2000, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Silver Pickaxe", /obj/item/pickaxe/silver, 750, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Diamond Pickaxe", /obj/item/pickaxe/diamond, 1500, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Mini Plasma Cutter", /obj/item/gun/energy/plasmacutter/mini, 500, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Plasma Cutter" , /obj/item/gun/energy/plasmacutter, 2500, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Plasma Cutter Shotgun", /obj/item/gun/energy/plasmacutter/scatter, 6000, VENDING_WEAPON),
|
||||
new /datum/data/mining_equipment("Plasma Shotgun Upgrade", /obj/item/upgrade/plasmacutter/defuser, 1000, VENDING_WEAPON),
|
||||
|
||||
@@ -5,6 +5,12 @@
|
||||
delay = 15
|
||||
e_cost = 25
|
||||
|
||||
/obj/item/ammo_casing/energy/plasma/weak
|
||||
projectile_type = /obj/item/projectile/plasma/weak
|
||||
select_name = "weak plasma burst"
|
||||
fire_sound = 'sound/weapons/plasma_cutter.ogg'
|
||||
e_cost = 65
|
||||
|
||||
/obj/item/ammo_casing/energy/plasma/adv
|
||||
projectile_type = /obj/item/projectile/plasma/adv
|
||||
delay = 10
|
||||
|
||||
@@ -142,6 +142,14 @@
|
||||
var/light_intensity = 1
|
||||
var/charge_weld = 25 //amount of charge used up to start action (multiplied by amount) and per progress_flash_divisor ticks of welding
|
||||
|
||||
/obj/item/gun/energy/plasmacutter/mini
|
||||
name = "mini plasma cutter"
|
||||
desc = "A weak plasma based mining tool."
|
||||
icon_state = "plasmacutter_mini"
|
||||
item_state = "plasmacutter_mini"
|
||||
ammo_type = list(/obj/item/ammo_casing/energy/plasma/weak)
|
||||
toolspeed = 2
|
||||
|
||||
/obj/item/gun/energy/plasmacutter/Initialize()
|
||||
. = ..()
|
||||
AddComponent(/datum/component/butchering, 25, 105, 0, 'sound/weapons/plasma_cutter.ogg')
|
||||
|
||||
@@ -11,6 +11,15 @@
|
||||
muzzle_type = /obj/effect/projectile/muzzle/plasma_cutter
|
||||
impact_type = /obj/effect/projectile/impact/plasma_cutter
|
||||
|
||||
/obj/item/projectile/plasma/weak
|
||||
name = "weak plasma blast"
|
||||
icon_state = "plasmacutter_weak"
|
||||
damage_type = BRUTE
|
||||
damage = 3
|
||||
dismemberment = 5
|
||||
impact_effect_type = /obj/effect/temp_visual/impact_effect/red_laser
|
||||
mine_range = 0
|
||||
|
||||
/obj/item/projectile/plasma/on_hit(atom/target)
|
||||
. = ..()
|
||||
if(ismineralturf(target))
|
||||
|
||||
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 128 KiB |