2022-12-07 07:02:09 -05:00
<!-- Default formatting -->
<Defaults >
2022-12-21 20:04:15 -05:00
<Text color= "#FFFFFF"
alignment="MiddleLeft" />
<Toggle isOn= "False"
rectAlignment="MiddleRight" />
2023-06-26 10:41:13 -04:00
<Dropdown rectAlignment= "MiddleCenter" />
2022-12-21 20:04:15 -05:00
<Cell dontUseTableCellBackground= "true"
outlineSize="0 1"
outline="grey" />
2022-12-07 07:02:09 -05:00
2022-12-20 09:27:47 -05:00
<!-- main window -->
2022-12-21 20:04:15 -05:00
<TableLayout class= "window"
width="500"
2023-01-05 12:52:26 -05:00
height="800"
2022-12-21 20:04:15 -05:00
active="false"
color="#000000"
outlineSize="2 2"
outline="grey"
showAnimation="SlideIn_Right"
hideAnimation="SlideOut_Right"
2023-04-14 11:34:02 -04:00
animationDuration="0.2" />
2022-12-07 07:02:09 -05:00
2022-12-20 09:27:47 -05:00
<!-- group headers -->
2022-12-21 20:04:15 -05:00
<Row class= "group-header"
2023-12-18 05:52:00 -05:00
preferredHeight="44" />
2022-12-21 20:04:15 -05:00
<Cell class= "group-header"
2023-12-18 05:52:00 -05:00
padding="10 10 0 0"
2023-06-26 10:41:13 -04:00
columnSpan="3"
2022-12-21 20:04:15 -05:00
color="#222222" />
<Panel class= "group-header"
padding="5 0 0 0" />
<Text class= "group-header"
fontSize="28"
font="font_teutonic-arkham" />
2022-12-07 07:02:09 -05:00
2022-12-20 09:27:47 -05:00
<!-- options -->
2022-12-21 20:04:15 -05:00
<Row class= "option-text"
2023-10-22 04:59:53 -04:00
preferredHeight="50"
tooltipPosition="Left"
tooltipBackgroundColor="rgba(0,0,0,1)"/>
2022-12-21 20:04:15 -05:00
<Cell class= "option-text"
2023-12-18 05:52:00 -05:00
padding="10 10 5 5"
2023-06-26 10:41:13 -04:00
color="#333333"
columnSpan="2"/>
2022-12-21 20:04:15 -05:00
<Cell class= "option-button"
2023-12-18 05:52:00 -05:00
padding="10 10 5 5"
2022-12-21 20:04:15 -05:00
color="#333333"/>
2023-11-24 08:15:41 -05:00
<Cell class= "option-singleColumn"
2023-12-18 05:52:00 -05:00
padding="10 10 5 5"
2023-06-26 10:41:13 -04:00
color="#333333"
columnSpan="1"/>
2023-11-24 08:15:41 -05:00
<Cell class= "option-doubleColumn"
2023-12-18 05:52:00 -05:00
padding="10 10 5 5"
2023-06-26 10:41:13 -04:00
color="#333333"
columnSpan="2"/>
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper"
2023-10-22 04:59:53 -04:00
padding="10 0 0 0"/>
2022-12-21 20:04:15 -05:00
<Text class= "option-header"
2023-10-22 04:59:53 -04:00
fontSize="22"
2022-12-21 20:04:15 -05:00
font="font_teutonic-arkham"/>
2023-11-24 08:15:41 -05:00
<Panel class= "doubleColumn-wrapper"
2023-10-22 04:59:53 -04:00
padding="0 17 3 3"/>
2022-12-08 06:01:10 -05:00
2022-12-20 09:27:47 -05:00
<!-- buttons at the bottom -->
2022-12-21 20:04:15 -05:00
<Button class= "bottomButtons"
hoverClass="hover"
pressClass="press"
selectClass="select"
color="#888888"
minHeight="35"
fontSize="24"
font="font_teutonic-arkham"/>
<Button class= "hover"
color="grey"/>
<Button class= "press"
color="white"/>
<Button class= "select"
color="white"/>
2022-12-07 07:02:09 -05:00
</Defaults>
<!-- Option Panel -->
2022-12-21 20:04:15 -05:00
<TableLayout id= "optionPanel"
class="window"
2023-10-16 18:29:07 -04:00
visibility="Admin"
2022-12-21 20:04:15 -05:00
rectAlignment="LowerRight"
2023-10-14 17:37:50 -04:00
offsetXY="-50 80"
raycastTarget="true">
2022-12-20 09:27:47 -05:00
<!-- Header: Options -->
<Row preferredHeight= "60" >
<Cell >
<Panel padding= "10 0 0 0" >
2022-12-21 20:04:15 -05:00
<Text font= "font_teutonic-arkham"
fontSize="35">Options</Text>
2022-12-07 10:40:55 -05:00
</Panel>
2022-12-20 09:27:47 -05:00
</Cell>
</Row>
2022-12-07 10:40:55 -05:00
2022-12-20 09:27:47 -05:00
<!-- Scrollable part with options -->
<Row >
<Cell >
2023-10-14 05:02:55 -04:00
<VerticalScrollView horizontalScrollbarVisibility= "AutohideAndExpandViewport"
2023-10-15 05:16:15 -04:00
scrollSensitivity="30"
raycastTarget="true">
2023-06-26 10:41:13 -04:00
<TableLayout columnWidths= "0 100 75"
2022-12-21 20:04:15 -05:00
autoCalculateHeight="1"
2023-12-18 05:52:00 -05:00
useGlobalCellPadding="false">
2023-01-05 12:52:26 -05:00
<!-- Group: general settings -->
<Row class= "group-header" >
<Cell class= "group-header" >
<Panel class= "group-header"
image="header_acolyte">
<Text class= "group-header" > GENERAL SETTINGS</Text>
</Panel>
</Cell>
</Row>
2023-06-26 10:41:13 -04:00
<!-- Option: card language -->
2023-10-23 16:49:47 -04:00
<!-- disabled until we have the backend in place
<Row class= "option-text" tooltip= "Downloading a campaign or importing a deck will use
this language for cards (NOT FUNCTIONAL YET!)." >
2023-11-24 08:15:41 -05:00
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
2023-06-26 10:41:13 -04:00
<Text class= "option-header" > Card language</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2023-06-26 10:41:13 -04:00
</Cell>
2023-11-24 08:15:41 -05:00
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
2023-10-23 16:49:47 -04:00
<Dropdown id= "cardLanguage" onValueChanged= "languageSelected(selectedIndex)" >
2023-06-26 10:41:13 -04:00
<Option > 简体中文</Option>
<Option > 繁體中文</Option>
<Option > Deutsch</Option>
<Option > English</Option>
<Option > Español</Option>
<Option > Français</Option>
<Option > Italiano</Option>
</Dropdown>
</Panel>
</Cell>
2023-10-23 16:49:47 -04:00
</Row> -->
2023-06-26 10:41:13 -04:00
2023-12-18 05:52:00 -05:00
<!-- Option: splash scenario name on setup -->
<Row class= "option-text"
tooltip="Fade in the name of the scenario for 2 seconds
 when placing down a scenario.">
