Skip to content

Commit

Permalink
make some loop better...
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien committed Nov 29, 2023
1 parent 5eae6f0 commit 2595759
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,19 @@
. = ..()
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)

//DRy
Expand All @@ -85,7 +71,6 @@
. = ..()
for(var/i = 0, i < 2, i++)
new /obj/item/reagent_container/food/drinks/milk(src)
for(var/i = 0, i < 2, i++)
new /obj/item/reagent_container/food/drinks/soymilk(src)
new /obj/item/storage/fancy/egg_box(src)
new /obj/item/reagent_container/food/condiment/enzyme(src)
Expand Down Expand Up @@ -118,7 +103,6 @@
. = ..()
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)
Expand Down

0 comments on commit 2595759

Please sign in to comment.