Skip to content

Commit

Permalink
code works now (kind of)
Browse files Browse the repository at this point in the history
fixed a fatal error mistake. New issue: The amount of nutrition in microwaved snacks more than doubles.
  • Loading branch information
Meatstuff882 committed Aug 14, 2024
1 parent c997df1 commit 0d5c881
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion code/datums/recipe.dm
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@
items = list(
/obj/item/reagent_container/food/snacks/packaged_burger,
)
result = /obj/item/reagent_container/food/snacks/microwaved_burger
result = /obj/item/reagent_container/food/snacks/packaged_burger/microwaved

/datum/recipe/packaged_hdogs/microwaved
items = list(
Expand Down
15 changes: 6 additions & 9 deletions code/game/objects/items/reagent_containers/food/snacks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3174,8 +3174,8 @@

/obj/item/reagent_container/food/snacks/packaged_burrito/microwaved/Initialize()
. = ..()
reagents.add_reagent("bread", 6)
reagents.add_reagent("meatprotein", 6)
reagents.add_reagent("bread", 1)
reagents.add_reagent("meatprotein", 1)

/obj/item/reagent_container/food/snacks/packaged_burger
name = "Packaged Cheeseburger"
Expand Down Expand Up @@ -3211,10 +3211,8 @@

/obj/item/reagent_container/food/snacks/packaged_burger/microwaved/Initialize()
. = ..()
reagents.add_reagent("bread", 6)
reagents.add_reagent("meatprotein", 6)
reagents.add_reagent("cheese", 2)
reagents.add_reagent("sodiumchloride", 2)
reagents.add_reagent("bread", 1)
reagents.add_reagent("meatprotein", 1)

/obj/item/reagent_container/food/snacks/packaged_hdogs
name = "Packaged Hotdog"
Expand Down Expand Up @@ -3247,9 +3245,8 @@

/obj/item/reagent_container/food/snacks/mpackaged_hdogs/microwaved/Initialize()
. = ..()
reagents.add_reagent("bread", 3)
reagents.add_reagent("meatprotein", 2)
reagents.add_reagent("sodiumchloride", 2)
reagents.add_reagent("bread", 1)
reagents.add_reagent("meatprotein", 1)

/obj/item/reagent_container/food/snacks/upp
name = "\improper UPP ration"
Expand Down

0 comments on commit 0d5c881

Please sign in to comment.