diff --git a/code/game/mecha/equipment/weapons/weapons.dm b/code/game/mecha/equipment/weapons/weapons.dm index ab9d4d2aca0..72f7c8b6fd6 100644 --- a/code/game/mecha/equipment/weapons/weapons.dm +++ b/code/game/mecha/equipment/weapons/weapons.dm @@ -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)) diff --git a/code/modules/research/designs/mechfabricator_designs.dm b/code/modules/research/designs/mechfabricator_designs.dm index 7183d356500..a3b06c5d4df 100644 --- a/code/modules/research/designs/mechfabricator_designs.dm +++ b/code/modules/research/designs/mechfabricator_designs.dm @@ -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."