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:
PollardTheDragon
2025-08-19 09:35:52 -04:00
committed by GitHub
parent 4ff7e00979
commit 747bea4fce
2 changed files with 34 additions and 0 deletions
@@ -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."