Yaml: Male Npc Actions - lalolotor/newlife-documentation GitHub Wiki
Members
id
Required
This is the unique identifier of the action.
textId
Required
This is the name of the Velocity XML element containing the text to be rendered when this action is taken.
condition
Required
This is a condition specifying whether the action can be taken by the NPC.
weightMultiplierConditions
This is a list of conditions. Each condition whose result is true doubles this action's likelihood of being chosen.
weightDivisorConditions
This is a list of conditions. Each condition whose result is true halves this action's likelihood of being chosen.
Notes:
In all fields of a male NPC action (including the text), you have access to a $npc variable, which is a reference to the male NPC taking the action.