Modding:Mutations: Difference between revisions

138 bytes added ,  00:19, 26 June 2019
Code element
(Add info about Construction and Exclusions)
(Code element)
Line 419: Line 419:
== Additional Details ==
== Additional Details ==


You may add the following optional elements to a <mutation> tag in Mutations.xml
You may add the following elements to a <mutation> tag in Mutations.xml
* Constructor
* Constructor ''(optional)''
* Exclusions
* Exclusions ''(optional)''
* Code


=== Constructor ===
=== Constructor ===
Line 465: Line 466:
<mutation Name="Stinger (Confusing Venom)" Cost="3" MaxSelected="1" Class="Stinger" Constructor="Confuse" Exclusions="Stinger (Paralyzing Venom),Stinger (Poisoning Venom),Wings" BearerDescription="those with stingers tipped with confusing venom" Code="bx"></mutation>
<mutation Name="Stinger (Confusing Venom)" Cost="3" MaxSelected="1" Class="Stinger" Constructor="Confuse" Exclusions="Stinger (Paralyzing Venom),Stinger (Poisoning Venom),Wings" BearerDescription="those with stingers tipped with confusing venom" Code="bx"></mutation>
</syntaxhighlight>
</syntaxhighlight>
== Code ==
The Code element value is used when constructing a Build Library code for characters you create.