Memory tracking shenanigans (#8359)

This commit is contained in:
Cadyn
2024-05-15 07:56:31 -07:00
committed by GitHub
parent 893e51c4b5
commit cf1db3c049
61 changed files with 1327 additions and 587 deletions

View File

@@ -3,7 +3,8 @@
desc = "Dreamt up in a strange feverish dream, this coffee cup seems to have been heavily modified with a variety of unlikely parts and wires, and never seems to run out of coffee. Truly the differance between madmen and genius is success."
icon = 'icons/obj/coffee.dmi'
icon_state = "bluespace_coffee"
center_of_mass = list("x"=15, "y"=10)
center_of_mass_x = 15 //CHOMPEdit
center_of_mass_y= 10 //CHOMPEdit
volume = 50
/obj/item/weapon/reagent_containers/food/drinks/bluespace_coffee/Initialize()
@@ -13,4 +14,4 @@
//Infinite Coffee
/obj/item/weapon/reagent_containers/food/drinks/bluespace_coffee/attack(mob/M as mob, mob/user as mob, def_zone)
..()
src.reagents.add_reagent("coffee", 50)
src.reagents.add_reagent("coffee", 50)

View File

@@ -166,7 +166,8 @@
icon = 'icons/obj/chemical.dmi'
icon_state = "beaker"
item_state = "beaker"
center_of_mass = list("x" = 15,"y" = 11)
center_of_mass_x = 15 //CHOMPEdit
center_of_mass_y= 11 //CHOMPEdit
matter = list(MAT_GLASS = 500)
drop_sound = 'sound/items/drop/glass.ogg'
pickup_sound = 'sound/items/pickup/glass.ogg'
@@ -222,7 +223,8 @@
name = "large beaker"
desc = "A large beaker."
icon_state = "beakerlarge"
center_of_mass = list("x" = 16,"y" = 11)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 11 //CHOMPEdit
matter = list(MAT_GLASS = 5000)
volume = 120
amount_per_transfer_from_this = 10
@@ -234,7 +236,8 @@
name = "cryostasis beaker"
desc = "A cryostasis beaker that allows for chemical storage without reactions."
icon_state = "beakernoreact"
center_of_mass = list("x" = 16,"y" = 13)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 13 //CHOMPEdit
matter = list(MAT_GLASS = 500)
volume = 60
amount_per_transfer_from_this = 10
@@ -244,7 +247,8 @@
name = "bluespace beaker"
desc = "A bluespace beaker, powered by experimental bluespace technology."
icon_state = "beakerbluespace"
center_of_mass = list("x" = 16,"y" = 11)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 11 //CHOMPEdit
matter = list(MAT_GLASS = 5000)
volume = 300
amount_per_transfer_from_this = 10
@@ -256,7 +260,8 @@
name = "vial"
desc = "A small glass vial."
icon_state = "vial"
center_of_mass = list("x" = 15,"y" = 9)
center_of_mass_x = 15 //CHOMPEdit
center_of_mass_y= 9 //CHOMPEdit
matter = list(MAT_GLASS = 250)
volume = 30
w_class = ITEMSIZE_TINY
@@ -275,7 +280,8 @@
name = "stoppered bottle"
desc = "A stoppered bottle for keeping beverages fresh."
icon_state = "stopperedbottle"
center_of_mass = list("x" = 16,"y" = 13)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 13 //CHOMPEdit
volume = 120
amount_per_transfer_from_this = 10
possible_transfer_amounts = list(5,10,15,25,30,60,120)
@@ -287,7 +293,8 @@
icon = 'icons/obj/janitor.dmi'
icon_state = "bucket"
item_state = "bucket"
center_of_mass = list("x" = 16,"y" = 10)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 10 //CHOMPEdit
matter = list(MAT_STEEL = 200)
w_class = ITEMSIZE_NORMAL
amount_per_transfer_from_this = 20
@@ -349,7 +356,8 @@
icon = 'icons/obj/janitor.dmi'
icon_state = "woodbucket"
item_state = "woodbucket"
center_of_mass = list("x" = 16,"y" = 8)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 8 //CHOMPEdit
matter = list(MAT_WOOD = 50)
w_class = ITEMSIZE_LARGE
amount_per_transfer_from_this = 20

View File

@@ -4,7 +4,8 @@
icon = 'icons/obj/janitor.dmi'
icon_state = "cleaner"
item_state = "cleaner"
center_of_mass = list("x" = 16,"y" = 10)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 10 //CHOMPEdit
flags = OPENCONTAINER|NOBLUDGEON
matter = list(MAT_GLASS = 300, MAT_STEEL = 300)
slot_flags = SLOT_BELT
@@ -125,7 +126,8 @@
icon = 'icons/obj/weapons.dmi'
icon_state = "pepperspray"
item_state = "pepperspray"
center_of_mass = list("x" = 16,"y" = 16)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 16 //CHOMPEdit
possible_transfer_amounts = null
volume = 40
var/safety = TRUE
@@ -173,7 +175,8 @@
icon_state = "chemsprayer"
item_state = "chemsprayer"
item_icons = list(slot_l_hand_str = 'icons/mob/items/lefthand_guns.dmi', slot_r_hand_str = 'icons/mob/items/righthand_guns.dmi')
center_of_mass = list("x" = 16,"y" = 16)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 16 //CHOMPEdit
throwforce = 3
w_class = ITEMSIZE_NORMAL
possible_transfer_amounts = null
@@ -219,7 +222,8 @@
icon = 'icons/obj/janitor.dmi'
icon_state = "cleaner-industrial"
item_state = "cleaner"
center_of_mass = list("x" = 16,"y" = 10)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 10 //CHOMPEdit
possible_transfer_amounts = list(5,10,20)

View File

@@ -12,7 +12,8 @@
icon = 'icons/obj/syringe.dmi'
item_state = "syringe_0"
icon_state = "0"
center_of_mass = list("x" = 16,"y" = 14)
center_of_mass_x = 16 //CHOMPEdit
center_of_mass_y= 14 //CHOMPEdit
matter = list(MAT_GLASS = 150)
amount_per_transfer_from_this = 5
possible_transfer_amounts = null