Ninja File Structure Rework

Restructures the ninja files into a more spaced-out version, compliments
of /TG/. The energy katana is also their handiwork.

Add an emag act to crates and lockers instead of handling everything in
attackby.
This commit is contained in:
SamCroswell
2015-03-13 20:42:54 -04:00
parent addfbe449e
commit 62ae69c816
36 changed files with 764 additions and 414 deletions
@@ -371,28 +371,4 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
if(R && R.cell)
if(R.cell.use(charge_cost/10)) //Take power from the borg...
power_supply.give(charge_cost) //...to recharge the shot
return 1
/obj/item/weapon/gun/energy/shuriken
name = "energy shuriken"
desc = "A stunning shuriken made of energy."
icon_state = "shuriken"
item_state = null
icon = 'icons/obj/ninjaobjects.dmi'
fire_sound = 'sound/weapons/Genhit.ogg'
cell_type = "/obj/item/weapon/stock_parts/cell/infinite"
projectile_type = "/obj/item/projectile/energy/shuriken"
charge_cost = 0
silenced = 1
/obj/item/weapon/gun/energy/shuriken/update_icon()
qdel(src)
return
/obj/item/weapon/gun/energy/shuriken/dropped()
qdel(src)
return
/obj/item/weapon/gun/energy/shuriken/proc/throw()
qdel(src)
return
return 1