townforge/GameData/TB/cc/service.tb.txt
2020-05-29 23:20:45 +00:00

34 lines
1.2 KiB
Plaintext

WindowInfo
title Service settings
centered-relative-size: 0.5 0.3
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBTextField: text: "This building offers the following services:"
TBToggleContainer: id: "service-none", toggle: "expanded, value: 1
TBLayout: axis: y
TBTextField: text: "None"
TBToggleContainer: id: "service-firefighting", toggle: "expanded, value: 0
TBLayout: axis: y
TBTextField: text: "Firefighting"
TBClickLabel: text: "Offer service to others"
TBCheckBox: id: "offer-service", connection: "offer-service"
TBToggleContainer: connection: "offer-service", toggle: expanded
TBLayout: axis: y, position: "left"
TBLayout: axis: x, distribution: "gravity"
TBTextField: text: "Base price: "
TBEditField: id: "service-price", placeholder: "Base price", gravity: "left right"
TBSeparator
TBTextField: text: "This is the price per square."
TBSeparator
TBTextField: text: "For example, firefighting on a building that's 20x10 squares"
TBTextField: text: "will cost 200 times the base price"
TBLayout: axis: x
TBButton: text: "OK", id: "ok"
TBButton: text: "Cancel", id: "cancel"