Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CAS Weapon: BLU-200 Dragons Breath, thermobaric bomb #3832

Merged
merged 3 commits into from
Jul 22, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions code/modules/cm_marines/dropship_ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,21 @@
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(fire_spread), impact, create_cause_data(initial(name), source_mob), 6, 60, 30, "#EE6515"), 0.5 SECONDS) //Color changed into napalm's color to better convey how intense the fire actually is.
QDEL_IN(src, 0.5 SECONDS)

/obj/structure/ship_ammo/rocket/thermobaric
name = "\improper BLU-200 'Dragons Breath'"
desc = "The BLU-200 Dragons Breath a thermobaric fuel-air bomb. The aerosolized fuel mixture creates a vacuum when ignited causing serious damage to those in its way."
icon_state = "fatty"
ammo_id = "f"
travelling_time = 50
point_cost = 500
fire_mission_delay = 4

/obj/structure/ship_ammo/rocket/thermobaric/detonate_on(turf/impact)
impact.ceiling_debris_check(3)
fire_spread(impact, create_cause_data(initial(name), source_mob), 4, 25, 50, "#c96500") //Very intense but the fire doesn't last very long
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be using the timers like the others

for(var/mob/living/carbon/victim in orange(5, impact))
victim.throw_atom(impact, 3, 15, src, TRUE) // Implosion throws affected towards center of vacuum
QDEL_IN(src, 0.5 SECONDS)


//minirockets
Expand Down