Single Base Select
This commit is contained in:
parent
753ff3bf6f
commit
b2046a5701
5
WorldDawnSimpleTest/.obsidian/types.json
vendored
5
WorldDawnSimpleTest/.obsidian/types.json
vendored
@ -5,6 +5,9 @@
|
|||||||
"tags": "tags",
|
"tags": "tags",
|
||||||
"data.waffe": "checkbox",
|
"data.waffe": "checkbox",
|
||||||
"data.waffe.cost": "number",
|
"data.waffe.cost": "number",
|
||||||
"data.tool": "checkbox"
|
"data.tool": "checkbox",
|
||||||
|
"data.race": "checkbox",
|
||||||
|
"data.race.speed": "number",
|
||||||
|
"data.race.playable": "checkbox"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
25
WorldDawnSimpleTest/.obsidian/workspace.json
vendored
25
WorldDawnSimpleTest/.obsidian/workspace.json
vendored
@ -4,17 +4,20 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "b1b3caf9b80cfcb4",
|
"id": "0c3e15a1ad9e2e82",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "97e3f7a3f9ad49e0",
|
"id": "231678df0ba9b0ba",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "empty",
|
"type": "bases",
|
||||||
"state": {},
|
"state": {
|
||||||
"icon": "lucide-file",
|
"file": "wiki/races/Races.base",
|
||||||
"title": "New tab"
|
"viewName": "Playable"
|
||||||
|
},
|
||||||
|
"icon": "lucide-table",
|
||||||
|
"title": "Races"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -179,10 +182,15 @@
|
|||||||
"bases:Create new base": false
|
"bases:Create new base": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "97e3f7a3f9ad49e0",
|
"active": "231678df0ba9b0ba",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"wiki/weapons/Spear.md",
|
"wiki/races/Dragon.md",
|
||||||
|
"wiki/races/Human.md",
|
||||||
|
"wiki/races/Orc.md",
|
||||||
|
"wiki/races/Races.base",
|
||||||
"wiki/weapons/Items.base",
|
"wiki/weapons/Items.base",
|
||||||
|
"wiki/races",
|
||||||
|
"wiki/weapons/Spear.md",
|
||||||
"wiki/weapons/Sword.md",
|
"wiki/weapons/Sword.md",
|
||||||
"wiki/weapons/Axt.md",
|
"wiki/weapons/Axt.md",
|
||||||
"wiki/first subfolder/secondSub/Some Testnote.md",
|
"wiki/first subfolder/secondSub/Some Testnote.md",
|
||||||
@ -199,7 +207,6 @@
|
|||||||
"wiki/first subfolder/secondSub",
|
"wiki/first subfolder/secondSub",
|
||||||
"wiki/first subfolder",
|
"wiki/first subfolder",
|
||||||
"adventures",
|
"adventures",
|
||||||
"wiki",
|
|
||||||
"Welcome.md"
|
"Welcome.md"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
7
WorldDawnSimpleTest/wiki/races/Dragon.md
Normal file
7
WorldDawnSimpleTest/wiki/races/Dragon.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
data.race: true
|
||||||
|
data.race.speed: 7
|
||||||
|
data.race.playable: false
|
||||||
|
---
|
||||||
|
# Dragon
|
||||||
|
Dragons are big, fire breathing, flying fortresses.
|
||||||
7
WorldDawnSimpleTest/wiki/races/Human.md
Normal file
7
WorldDawnSimpleTest/wiki/races/Human.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
data.race: true
|
||||||
|
data.race.speed: 4
|
||||||
|
data.race.playable: true
|
||||||
|
---
|
||||||
|
# Human
|
||||||
|
Humans are versatile creatures.
|
||||||
7
WorldDawnSimpleTest/wiki/races/Orc.md
Normal file
7
WorldDawnSimpleTest/wiki/races/Orc.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
data.race: true
|
||||||
|
data.race.speed: 5
|
||||||
|
data.race.playable: true
|
||||||
|
---
|
||||||
|
# Orc
|
||||||
|
Orcs are pesky little creatures that only have the worst in mind.
|
||||||
19
WorldDawnSimpleTest/wiki/races/Races.base
Normal file
19
WorldDawnSimpleTest/wiki/races/Races.base
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
filters:
|
||||||
|
and:
|
||||||
|
- note["data.race"] == true
|
||||||
|
views:
|
||||||
|
- type: table
|
||||||
|
name: All
|
||||||
|
order:
|
||||||
|
- file.name
|
||||||
|
- data.race.speed
|
||||||
|
sort: []
|
||||||
|
- type: table
|
||||||
|
name: Playable
|
||||||
|
filters:
|
||||||
|
and:
|
||||||
|
- note["data.race.playable"] == true
|
||||||
|
order:
|
||||||
|
- file.name
|
||||||
|
- data.race.speed
|
||||||
|
sort: []
|
||||||
@ -6,12 +6,6 @@
|
|||||||
<String Name="name">
|
<String Name="name">
|
||||||
<Max>64</Max>
|
<Max>64</Max>
|
||||||
</String>
|
</String>
|
||||||
<String Name="race"/>
|
|
||||||
<Int Name="startLevel">
|
|
||||||
<Value>5</Value>
|
|
||||||
<Min>0</Min>
|
|
||||||
<Max>8</Max>
|
|
||||||
</Int>
|
|
||||||
<Bool Name="ismage"/>
|
<Bool Name="ismage"/>
|
||||||
</Variables>
|
</Variables>
|
||||||
</Group>
|
</Group>
|
||||||
@ -21,20 +15,5 @@
|
|||||||
<Int Name="speed"/>
|
<Int Name="speed"/>
|
||||||
</Variables>
|
</Variables>
|
||||||
</Group>
|
</Group>
|
||||||
<Group Name="control">
|
|
||||||
<Variables>
|
|
||||||
<Int Name="startxp"/>
|
|
||||||
<!--
|
|
||||||
<List Name="traits">
|
|
||||||
<Children>
|
|
||||||
<Int Name="trait">
|
|
||||||
<Min>3</Min>
|
|
||||||
<Max>12</Max>
|
|
||||||
</Int>
|
|
||||||
</Children>
|
|
||||||
</List>
|
|
||||||
-->
|
|
||||||
</Variables>
|
|
||||||
</Group>
|
|
||||||
</Groups>
|
</Groups>
|
||||||
</DataStructure>
|
</DataStructure>
|
||||||
@ -8,6 +8,11 @@
|
|||||||
<DataStructure>characterdata</DataStructure>
|
<DataStructure>characterdata</DataStructure>
|
||||||
</DataSlot>
|
</DataSlot>
|
||||||
</Data>
|
</Data>
|
||||||
|
<Bases>
|
||||||
|
<BaseReference Name="races">
|
||||||
|
<Path>wiki/races/Races</Path>
|
||||||
|
</BaseReference>
|
||||||
|
</Bases>
|
||||||
<StartPage>"start"</StartPage>
|
<StartPage>"start"</StartPage>
|
||||||
<Pages>
|
<Pages>
|
||||||
<Page Name="start">
|
<Page Name="start">
|
||||||
@ -31,33 +36,7 @@
|
|||||||
</OpenPage>
|
</OpenPage>
|
||||||
</Actions>
|
</Actions>
|
||||||
</OnPostCreate>
|
</OnPostCreate>
|
||||||
<!--
|
|
||||||
<OnPreLoad/>
|
|
||||||
<OnPostLoad/>
|
|
||||||
<OnPreCreate/>
|
|
||||||
<OnPostCreate/>
|
|
||||||
-->
|
|
||||||
</DataSlotLoader>
|
</DataSlotLoader>
|
||||||
<Label>
|
|
||||||
<Text>"Character Name: "</Text>
|
|
||||||
</Label>
|
|
||||||
<Label>
|
|
||||||
<Text>[data.character.definition.name]</Text>
|
|
||||||
</Label>
|
|
||||||
<Button>
|
|
||||||
<Text>"Press me"</Text>
|
|
||||||
<OnClick>
|
|
||||||
<Actions>
|
|
||||||
<Action>
|
|
||||||
<Do>"Somename"</Do>
|
|
||||||
<Output>[data.character.definition.name]</Output>
|
|
||||||
</Action>
|
|
||||||
<OpenPage>
|
|
||||||
<Page>"newchar"</Page>
|
|
||||||
</OpenPage>
|
|
||||||
</Actions>
|
|
||||||
</OnClick>
|
|
||||||
</Button>
|
|
||||||
</Content>
|
</Content>
|
||||||
<!--
|
<!--
|
||||||
<OnOpen/>
|
<OnOpen/>
|
||||||
@ -66,9 +45,11 @@
|
|||||||
</Page>
|
</Page>
|
||||||
<Page Name="newchar">
|
<Page Name="newchar">
|
||||||
<Content>
|
<Content>
|
||||||
<Label>
|
<BaseSingleSelect>
|
||||||
<Text>"This is the new Character Page!"</Text>
|
<Base>"races.Playable"</Base>
|
||||||
</Label>
|
<Output>[data.character.race.name]</Output>
|
||||||
|
<Display>"file.name"</Display>
|
||||||
|
</BaseSingleSelect>
|
||||||
</Content>
|
</Content>
|
||||||
</Page>
|
</Page>
|
||||||
</Pages>
|
</Pages>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user