<Cell class= "option-text" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Show scenario title on setup</Text>
</Panel>
</Cell>
<Cell class= "option-button" >
<Toggle id= "showTitleSplash"
onValueChanged="onClick_toggleOption(showTitleSplash)"/>
</Cell>
</Row>
<!-- Group: play area settings -->
<Row class= "group-header" >
<Cell class= "group-header" >
<Panel class= "group-header"
image="header_compass">
<Text class= "group-header" > PLAY AREA SETTINGS</Text>
</Panel>
</Cell>
</Row>
2023-01-05 12:52:26 -05:00
<!-- Option: play area snap tags -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Only cards with the tag 'Location' will snap (official cards are supported by default).
 Disable this if you are having issues with custom content.">
2023-01-05 12:52:26 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2023-12-18 05:52:00 -05:00
<Text class= "option-header" > Enable snap tags</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2023-01-05 12:52:26 -05:00
</Cell>
<Cell class= "option-button" >
<Toggle id= "playAreaSnapTags"
onValueChanged="onClick_toggleOption(playAreaSnapTags)"/>
</Cell>
</Row>
2023-12-18 05:52:00 -05:00
<!-- Option: location connections -->
<Row class= "option-text"
tooltip="Automatically draw location connections based on card metadata.">
<Cell class= "option-text" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Draw location connections</Text>
</Panel>
</Cell>
<Cell class= "option-button" >
<Toggle id= "playAreaConnections"
onValueChanged="onClick_toggleOption(playAreaConnections)"/>
</Cell>
</Row>
2023-11-24 08:15:41 -05:00
<!-- Option: play area connection color -->
<Row class= "option-text"
tooltip="This color will be used to draw lines
 for location connections.">
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Choose color for location connections</Text>
</Panel>
</Cell>
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
<Button id= "playAreaConnectionColor"
onClick="onClick_playAreaConnectionColor">
</Button>
</Panel>
</Cell>
</Row>
2023-11-29 07:11:25 -05:00
<!-- Option: change custom playarea image on setup -->
<Row class= "option-text"
2023-12-17 19:02:29 -05:00
tooltip="Attempts to set the play area to a fitting image
 from the play area image gallery.">
