mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
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:
@@ -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
|
||||
Reference in New Issue
Block a user