built and decomposed the mod

This commit is contained in:
Chr1Z93 2022-11-24 17:06:02 +01:00
parent 3cf51936f2
commit 313b4f7d71
6 changed files with 125 additions and 3 deletions

View File

@ -266,5 +266,5 @@
"Tags": [],
"Turns_path": "Turns.json",
"VersionNumber": "v13.2.2",
"XmlUI_path": "XmlUI.luascriptstate"
"XmlUI_path": "Root.xml"
}

View File

@ -48,5 +48,5 @@
"scaleZ": 1
},
"Value": 0,
"XmlUI": "\u003cButton onClick=\"shift(up)\" icon=\"down-arrow\" width=\"100\" height=\"100\" color=\"#FFFFFF\" position=\"0 -150 -10\" /\u003e\n\u003cButton onClick=\"shift(down)\" icon=\"down-arrow\" width=\"100\" height=\"100\" color=\"#FFFFFF\" position=\"0 150 -10\" rotation=\"0 0 180\"/\u003e\r\n\u003cButton onClick=\"shift(left)\" icon=\"down-arrow\" width=\"100\" height=\"100\" color=\"#FFFFFF\" position=\"150 0 -10\" rotation=\"0 0 90\" /\u003e\n\u003cButton onClick=\"shift(right)\" icon=\"down-arrow\" width=\"100\" height=\"100\" color=\"#FFFFFF\" position=\"-150 0 -10\" rotation=\"0 0 270\" /\u003e"
"XmlUI_path": "Fan-MadeAccessories.aa8b38/DisplacementTool.0f1374.xml"
}

View File

@ -0,0 +1,4 @@
<Button onClick="shift(up)" icon="down-arrow" width="100" height="100" color="#FFFFFF" position="0 -150 -10" />
<Button onClick="shift(down)" icon="down-arrow" width="100" height="100" color="#FFFFFF" position="0 150 -10" rotation="0 0 180"/>
<Button onClick="shift(left)" icon="down-arrow" width="100" height="100" color="#FFFFFF" position="150 0 -10" rotation="0 0 90" />
<Button onClick="shift(right)" icon="down-arrow" width="100" height="100" color="#FFFFFF" position="-150 0 -10" rotation="0 0 270" />

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,53 @@
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -100 -5" text="Elder Sign" />
<InputField id="elder_sign" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -100 -5" characterValidation="Integer">100</InputField>
<Button onClick="inc(elder_sign)" width="30" height="30" color="#FFFFFF" position="60 -100 -5" text="+" />
<Button onClick="dec(elder_sign)" width="30" height="30" color="#FFFFFF" position="95 -100 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -135 -5" text="Skull" />
<InputField id="skull" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -135 -5" characterValidation="Integer">0</InputField>
<Button onClick="inc(skull)" width="30" height="30" color="#FFFFFF" position="60 -135 -5" text="+" />
<Button onClick="dec(skull)" width="30" height="30" color="#FFFFFF" position="95 -135 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -170 -5" text="Cultist" />
<InputField id="cultist" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -170 -5" characterValidation="Integer">0</InputField>
<Button onClick="inc(cultist)" width="30" height="30" color="#FFFFFF" position="60 -170 -5" text="+" />
<Button onClick="dec(cultist)" width="30" height="30" color="#FFFFFF" position="95 -170 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -205 -5" text="Tablet" />
<InputField id="tablet" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -205 -5" characterValidation="Integer">0</InputField>
<Button onClick="inc(tablet)" width="30" height="30" color="#FFFFFF" position="60 -205 -5" text="+" />
<Button onClick="dec(tablet)" width="30" height="30" color="#FFFFFF" position="95 -205 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -240 -5" text="Elder Thing" />
<InputField id="elder_thing" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -240 -5" characterValidation="Integer">0</InputField>
<Button onClick="inc(elder_thing)" width="30" height="30" color="#FFFFFF" position="60 -240 -5" text="+" />
<Button onClick="dec(elder_thing)" width="30" height="30" color="#FFFFFF" position="95 -240 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -275 -5" text="Auto-fail" />
<InputField id="autofail" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -275 -5" characterValidation="Integer">-100</InputField>
<Button onClick="inc(autofail)" width="30" height="30" color="#FFFFFF" position="60 -275 -5" text="+" />
<Button onClick="dec(autofail)" width="30" height="30" color="#FFFFFF" position="95 -275 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -310 -5" text="Bless" />
<InputField id="bless" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -310 -5" characterValidation="Integer">-105</InputField>
<Button onClick="inc(bless)" width="30" height="30" color="#FFFFFF" position="60 -310 -5" text="+" />
<Button onClick="dec(bless)" width="30" height="30" color="#FFFFFF" position="95 -310 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -345 -5" text="Curse" />
<InputField id="curse" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -345 -5" characterValidation="Integer">-106</InputField>
<Button onClick="inc(curse)" width="30" height="30" color="#FFFFFF" position="60 -345 -5" text="+" />
<Button onClick="dec(curse)" width="30" height="30" color="#FFFFFF" position="95 -345 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -380 -5" text="Frost" />
<InputField id="frost" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -380 -5" characterValidation="Integer">-107</InputField>
<Button onClick="inc(frost)" width="30" height="30" color="#FFFFFF" position="60 -380 -5" text="+" />
<Button onClick="dec(frost)" width="30" height="30" color="#FFFFFF" position="95 -380 -5" text="-" />
<Text alignment="MiddleRight" width="100" height="30" color="#FFFFFF" outline="#000000" position="-140 -415 -5" text="Unnamed" />
<InputField id="unnamed" onEndEdit="revalue" width="120" height="30" color="#FFFFFF" position="-20 -415 -5" characterValidation="Integer">0</InputField>
<Button onClick="inc(unnamed)" width="30" height="30" color="#FFFFFF" position="60 -415 -5" text="+" />
<Button onClick="dec(unnamed)" width="30" height="30" color="#FFFFFF" position="95 -415 -5" text="-" />
<Button alignment="MiddleCenter" onClick="layout" width="280" height="30" color="#000000" textColor="#FFFFFF" position="-30 -450 -5" text="Position Tokens" />
<ToggleButton id="auto_update" onValueChanged="updateToggle" isOn="false" width="280" height="30" position="-30 -485 -5" text="Automatic Update" />

