townforge/GameData/TB/cc/script-row.tb.txt
Crypto City a01c2f6554 scripts can now be replaced
The replacement will be used when starting a new script, but already
started scripts will continue using the old one till finished

This will hopefully allow fixing small bugs as well as allow adding
more stuff to background scripts that are meant to supervise overall
game stuff like triggering events etc
2025-08-16 20:23:31 +00:00

36 lines
2.1 KiB
Plaintext

WindowInfo
TBLayout: axis: x, size: "available", distribution: "gravity", skin: "script-row"
TBTextField: id: "depth"
TBToggleContainer: id: "group-container", toggle: "expanded", value: 0
TBLayout: axis: x, gravity: "all", distribution: "gravity"
TBImageWidget: id: "arrow", gravity: "all", preserve-aspect-ratio: 1
TBImageWidget: id: "icon", preserve-aspect-ratio: 1
TBToggleContainer: id: "new-container", toggle: "expanded", gravity: "all"
TBTextField: text: "NEW", skin: "script-new-tag", bold: 1
font: size: 24
TBLayout: axis: y, distribution: "preferred", position: "left top"
TBLayout: axis: x, size: "available", gravity: "left right", distribution: "gravity"
TBTextField: id: "name", text-align: "left", gravity: "left right"
TBWidget: gravity: "left right"
TBToggleContainer: id: "details-container", toggle: "expanded", value: 1
TBEditField: id: "desc", text: "", multiline: 1, readonly: 1, adapt-to-content: 1, is-focusable: 0, skin: "TBEditField.script-description", gravity: "all"
TBLayout: axis: y
TBToggleContainer: id: "available-container", toggle: "expanded", value: 1, gravity: "right"
TBLayout: axis: y
TBToggleContainer: id: "play-container", toggle: "expanded", value: 1, gravity: "right"
TBButton: id: "play", text: "Play", gravity: "right"
TBToggleContainer: id: "select-container", toggle: "expanded", value: 1, gravity: "right"
TBButton: id: "select", text: "Select", gravity: "right"
TBButton: id: "view-source", text: "View source"
TBToggleContainer: id: "enable-container", toggle: "expanded", value: 0
TBClickLabel: id: "enabled-click-label", text: "Enabled", gravity: "left right"
TBCheckBox: id: "enabled"
TBToggleContainer: id: "replace-container", toggle: "expanded", value: 0
TBButton: id: "replace", text: "Replace (on chain command)"
TBButton: id: "replace-debug", text: "Replace (quick debug hack)"
TBToggleContainer: id: "unavailable-container", toggle: "expanded", value: 0, gravity: "right"
TBLayout: axis: y
TBButton: id: "view-source", text: "View source"
TBLayout: axis: y, id: "requirements"