Jump to content

piromasta

Member
  • Posts

    1
  • Joined

  • Last visited

piromasta's Achievements

  1. • Version 47.78.16 • Singleplayer and Multiplayer • Host and Dedicated • Sapph's cooking • New and old saves • Reproduction steps: Modify a recipe with a result item of Type=Food to not have any items of Type=Food in the ingredients list. Ex: Make Bread Dough. Remove salt from recipe in \SteamLibrary\steamapps\common\ProjectZomboid\media\scripts\recipes.txtrecipes.txt Load game in debug Craft food Bread Dough Open the produced food's edit menu. Item will have nan as age, thereby making it last forever. Cause of the issue seems to be in the RecipeManager.PerformMakeItem function where is a divide by 0 when no items of Type=Food are in the item list of ingredients. The nan eventually gets propagated to the created item when setAge is called. This reproduction steps do not involve Sapph's cooking. However, the mod just makes the issue apparent with some of the added recipes.
×
×
  • Create New...