Skip to content

[Feature Request] Fractional Recipes #78

Description

@CGillen

As a user, some of my recipes include using items that save inputs or produce extra outputs on a chance basis. I would like to be able to create custom recipes that make use of this extra value pattern.
My current need is partially met with a workaround but it increasingly reduces my recipe resolution the more precise my extra value calculation is (see example below).
My problem would be solved if these types of custom recipes could capture more transactions "lost" in this way.

Example:

  • Alchemist Amulet gives a 15% change to create an extra dose
  • Prescription Goggles gives a 10% chance to save a secondary
  • For this example the recipe is Antidote++ (2) to Anti-venom using Antidote++ and 9 Zulrah Scales. I'll be scaling the recipe to use 4-doses, because that's what sells on the market.

Expected:

  • 1x Antidote++ (4)
  • 18x Zulrah Scales (Goggles)
  • Output: 1.075x Anti-Venom (4) (Amulet)

Currently:

  • 100x Antidote++ (4)
  • 180x Zulrah Scales
  • Output: 1075x Anti-venom (4)

This breaks any purchases below 100 Antidote++/180 Zulrah Scales or sales below 1075 Anti-venom. Put another (explicit) way, the utilized capacity for any resource in a recipe must be divisible by that resource's quantity in the recipe, "losing" transactions. There's a way to mathematically model this lose with modulo that I may come back to post if more clarity is needed.

To me it seems this plugin wants to use ground truths and real data, and I think this feature could rub against that. So I'm happy to have a discussion about this possible feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions