mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-28 20:27:30 +01:00
Updated README
This commit is contained in:
parent
fd17bf1a29
commit
c183da7714
@ -4,17 +4,18 @@ Adds the stonecutter block. Used to cut stone like materials into stairs, slabs,
|
||||
|
||||
### Adding recipes
|
||||
|
||||
* To add a new compatible input the item needs to be in the group "stonecuttable".
|
||||
* It's output item needs to be in the group "stonecutter_output".
|
||||
* "stonecuttable" and "stonecutter_output" need to have the same number.
|
||||
* Items like polished granite should only be able to make it's polished variants
|
||||
while normal granite can make both. These inputs and outputs need to be in the group
|
||||
"stonecutter_stage".
|
||||
* 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
|
||||
|
||||
License of code
|
||||
---------------
|
||||
See the main MineClone 2 README.md file.
|
||||
Author: PrairieWind, ChrisPHP, cora
|
||||
Author: PrairieWind, ChrisPHP, cora, Herowl
|
||||
|
||||
License of media
|
||||
----------------
|
||||
|
Loading…
Reference in New Issue
Block a user