Modding:Objects: Difference between revisions

77 bytes added ,  02:05, 7 September 2019
Add ObjectBlueprints.xml tags & descriptions
No edit summary
(Add ObjectBlueprints.xml tags & descriptions)
Line 26: Line 26:
Each <code><nowiki><object></nowiki></code> in the ObjectBlueprints.xml file supports the following child XML tags:
Each <code><nowiki><object></nowiki></code> in the ObjectBlueprints.xml file supports the following child XML tags:
{| class="wikitable"
{| class="wikitable"
! XML Tag
! Description
|-
| <code><nowiki><part></nowiki></code>
| <code><nowiki><part></nowiki></code>
| Indicates that this object should load the part with the specified name. A parts is any C# class that inherits <code>IPart</code>. You don't need to program to add a part though, there are a lot of useful parts already available in the base game.
| Indicates that this object should load the part with the specified name. A parts is any C# class that inherits <code>IPart</code>.<br>You don't need to know how to code to add a part though, there are a lot of useful parts already available in the base game that you can steal from other objects.
|-
|-
| <code><nowiki><removepart></nowiki></code>
| <code><nowiki><removepart></nowiki></code>