forked from townforge/townforge
bonus (given by scripts) can be negative, and the sum of base and bonus can also be negative, including in scripts
16 lines
508 B
Plaintext
16 lines
508 B
Plaintext
WindowInfo
|
|
|
|
TBLayout: axis: x, size: "available", distribution: "gravity"
|
|
TBTextField: id: "attribute", gravity: "left right"
|
|
TBTextField: id: "base", text: "000"
|
|
TBTextField: text: "+"
|
|
TBEditField: id: "add", text: "0"
|
|
TBTextField: text: "="
|
|
TBTextField: id: "new", text: "000"
|
|
TBToggleContainer: id: "bonus-container", toggle: "expanded"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "="
|
|
TBEditField: id: "bonus", text: "0"
|
|
TBTextField: text: "="
|
|
TBTextField: id: "new-with-bonus", text: "000"
|