Requirements ​
A requirement says what an entity must be or have. An ability can need a class and a level, a sword a minimum Strength, a quest a reputation, a conversation answer a weapon. Every requirement answers one question, "does this entity meet it?", and every list of requirements is checked the same way.
Where you add requirements ​
Look for a Requirements list in these editors:
| Editor | What the requirements decide |
|---|---|
| Abilities | Who can use the ability. The ability becomes unavailable while they are not met and available again when they are, as the entity levels up or changes gear, stats or class |
| Effects | What the entity the effect lands on must meet at that moment. An effect that fails is rejected |
| Items | Who can use or equip the item |
| Quests | Who can accept the quest |
| Craft Recipes | Who can craft the recipe, on top of knowing it |
| Craft Schools | What an entity needs to learn the school (Learning requirements) |
| Conversations | Whether a response is offered to the player (Response requirements) |
| Skill Trees | Whether a tree is open: the player can spend points in it only while they are met (Tree rules) |
How a list is checked ​
- All of them must be met. One that fails means the whole list fails. There is no "any of these": make separate abilities, or use a condition with the Or condition where conditions are accepted.
- The player is told why. Each requirement writes its own message ("Requires level 20 (you are level 12)") and a short summary for tooltips ("Requires level 20"). The tooltip of an item or ability lists the summaries.
- A requirement that is not filled in passes. A Stat requirement with no stat chosen, or a Faction requirement with no faction, asks nothing.
Adding a requirement ​
- Click the add button next to the Requirements list (Add Requirement in the Abilities editor). A dialog opens.
- Choose the type from the list.
- Fill in its fields and confirm. Double-click an entry of the list to change it; right-click an entry for the edit and remove choices.
The requirement types ​
| Class | What it is |
|---|---|
| Requirement | Base class for all requirement types in the game. |
| RequirementAbilityRank | Needs the ability that uses the effect to be at a rank: put it on an effect of an ability so that rank 3 adds the burn and rank 5 the second projectile. |
| RequirementChecker | Utility class for checking requirements and generating feedback Can be used as a static utility or instantiated for batch checking |
| RequirementEquipmentSlot | Requires entity to have equipment in specific slot |
| RequirementFaction | Requires entity to have a minimum reputation with a faction |
| RequirementKnowsAbility | Needs the entity to have an ability, optionally at a rank: "needs Fireball to learn Fireball II". |
| RequirementKnowsRecipe | Needs the character to know a crafting recipe (learned, or given by the profession, or by a specialization). |
| RequirementLevel | Requires the entity to be at or above a level, and optionally at or below another (a level range: a buff that only works up to level 60) |
| RequirementPlayerClassDefinition | Requires entity to be one of the specified player classes |
| RequirementProfession | Needs a profession (a craft school): learned, and optionally at a skill level or in a tier. |
| RequirementProficiency | Requires a level in a proficiency (swords, heavy armor, lockpicking): "needs Plate 25 to wear this". |
| RequirementResponseSeen | Requirement that checks if a player has seen/selected a specific response Useful for branching conversations based on player choices |
| RequirementSkillNode | Needs a node of a skill tree to be unlocked (a rank of it, or one choice of a choice node), or needs that it is NOT. |
| RequirementSkillTier | Needs a proficiency or a profession to be in a tier (Journeyman or higher), or to be at the cap of its tier (ready to be trained further). |
| RequirementSkillTreePoints | Needs a number of points spent in a skill tree of the player (and optionally not more than a number). |
| RequirementSpecialization | Needs a specialization of a proficiency or a profession (or needs that the character does NOT have it). |
| RequirementStat | Requires entity to have a minimum value in a specific stat |
| RequirementWeapon | Requires entity to have specific weapon types equipped |
The fields of each type:
| Type | Fields | Met when |
|---|---|---|
| Level | Required level (default 1), Max level (0 = no limit), Follow item level, Item level offset | The entity's level is at least the required level, and at most the max level when there is one. A max level makes "only works up to level 60". See Level |
| Ability Rank | Min rank (default 2), Max rank (0 = no limit) | On an effect that an ability uses: the ability is at least at the min rank (and at most the max rank). Anywhere else the requirement is met. See Ability ranks |
| Stat | Stat, Minimum value, Check base stat | The stat's value is at least the minimum. With Check base stat off it counts the value with bonuses and buffs; on, only the base |
| Player Class | Allowed classes, Exclusion mode | The player's class is in the list. With Exclusion mode on it is the other way round: the class must not be in the list. Entities that are not players always pass |
| Faction | Faction, Minimum reputation, Standing name | The entity's reputation with the faction is at least the minimum. With a Standing name ("Friendly", "Allied") it must be at that standing or a higher one |
| Equipment Slot | Required slot | Something is equipped in the slot |
| Weapon | Requires any weapon, Required weapon types | A weapon is equipped, or one of the listed types. An entity that is disarmed never meets it |
| Proficiency | Proficiency, Required level, Min tier | The player's level in the proficiency is at least the required level, and the player is in at least the tier: "needs Plate 25" |
| Skill Tier | Kind, Target, Min tier, Must be at cap | A proficiency or profession is in at least a tier, and with Must be at cap its level is full too (ready to train the next tier) |
| Profession | Craft school, Min level, Min tier | A profession is learned, at a skill level, in a tier |
| Specialization | Kind, Target, Specialization, Must have | The character has a specialization, or (with Must have off) does not have it |
| Skill Tree Points | Skill tree, Min points, Max points | The player has spent at least (and optionally at most) that many points in a skill tree. Max points 0 with Min points 0 means "nothing spent in it" |
| Skill Node | Skill tree, Node, Min rank, Choice, Must have | A node of a skill tree is unlocked (at least that rank), or, for a choice node, that option was picked. With Must have off, it must not be |
| Knows Ability | Ability, Min rank | The character has the ability, at least at the rank |
| Knows Recipe | Recipe | The character knows the crafting recipe (learned, or given by the profession or a specialization) |
| Response Seen | Source type (NPC or Interactable), the unique id of the NPC or object, Response id, Must have seen | The player has (or, with Must have seen off, has not) picked that answer in that conversation. For branching conversations |
Level ​
The Level requirement asks for a level between a minimum and a maximum. On an item it can instead follow the item level: tick Follow item level and the level needed is the item level of that item, minus the Item level offset. An item generated at level 30 with an offset of 2 asks for a level 28 player; an item that is not generated follows the item level written on it. Use it on items that are generated or scale, so the level needed grows with the level of the drop.
The old "required level" idea of an item is this requirement: the Item level field of an item is only how powerful it is.
Stat requirements and buffs
A requirement on a stat that a buff raises is met only while the buff lasts. An ability that needs 50 Strength becomes unusable again when the buff ends. Turn on Check base stat to ignore buffs.
Examples ​
| You want | Requirements |
|---|---|
| A spell for mages from level 20 | Level (required 20) and Player Class (Mage) |
| A heavy axe only strong characters can wield | Stat (Strength, minimum 40) |
| A buff that stops working above level 60 | Level (max level 60), on the effect |
| A vendor discount for friends | Faction (Merchants, standing "Friendly") on a conversation response |
| A weapon skill that needs a sword | Weapon (required type: Sword) on the ability |
See also ​
- Conditions
- Requirements: how they are built (Advanced)