Files
VOREStation/code/game/objects/items/weapons/material/thrown.dm
T
Kashargul 4f8e9f7ef8 some more new to init (#17231)
* some more new to init

* rigs

* rigs

* intellisense moment

* telcoms and landmarks

* fix that as well

* some more minor things

* re add missing message

* fix trash eating...
2025-03-01 13:39:52 -05:00

25 lines
631 B
Plaintext

/obj/item/material/star
name = "shuriken"
desc = "A sharp, perfectly weighted piece of metal."
icon_state = "star"
force_divisor = 0.1 // 6 with hardness 60 (steel)
thrown_force_divisor = 0.75 // 15 with weight 20 (steel)
throw_speed = 10
throw_range = 15
sharp = TRUE
edge = TRUE
/obj/item/material/star/Initialize(mapload)
. = ..()
pixel_x = rand(-12, 12)
pixel_y = rand(-12, 12)
/obj/item/material/star/throw_impact(atom/hit_atom)
..()
if(material.radioactivity>0 && isliving(hit_atom))
var/mob/living/M = hit_atom
M.adjustToxLoss(rand(20,40))
/obj/item/material/star/ninja
default_material = MAT_URANIUM