Rename minetest to luanti in CONTRIBUTING.md
This commit is contained in:
parent
19ea3cdf2b
commit
ae113ce81a
@ -17,7 +17,7 @@ reference when implementing new features.
|
|||||||
|
|
||||||
While the primary goal of Mineclonia is to clone Minecraft gameplay, sometimes
|
While the primary goal of Mineclonia is to clone Minecraft gameplay, sometimes
|
||||||
contributions containing minor deviations from Minecraft will be included. These
|
contributions containing minor deviations from Minecraft will be included. These
|
||||||
deviations should be motivated either by Minetest engine limitations or other
|
deviations should be motivated either by Luanti engine limitations or other
|
||||||
technical difficulties replicating Minecraft behaviour. The addition of bonus
|
technical difficulties replicating Minecraft behaviour. The addition of bonus
|
||||||
features not found in Minecraft will generally not be accepted. Most of the time
|
features not found in Minecraft will generally not be accepted. Most of the time
|
||||||
we will suggest putting such features in a separate mod since Mineclonia has
|
we will suggest putting such features in a separate mod since Mineclonia has
|
||||||
@ -31,7 +31,7 @@ textures must come from sources which allow their use.
|
|||||||
## Code Guidelines
|
## Code Guidelines
|
||||||
* Each mod must provide `mod.conf`.
|
* Each mod must provide `mod.conf`.
|
||||||
* Mod names are snake case, and newly added mods start with `mcl_`, e.g.
|
* Mod names are snake case, and newly added mods start with `mcl_`, e.g.
|
||||||
`mcl_core`, `mcl_farming`, `mcl_monster_eggs`. Keep in mind Minetest does not
|
`mcl_core`, `mcl_farming`, `mcl_monster_eggs`. Keep in mind Luanti does not
|
||||||
support capital letters in mod names.
|
support capital letters in mod names.
|
||||||
* To export functions, store them inside a global table named like the mod,
|
* To export functions, store them inside a global table named like the mod,
|
||||||
e.g.
|
e.g.
|
||||||
@ -57,7 +57,7 @@ function mcl_example.do_something()
|
|||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
* Use modern Minetest API, e.g. no usage of `minetest.env`
|
* Use modern Luanti API, e.g. no usage of `minetest.env`
|
||||||
* Tabs should be used for indent, spaces for alignment, e.g.
|
* Tabs should be used for indent, spaces for alignment, e.g.
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
|
Loading…
x
Reference in New Issue
Block a user