-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix monster AI aside not displaying data inside decision groups.
- Loading branch information
Showing
4 changed files
with
54 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, } from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import AnyTask from '../AnyTask.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
DecisionName:string | ||
RootTask:GamecoreTask | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Decision <em>{{ node.DecisionName }}</em> | ||
<template #content> | ||
<AnyTask :node="node.RootTask" /> | ||
</template> | ||
|
||
</BlockLayout> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, } from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import AnyTask from '../AnyTask.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
DecisionGroupName:string | ||
DecisionList:GamecoreTask[] | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
<span class="flow">Group <em>{{ node.DecisionGroupName }}</em></span> | ||
<template #content> | ||
<AnyTask v-for="decision in node.DecisionList" :node="decision" /> | ||
</template> | ||
|
||
</BlockLayout> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters