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-01-05 12:52:26 -05:00
preferredHeight="54" />
2022-12-21 20:04:15 -05:00
<Cell class= "group-header"
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-06-26 10:41:13 -04:00
color="#333333"
columnSpan="2"/>
2022-12-21 20:04:15 -05:00
<Cell class= "option-button"
color="#333333"/>
2023-06-26 10:41:13 -04:00
<Cell class= "option-dropdowntext"
color="#333333"
columnSpan="1"/>
<Cell class= "option-dropdown"
color="#333333"
columnSpan="2"/>
2023-10-22 04:59:53 -04:00
<Panel class= "option-wrapper"
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-10-22 04:59:53 -04:00
<Panel class= "dropdown-wrapper"
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-10-22 04:59:53 -04:00
cellPadding="10 10 5 5">
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-06-26 10:41:13 -04:00
<Cell class= "option-dropdowntext" >
2023-10-22 04:59:53 -04:00
<Panel class= "option-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>
<Cell class= "option-dropdown" >
2023-10-22 04:59:53 -04:00
<Panel class= "dropdown-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-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-10-22 04:59:53 -04:00
<Panel class= "option-wrapper" >
2023-01-05 12:52:26 -05:00
<Text class= "option-header" > Enable snap tags for play area</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>
<!-- Option: splash scenario name on setup -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Fade in the name of the scenario for 2 seconds
 when placing down a scenario.">
2023-01-05 12:52:26 -05:00
<Cell class= "option-text" >
2023-10-22 04:59:53 -04:00
<Panel class= "option-wrapper" >
2023-01-05 12:52:26 -05:00
<Text class= "option-header" > Show scenario title on setup</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= "showTitleSplash"
onValueChanged="onClick_toggleOption(showTitleSplash)"/>
</Cell>
</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-10-22 04:59:53 -04:00
<Panel class= "option-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-10-22 04:59:53 -04:00
<Panel class= "option-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-10-22 04:59:53 -04:00
<Panel class= "option-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-09-21 06:42:21 -04:00
<Cell class= "option-dropdowntext" >
2023-10-22 04:59:53 -04:00
<Panel class= "option-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-09-21 06:42:21 -04:00
<Cell class= "option-dropdown" >
2023-10-22 04:59:53 -04:00
<Panel class= "dropdown-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>
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-10-22 04:59:53 -04:00
<Panel class= "option-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-10-22 04:59:53 -04:00
<Panel class= "option-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 custom playmat images -->
2023-10-22 04:59:53 -04:00
<Row class= "option-text"
tooltip="Places a tool that displays custom playmat images
 for all cycles in a gallery-like fashion.">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-10-22 04:59:53 -04:00
<Panel class= "option-wrapper" >
2023-03-02 09:04:29 -05:00
<Text class= "option-header" > Custom Playmat Images</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= "showCustomPlaymatImages"
onValueChanged="onClick_toggleOption(showCustomPlaymatImages)"/>
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-10-22 04:59:53 -04:00
<Panel class= "option-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"
tooltip="This allows moving all objects on the main playmat
 in a chosen direction.">
2022-12-20 09:27:47 -05:00
<Cell class= "option-text" >
2023-10-22 04:59:53 -04:00
<Panel class= "option-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-10-22 04:59:53 -04:00
<Panel class= "option-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-10-22 04:59:53 -04:00
<Panel class= "option-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>