ItemProductPrototype :: struct changed
| Inherits from ProductPrototypeBase |
| type | :: "item" | |
| name | :: ItemID | The name of an ItemPrototype. |
The name of an ItemPrototype. | ||
| amount optional | :: uint16 | |
| amount_min optional | :: uint16 | Only loaded, and mandatory if |
Only loaded, and mandatory if | ||
| amount_max optional | :: uint16 | Only loaded, and mandatory if |
Only loaded, and mandatory if | ||
| ignored_by_stats optional | :: uint16 | Amount that should not be included in the item production statistics, typically with a matching ingredient having the same amount set as ignored_by_stats. [...] |
Amount that should not be included in the item production statistics, typically with a matching ingredient having the same amount set as ignored_by_stats. [...] | ||
| ignored_by_productivity optional | :: uint16 | Amount that should be deducted from any productivity induced bonus crafts. [...] |
Amount that should be deducted from any productivity induced bonus crafts. [...] | ||
| extra_count_fraction optional | :: float | Probability that a craft will yield one additional product. [...] |
Probability that a craft will yield one additional product. [...] | ||
| percent_spoiled optional | :: float | Must be >= |
Must be >= | ||
| always_freshnew optional | :: boolean | When set to true, the item produced will be produced fresh (using percent_spoiled) even when ingredients were spoiled. [...] |
When set to true, the item produced will be produced fresh (using percent_spoiled) even when ingredients were spoiled. [...] | ||
| reset_freshness_on_craftnew optional | :: boolean | When set to true, if the recipe successfully finishes crafting without spoiling, the result is produced fresh (non-spoiled). [...] |
When set to true, if the recipe successfully finishes crafting without spoiling, the result is produced fresh (non-spoiled). [...] | ||
| quality_minnew optional | :: QualityID | Lowest possible quality of item that will be given. [...] |
Lowest possible quality of item that will be given. [...] | ||
| quality_maxnew optional | :: QualityID | Highest possible quality of item that will be given. [...] |
Highest possible quality of item that will be given. [...] | ||
| quality_changenew optional | :: int8 | Amount of quality levels up or down this product will be adjusted. [...] |
Amount of quality levels up or down this product will be adjusted. [...] | ||
| affected_by_qualitynew optional | :: boolean | Whether quality roll affects quality of products given. [...] |
Whether quality roll affects quality of products given. [...] | ||
| independent_probabilitynew optional | :: double | Value between 0 and 1. [...] |
Value between 0 and 1. [...] | ||
| shared_probabilitynew optional | :: SharedProbabilityDefinition | A range of values where lower end is at at least at value of 0 and upper end is at most at value of 1. [...] |
A range of values where lower end is at at least at value of 0 and upper end is at most at value of 1. [...] | ||
| show_details_in_recipe_tooltipnew optional | :: boolean | When hovering over a recipe in the crafting menu the recipe tooltip will be shown. [...] |
When hovering over a recipe in the crafting menu the recipe tooltip will be shown. [...] | ||