2023-11-29 07:11:25 -05:00
<Cell class= "option-text" >
<Panel class= "singleColumn-wrapper" >
2023-12-18 05:52:00 -05:00
<Text class= "option-header" > Change background on setup</Text>
2023-11-29 07:11:25 -05:00
</Panel>
</Cell>
<Cell class= "option-button" >
<Toggle id= "changePlayAreaImage"
onValueChanged="onClick_toggleOption(changePlayAreaImage)"/>
</Cell>
2023-01-05 12:52:26 -05:00
</Row>
2022-12-20 09:27:47 -05:00
<!-- Group: playermat settings -->
<Row class= "group-header" >
<Cell class= "group-header" >
2022-12-21 20:04:15 -05:00
<Panel class= "group-header"
2023-01-05 12:52:26 -05:00
image="header_cover">
2022-12-20 09:27:47 -05:00
<Text class= "group-header" > PLAYERMAT SETTINGS</Text>
</Panel>
</Cell>
</Row>
2022-12-07 10:40:55 -05:00
2022-12-20 09:27:47 -05:00
<!-- Option: enable snap tags -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Only cards with the tag 'Asset' will snap (official cards are supported by default).
 Disable this if you are having issues with custom content.">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2022-12-20 09:27:47 -05:00
<Text class= "option-header" > Enable snap tags</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-20 09:27:47 -05:00
</Cell>
<Cell class= "option-button" >
2022-12-21 20:04:15 -05:00
<Toggle id= "useSnapTags"
onValueChanged="onClick_toggleOption(useSnapTags)"/>
2022-12-20 09:27:47 -05:00
</Cell>
</Row>
2022-12-07 10:40:55 -05:00
2022-12-20 09:27:47 -05:00
<!-- Option: show draw 1 button -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Displays a button below the 'Upkeep' button that draws a card from your deck.
 Useful for multi-handed solo play.">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2022-12-20 09:27:47 -05:00
<Text class= "option-header" > Show "Draw 1" button</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-20 09:27:47 -05:00
</Cell>
<Cell class= "option-button" >
2022-12-21 20:04:15 -05:00
<Toggle id= "showDrawButton"
onValueChanged="onClick_toggleOption(showDrawButton)"/>
2022-12-20 09:27:47 -05:00
</Cell>
</Row>
2022-12-07 10:40:55 -05:00
2022-12-20 09:27:47 -05:00
<!-- Option: use clickable clue - counters -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Instead of automatically counting clues in the respective area on your playermat,
 this displays a clickable counter for clues.">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2023-06-26 10:41:13 -04:00
