I apologize if it seems like I'm spamming the forum, but I have this crazy enthusiasm for modding now that I have a bit of an understanding for it. I'm modding adventure reactions that allow melting iron weapons (a longsword) into iron bars and then using them to make an iron sword. I have an overarching system in mind where there are a ton of different reactions that melt down items into their bars, and then a matching reaction that allows them to be shaped back into different items (so if I melted down a sword worth 3 bars and a helmet worth 2 bars, I could reforge them into a breastplate worth 4 bars).
My problem comes from a test reaction I did. I got the smelt sword reaction so only three bars are created:
[REACTION:SMELT_LONGSWORD_ADV]
[NAME:smelt longsword]
[ADVENTURE_MODE_ENABLED]
[REAGENT:A:1:WEAPON:ITEM_WEAPON_SWORD_LONG:METAL:IRON]
[PRODUCT:100:3:BAR:NO_SUBTYPE:METAL:IRON]
[SKILL:FORGE_WEAPON]
But when I use the test reaction, something funny happens.
[REACTION:TEST_ADV]
[NAME:forge longsword]
[ADVENTURE_MODE_ENABLED]
[REAGENT:A:1:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:B:1:BAR:NO_SUBTYPE:METAL:IRON]
[REAGENT:C:1:BAR:NO_SUBTYPE:METAL:IRON]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_SWORD_LONG:METAL:IRON]
[SKILL:FORGE_WEAPON]
See, a sword is created. The problem is that about 40 iron longswords are created from using this reaction once. I have no idea why that is. Anyone know why?