Modding:Conversations: Difference between revisions

183 bytes added ,  22:48, 18 February 2022
Add note about base conversation
m (Remove beta disclaimer)
(Add note about base conversation)
Line 81: Line 81:
=== Inheritance ===
=== Inheritance ===
In cases where you'd like your elements to appear in multiple places, you can inherit their properties with the <code>Inherits</code> attribute.<br />
In cases where you'd like your elements to appear in multiple places, you can inherit their properties with the <code>Inherits</code> attribute.<br />
By default, every conversation inherits from <code>BaseConversation</code>, which holds the definitions of common elements to all conversations like trade and the water ritual.<br />
The attribute can also take a comma separated list, meaning you can inherit and merge the properties of multiple parent elements together.<br />
The attribute can also take a comma separated list, meaning you can inherit and merge the properties of multiple parent elements together.<br />
Unlike merging, the properties of the current element have precedence over those it is inheriting from.
Unlike merging, the properties of the current element have precedence over those it is inheriting from.