Epic/contribution guide.txt

19 lines
1.3 KiB
Plaintext

contribution guide:
To keep things neat and tidy across the game/server here are a few style guidelines to keep in mind.
Code style stays fairly true to Minetest Game, 90 line widths, three space indentation. I usually use single quotes. I can always change from tabs to spaces easily enough on any submissions. This part really isn't super important, as you don't see code when playing.
Textures should all be 32px.
Models should be built to a 16th grid with 32px textures. Angles are okay, but shouldn't be overdone.
Mobs should be built of boxes rotated as needed. As with the models they should stick as close as possible to the 32px texture grid.
Obviously as mobs will be moving around, imperfections in the pixel alignment aren't too big of a deal. :)
Breaking changes are obviously strongly frowned upon, unless there is absolutely no other way, they are avoided.
ABMs or Aliases can be used if a node needs to change names, or a second node can be registered, with the craft removed for the first,
then after some time the first can be removed.
The game is set in a medieval/fantasy type setting. Only the most basic of automation is allowed.
This will probably get more clarification in the future. I just wanted to get something put together sooner rather than later.