Devil Fruit Progression
The Devil Fruit Progression mod provides the ability to configure dependencies for abilities and devil fruit awakenings without requiring Java programming knowledge. All configuration parameters are stored in datapacks.
Requirement System Operation Principle
The system uses a hierarchical check structure. A large scope is considered completed if at least one of its small scopes is completed. In turn, a small scope is considered completed only when all requirements contained within it are met.
Available Requirement Types
Power Indicator (Doriki)
- Identifier: ability_progression:doriki
- Parameters: numerical value doriki, optional boolean parameter percentage
- Logic: with percentage=false, the requirement is met if the player's power indicator equals or exceeds the specified value; with percentage=true - if the ratio of current indicator to maximum equals or exceeds the specified number
Haki Experience
- Identifier: ability_progression:haki
- Parameters: numerical value hakiXP, haki type (BUSOSHOKU, KENBUNSHOKU, HAOSHOKU), optional parameter percentage
- Logic: similar to the doriki system, but applied to a specific haki type
Race and Subrace
- Race identifier: ability_progression:race
- Subrace identifier: ability_progression:sub_race
- Parameters: string values race and subRace
- Application: allows restricting ability availability for specific races or their subtypes
Fighting Style and Faction
- Style identifier: ability_progression:fighting_style
- Faction identifier: ability_progression:faction
- Parameters: string values style and faction
- Logic: checks the match of fighting style or faction affiliation
Devil Fruits
- Fruit identifier: ability_progression:devil_fruit
- Parameters: item identifier fruitID
- Logic: requirement is met when the player possesses the specified devil fruit
Awakening and Innate Haoshoku
- Awakening identifier: ability_progression:awakening
- Haoshoku identifier: ability_progression:haoshoku_born
- Logic: awakening checks for any awakened fruit; Haoshoku - the possibility of unlocking this haki type in the world
Quests and Abilities
- Quest identifier: ability_progression:quest
- Ability identifier: ability_progression:unlocked_ability
- Usage identifier: ability_progression:ability_used
- Parameters: identifiers questID and ability, for usage - additionally number of times timesUsed
- Logic: checks quest completion, presence of unlocked ability, or number of its uses
Loyalty and Default Behavior
- Loyalty identifier: ability_progression:loyalty
- Default identifier: ability_progression:default
- Logic: loyalty requires minimum loyalty level; default behavior unlocks the ability as it would occur without the mod