townforge/GameData/TB/cc/start-wizard.tb.txt

62 lines
3.6 KiB
Plaintext

WindowInfo
title Start wizard
modal: 1
TBLayout: axis: y, distribution-position: "left top", distribution: "gravity"
TBToggleContainer: id: "no-wallet-container", toggle: "expanded", gravity: "left right"
TBLayout: axis: y
UITBHTMLView: adapt-to-content: 1, text: "In order to play Townforge, you need a wallet.<br>A wallet allows you both to use the Townforge gold cryptocurrency as well as play the game. You can do either one, or both.<br> Do you have a wallet already, or do you want to create one now ?"
TBLayout: axis: x
TBButton: id: "load-wallet", text: "Load wallet"
TBButton: id: "create-wallet", text: "Create wallet"
TBToggleContainer: id: "loading-wallet-container", toggle: "expanded", gravity: "left right"
TBLayout: axis: y
TBTextField: text: "Waiting for the wallet to load..."
TBToggleContainer: id: "no-account-container", toggle: "expanded", gravity: "left right"
TBLayout: axis: y
UITBHTMLView: adapt-to-content: 1, text: "You now have a wallet. To play the game, you need to create a game account.<br>This account will represent your avatar(s) and allow you to interact with the game's 3D world."
TBLayout: axis: x
TBTextField: text: "Your balance is:"
TBTextField: id: "balance"
TBToggleContainer: id: "no-account-low-balance-container", toggle: "expanded", gravity: "left right", connection: "no-account-low-balance-connection"
TBLayout: axis: y
TBLayout: axis: x
UITBHTMLView: adapt-to-content: 1, text: "For anti abuse purposes, creating an account requires a one time fee of "
TBTextField: id: "new-account-fee"
TBTextField: text: "gold"
UITBHTMLView: adapt-to-content: 1, text: "You currently do not have enough gold to create an account.<br>You can get gold either by mining the Townforge gold cryptocurrency right now, or obtain gold elsewhere and move it to your wallet.<br>Do you want to start mining ?<br>Note: mining while running the game is inefficient: if you want to mine for long periods, it is recommended to leave the game while you do and start it later again."
TBToggleContainer: id: "start-mining-container", toggle: "expanded", gravity: "left right", connection: "start-mining-connection"
TBLayout: axis: x
TBButton: id: "start-mining", text: "Start mining"
TBToggleContainer: connection: "start-mining-connection", invert: 1, toggle: "expanded", gravity: "left right"
TBLayout: axis: y
TBTextField: id: "mining-status"
TBButton: id: "stop-mining", text: "Stop mining"
TBToggleContainer: connection: "no-account-low-balance-connection", invert: 1, toggle: "expanded", gravity: "left right"
TBLayout: axis: y
TBButton: id: "create-account", text: "Create account"
TBToggleContainer: id: "creating-account-container", toggle: "expanded", gravity: "left right"
TBLayout: axis: y
TBToggleContainer: connection: "start-mining-connection", invert: 1, toggle: "expanded", gravity: "left right"
TBLayout: axis: y
TBButton: id: "stop-mining", text: "Stop mining"
TBTextField: text: "Waiting for the account creation command to be included in the blockchain..."
TBToggleContainer: id: "ready-container", toggle: "expanded", gravity: "left right"
TBLayout: axis: y
TBToggleContainer: connection: "start-mining-connection", invert: 1, toggle: "expanded", gravity: "left right"
TBLayout: axis: y
TBButton: id: "stop-mining", text: "Stop mining"
UITBHTMLView: adapt-to-content: 1, text: "You are ready to play the game"
TBToggleContainer: id: "footer-container", toggle: "expanded"
TBLayout: axis: x
TBButton: text: "Close", id: "ok"