mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-26 18:21:56 +00:00
Adds Shuriken
This commit is contained in:
@@ -371,4 +371,28 @@ 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
|
||||
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
|
||||
@@ -69,6 +69,14 @@
|
||||
weaken = 5
|
||||
range = 7
|
||||
|
||||
/obj/item/projectile/energy/shuriken
|
||||
name = "shuriken"
|
||||
icon_state = "toxin"
|
||||
damage = 10
|
||||
damage_type = TOX
|
||||
nodamage = 0
|
||||
weaken = 5
|
||||
stutter = 5
|
||||
|
||||
/obj/item/projectile/energy/bolt
|
||||
name = "bolt"
|
||||
|
||||
Reference in New Issue
Block a user