Compare commits

...

2 Commits

Author SHA1 Message Date
af26c6ed76 Add grindstone 2023-12-14 16:48:02 -05:00
3ee6bb7b80 Update readme and cdb 2023-12-14 16:34:33 -05:00
3 changed files with 5 additions and 0 deletions

View File

@ -13,5 +13,6 @@
"media_license": "CC-BY-SA-4.0",
"repo": "https://bitbucket.org/minetest_gamers/x_enchanting/src/master/",
"issue_tracker": "https://bitbucket.org/minetest_gamers/x_enchanting/issues?status=new&status=open",
"video_url": "https://youtu.be/JXF-GrQ9Uxs?si=dsgxDMXtm90ovE3D",
"forums": 28861
}

View File

@ -17,6 +17,8 @@ Adds Enchanting Mechanics and API.
* enchanted items have detailed enchantments description/short description
* mesh node model
* mesh entity model and animations
* tool texture will have enchanted glint
* adds grind stone to remove enchantments (excluding curses)
## How To

View File

@ -324,6 +324,8 @@ minetest.register_node('x_enchanting:grindstone', {
end
end
result_total = math.floor(result_total / 10)
result_payment_stack:set_count(result_total)
if listname == 'result' and result_stack:is_empty() then