From c754e87f6215bc84de1265317fb409c1bdc7817b Mon Sep 17 00:00:00 2001 From: Julien Date: Wed, 4 Oct 2023 11:48:24 +0200 Subject: [PATCH] manually revert because i can't figure how it work --- code/game/objects/items/storage/boxes.dm | 67 --------------- .../crates_lockers/closets/secure/freezer.dm | 82 ------------------- 2 files changed, 149 deletions(-) diff --git a/code/game/objects/items/storage/boxes.dm b/code/game/objects/items/storage/boxes.dm index 8e9b3c901872..6266f0eef77d 100644 --- a/code/game/objects/items/storage/boxes.dm +++ b/code/game/objects/items/storage/boxes.dm @@ -760,70 +760,3 @@ else if(!isopened) isopened = 1 icon_state = "mealpackopened" - - -//food boxes for storage in bulk - -//meat -/obj/item/storage/box/meat - name = "\improper Meat Box" - -/obj/item/storage/box/meat/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/snacks/meat/monkey(src) - -//fish -/obj/item/storage/box/fish - name = "\improper Fish Box" - -/obj/item/storage/box/fish/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/snacks/carpmeat(src) - -//milk -/obj/item/storage/box/milk - name = "\improper Milk Box" - -/obj/item/storage/box/milk/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/drinks/milk(src) - -//soymilk -/obj/item/storage/box/soymilk - name = "\improper Soymilk Box" - -/obj/item/storage/box/soymilk/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/drinks/soymilk(src) - -//enzyme -/obj/item/storage/box/enzyme - name = "\improper Enzyme Box" - -/obj/item/storage/box/enzyme/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/condiment/enzyme(src) - -//flour -/obj/item/storage/box/flour - name = "\improper Flour Box" - -/obj/item/storage/box/flour/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/snacks/flour(src) - -//sugar -/obj/item/storage/box/sugar - name = "\improper Sugar Box" - -/obj/item/storage/box/sugar/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/condiment/sugar(src) - -//potato -/obj/item/storage/box/potato - name = "\improper Potato Box" - -/obj/item/storage/box/potato/fill_preset_inventory() - for(var/i = 0, i < 7, i++) - new /obj/item/reagent_container/food/snacks/grown/potato(src) diff --git a/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm b/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm index 773b0c5c99e6..323ff50fd63b 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm @@ -157,85 +157,3 @@ containers++ if(containers > 3) break - -//almayer surplus storage - -//meat surplus -/obj/structure/closet/secure_closet/freezer/meat_stock - name = "meat" - -/obj/structure/closet/secure_closet/freezer/meat_stock/Initialize() - . = ..() - for(var/i = 0, i < 2, i++) - new /obj/item/storage/box/meat(src) - -//fish surplus -/obj/structure/closet/secure_closet/freezer/fish_stock - name = "fish" - -/obj/structure/closet/secure_closet/freezer/fish_stock/Initialize() - . = ..() - for(var/i = 0, i < 2, i++) - new /obj/item/storage/box/fish(src) - -//groceries to hold milk in bulk -/obj/structure/closet/secure_closet/freezer/groceries - name = "Groceries" - -/obj/structure/closet/secure_closet/freezer/groceries/Initialize() - . = ..() - for(var/i = 0, i < 2, i++) - new /obj/item/storage/box/milk(src) - for(var/i = 0, i < 2, i++) - new /obj/item/storage/box/soymilk(src) - for(var/i = 0, i < 7, i++) - new /obj/item/storage/fancy/egg_box(src) - new /obj/item/storage/box/enzyme(src) - -//dry storage for dry food only... -/obj/structure/closet/secure_closet/freezer/dry - name = "dry" - -/obj/structure/closet/secure_closet/freezer/dry/Initialize() - . = ..() - for(var/i = 0, i < 4, i++) - new /obj/item/storage/box/flour(src) - new /obj/item/storage/box/sugar(src) - -//plant only - -/obj/structure/closet/secure_closet/freezer/plants - name = "Plants" - -/obj/structure/closet/secure_closet/freezer/plants/Initialize() - . = ..() - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/apple(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/cabbage(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/carrot(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/mushroom/chanterelle(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/chili(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/corn(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/eggplant(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/potato(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/tomato(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/whitebeet(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/cherries(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/lime(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/lemon(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/orange(src) - for(var/i = 0, i < 2, i++) - new /obj/item/reagent_container/food/snacks/grown/banana(src)