AI rulesets are used to create equippable rules the battle AI will follow.
AI rulesets are found in Inventory > AI Rulesets.
AI rulesets can use content types to separate into different types and display them in inventory menus.
General Settings #
The general settings of AI rulesets define the content information for AI ruleset slots. AI rulesets are equipped on AI ruleset slots (similar to equipment slots).
The AI ruleset slots of combants are defined for all combatants in Combatants > Combatants > General Settings. Each combatant can optionally override this with custom AI ruleset slots.
Empty Content #
Defines the content information for empty AI ruleset slots.
This will be used instead of an equipped AI ruleset.
Default Slot Content #
The default content information used for AI ruleset slots.
Slot Content #
Optionally add content information for indexed slots, starting at index 0.
This allows you to define different content for each AI ruleset slot.
AI Ruleset Setup #
asdf
Base Settings #
Define basic settings of the AI ruleset.
Chance #
Define a chance if an AI ruleset will be used when determining a combatant’s battle action.
Price #
AI rulesets define their purchase price in the default currency (i.e. the first currency in the editor list, index 0).
Optionally, AI rulesets can also be sold back to shops – the price settings also define how much they’re sold for, as well as if that is in percent (e.g. 50% of the buy price) or an defined value (e.g. 1 gold).
Shops can also override AI ruleset prices.
Using Advanced Prices allows you to set up prices consisting of one or more costs. This supports using status values, items, currencies, equipment and other inventory content as costs.
Prefab #
AI rulesets can override the default item prefab that’ll be used by Item Collector components.
Schematic Settings #
Optionally override the default inventory schematics (defined in Inventory > Inventory Settings) or add custom schematics.
Custom schematics can be used on an instance of an AI ruleset in other schematics using a Custom Selected Data Schematic node. The AI ruleset is available as (local) selected data via the key action.
UI #
Define UI related settings for the AI ruleset.
Shortcut UI #
AI rulesets are shortcuts and use the Shortcut UI settings to control how they’re displayed in menu screens and shortcut HUDs.
See this tutorial for example setups.
Portraits #
Add portraits to AI rulesets and display them in menu screens or HUDs.
AI rulesets can also use prefab view potraits to display the prefab of the ruleset as a portrait. This uses render textures and a camera.
Information Overrides #
AI rulesets can override default number formatting, notifications and console texts.
AI Ruleset Settings #
Define basic settings of the AI ruleset.
Move AI #
Equipping an AI ruleset can change the Move AI or Use Mode of the move AI used by the combatant. These changes can optionally only be used when an action from the AI ruleset is used.
The move AI changes will be used when the combatant selects an AI action, using the first move AI changes that are found, starting with the first AI ruleset slot. The AI rulesets will be checked before the AI behaviours – but move AI changes limited to using an action of an AI behaviour or AI ruleset will always overrule the first found change.
Equip Conditions #
Equipping an AI ruleset can optionally depend on defined conditions.
An AI ruleset that blocks supportive ability use can only be equipped if the combatant’s current class is a support class (e.g. healer).
User Conditions #
Using an AI ruleset can depend on defined conditions.
The blocking ruleset is only used when the combatant’s MP is less than 25 %.
Rules #
The rules defined by an AI ruleset will be used in order, i.e. starting with the first rule in the list.
There are different types of rules, either directly selecting an action, influencing which actions can be used or which targets will be used.
AI rulesets are checked for actions before the battle AI of a combatant.
The following rules are available.
Action #
Uses a defined action (used before AI behaviour).
Battle AI #
Use battle AIs to find an action (used before AI behaviour).
Learn more about battle AIs in this documentation.
Block Ability #
Blocks defined abilities or abilities of content types from being used.
Can also block using any ability.
Block Attack #
Blocks the base attack from being used.
Block Counter Attack #
Blocks the counter attack from being used (as an AI action, not countering).
Block Item #
Blocks defined items or items of content types from being used.
Can also block using any item.
Move AI #
Changes the used move AI or use mode.
Target #
Changes the target of used actions.
Can also be limited to actions from the same ruleset.

