From 31208360e8b26b5d8de8bd56d2c25fa313158c06 Mon Sep 17 00:00:00 2001 From: MistakeNot4892 Date: Sun, 17 May 2026 19:53:08 +1000 Subject: [PATCH] Temporary commit to make girders craftable with metal sheets. --- code/game/objects/structures/girders.dm | 3 ++- code/modules/crafting/stack_recipes/recipes_steel.dm | 6 ++++++ code/modules/crafting/stack_recipes/recipes_struts.dm | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/girders.dm b/code/game/objects/structures/girders.dm index 83ebf5a68237..861e57b76efb 100644 --- a/code/game/objects/structures/girders.dm +++ b/code/game/objects/structures/girders.dm @@ -9,7 +9,8 @@ material_alteration = MAT_FLAG_ALTERATION_NAME | MAT_FLAG_ALTERATION_COLOR tool_interaction_flags = (TOOL_INTERACTION_ANCHOR | TOOL_INTERACTION_DECONSTRUCT) max_health = 100 - parts_amount = 2 + material = /decl/material/solid/metal/steel + parts_amount = 5 parts_type = /obj/item/stack/material/rods var/cover = 50 diff --git a/code/modules/crafting/stack_recipes/recipes_steel.dm b/code/modules/crafting/stack_recipes/recipes_steel.dm index 8f15300c3677..5f95cd083414 100644 --- a/code/modules/crafting/stack_recipes/recipes_steel.dm +++ b/code/modules/crafting/stack_recipes/recipes_steel.dm @@ -108,3 +108,9 @@ /decl/stack_recipe/steel/furniture/drill_brace result_type = /obj/structure/drill_brace + +// Temporary recipe until dev merge. +/decl/stack_recipe/steel/girder + result_type = /obj/structure/girder + required_wall_support_value = 10 + available_to_map_tech_level = MAP_TECH_LEVEL_SPACE diff --git a/code/modules/crafting/stack_recipes/recipes_struts.dm b/code/modules/crafting/stack_recipes/recipes_struts.dm index e6fe0f9b67f9..a6692f00ea5a 100644 --- a/code/modules/crafting/stack_recipes/recipes_struts.dm +++ b/code/modules/crafting/stack_recipes/recipes_struts.dm @@ -36,7 +36,6 @@ /decl/stack_recipe/rods/girder result_type = /obj/structure/girder required_wall_support_value = 10 - req_amount = 5 * SHEET_MATERIAL_AMOUNT // Arbitrary value since girders return weird matter values. available_to_map_tech_level = MAP_TECH_LEVEL_SPACE /decl/stack_recipe/rods/wall_frame