Here's a link to the plugin: X
So, I've implemented this plugin into my project, but I'm having a strange problem with it. To add recipes, you do a plugin command like this:
add_crafting_recipe w22 = i14 + i10
W22 is weapon 0022 in the database, i14 is item 0014, and so on. This command means that item 14 and item 10 are crafted together to make weapon 22. For weapons, so far this plugin works perfectly.
Armors, however, are a bit of an issue.
add_crafting_recipe a12 = i20 + i23
A12 is meant to be an accessory, made from i20 and i23. However, in-game, the menu shows i12 as the craftable item instead of a12. For some reason, the plugin is mistaking the armor for an item.
Scanning the script with my limited knowledge, I'd guess the issue is in the 'Game_Interpreter' section, as that's the part that establishes I, W, and A as aliases for items, weapons, and armor. However, I'm not exactly the sharpest coder in the world, so I have no idea if that's right or not.
Does anyone else have an idea of what's wrong?
So, I've implemented this plugin into my project, but I'm having a strange problem with it. To add recipes, you do a plugin command like this:
add_crafting_recipe w22 = i14 + i10
W22 is weapon 0022 in the database, i14 is item 0014, and so on. This command means that item 14 and item 10 are crafted together to make weapon 22. For weapons, so far this plugin works perfectly.
Armors, however, are a bit of an issue.
add_crafting_recipe a12 = i20 + i23
A12 is meant to be an accessory, made from i20 and i23. However, in-game, the menu shows i12 as the craftable item instead of a12. For some reason, the plugin is mistaking the armor for an item.
Scanning the script with my limited knowledge, I'd guess the issue is in the 'Game_Interpreter' section, as that's the part that establishes I, W, and A as aliases for items, weapons, and armor. However, I'm not exactly the sharpest coder in the world, so I have no idea if that's right or not.
Does anyone else have an idea of what's wrong?