<Text class= "option-header" > Use clickable clue counters</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-20 09:27:47 -05:00
</Cell>
<Cell class= "option-button" >
2022-12-21 20:04:15 -05:00
<Toggle id= "useClueClickers"
onValueChanged="onClick_toggleOption(useClueClickers)"/>
2022-12-20 09:27:47 -05:00
</Cell>
</Row>
2022-12-07 10:40:55 -05:00
2023-01-01 20:23:34 -05:00
<!-- Option: use clickable resource counters -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="This enables spawning of clickable resource tokens for player cards.
 (Chef's Selection = assets with 0 uses)">
2023-11-24 08:15:41 -05:00
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
2023-06-26 10:41:13 -04:00
<Text class= "option-header" > Use clickable resource tokens</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2023-01-01 20:23:34 -05:00
</Cell>
2023-11-24 08:15:41 -05:00
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
2023-09-21 06:42:21 -04:00
<Dropdown id= "useResourceCounters"
onValueChanged="resourceCounterSelected(selectedIndex)">
<Option > Enabled</Option>
<Option > Chef's Selection</Option>
<Option > Disabled</Option>
</Dropdown>
</Panel>
2023-01-01 20:23:34 -05:00
</Cell>
</Row>
2024-01-15 07:00:25 -05:00
<!-- Option: remove a player mat -->
<Row class= "option-text"
tooltip="Remove an unused playermat for more table space.
 Displayed are the default colors.">
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Remove a playermat</Text>
</Panel>
</Cell>
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
<Dropdown id= "removePlayermat"
onValueChanged="playermatRemovalSelected(selectedIndex)">
2024-01-15 18:11:02 -05:00
<Option > Click to select</Option>
2024-01-15 07:00:25 -05:00
<Option > 1: White</Option>
<Option > 2: Orange</Option>
<Option > 3: Green</Option>
<Option > 4: Red</Option>
</Dropdown>
</Panel>
</Cell>
</Row>
2022-12-20 09:27:47 -05:00
<!-- Group: fan - made accessories -->
<Row class= "group-header" >
<Cell class= "group-header" >
2022-12-21 20:04:15 -05:00
<Panel class= "group-header"
2023-01-05 12:52:26 -05:00
image="header_olive">
2022-12-20 09:27:47 -05:00
<Text class= "group-header" > FAN-MADE ACCESSORIES</Text>
</Panel>
</Cell>
</Row>
2022-12-07 10:40:55 -05:00
2023-03-02 09:04:29 -05:00
<!-- Option: show attachment helper -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Provides a card-sized bag for cards that are attached to other cards
 (e.g. Backpack).">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-02 09:04:29 -05:00
<Text class= "option-header" > Attachment Helper</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-20 09:27:47 -05:00
</Cell>
<Cell class= "option-button" >
2023-03-02 09:04:29 -05:00
<Toggle id= "showAttachmentHelper"
onValueChanged="onClick_toggleOption(showAttachmentHelper)"/>
</Cell>
</Row>
2022-12-20 09:27:47 -05:00
<!-- Option: show clean up helper -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Useful for campaign-play:
 It resets play areas to allow continuous gameplay in the same savegame.">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2022-12-21 19:42:32 -05:00
<Text class= "option-header" > Clean Up Helper</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-20 09:27:47 -05:00
</Cell>
<Cell class= "option-button" >
2022-12-21 20:04:15 -05:00
<Toggle id= "showCleanUpHelper"
onValueChanged="onClick_toggleOption(showCleanUpHelper)"/>
2022-12-20 09:27:47 -05:00
</Cell>
</Row>
2023-03-02 09:04:29 -05:00
<!-- Option: show CYOA campaign guides -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Displays in a 'Choose Your Own Adventure'
 style redesigned campaign guides.">
2023-01-05 20:02:24 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-02 09:04:29 -05:00
<Text class= "option-header" > CYOA Campaign Guides</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2023-01-05 20:02:24 -05:00
</Cell>
<Cell class= "option-button" >
2023-03-02 09:04:29 -05:00
<Toggle id= "showCYOA"
onValueChanged="onClick_toggleOption(showCYOA)"/>
2023-01-05 20:02:24 -05:00
</Cell>
</Row>
2023-03-02 09:04:29 -05:00
<!-- Option: show displacement tool -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
2024-01-15 07:00:25 -05:00
tooltip="This allows moving all objects on the main play area
 in a chosen direction.">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-02 09:04:29 -05:00
<Text class= "option-header" > Displacement Tool</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-20 09:27:47 -05:00
</Cell>
<Cell class= "option-button" >
2023-03-02 09:04:29 -05:00
<Toggle id= "showDisplacementTool"
onValueChanged="onClick_toggleOption(showDisplacementTool)"/>
2022-12-20 09:27:47 -05:00
</Cell>
</Row>
2023-03-02 09:04:29 -05:00
<!-- Option: show hand helper -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Never count your hand cards again! This tool does that for you
 and additionally enables easy discarding of random cards.">
2022-12-30 16:37:05 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-02 09:04:29 -05:00
<Text class= "option-header" > Hand Helper</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-30 16:37:05 -05:00
</Cell>
<Cell class= "option-button" >
2023-03-02 09:04:29 -05:00
<Toggle id= "showHandHelper"
onValueChanged="onClick_toggleOption(showHandHelper)"/>
2022-12-30 16:37:05 -05:00
</Cell>
</Row>
2023-03-02 09:04:29 -05:00
<!-- Option: show search assistant -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Quickly search 3, 6, 9 or the top X
 cards of your deck!">
2022-12-30 16:37:05 -05:00
<Cell class= "option-text" >
2023-11-24 08:15:41 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-02 09:04:29 -05:00
<Text class= "option-header" > Search Assistant</Text>
2023-10-22 04:59:53 -04:00
</Panel>
2022-12-30 16:37:05 -05:00
</Cell>
<Cell class= "option-button" >
2023-03-02 09:04:29 -05:00
<Toggle id= "showSearchAssistant"
onValueChanged="onClick_toggleOption(showSearchAssistant)"/>
2022-12-30 16:37:05 -05:00
</Cell>
</Row>
2022-12-20 09:27:47 -05:00
</TableLayout>
</VerticalScrollView>
</Cell>
</Row>
2022-12-07 10:40:55 -05:00
2022-12-20 09:27:47 -05:00
<!-- Buttons: Defaults and Close -->
<Row preferredHeight= "50" >
<Cell >
2022-12-21 20:04:15 -05:00
<HorizontalLayout minHeight= "55"
flexibleHeight="0"
padding="10 10 5 10"
spacing="225">
<Button class= "bottomButtons"
onClick="onClick_defaultSettings">Load defaults</Button>
<Button class= "bottomButtons"
2023-10-16 18:29:07 -04:00
onClick="onClick_toggleUi(optionPanel)">Close</Button>
2022-12-08 06:01:10 -05:00
</HorizontalLayout>
2022-12-20 09:27:47 -05:00
</Cell>
</Row>
2022-12-21 19:42:32 -05:00
</TableLayout>