* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
/obj/effect/particle_effect/expl_particles
|
|
name = "fire"
|
|
icon_state = "explosion_particle"
|
|
opacity = 1
|
|
anchored = 1
|
|
|
|
/obj/effect/particle_effect/expl_particles/New()
|
|
..()
|
|
QDEL_IN(src, 15)
|
|
|
|
/datum/effect_system/expl_particles
|
|
number = 10
|
|
|
|
/datum/effect_system/expl_particles/start()
|
|
for(var/i in 1 to number)
|
|
spawn(0)
|
|
var/obj/effect/particle_effect/expl_particles/expl = new /obj/effect/particle_effect/expl_particles(location)
|
|
var/direct = pick(GLOB.alldirs)
|
|
var/steps_amt = pick(1;25,2;50,3,4;200)
|
|
for(var/j in 1 to steps_amt)
|
|
sleep(1)
|
|
step(expl,direct)
|
|
|
|
/obj/effect/explosion
|
|
name = "fire"
|
|
icon = 'icons/effects/96x96.dmi'
|
|
icon_state = "explosion"
|
|
opacity = 1
|
|
anchored = 1
|
|
mouse_opacity = 0
|
|
pixel_x = -32
|
|
pixel_y = -32
|
|
|
|
/obj/effect/explosion/New()
|
|
..()
|
|
QDEL_IN(src, 10)
|
|
|
|
/datum/effect_system/explosion
|
|
|
|
/datum/effect_system/explosion/set_up(loca)
|
|
if(isturf(loca))
|
|
location = loca
|
|
else
|
|
location = get_turf(loca)
|
|
|
|
/datum/effect_system/explosion/start()
|
|
new/obj/effect/explosion( location )
|
|
var/datum/effect_system/expl_particles/P = new/datum/effect_system/expl_particles()
|
|
P.set_up(10, 0, location)
|
|
P.start()
|
|
|
|
/datum/effect_system/explosion/smoke
|
|
|
|
/datum/effect_system/explosion/smoke/start()
|
|
..()
|
|
spawn(5)
|
|
var/datum/effect_system/smoke_spread/S = new
|
|
S.set_up(2, location)
|
|
S.start()
|