Materials And Medical Stacks (#15586)

This commit is contained in:
Wowzewow (Wezzy)
2023-01-23 20:50:27 +01:00
committed by GitHub
parent 64d473dbd3
commit b42d489030
33 changed files with 216 additions and 196 deletions
+3 -8
View File
@@ -1,7 +1,7 @@
/obj/item/ore
name = "rock"
icon = 'icons/obj/mining.dmi'
icon_state = "ore1"
icon = 'icons/obj/item/ore.dmi'
icon_state = "ore"
randpixel = 8
w_class = ITEMSIZE_SMALL
throwforce = 10
@@ -32,7 +32,7 @@
/obj/item/ore/coal
name = "raw carbon"
icon_state = "ore_coal"
icon_state = "slag"
origin_tech = list(TECH_MATERIAL = 1)
material = ORE_COAL
@@ -95,11 +95,6 @@
icon_state = "slag"
material = null
/obj/item/ore/Initialize()
. = ..()
if((randpixel_xy()) && icon_state == "ore1")
icon_state = "ore[pick(1,2,3)]"
/obj/item/ore/attackby(obj/item/W, mob/user)
if(istype(W,/obj/item/device/core_sampler))
var/obj/item/device/core_sampler/C = W