Open ZephORSC opened 11 years ago
I'm guessing it would be easier to accept ranges for the enchantment level than to accept multiples of a tool... though, that would add another layer of complexity on top of your already overcomplex syntax...
Actually, I believe it does already support a range :-) I'll have to test that out later. Although both ways should be working, for consistency.
The TOOL condition in Otherdrops won't properly accept defining an enchanted tool multiple times with multiple enchantments and varying levels of those enchantments. It only accepts the first defined version of the item.
Given the following example:
Here we tell OD that on right clicking a single step, it should print the message "Debug." if using any of the defined tools. However, it only prints the debug message when using a [ DIAMOND_SWORD with Looting 1 ], and [ IRON_SWORD with Looting 2 ], because those are the first instances defined of Diamond sword and Iron sword. Diamond sword with Looting 2, Looting 3, and Smite 1 fail to be recognized, and Iron sword with Looting 3 fails to be recognized.
The alternative solution for now is to do many individual entries of each tool, with each enchantment. For example: