From c22691c29572a38edaeeef9d53de6b59755a323a Mon Sep 17 00:00:00 2001 From: cybercapitalism <98280110+cybercapitalism@users.noreply.github.com> Date: Wed, 6 Mar 2024 07:27:50 -0600 Subject: [PATCH] Adds shards to glass and plasmaglass crafting menu (#24226) --- code/game/objects/items/stacks/sheets/glass.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm index ef50232da87..49734f15e06 100644 --- a/code/game/objects/items/stacks/sheets/glass.dm +++ b/code/game/objects/items/stacks/sheets/glass.dm @@ -15,6 +15,7 @@ */ GLOBAL_LIST_INIT(glass_recipes, list ( + new /datum/stack_recipe("glass shard", /obj/item/shard, time = 0 SECONDS), new /datum/stack_recipe/window("directional window", /obj/structure/window/basic, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE), new /datum/stack_recipe/window("fulltile window", /obj/structure/window/full/basic, 2, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE), new /datum/stack_recipe("fishbowl", /obj/machinery/fishtank/bowl, 1, time = 1 SECONDS), @@ -92,6 +93,7 @@ GLOBAL_LIST_INIT(glass_recipes, list ( */ GLOBAL_LIST_INIT(reinforced_glass_recipes, list ( + new /datum/stack_recipe("glass shard", /obj/item/shard, time = 0 SECONDS), new /datum/stack_recipe/window("windoor frame", /obj/structure/windoor_assembly, 5, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE), null, new /datum/stack_recipe/window("directional reinforced window", /obj/structure/window/reinforced, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE), @@ -128,6 +130,7 @@ GLOBAL_LIST_INIT(reinforced_glass_recipes, list ( . += "Reinforced glass is much stronger against damage than normal glass, otherwise it functions like normal glass does." GLOBAL_LIST_INIT(pglass_recipes, list ( + new /datum/stack_recipe("plasma shard", /obj/item/shard/plasma, time = 0 SECONDS), new /datum/stack_recipe/window("directional window", /obj/structure/window/plasmabasic, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE), new /datum/stack_recipe/window("fulltile window", /obj/structure/window/full/plasmabasic, 2, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE) )) @@ -184,6 +187,7 @@ GLOBAL_LIST_INIT(pglass_recipes, list ( */ GLOBAL_LIST_INIT(prglass_recipes, list ( + new /datum/stack_recipe("plasma shard", /obj/item/shard/plasma, time = 0 SECONDS), new /datum/stack_recipe/window("directional reinforced window", /obj/structure/window/plasmareinforced, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE), new /datum/stack_recipe/window("fulltile reinforced window", /obj/structure/window/full/plasmareinforced, 2, time = 0 SECONDS, on_floor = TRUE, window_checks = TRUE) ))