Code: otland/forgottenserver (https://github.com/otland/forgottenserver/compare/master...delusionx:lua-item-desc)
There's still some room for improvement. I'm thinking about combining the "hasX" functions into one that returns the table with all the item type "flags" on it (boolean flags), would probably make it cleaner in the source code.
I tried to test a large chunk of items and compare them...
[Suggestion] Lua-Generated Item Descriptions
There's still some room for improvement. I'm thinking about combining the "hasX" functions into one that returns the table with all the item type "flags" on it (boolean flags), would probably make it cleaner in the source code.
I tried to test a large chunk of items and compare them...
[Suggestion] Lua-Generated Item Descriptions