Atherys / AtherysProfessions

A survival professions plugin for the A'therys Horizons server
GNU General Public License v3.0
0 stars 0 forks source link

Recipes are not working correctly #6

Open cicetil opened 2 years ago

cicetil commented 2 years ago

Configured crafting recipes are not working correctly. Using rpg items in the ingredients will only allow the base item, and quantity for ingredients is not behaving as it should.

recipes=[
    {
        id="ingot_t3"
        ingredients=[
            {
                item="ingot_t2"
                quantity=2
            }
        ]
        is-shapeless=true
        result {
            item="ingot_t3"
            quantity=1
        }
    }
]

With the following config, inputting 2x "ingot_t2" items from rpg should produce 1x "ingot_t3". However, it is only accepting "conquest:steel_ingot" which is the item type used for "ingot_t2". It does not accept a spawned "ingot_t2" item. image image

Furthermore, the ingredient quantity is not working properly. When quantity is set to 1, it requires two ingredients instead. When quantity is set to 2, you can use two of any item as long as one of them is the specified ingredient. When quantity is set to 3 or more, the same applies; only two input items will ever work. image