townforge/GameData/TB/cc/dice-roll.tb.txt
2021-05-29 12:32:20 +00:00

27 lines
904 B
Plaintext

WindowInfo
title Dice roll
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBTextField: text: "Roll a determinisitic dice based on a future block hash:"
TBEditField: id: "text", placeholder: "Event description", multiline: 0, gravity: "left right"
TBEditField: id: "min-value", placeholder: "Minimum result value", gravity: "left right"
TBEditField: id: "max-value", placeholder: "Maximum result value", gravity: "left right"
TBClickLabel: text: "Add attribute bonus:"
TBCheckBox: id: "use-attribute", connection: "use-attribute"
TBToggleContainer: connection: "use-attribute", toggle: expanded
TBLayout: axis: y
TBTextField: text: "Add a character's attribute to the roll:"
TBSelectDropdown: id: "accounts"
TBSelectDropdown: id: "attributes"
TBLayout: axis: x
TBButton: text: "OK", id: "ok"
TBButton: text: "Cancel", id: "cancel"