MineClone2/mods/ITEMS/mcl_stonecutter
teknomunk b582afeb1f Update documentation for Minetest rename to Luanti (#4706)
This updates the VoxeLibre documentation by replacing "Minetest" with "Luanti" and updating links.

Done:
* Update "Minetest" in documentation and comments to "Luanti"
* Update links to forums, ContentDB and Luanti project web page

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4706
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-11-28 20:55:48 +01:00
..
locale Add and fix some german translations 2024-01-08 13:35:41 +00:00
init.lua Update documentation for Minetest rename to Luanti (#4706) 2024-11-28 20:55:48 +01:00
mod.conf Credits update in mod.conf 2023-11-25 23:52:04 +00:00
README.md Change MineClone 2 to VoxeLibre 2024-05-07 11:38:00 +00:00

mcl_stonecutter

Adds the stonecutter block. Used to cut stone like materials into stairs, slabs, etc. Also used as the Stone Mason Villager's jobsite.

Adding recipes

  • To add a new custom stonecutter recipe, use mcl_stonecutter.register_recipe(input, output, count)
  • input must be a name of a registered item
  • output must also be a name of a registered item
  • count should be a number denoting output count, this defaults to 1 for nil and invalid values
    • a number with a fraction passed as count will be rounded down
  • Stairs, slabs and walls get their recipes registered automatically
  • Recipe chains are followed automatically, so any recipes taking output of another recipe as input will also be taking input of that recipe as their input

Displaying the Stonecutter menu

  • To display the stonecutter formspec to a player use mcl_stonecutter.show_stonecutter_form(player)

License of code

See the main VoxeLibre README.md file. Author: PrairieWind, ChrisPHP, cora, Herowl, AFCMS

License of media

mcl_stonecutter_bottom.png mcl_stonecutter_side.png mcl_stonecutter_top.png mcl_stonecutter_saw.png License: CC0 1.0 Universal (CC0 1.0) Author: RandomLegoBrick