Mod naming convention, snake case convention

This commit is contained in:
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

@ -160,6 +160,7 @@ issue.
### 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_`
* Each mod which add API functions should store functions inside a * Each mod which add API functions should store functions inside a
global table named like the mod. global table named like the mod.
* Public functions should not use self references but rather just access * Public functions should not use self references but rather just access
@ -167,6 +168,7 @@ the table directly.
* Use modern Minetest API * Use modern Minetest API
* Tabs should be used for indent, spaces for alignment * Tabs should be used for indent, spaces for alignment
* Use double quotes for strings * Use double quotes for strings
* Use snake_case rather than CamelCase
### Changes to Gameplay ### Changes to Gameplay
Pull Requests that change gameplay have to be properly researched and Pull Requests that change gameplay have to be properly researched and