Conditions, Effects and Actions
About 168 wordsLess than 1 minute
Each expertise in focus/*.yml can have three configuration blocks:
condition— what the company must have or have done before the node can be learnedeffect— the bonus applied while the node is learnedaction— what happens once, at the moment the node is unlocked
The tables below are the complete set supported by the current build. Use the exact ids shown here. Conditions and effects are case-sensitive; actions are matched case-insensitively but are normally written in lower case as well.
Conditions
Complete example
The following node requires a previous node, 100 zombie kills and $35,000, replaces the two earlier zombie nodes, and applies +2 rotten flesh with a 35% chance:
zombie_loot_3:
label: 'More Zombie Loot III'
description:
- '&7Zombie drops: &a35% &7chance of &a+2 rotten flesh&7.'
- '&7Disables More Zombie Loot I and II.'
value_type: boolean
default:
value: 'false'
action:
disable_expertise: [zombie_loot_1, zombie_loot_2]
condition:
expertise: zombie_loot_2
company_log:
- 'mob_kill_count,ZOMBIE,100'
company_money: 35000
effect:
mob_drops_add:
ZOMBIE:
- 'ROTTEN_FLESH,+2,35'