From ebf2d2b18faa4557347987e187adf83d4dac1c7e Mon Sep 17 00:00:00 2001 From: Daylight <18598676+Daylight2@users.noreply.github.com> Date: Mon, 19 Dec 2022 16:29:55 +0200 Subject: [PATCH] Creates full stacks of all sheets and minerals (#19911) * /fifty * re-adds plastinium, even if the sheets themselves have no sprite * adds glass stacks and plastitanium --- .../game/objects/items/stacks/sheets/glass.dm | 16 ++++++++++++ .../objects/items/stacks/sheets/mineral.dm | 25 +++++++++++++++---- .../items/stacks/sheets/sheet_types.dm | 3 +++ 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm index 63a18fbd094..a6769a4c60d 100644 --- a/code/game/objects/items/stacks/sheets/glass.dm +++ b/code/game/objects/items/stacks/sheets/glass.dm @@ -113,6 +113,9 @@ GLOBAL_LIST_INIT(reinforced_glass_recipes, list ( point_value = 4 table_type = /obj/structure/table/glass/reinforced +/obj/item/stack/sheet/rglass/fifty + amount = 50 + /obj/item/stack/sheet/rglass/New(loc, amount) recipes = GLOB.reinforced_glass_recipes ..() @@ -149,6 +152,9 @@ GLOBAL_LIST_INIT(pglass_recipes, list ( point_value = 19 table_type = /obj/structure/table/glass/plasma +/obj/item/stack/sheet/plasmaglass/fifty + amount = 50 + /obj/item/stack/sheet/plasmaglass/New(loc, amount) recipes = GLOB.pglass_recipes ..() @@ -193,6 +199,9 @@ GLOBAL_LIST_INIT(prglass_recipes, list ( point_value = 23 table_type = /obj/structure/table/glass/reinforced/plasma +/obj/item/stack/sheet/plasmarglass/fifty + amount = 50 + /obj/item/stack/sheet/plasmarglass/New(loc, amount) recipes = GLOB.prglass_recipes ..() @@ -214,6 +223,9 @@ GLOBAL_LIST_INIT(titaniumglass_recipes, list( full_window = /obj/structure/window/full/shuttle table_type = /obj/structure/table/glass/reinforced/titanium +/obj/item/stack/sheet/titaniumglass/fifty + amount = 50 + /obj/item/stack/sheet/titaniumglass/New(loc, amount) recipes = GLOB.titaniumglass_recipes ..() @@ -235,6 +247,10 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list( full_window = /obj/structure/window/full/plastitanium table_type = /obj/structure/table/glass/reinforced/plastitanium +/obj/item/stack/sheet/plastitaniumglass/fifty + amount = 50 + /obj/item/stack/sheet/plastitaniumglass/New(loc, amount) recipes = GLOB.plastitaniumglass_recipes ..() + diff --git a/code/game/objects/items/stacks/sheets/mineral.dm b/code/game/objects/items/stacks/sheets/mineral.dm index 26e39c047b5..bb3352008d9 100644 --- a/code/game/objects/items/stacks/sheets/mineral.dm +++ b/code/game/objects/items/stacks/sheets/mineral.dm @@ -156,6 +156,9 @@ GLOBAL_LIST_INIT(snow_recipes, list( sheettype = "sandstone" materials = list(MAT_GLASS=MINERAL_MATERIAL_AMOUNT) +/obj/item/stack/sheet/mineral/sandstone/fifty + amount = 50 + /obj/item/stack/sheet/mineral/sandstone/New() ..() recipes = GLOB.sandstone_recipes @@ -227,6 +230,9 @@ GLOBAL_LIST_INIT(sandbag_recipes, list ( materials = list(MAT_URANIUM=MINERAL_MATERIAL_AMOUNT) point_value = 20 +/obj/item/stack/sheet/mineral/uranium/fifty + amount = 50 + /obj/item/stack/sheet/mineral/uranium/New() ..() recipes = GLOB.uranium_recipes @@ -286,6 +292,9 @@ GLOBAL_LIST_INIT(sandbag_recipes, list ( materials = list(MAT_GOLD=MINERAL_MATERIAL_AMOUNT) point_value = 20 +/obj/item/stack/sheet/mineral/gold/fifty + amount = 50 + /obj/item/stack/sheet/mineral/gold/New() ..() recipes = GLOB.gold_recipes @@ -301,6 +310,9 @@ GLOBAL_LIST_INIT(sandbag_recipes, list ( materials = list(MAT_SILVER=MINERAL_MATERIAL_AMOUNT) point_value = 20 +/obj/item/stack/sheet/mineral/silver/fifty + amount = 50 + /obj/item/stack/sheet/mineral/silver/New() ..() recipes = GLOB.silver_recipes @@ -393,6 +405,10 @@ GLOBAL_LIST_INIT(titanium_recipes, list( materials = list(MAT_TITANIUM=2000, MAT_PLASMA=2000) point_value = 45 +/obj/item/stack/sheet/mineral/plastitanium/fifty + amount = 50 + + GLOBAL_LIST_INIT(plastitanium_recipes, list( new /datum/stack_recipe("plas-titanium tile", /obj/item/stack/tile/mineral/plastitanium, 1, 4, 20), new /datum/stack_recipe("Kidan Warrior Statue", /obj/structure/statue/plastitanium/kidanstatue, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE), @@ -402,11 +418,6 @@ GLOBAL_LIST_INIT(plastitanium_recipes, list( recipes = GLOB.plastitanium_recipes ..() -/obj/item/stack/sheet/mineral/enruranium - name = "enriched uranium" - icon_state = "sheet-enruranium" - origin_tech = "materials=6" - materials = list(MAT_URANIUM=3000) //Alien Alloy /obj/item/stack/sheet/mineral/abductor @@ -444,6 +455,10 @@ GLOBAL_LIST_INIT(plastitanium_recipes, list( recipes = GLOB.adamantine_recipes ..() + +/obj/item/stack/sheet/mineral/adamantine/fifty + amount = 50 + /* * Snow */ diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm index 630e474c861..5c264e54436 100644 --- a/code/game/objects/items/stacks/sheets/sheet_types.dm +++ b/code/game/objects/items/stacks/sheets/sheet_types.dm @@ -180,6 +180,9 @@ GLOBAL_LIST_INIT(plasteel_recipes, list( point_value = 23 table_type = /obj/structure/table/reinforced +/obj/item/stack/sheet/plasteel/fifty + amount = 50 + /obj/item/stack/sheet/plasteel/New(loc, amount=null) recipes = GLOB.plasteel_recipes return ..()