mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-27 01:51:50 +00:00
* demos (ported from yogstation) rustg update + write with no format use external hook for logging use proper log vars fix + clarifying comment don't start the log release build of rust-g fix something caught by the lint Update code/__DEFINES/subsystems.dm Co-Authored-By: Jordan Brown <Cyberboss@users.noreply.github.com> Update code/controllers/subsystem/demo.dm Co-Authored-By: JJRcop <jrubcop@gmail.com> Update code/controllers/subsystem/demo.dm Co-Authored-By: JJRcop <jrubcop@gmail.com> moves hooks out of a dedicated file len = 0 to Cut(), remove semicolons untyped loop * updated rust_g * 513 updates
27 lines
574 B
Plaintext
27 lines
574 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", confidential = TRUE)
|
|
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.Paralyze(400)
|
|
target.stuttering = 20
|
|
|