Rename minetest to luanti in CONTRIBUTING.md

This commit is contained in:
cora 2024-10-20 18:20:23 +02:00
parent 19ea3cdf2b
commit ae113ce81a
No known key found for this signature in database

View File

@ -17,7 +17,7 @@ reference when implementing new features.
While the primary goal of Mineclonia is to clone Minecraft gameplay, sometimes
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
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
@ -31,7 +31,7 @@ textures must come from sources which allow their use.
## Code Guidelines
* Each mod must provide `mod.conf`.
* 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.
* To export functions, store them inside a global table named like the mod,
e.g.
@ -57,7 +57,7 @@ function mcl_example.do_something()
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.
```lua