forked from townforge/townforge
58 lines
2.5 KiB
Plaintext
58 lines
2.5 KiB
Plaintext
WindowInfo
|
|
title Name place
|
|
centered-relative-size: 0.6 0.4
|
|
modal: 1
|
|
|
|
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
|
|
|
|
TBTextField: text: "Name the selected area"
|
|
TBTextField: text: "You can create more complex shapes by creating several areas sharing the same name."
|
|
TBTextField: text: "Holes may be carved out of an existing area to create a non rectangular area."
|
|
|
|
TBLayout: axis: x, distribution: "gravity", distribution-position: "left"
|
|
TBTextField: text: "Terrain type:"
|
|
TBTextField: id: "terrain-feature"
|
|
TBButton: id: "help", text: "?"
|
|
|
|
TBToggleContainer: id: "intersecting-container", toggle: "expanded"
|
|
TBLayout: axis: y
|
|
TBTextField: text: "Warning: this area intersects with at least one other from another player, and will take priority", skin: "name-place-intersecting-warning"
|
|
TBTextField: text: "Make sure this is intended", skin: "name-place-intersecting-warning"
|
|
|
|
TBClickLabel: text: "Carve a hole", gravity: "left"
|
|
TBCheckBox: id: "carve", connection: "carve"
|
|
|
|
TBToggleContainer: connection: "carve", invert: 1, toggle: "expanded", gravity: "left right"
|
|
TBLayout: axis: x, distribution: "gravity", distribution-position: "left"
|
|
TBTextField: text: "Place name:"
|
|
TBEditField: id: "name", gravity: "all", placeholder: "Give this place a name", multiline: 0, autofocus: 1
|
|
TBToggleContainer: id: "name-error-container", toggle: "expanded", gravity: "left right"
|
|
TBLayout: axis: x, distribution: "gravity", distribution-position: "left"
|
|
TBImageWidget: filename: "images/warning.png"
|
|
lp:
|
|
width: 24
|
|
height: 24
|
|
TBTextField: id: "name-error", gravity: "left right", text-align: "left", skin: "text-error"
|
|
|
|
TBToggleContainer: id: "container", toggle: "expanded", value: 1
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Creating this place requires "
|
|
TBTextField: id: "runestones-needed", gravity: "left right"
|
|
TBTextField: text: "runestones"
|
|
TBToggleContainer: id: "hole-container", toggle: "expanded", container: "carve"
|
|
TBLayout: axis: x
|
|
TBTextField: text: "Making holes in a named area requires one runestone, regardless of the size of the hole"
|
|
TBToggleContainer: id: "restricted-area-container", toggle: "expanded"
|
|
TBClickLabel: text: "Restricted area"
|
|
TBCheckBox: id: "restricted-area", value: 0
|
|
|
|
TBLayout: axis: x
|
|
TBTextField: text: "You have"
|
|
TBTextField: id: "runestones-owned", gravity: "left right"
|
|
TBTextField: text: "runestones"
|
|
|
|
TBLayout: axis: x
|
|
|
|
TBButton: text: "OK", id: "ok"
|
|
TBButton: text: "Cancel", id: "cancel"
|