You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support multiple items (and variable boost) thereof, change the mult_item,mult_val elements of ItemType to an array.
For example, a pick could provide +1 iron and an enchanted pick could provide +2 iron. Alternately, an iron hammer or a mithril hammer or admantium hammer could all provide +1 when crafting iron weapons.
Commit adb3715 adds a mult_item vector (and makes the gamedata use it) - but there is still some code that needs to be updated (the first item in the array is pulled into the original structure field - most of the code only looks at that).
To support multiple items (and variable boost) thereof, change the mult_item,mult_val elements of ItemType to an array.
For example, a pick could provide +1 iron and an enchanted pick could provide +2 iron. Alternately, an iron hammer or a mithril hammer or admantium hammer could all provide +1 when crafting iron weapons.
Current gamedata.cpp:
Proposed (3 maximum, could be more if preferred):
The text was updated successfully, but these errors were encountered: