Fix regressions in previous commit

This commit is contained in:
rubenwardy 2018-10-07 15:22:56 +01:00
parent acf3de9deb
commit 1daff5ad57
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
2 changed files with 9 additions and 8 deletions

View File

@ -137,7 +137,7 @@ Not an exhaustive list. Doesn't contain every possible operator.
### Selection ### Selection
The most basic selection is the *if statement*. It looks like this: The most basic selection is the if statement. It looks like this:
```lua ```lua
local random_number = math.random(1, 100) -- Between 1 and 100. local random_number = math.random(1, 100) -- Between 1 and 100.

View File

@ -124,7 +124,8 @@ To give a different texture per-side, supply the names of 6 textures in this ord
up (+Y), down (-Y), right (+X), left (-X), back (+Z), front (-Z). up (+Y), down (-Y), right (+X), left (-X), back (+Z), front (-Z).
(+Y, -Y, +X, -X, +Z, -Z) (+Y, -Y, +X, -X, +Z, -Z)
Remember: just like with most 3D graphics, +Y is upwards in Minetest. Remember that +Y is upwards in Minetest, as is the convention with
3D computer graphics.
```lua ```lua
minetest.register_node("mymod:diamond", { minetest.register_node("mymod:diamond", {
@ -196,12 +197,12 @@ possible to modify it to do more complex behaviour such as play a custom sound.
There are several types of crafting recipe available, indicated by the `type` There are several types of crafting recipe available, indicated by the `type`
property. property.
* shaped - ingredients must be in the correct position. * shaped - Ingredients must be in the correct position.
* shapeless - it doesn't matter where the ingredients are, * shapeless - It doesn't matter where the ingredients are,
just that there is the right amount. just that there is the right amount.
* cooking - recipes for the furnace to use. * cooking - Recipes for the furnace to use.
* fuel - defines items which can be burned in furnaces. * fuel - Defines items which can be burned in furnaces.
* tool_repair - defines items which can be tool repaired. * tool_repair - Defines items which can be tool repaired.
Craft recipes are not items, so they do not use Item Names to uniquely Craft recipes are not items, so they do not use Item Names to uniquely
identify themselves. identify themselves.
@ -323,7 +324,7 @@ minetest.register_craft({
}) })
``` ```
## Tools, Capabilities and Dig Types ## Tools, Capabilities, and Dig Types
Dig types are groups which are used to define how strong a node is when dug Dig types are groups which are used to define how strong a node is when dug
with different tools. with different tools.