Remove data systems in favor of global datums (#82943)

This commit is contained in:
Mothblocks
2024-04-29 22:47:36 -07:00
committed by GitHub
parent 2d7c027e25
commit bc4e7d3b4e
80 changed files with 387 additions and 423 deletions
+3 -3
View File
@@ -110,9 +110,9 @@
for(var/category in what_are_we_made_of.categories)
switch(category)
if(MAT_CATEGORY_BASE_RECIPES)
recipes |= DSmaterials.base_stack_recipes.Copy()
recipes |= SSmaterials.base_stack_recipes.Copy()
if(MAT_CATEGORY_RIGID)
recipes |= DSmaterials.rigid_stack_recipes.Copy()
recipes |= SSmaterials.rigid_stack_recipes.Copy()
update_weight()
update_appearance()
@@ -131,7 +131,7 @@
* - multiplier: The amount to multiply the mats per unit by. Defaults to 1.
*/
/obj/item/stack/proc/set_mats_per_unit(list/mats, multiplier=1)
mats_per_unit = DSmaterials.FindOrCreateMaterialCombo(mats, multiplier)
mats_per_unit = SSmaterials.FindOrCreateMaterialCombo(mats, multiplier)
update_custom_materials()
/** Updates the custom materials list of this stack.