diff --git a/modular_chomp/code/game/objects/effects/explosion.dm b/modular_chomp/code/game/objects/effects/explosion.dm new file mode 100644 index 0000000000..b38ae5ccbd --- /dev/null +++ b/modular_chomp/code/game/objects/effects/explosion.dm @@ -0,0 +1,68 @@ +//These are intended to be placed via buildmode for rapid deployment of explosions. + +/obj/effect/instantboom //Parent is more like a welder bomb + var/devastation = 0 + var/heavyboom = 1 + var/lightboom = 2 + var/flash = 3 + icon = null + +/obj/effect/instantboom/small //Small and will somewhat harm people without causing severe hull damage. + devastation = 0 + heavyboom = 0 + lightboom = 3 + flash = 0 + +/obj/effect/instantboom/small/wide + lightboom = 5 + +/obj/effect/instantboom/medium //Will cause hull damage and severely harm people at the epicenter. No gib + devastation = 0 + heavyboom = 3 + lightboom = 5 + flash = 6 + +/obj/effect/instantboom/large //Like getting hit directly with artillery + devastation = 2 + heavyboom = 4 + lightboom = 6 + flash = 8 + +/obj/effect/instantboom/large/concentrated //heavyboom damage in smaller area, perfect 5x5 size + devastation = 1 + heavyboom = 3 + lightboom = 3 + flash = 3 + +/obj/effect/instantboom/large/wide //Same as large but more collateral + lightboom = 9 + flash = 10 + +/obj/effect/instantboom/maxcap //Will delete departments, spam at your own risk + devastation = 4 + heavyboom = 7 + lightboom = 14 + flash = 14 + +/obj/effect/instantboom/mininuke //lol + devastation = 5 + heavyboom = 10 + lightboom = 20 + flash = 25 + +/obj/effect/instantboom/harmless //Just the noise + devastation = 0 + heavyboom = 0 + lightboom = 0 + flash = 0 + +/obj/effect/instantboom/bluespace_atrillery //Fuck that one person in paticular + devastation = 1 + heavyboom = 0 + lightboom = 0 + flash = 0 + +/obj/effect/instantboom/Initialize() + var/turf/T = get_turf(src) + explosion(T,devastation,heavyboom,lightboom,flash) + qdel(src) diff --git a/vorestation.dme b/vorestation.dme index 095e15eba7..bcfa200268 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -4848,6 +4848,7 @@ #include "modular_chomp\code\game\objects\items.dm" #include "modular_chomp\code\game\objects\mob_spawner.dm" #include "modular_chomp\code\game\objects\effects\dark_growth.dm" +#include "modular_chomp\code\game\objects\effects\explosion.dm" #include "modular_chomp\code\game\objects\effects\step_triggers.dm" #include "modular_chomp\code\game\objects\items\contraband.dm" #include "modular_chomp\code\game\objects\items\holosign_creator.dm"