Skip to content

Built-in Conditions โ€‹

Attach conditions to any line using the if (and optionally if2) column.

ConditionParamDescription
hasFlagflag namePlayer has flag and value โ‰  0
!hasFlagflag namePlayer 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
hasItemitem idPlayer has the item in inventory
isCompletedquest idPlayer has completed the quest

Simple value checks (most common for flags/counters):

=,example_flag,1
>,example_counter,20
!,example_flag,69

Most 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, or
  • eval action that returns a bool

Dynamic Branching โ€‹

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

This project is an unofficial documentation site and is not affiliated with, endorsed by, or associated with Elin or Lafrontier / Noa. All trademarks are the property of their respective owners.