Skip to content

Commit

Permalink
misc(zq)!: Clarify 'Condition's in help text of combo triggers tab
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyV99 committed Apr 10, 2024
1 parent f2fc4df commit cecef8a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/dialog/comboeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2861,7 +2861,8 @@ std::shared_ptr<GUI::Widget> ComboEditorDialog::view()
{
InfoDialog("Proximity Requirement","If the value is >0, the combo "
" will only trigger if the player is within that number of pixels of the combo."
"\nIf 'Invert Proximity Req' is checked, the player must be FARTHER than that distance instead.").show();
"\nIf 'Invert Proximity Req' is checked, the player must be FARTHER than that distance instead."
"\n\nThis is a 'Condition'. It won't trigger the combo on its own, but it must apply for other triggers to work.").show();
}
),
Label(text = "LightBeam:", fitParent = true),
Expand Down Expand Up @@ -3094,9 +3095,11 @@ std::shared_ptr<GUI::Widget> ComboEditorDialog::view()
)
),
Rows<2>(
INFOBTN("Only trigger if the specified counter has at least the specified amount."),
INFOBTN("Only trigger if the specified counter has at least the specified amount."
"\n\nThis is a 'Condition'. It won't trigger the combo on its own, but it must apply for other triggers to work."),
TRIGFLAG(51,"Require >="),
INFOBTN("Only trigger if the specified counter has less than the specified amount."),
INFOBTN("Only trigger if the specified counter has less than the specified amount."
"\n\nThis is a 'Condition'. It won't trigger the combo on its own, but it must apply for other triggers to work."),
TRIGFLAG(52,"Require <"),
INFOBTN("If the counter has the specified amount, consume it."
" Negative amount will add to the counter."),
Expand Down Expand Up @@ -3124,7 +3127,8 @@ std::shared_ptr<GUI::Widget> ComboEditorDialog::view()
InfoDialog("Item Requirement","If the value is >0, the item "
" id set here must be owned to trigger the combo."
"\nIf 'Invert Item Req' is checked, the item must NOT be owned instead."
"\nIf 'Consume Item Req' is checked, the item will be removed upon triggering.").show();
"\nIf 'Consume Item Req' is checked, the item will be removed upon triggering."
"\n\nThis is a 'Condition'. It won't trigger the combo on its own, but it must apply for other triggers to work.").show();
}
),
Label(text = "Spawn Item:", fitParent = true),
Expand Down

0 comments on commit cecef8a

Please sign in to comment.