mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +01:00
Adds DWDL-04 Dropwall Launcher for Mechs (#30042)
* Adds DWDL-04 Dropwall Launcher mech module * Buffed deploy speed * Updated weapon desc * Lints
This commit is contained in:
@@ -455,6 +455,30 @@
|
||||
projectile_energy_cost = 100
|
||||
harmful = FALSE
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/dropwall
|
||||
name = "\improper DWDL-04 Dropwall Launcher"
|
||||
desc = "A large, semi-automatic launcher designed by Shellguard Munitions to fire dropwall shield generators."
|
||||
icon_state = "mecha_grenadelnchr"
|
||||
origin_tech = "combat=4;engineering=4"
|
||||
projectile = /obj/item/grenade/barrier/dropwall
|
||||
missile_speed = 1.5
|
||||
projectile_energy_cost = 750
|
||||
projectiles = 4
|
||||
size = 1
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/dropwall/action(target, params)
|
||||
if(!action_checks(target))
|
||||
return
|
||||
set_ready_state(0)
|
||||
var/obj/item/grenade/barrier/dropwall/DW = new projectile(chassis.loc)
|
||||
playsound(chassis, fire_sound, 50, 1)
|
||||
DW.mode = angle2dir_cardinal(get_angle(get_turf(src), get_turf(target)))
|
||||
DW.throw_at(target, missile_range, missile_speed)
|
||||
DW.active = TRUE
|
||||
projectiles--
|
||||
log_message("Fired from [name], targeting [target].")
|
||||
do_after_cooldown()
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/banana_mortar/can_attach(obj/mecha/combat/honker/M as obj)
|
||||
if(..())
|
||||
if(istype(M))
|
||||
|
||||
@@ -980,6 +980,16 @@
|
||||
construction_time = 10 SECONDS
|
||||
category = list("Exosuit Equipment")
|
||||
|
||||
/datum/design/dropwall_launcher
|
||||
name = "Exosuit Module (DWDL-04 Dropwall Launcher)"
|
||||
id = "dropwall_launcher"
|
||||
build_type = MECHFAB
|
||||
req_tech = list("engineering" = 6, "bluespace" = 6, "combat" = 6)
|
||||
build_path = /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/cleaner
|
||||
materials = list(list(MAT_METAL = 8000, MAT_GLASS = 8000, MAT_SILVER = 4000, MAT_TITANIUM = 4000, MAT_PLASMA = 4000))
|
||||
construction_time = 10 SECONDS
|
||||
category = list("Exosuit Equipment")
|
||||
|
||||
/datum/design/mech_bola
|
||||
name = "Exosuit Weapon Design (PCMK-6 Bola Launcher)"
|
||||
desc = "Allows for the construction of PCMK-6 Bola Launcher."
|
||||
|
||||
Reference in New Issue
Block a user