Added characterChest component for chest equipment, moved some files

This commit is contained in:
2024-12-27 00:27:54 +01:00
parent 9c105d6df6
commit 231f19a30f
49 changed files with 156 additions and 70 deletions

View File

@ -34,7 +34,7 @@
</template>
<script setup lang="ts">
import type { CharacterHair, CharacterGender, Sprite } from '@/types'
import type { CharacterHair, CharacterGender, Sprite } from '@/application/types'
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import { useGameStore } from '@/stores/gameStore'

View File

@ -29,7 +29,7 @@
import { useGameStore } from '@/stores/gameStore'
import { onMounted, ref, computed } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import type { CharacterHair } from '@/types'
import type { CharacterHair } from '@/application/types'
import { useVirtualList } from '@vueuse/core'
const gameStore = useGameStore()

View File

@ -40,7 +40,7 @@
</template>
<script setup lang="ts">
import type { CharacterType, CharacterGender, CharacterRace, Sprite } from '@/types'
import type { CharacterType, CharacterGender, CharacterRace, Sprite } from '@/application/types'
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import { useGameStore } from '@/stores/gameStore'

View File

@ -29,7 +29,7 @@
import { useGameStore } from '@/stores/gameStore'
import { onMounted, ref, computed } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import type { CharacterType } from '@/types'
import type { CharacterType } from '@/application/types'
import { useVirtualList } from '@vueuse/core'
const gameStore = useGameStore()

View File

@ -44,7 +44,7 @@
</template>
<script setup lang="ts">
import type { Item, ItemType, ItemRarity } from '@/types'
import type { Item, ItemType, ItemRarity } from '@/application/types'
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import { useGameStore } from '@/stores/gameStore'

View File

@ -32,7 +32,7 @@
import { useGameStore } from '@/stores/gameStore'
import { onMounted, ref, computed } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import type { Item } from '@/types'
import type { Item } from '@/application/types'
import { useVirtualList } from '@vueuse/core'
const gameStore = useGameStore()

View File

@ -50,12 +50,12 @@
</template>
<script setup lang="ts">
import type { Object } from '@/types'
import type { Object } from '@/application/types'
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import { useZoneEditorStore } from '@/stores/zoneEditorStore'
import { useGameStore } from '@/stores/gameStore'
import config from '@/config'
import config from '@/application/config'
import ChipsInput from '@/components/forms/ChipsInput.vue'
const gameStore = useGameStore()

View File

@ -28,11 +28,11 @@
</template>
<script setup lang="ts">
import config from '@/config'
import config from '@/application/config'
import { useGameStore } from '@/stores/gameStore'
import { onMounted, ref, computed } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import type { Object } from '@/types'
import type { Object } from '@/application/types'
import { useVirtualList } from '@vueuse/core'
const gameStore = useGameStore()

View File

@ -69,13 +69,13 @@
</template>
<script setup lang="ts">
import type { Sprite, SpriteAction } from '@/types'
import type { Sprite, SpriteAction } from '@/application/types'
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import { useGameStore } from '@/stores/gameStore'
import Accordion from '@/components/utilities/Accordion.vue'
import SpriteActionsInput from '@/components/gameMaster/assetManager/partials/sprite/partials/SpriteImagesInput.vue'
import { uuidv4 } from '@/utilities'
import { uuidv4 } from '@/application/utilities'
const gameStore = useGameStore()
const assetManagerStore = useAssetManagerStore()

View File

@ -24,12 +24,12 @@
</template>
<script setup lang="ts">
import config from '@/config'
import config from '@/application/config'
import { useGameStore } from '@/stores/gameStore'
import { onMounted, ref, computed } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import { useVirtualList } from '@vueuse/core'
import type { Sprite } from '@/types'
import type { Sprite } from '@/application/types'
const gameStore = useGameStore()
const assetManagerStore = useAssetManagerStore()

View File

@ -23,12 +23,12 @@
</template>
<script setup lang="ts">
import type { Tile } from '@/types'
import type { Tile } from '@/application/types'
import { computed, onBeforeUnmount, onMounted, ref, toRaw, watch } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import { useZoneEditorStore } from '@/stores/zoneEditorStore'
import { useGameStore } from '@/stores/gameStore'
import config from '@/config'
import config from '@/application/config'
import ChipsInput from '@/components/forms/ChipsInput.vue'
const gameStore = useGameStore()

View File

@ -28,11 +28,11 @@
</template>
<script setup lang="ts">
import config from '@/config'
import config from '@/application/config'
import { useGameStore } from '@/stores/gameStore'
import { onMounted, ref, computed } from 'vue'
import { useAssetManagerStore } from '@/stores/assetManagerStore'
import type { Tile } from '@/types'
import type { Tile } from '@/application/types'
import { useVirtualList } from '@vueuse/core'
const gameStore = useGameStore()