Project Zomboid

Project Zomboid

Real Calories and Nutrients Overhaul
nononon 5 月 5 日 下午 3:45
Bag Of Chicken nuggets bug, 42.7.0
You can open a bag of chicken nuggets 60 times. It says that the hunger value for the bag is 60 and each time you open a bag it goes down by 1 or 2. At the end you are left with a stack of 50 nuggets that each weigh 0.2 for a total stack weight of 34.8. That should be 10 weight or 174 nuggets. Something is messed up.
< >
正在显示第 1 - 1 条,共 1 条留言
ctiberious 5 月 21 日 上午 8:58 
By default, a bag of frozen chicken nuggets has no Hunger value. Presumably because you're not meant to eat them without first opening the bag. This mod adds a hunger value which is an issue. When you use any recipe on an item with a Hunger value, the quantity removed from the item is actually removed from the Hunger value unless a "flags[ItemCount]" is included in the recipe. So as an example:
1) item 3 [Base.Tomato] flags[ItemCount],
vs
2) item 3 [Base.Tomato],

In the first line, the recipe is saying "use 3 whole tomatoes" but in the 2nd line, the recipe is saying "use 3 hunger from a tomato". Because this mod doesn't mess with any recipes, adding the "HungerChange = -60," to "item Frozen_ChickenNuggets" messes up the vanilla recipe for opening a bag of nuggets. The result is, instead of opening an entire bag, we instead just take 1 (or 2, nor sure why sometimes it takes 2) Hunger worth of the bag.

Should just be able to remove the "HungerChange = -60," and that should resolve the issue.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50