65
objects/Root.xml Normal file
View File

@ -0,0 +1,65 @@
<Defaults>
<Text color="white" fontSize="16"/>
</Defaults>
<VerticalLayout
visibility="Admin"
color="black" outlineSize="1 1" outline="#303030"
rectAlignment="LowerRight" width="40" height="200" offsetXY="0 100">
<Button icon="cthulhu" tooltipPosition="Left" tooltip="Campaigns"
onClick="onClick_toggleUi(Campaigns)"
color="black"/>
<Button icon="dark-cult" tooltipPosition="Left" tooltip="Standalone Scenarios"
onClick="onClick_toggleUi(Standalone Scenarios)"
color="black"/>
<Button icon="yog-sothoth" tooltipPosition="Left" tooltip="Extras"
onClick="onClick_toggleUi(Extras)"
color="black"/>
<Button icon="elder-sign" tooltipPosition="Left" tooltip="Investigators"
onClick="onClick_toggleUi(Investigators)"
color="black"/>
<Button icon="devourer" tooltipPosition="Left" tooltip="Community Content"
onClick="onClick_toggleUi(Community Content)"
color="black"/>
<?ignore
<Button icon="download" tooltipPosition="Left" tooltip="ArkhamDB Deck Importer"
onClick="onClick_toggleUi(Deck Importer)"
color="black"/>
?>
</VerticalLayout>
<!-- allowDragging="true" returnToOriginalPositionWhenReleased="false" -->
<VerticalLayout
id="load_ui"
active="false"
visibility="Admin"
width="800" height="780"
color="black" outlineSize="1 1" outline="#303030">
<HorizontalLayout minHeight="50" preferredHeight="50" flexibleHeight="0">
<Button icon="refresh"
tooltip="Refresh List" tooltipPosition="Right"
onClick="onClick_refreshList"
minWidth="50" preferredWidth="50" flexibleWidth="0" color="black"/>
<Text id="title" minWidth="200" flexibleWidth="100" fontSize="36">Loadable Items</Text>
<Button icon="close" tooltip="Close" tooltipPosition="Left"
onClick="onClick_toggleUi(Hidden)"
minWidth="50" preferredHeight="50" flexibleWidth="0" color="black"/>
</HorizontalLayout>
<VerticalScrollView
color="transparent" minHeight="100" flexibleHeight="100">
<Panel id="ui_update_height" height="24">
<VerticalLayout id="ui_update_point">
<Text>Please refresh to see available items.</Text>
</VerticalLayout>
</Panel>
</VerticalScrollView>
<Panel color="rgb(0,0,0)" minHeight="50" preferredHeight="50" flexibleHeight="0" active="true">
<Button id="load_buttion" active="false" onClick="onClick_load">Load:</Button>
<HorizontalLayout id="progress_display" active="true">
<ProgressBar id="download_progress" percentage="0" color="#000000" fillImageColor="#333333"/>
<Button onClick="onClick_cancel" active="false">Cancel</Button>
</HorizontalLayout>
</Panel>
</VerticalLayout>