mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-26 06:26:41 +01:00
Use material defines more
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
icon_state = "beaker"
|
||||
item_state = "beaker"
|
||||
center_of_mass = list("x" = 15,"y" = 11)
|
||||
matter = list("glass" = 500)
|
||||
matter = list(MAT_GLASS = 500)
|
||||
drop_sound = 'sound/items/drop/glass.ogg'
|
||||
pickup_sound = 'sound/items/pickup/glass.ogg'
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
desc = "A large beaker."
|
||||
icon_state = "beakerlarge"
|
||||
center_of_mass = list("x" = 16,"y" = 11)
|
||||
matter = list("glass" = 5000)
|
||||
matter = list(MAT_GLASS = 5000)
|
||||
volume = 120
|
||||
amount_per_transfer_from_this = 10
|
||||
possible_transfer_amounts = list(5,10,15,25,30,60,120)
|
||||
@@ -220,7 +220,7 @@
|
||||
desc = "A cryostasis beaker that allows for chemical storage without reactions."
|
||||
icon_state = "beakernoreact"
|
||||
center_of_mass = list("x" = 16,"y" = 13)
|
||||
matter = list("glass" = 500)
|
||||
matter = list(MAT_GLASS = 500)
|
||||
volume = 60
|
||||
amount_per_transfer_from_this = 10
|
||||
flags = OPENCONTAINER | NOREACT
|
||||
@@ -230,7 +230,7 @@
|
||||
desc = "A bluespace beaker, powered by experimental bluespace technology."
|
||||
icon_state = "beakerbluespace"
|
||||
center_of_mass = list("x" = 16,"y" = 11)
|
||||
matter = list("glass" = 5000)
|
||||
matter = list(MAT_GLASS = 5000)
|
||||
volume = 300
|
||||
amount_per_transfer_from_this = 10
|
||||
possible_transfer_amounts = list(5,10,15,25,30,60,120,300)
|
||||
@@ -241,7 +241,7 @@
|
||||
desc = "A small glass vial."
|
||||
icon_state = "vial"
|
||||
center_of_mass = list("x" = 15,"y" = 9)
|
||||
matter = list("glass" = 250)
|
||||
matter = list(MAT_GLASS = 250)
|
||||
volume = 30
|
||||
w_class = ITEMSIZE_TINY
|
||||
amount_per_transfer_from_this = 10
|
||||
@@ -262,7 +262,7 @@
|
||||
icon_state = "bucket"
|
||||
item_state = "bucket"
|
||||
center_of_mass = list("x" = 16,"y" = 10)
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 200)
|
||||
matter = list(MAT_STEEL = 200)
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
amount_per_transfer_from_this = 20
|
||||
possible_transfer_amounts = list(10,20,30,60,120)
|
||||
@@ -286,7 +286,7 @@
|
||||
user.drop_from_inventory(src)
|
||||
qdel(src)
|
||||
return
|
||||
else if(istype(D, /obj/item/stack/material) && D.get_material_name() == DEFAULT_WALL_MATERIAL)
|
||||
else if(istype(D, /obj/item/stack/material) && D.get_material_name() == MAT_STEEL)
|
||||
var/obj/item/stack/material/M = D
|
||||
if (M.use(1))
|
||||
var/obj/item/weapon/secbot_assembly/edCLN_assembly/B = new /obj/item/weapon/secbot_assembly/edCLN_assembly
|
||||
@@ -320,7 +320,7 @@
|
||||
icon_state = "woodbucket"
|
||||
item_state = "woodbucket"
|
||||
center_of_mass = list("x" = 16,"y" = 8)
|
||||
matter = list("wood" = 50)
|
||||
matter = list(MAT_WOOD = 50)
|
||||
w_class = ITEMSIZE_LARGE
|
||||
amount_per_transfer_from_this = 20
|
||||
possible_transfer_amounts = list(10,20,30,60,120)
|
||||
@@ -356,7 +356,7 @@
|
||||
name = "water-cooler bottle"
|
||||
icon = 'icons/obj/vending.dmi'
|
||||
icon_state = "water_cooler_bottle"
|
||||
matter = list("glass" = 2000)
|
||||
matter = list(MAT_GLASS = 2000)
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
amount_per_transfer_from_this = 20
|
||||
possible_transfer_amounts = list(10,20,30,60,120)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
item_state = "cleaner"
|
||||
center_of_mass = list("x" = 16,"y" = 10)
|
||||
flags = OPENCONTAINER|NOBLUDGEON
|
||||
matter = list("glass" = 300, DEFAULT_WALL_MATERIAL = 300)
|
||||
matter = list(MAT_GLASS = 300, MAT_STEEL = 300)
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 3
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
item_state = "syringe_0"
|
||||
icon_state = "0"
|
||||
center_of_mass = list("x" = 16,"y" = 14)
|
||||
matter = list("glass" = 150)
|
||||
matter = list(MAT_GLASS = 150)
|
||||
amount_per_transfer_from_this = 5
|
||||
possible_transfer_amounts = null
|
||||
volume = 15
|
||||
|
||||
Reference in New Issue
Block a user