Contributing code¶
The organisation-wide guide is the CONTRIBUTING of Type-Omega. The short version for GTNA:
- For anything larger than a bug fix, open an issue first. Balance and progression changes need the author's approval.
- Fork, branch from
main, one topic per pull request. - Every new machine, item or recipe ships with names in en_us, pt_br and zh_cn.
- Add or update GameTests. A new multiblock needs a test that it forms and a negative test (it must not form or run when it should not).
- Run
./gradlew spotlessCheck compileJava runUnitTests runGameTestServer runDataand say in the pull request how you tested in game. - Commit messages and changelog entries are in English.
- Ports keep their source credit: add the machine to
GTNASourcesand follow the licence notes inTHIRD_PARTY_NOTICES.md.