Chain Multiple Conditions Together
Understand Condition Stacking
Arc allows you to combine multiple conditions so that a reward only triggers when all criteria are met simultaneously. This creates complex, nuanced gameplay mechanics. For instance, you might require a player to be holding a specific item AND be in a particular biome AND have a certain status effect active.
Build Your Condition Chain
In your configuration, layer your conditions carefully. Each condition added narrows the circumstances under which the reward activates. Use clear naming and comments to track what each condition checks for.
Example Scenario
Create a reward that only triggers when a player defeats a specific mob type while holding a particular weapon in a designated location during a specific time of day. Arc's framework supports this level of detail through condition composition.
Test Thoroughly
Verify each condition independently first, then test the complete chain. Ensure all conditions must be true for the reward to activate, and adjust your criteria if the behavior doesn't match your design intent.