99
edits
m (Teamtoto moved page Modding/General Best Practices to Modding:General Best Practices) |
m (Add shorter headers so they can be URL linked without putting a ladle in the tupperware.) |
||
Line 1: | Line 1: | ||
[[Category:Modding]]{{Modding Info}} | [[Category:Modding]]{{Modding Info}} | ||
= Prefix your object and table names with some unique ID | =Prefixing= | ||
Prefix your object and table names with some unique ID. | |||
For instance, <code>alphabeardmods_{id}</code>. This will prevent namespace conflicts with official content and other mods in the future. | For instance, <code>alphabeardmods_{id}</code>. This will prevent namespace conflicts with official content and other mods in the future. | ||
Line 12: | Line 14: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= Only include your content and the minimum changeset via <code>Load="Merge"</code> in tables and object definitions | =Merging= | ||
Only include your content and the minimum changeset via <code>Load="Merge"</code> in tables and object definitions. | |||
Don't copy the whole contents of the game xml. You only need to include new content. | Don't copy the whole contents of the game xml. You only need to include new content. | ||