1
0
Fork 0

Mod naming convention, snake case convention

new_mapgen_api
Elias Fleckenstein 2021-10-25 20:18:03 +02:00
parent fba30eccd6
commit 47fbb0c176
No known key found for this signature in database
GPG Key ID: 06927A5199D6C9B2
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,7 @@ issue.
### Code Guidelines
* Each mod must provide `mod.conf`.
* Mod names are snake case, and newly added mods start with `mcl_`
* Each mod which add API functions should store functions inside a
global table named like the mod.
* Public functions should not use self references but rather just access
@ -167,6 +168,7 @@ the table directly.
* Use modern Minetest API
* Tabs should be used for indent, spaces for alignment
* Use double quotes for strings
* Use snake_case rather than CamelCase
### Changes to Gameplay
Pull Requests that change gameplay have to be properly researched and