* 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.
28 lines
568 B
Plaintext
28 lines
568 B
Plaintext
/client/proc/bluespace_artillery(mob/M in GLOB.mob_list)
|
|
if(!holder || !check_rights(R_FUN))
|
|
return
|
|
|
|
var/mob/living/target = M
|
|
|
|
if(!isliving(target))
|
|
to_chat(usr, "This can only be used on instances of type /mob/living")
|
|
return
|
|
|
|
explosion(target.loc, 0, 0, 0, 0)
|
|
|
|
var/turf/open/floor/T = get_turf(target)
|
|
if(istype(T))
|
|
if(prob(80))
|
|
T.break_tile_to_plating()
|
|
else
|
|
T.break_tile()
|
|
|
|
if(target.health <= 1)
|
|
target.gib(1, 1)
|
|
else
|
|
target.adjustBruteLoss(min(99,(target.health - 1)))
|
|
target.Stun(20)
|
|
target.Weaken(20)
|
|
target.stuttering = 20
|
|
|