diff --git a/code/modules/cm_marines/dropship_ammo.dm b/code/modules/cm_marines/dropship_ammo.dm index b4eac72263cb..2720204fabc4 100644 --- a/code/modules/cm_marines/dropship_ammo.dm +++ b/code/modules/cm_marines/dropship_ammo.dm @@ -376,7 +376,7 @@ transferable_ammo = TRUE point_cost = 300 fire_mission_delay = 3 //high cooldown - var/rocket_name = "minirocket" + var/rocket_name = "minirocket" /obj/structure/ship_ammo/minirocket/detonate_on(turf/impact, obj/structure/dropship_equipment/weapon/fired_from) impact.ceiling_debris_check(2) @@ -407,8 +407,8 @@ icon_state = "minirocket_inc" point_cost = 500 fire_mission_delay = 3 //high cooldown - rocket_name = incendiary minirocket - + /rocket_name = incendiary minirocket + /obj/structure/ship_ammo/minirocket/incendiary/detonate_on(turf/impact, obj/structure/dropship_equipment/weapon/fired_from) ..() @@ -446,3 +446,37 @@ to_chat(user, SPAN_WARNING("The selected drop site is a sheer wall!")) return FALSE return TRUE + + +/obj/structure/ship_ammo/minirocket/smoke + name = "\improper 1FW-AH Smoke shell 'Fog'" + desc = "The Type 1FW-AH Smoke shell 'Fog' though it lacks a targeting system, its high ammo count and low cost of production means it is a effective way to block enemy visuals, each individual pod contains a chemical mix that produces thick, harmless smoke, or "fog" on impact. Can be loaded into the LAU-229 Rocket Pod." + icon_state = "minirocket" + icon = 'icons/obj/structures/props/almayer_props.dmi' + equipment_type = /obj/structure/dropship_equipment/weapon/minirocket_pod + ammo_count = 12 + max_ammo_count = 12 + ammo_name = "Smoke shells" + travelling_time = 70 //Slightly faster than their mini-mike siblings. + transferable_ammo = TRUE + point_cost = 200 + fire_mission_delay = 1 //Low cooldown, as the effect is relatively harmless. + rocket_name= "smoke shell" + +/obj/structure/ship_ammo/minirocket/smoke/detonate_on(turf/impact, obj/structure/dropship_equipment/weapon/fired_from) + impact.ceiling_debris_check(2) + spawn(5) + + var/datum/effect_system/smoke_spread/S = new/datum/effect_system/smoke_spread() + S.set_up(10,0,impact,null,5) + S.start() + if(!ammo_count && loc) + qdel(src) //deleted after last Smole shell is fired and impacts the ground. + +/obj/structure/ship_ammo/minirocket/smoke/show_loaded_desc(mob/user) + if(ammo_count) + return "It's loaded with \a [src] containing [ammo_count] Smoke Shells.\s." + +/obj/structure/ship_ammo/minirocket/smoke/get_examine_text(mob/user) + . = ..() + . += "It has [ammo_count] [rocket_name]\s."