Allows precision placement of most items

This commit is contained in:
Cerebulon
2020-02-19 21:16:26 +00:00
parent 5770291b4e
commit f801cc95be
42 changed files with 150 additions and 57 deletions
+2 -2
View File
@@ -3,6 +3,7 @@
desc = "A bullet casing."
icon = 'icons/obj/ammo.dmi'
icon_state = "s-casing"
randpixel = 10
slot_flags = SLOT_BELT | SLOT_EARS
throwforce = 1
w_class = ITEMSIZE_TINY
@@ -18,8 +19,7 @@
..()
if(ispath(projectile_type))
BB = new projectile_type(src)
pixel_x = rand(-10, 10)
pixel_y = rand(-10, 10)
randpixel_xy()
//removes the projectile from the ammo casing
/obj/item/ammo_casing/proc/expend()