townforge/GameData/TB/cc/increase-attribute-row.tb.txt
Crypto City a47504746f split attributes into base and bonus
bonus (given by scripts) can be negative, and the sum of base
and bonus can also be negative, including in scripts
2025-08-01 07:02:20 +00:00

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"