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

View File

@@ -5,6 +5,7 @@
name = "Coin"
desc = "A simple coin you can flip."
icon_state = "coin"
randpixel = 8
force = 0.0
throwforce = 0.0
w_class = ITEMSIZE_TINY
@@ -13,8 +14,7 @@
var/sides = 2
/obj/item/weapon/coin/New()
pixel_x = rand(0,16)-8
pixel_y = rand(0,8)-8
randpixel_xy()
/obj/item/weapon/coin/gold
name = "gold coin"

View File

@@ -2,6 +2,7 @@
name = "small rock"
icon = 'icons/obj/mining.dmi'
icon_state = "ore2"
randpixel = 8
w_class = ITEMSIZE_SMALL
var/datum/geosample/geologic_data
var/material
@@ -113,8 +114,7 @@
material = null
/obj/item/weapon/ore/New()
pixel_x = rand(0,16)-8
pixel_y = rand(0,8)-8
randpixel_xy()
/obj/item/weapon/ore/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(istype(W,/obj/item/device/core_sampler))