Tweaks and fixes, as well as the removal of some of my unfinished works,
to Ninja so in preparation for their implementation. Also a few Telesci
fixes.
Ninjas will now explode on death without an explosive implant or shitty
death checks on every human. They will also gib without a trace of their
gear upon exploding.
Ninjas now actually put a tech disk in their suit when they put it in
your suit. The code was silly and forgot to move the disk inside your
suit when you slotted it in. I fixed some things your death implant pull
request reverted. (SpiderOS things, mainly.), and did some tweaks to the
Spawn Ninja admin verb so we can now specify if we want a random or
preset player, and a random or preset mission to be assigned to the
Ninja.
THE CODE NO LONGER CHECKS IF THE MOB IS A NINJA EVERY TIME SOMEONE DIES
NINJAS GET EXPLOSIVE IMPLANTS TO DUPLICATE THE OLD FUNCTIONALITY
YES I'M MAD
Conflicts:
code/modules/events/tgevents/ninja.dm
code/modules/mob/living/carbon/human/death.dm
Re-implemented some things that were removed a while back by somone who
had NO idea which way to hold a keyboard. (He made Phase Shift costless
by mistake, broke Adrenaline, made EStars cost your entire battery,
etc...). Fixed Ninja objective generation (It should actually happen
now!). As well as removed my implementation of the Kamikaze mode, as I
found there was a better one already implemented. Lastly I fixed the
NinjaHud so Vampires and their Thralls now show up properly on his HUD.
Totally worth my Christmas Eve.
I've implemented a fix for the energy net, it's a little hack-ey, but
nothing horrible. The original code set your anchor to one, which means
you can't be pushed, pulled, or grabbed. The coder seems to have assumed
it also restricted your movement, and it does not. So I set the affected
mob's weaken to 300, which is more than enough to let the energy net run
it's course. And reset it to 0 in the event the net is broken or
completes the teleportation. I also removed the inability to kidnap mobs
without a player in them, because it's a pain in the ass to test things
like this when you need a second player to help you with it.
Ninjas will now spawn with a black jetpack filled with Oxygen. This is
neccisary because they currently spawn at Carpspawn with no way to move
aside from throwing either their C4, only light source, or air tank.