diff --git a/code/game/gamemodes/events/space_ninja.dm b/code/game/gamemodes/events/space_ninja.dm
index 427788f41d6..76ddb176a65 100644
--- a/code/game/gamemodes/events/space_ninja.dm
+++ b/code/game/gamemodes/events/space_ninja.dm
@@ -556,6 +556,12 @@ As such, it's hard-coded for now. No reason for it not to be, really.
equip_to_slot_or_del(new /obj/item/weapon/plastique(src), slot_r_store)
equip_to_slot_or_del(new /obj/item/weapon/plastique(src), slot_l_store)
equip_to_slot_or_del(new /obj/item/weapon/tank/emergency_oxygen(src), slot_s_store)
+
+ var/obj/item/weapon/implant/explosive/E = new/obj/item/weapon/implant/explosive(src)
+ E.imp_in = src
+ E.implanted = 1
+
+
return 1
//=======//HELPER PROCS//=======//
diff --git a/code/modules/events/tgevents/ninja.dm b/code/modules/events/tgevents/ninja.dm
index 0d5e1fe167e..080fab5d1ee 100644
--- a/code/modules/events/tgevents/ninja.dm
+++ b/code/modules/events/tgevents/ninja.dm
@@ -362,7 +362,7 @@ ________________________________________________________________________________
del(gloves)
var/obj/item/device/radio/R = new /obj/item/device/radio/headset(src)
- equip_to_slot_or_del(R, slot_l_ear)
+ equip_to_slot_or_del(R, slot_ears)
if(gender==FEMALE)
equip_to_slot_or_del(new /obj/item/clothing/under/color/blackf(src), slot_w_uniform)
else
@@ -377,6 +377,10 @@ ________________________________________________________________________________
equip_to_slot_or_del(new /obj/item/weapon/plastique(src), slot_l_store)
equip_to_slot_or_del(new /obj/item/weapon/tank/emergency_oxygen(src), slot_s_store)
equip_to_slot_or_del(new /obj/item/weapon/tank/jetpack/carbondioxide(src), slot_back)
+
+ var/obj/item/weapon/implant/explosive/E = new/obj/item/weapon/implant/explosive(src)
+ E.imp_in = src
+ E.implanted = 1
return 1
//=======//HELPER PROCS//=======//
@@ -1589,7 +1593,7 @@ ________________________________________________________________________________
dat += "
SpiderOS v.ERR-RR00123
"
dat += "
"
dat += "
Current Time: [worldtime2text()]
"
- dat += "
Battery Life: [round(cell.charge)] ([round(cell.charge/100)]%)
"
+ dat += "
Battery Life: [round(cell.charge/100)]%
"
dat += "
Smoke Bombs: \Roman [s_bombs]
"
dat += "
pai Device: "
if(pai)
@@ -1722,11 +1726,11 @@ ________________________________________________________________________________
Abilities:
- - *Phase Shift (500E) and Phase Jaunt (250E) are unique powers in that they can both be used for defense and offense. Jaunt launches the ninja forward facing up to 9 squares, somewhat randomly selecting the final destination. Shift can only be used on turf in view but is precise (cannot be used on walls). Any living mob in the area teleported to is instantly gibbed (mechs are damaged, huggers and other similar critters are killed). It is possible to teleport with a target, provided you grab them before teleporting.
- - *Energy Blade (200E) is a highly effective weapon. It is summoned directly to the ninja's hand and can also function as an EMAG for certain objects (doors/lockers/etc). You may also use it to cut through walls and disabled doors. Experiment! The blade will crit humans in two hits. This item cannot be placed in containers and when dropped or thrown disappears. Having an energy blade drains more power from the battery each tick.
- - *EM Pulse (1000E) is a highly useful ability that will create an electromagnetic shockwave around the ninja, disabling technology whenever possible. If used properly it can render a security force effectively useless. Of course, getting beat up with a toolbox is not accounted for.
+ - *Phase Shift (2000E) and Phase Jaunt (1000E) are unique powers in that they can both be used for defense and offense. Jaunt launches the ninja forward facing up to 9 squares, somewhat randomly selecting the final destination. Shift can only be used on turf in view but is precise (cannot be used on walls). Any living mob in the area teleported to is instantly gibbed (mechs are damaged, huggers and other similar critters are killed). It is possible to teleport with a target, provided you grab them before teleporting.
+ - *Energy Blade (500E) is a highly effective weapon. It is summoned directly to the ninja's hand and can also function as an EMAG for certain objects (doors/lockers/etc). You may also use it to cut through walls and disabled doors. Experiment! The blade will crit humans in two hits. This item cannot be placed in containers and when dropped or thrown disappears. Having an energy blade drains more power from the battery each tick.
+ - *EM Pulse (2500E) is a highly useful ability that will create an electromagnetic shockwave around the ninja, disabling technology whenever possible. If used properly it can render a security force effectively useless. Of course, getting beat up with a toolbox is not accounted for.
- *Energy Star (500E) is a ninja star made of green energy AND coated in poison. It works by picking a random living target within range and can be spammed to great effect in incapacitating foes. Just remember that the poison used is also used by the Xeno Hivemind (and will have no effect on them).
- - *Energy Net (5000E) is a non-lethal solution to incapacitating humanoids. The net is made of non-harmful phase energy and will halt movement as long as it remains in effect--it can be destroyed. If the net is not destroyed, after a certain time it will teleport the target to a holding facility for the Spider Clan and then vanish. You will be notified if the net fails or succeeds in capturing a target in this manner. Combine with energy stars or stripping to ensure success. Abduction never looked this leet.
+ - *Energy Net (2000E) is a non-lethal solution to incapacitating humanoids. The net is made of non-harmful phase energy and will halt movement as long as it remains in effect--it can be destroyed. If the net is not destroyed, after a certain time it will teleport the target to a holding facility for the Spider Clan and then vanish. You will be notified if the net fails or succeeds in capturing a target in this manner. Combine with energy stars or stripping to ensure success. Abduction never looked this leet.
- *Adrenaline Boost (1 E. Boost/3) recovers the user from stun, weakness, and paralysis. Also injects 20 units of radium into the bloodstream.
- *Smoke Bomb (1 Sm.Bomb/10) is a weak but potentially useful ability. It creates harmful smoke and can be used in tandem with other powers to confuse enemies.
- *???: unleash the True Ultimate Power!
@@ -2336,32 +2340,17 @@ ________________________________________________________________________________
if("CELL")
var/obj/item/weapon/cell/A = target
- var/drainrate
if(A.charge)
- var/datum/effect/effect/system/spark_spread/spark_system = new /datum/effect/effect/system/spark_spread()
- spark_system.set_up(5, 0, A.loc)
if (G.candrain&&do_after(U,30))
- drain = rand(G.mindrain,G.maxdrain)
- if(S.cell.charge+A.charge drain)
- S.cell.charge+=drain
- totaldrain+=drain
- A.charge-=drain
- spark_system.start()
- playsound(A.loc, "sparks", 50, 1)
- S.cell.charge = S.cell.maxcharge
+ U << "\blue Gained [A.charge] energy from the cell."
+ if(S.cell.charge+A.charge>S.cell.maxcharge)
+ S.cell.charge=S.cell.maxcharge
else
- while(A.charge)
- S.cell.charge+=drain
- totaldrain+=drain
- A.charge-=drain
- spark_system.start()
- playsound(A.loc, "sparks", 50, 1)
+ S.cell.charge+=A.charge
+ A.charge = 0
G.draining = 0
A.corrupt()
A.updateicon()
- U << "\blue Gained [totaldrain] energy from the cell."
else
U << "\red Procedure interrupted. Protocol terminated."
else
@@ -2559,7 +2548,7 @@ ________________________________________________________________________________
U.client.images += image(tempHud,target,"hudninja")
else//If we don't know what role they have but they have one.
U.client.images += image(tempHud,target,"hudunknown1")
- else//If the silicon mob has no law datum, no inherent laws, or a law zero, add them to the hud.
+ else if(issilicon(target))//If the silicon mob has no law datum, no inherent laws, or a law zero, add them to the hud.
var/mob/living/silicon/silicon_target = target
if(!silicon_target.laws||(silicon_target.laws&&(silicon_target.laws.zeroth||!silicon_target.laws.inherent.len)))
if(isrobot(silicon_target))//Different icons for robutts and AI.
diff --git a/code/modules/mob/living/carbon/human/death.dm b/code/modules/mob/living/carbon/human/death.dm
index 863756f17df..54c1012f083 100644
--- a/code/modules/mob/living/carbon/human/death.dm
+++ b/code/modules/mob/living/carbon/human/death.dm
@@ -89,14 +89,8 @@
if(!gibbed)
emote("deathgasp") //let the world KNOW WE ARE DEAD
- //For ninjas exploding when they die.
- if( istype(wear_suit, /obj/item/clothing/suit/space/space_ninja) && wear_suit:s_initialized )
- src << browse(null, "window=spideros")//Just in case.
- var/location = loc
- explosion(location, 0, 0, 3, 4)
-
update_canmove()
- if(client) blind.layer = 0
+ if(client) blind.layer = 0
tod = worldtime2text() //weasellos time of death patch
if(mind) mind.store_memory("Time of death: [tod]", 0)