Skip to content

Alternate Food Recipes Duplicate Items (Bug) #107

@zelzmiy

Description

@zelzmiy

Custom Food with alternative recipes will duplicate items.

Steps To Recreate:

  1. Create a Custom Food with a Recipe as follows:
List<List<InventoryItem> Recipe = 
[
    [ new InventoryItem(InventoryItem.ITEM_TYPE.first, 1) ],
    [ new InventoryItem(InventoryItem.ITEM_TYPE.second, 1) ]
];

where InventoryItem.ITEM_TYPE.first and InventoryItem.ITEM_TYPE.second are any two different InventoryItem.ITEM_TYPE

  1. Have zero InventoryItem.ITEM_TYPE.first in your inventory, but at least 1 InventoryItem.ITEM_TYPE.second.
  2. Queue the custom food at a kitchen or drink station.
  3. Remove the custom food from the queue.

See this for a demonstration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIThe core of this packagebugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions