Built-in Conditions โ
Attach conditions to any line using the if (and optionally if2) column.
| Condition | Param | Description |
|---|---|---|
hasFlag | flag name | Player has flag and value โ 0 |
!hasFlag | flag name | Player doesnโt have flag or value = 0 |
hasMelilithCurse | โ | Player has Melilith curse |
merchant | โ | Player is at Merchant Guild |
fighter | โ | Player is at Fighter Guild |
thief | โ | Player is at Thief Guild |
mage | โ | Player is at Mage Guild |
hasItem | item id | Player has the item in inventory |
isCompleted | quest id | Player has completed the quest |
Simple value checks (most common for flags/counters):
=,example_flag,1
>,example_counter,20
!,example_flag,69Most lines only need the if column. Add an if2 column if you need multiple conditions.
Dynamic Conditions โ
Built-in if/if2 conditions are evaluated only once when the drama loads.
To make a line dynamically enabled/disabled, use:
invoke*condition, orevalaction that returns abool

Dynamic Branching โ
Set jump to eval_result and use an eval action that returns a string to dynamically choose the jump target.