Compare commits

..
Author SHA1 Message Date
senorsmith003 13111d3819 did not know what unversioned files meant, adding these since they are new posers 2026-12-06 01:41:53 +09:00
senorsmith003 1bbd697053 Merge branch 'implement_pokemon' of https://gitlab.com/cable-mc/cobblemon into implement_pokemon 2026-12-06 01:40:54 +09:00
senorsmith003 ee4553a501 updated model and animation changes 2026-12-06 01:40:37 +09:00
senorsmith003 ebbda70ef0 surskit and masquerain
new models,textures, animations, posers, and canSleep enabled on species files
2026-12-06 01:26:16 +09:00
senorsmith003 26e2edcde2 electrode animations and new poser file added 2026-12-06 01:23:25 +09:00
senorsmith003 6bdda9946f files forgotten to commit to foongus line commit
poser and species to allow shoulder mounting
2026-12-06 00:04:52 +09:00
senorsmith003 2eec9877fb update to marill and azumarill animations and poser files, as well as marills species file to allow underwater swimming 2026-12-06 00:01:50 +09:00
senorsmith003 a6e47486c6 update to foongus line animations and poser files 2026-12-06 00:00:58 +09:00
senorsmith003 ab25e59e18 backtrack to add q.curve to various animations of
dreepy,galarian yamask, lycanroc dusk, runerigus, togedemaru
2026-12-05 23:38:41 +09:00
senorsmith003 66b07ca3b4 updated eye locators for minior model 2026-12-05 21:50:20 +09:00
senorsmith003 bfbaf31b0e removed accidental vaporeon recoil animation 2026-12-05 21:50:00 +09:00
senorsmith003 eea337d760 togedemaru animation and poser update 2026-12-05 21:49:32 +09:00
senorsmith003 1f4bdc3780 lycanroc dusk animations and poser updates 2026-12-05 20:42:25 +09:00
FrankTheFarmer 19ea0abac6 Changelog of wurmple 2026-12-05 21:23:01 +10:00
FrankTheFarmer 2784d64190 New wurmple animations 🪱🪱🪱 2026-12-05 21:22:29 +10:00
FrankTheFarmer 15768a924a Wurmple becomes shoulder mountable 2026-12-05 21:21:31 +10:00
senorsmith003 627258a1d8 updated lists of model updates and animation updates 2026-12-05 19:35:38 +09:00
senorsmith003 53e22e28ac Merge branch 'implement_pokemon' of https://gitlab.com/cable-mc/cobblemon into implement_pokemon 2026-12-05 17:48:33 +09:00
senorsmith003 624c9d35bc double-back to eevee line ground_run poser additions (eevee and vaporen only, no flareon ground run) 2026-12-05 17:33:29 +09:00
senorsmith003 83e78d88fd double-back to dreepy line ground_run poser additions 2026-12-05 17:30:24 +09:00
senorsmith003 3589b5aff1 runerigus line asset updates 2026-12-05 17:24:26 +09:00
FrankTheFarmer 1d050ea5f3 Merge branch 'main' into implement_pokemon 2026-12-05 17:58:47 +10:00
senorsmith003 d3ac9111c7 dreepy and drakloak updates
dreepy new animations+ poser
drakloak update old animations
2026-12-05 16:24:14 +09:00
senorsmith003 1c649d7fea eevee evo line animations, models, posers, species files updated
follow up cramorant species update to add sleep behavior
2026-12-05 15:26:10 +09:00
RedGenesectNinja 2fcfa57216 Implemented Noibat animations 2026-12-04 22:09:14 -06:00
senorsmith003 7950152741 removed caterpie blink per request 2026-12-05 12:20:11 +09:00
senorsmith003 c43522ce39 cramorant update/fixes
removes conditions from fly and hover
2026-12-05 12:18:29 +09:00
senorsmith003 d28484e2c6 ground-jump pose changed from gyarados to dragonite 2026-12-05 09:21:32 +09:00
Polymeta cf2cef490d Merge branch 'pokemon-met-data' into 'main'
Pokemon met data

See merge request cable-mc/cobblemon!2514
2026-12-04 22:15:21 +00:00
Polymeta c70c966ef0 license 2026-12-04 21:58:02 +00:00
whatsy 973f27dad7 Refactors to allow for unique text variants 2026-12-04 12:46:05 -05:00
whatsy 5a1c17ac91 Remove MetDataUpdatePacket 2026-12-04 11:43:39 -05:00
whatsy 0f51ad5cf3 Merge branch 'main' into pokemon-met-data 2026-11-24 18:58:05 -05:00
whatsy 4159d60535 chore: remove commented code 2026-11-24 18:57:54 -05:00
whatsy a4c4dadee1 Moved MoveDescriptionScrollList and MetDataScrollList to a general ScrollableTextBox + Added a custom scroll bar for them 2026-10-27 20:33:25 -04:00
whatsy 990cb1886e PokemonMetData entries no longer nullable + formatting changes (RIP my HorizontalScrollingBox) 2026-10-27 18:27:34 -04:00
whatsy 15ae1100ac store and display info about meeting a pokemon 2026-10-27 15:04:47 -04:00
105 changed files with 79928 additions and 4204 deletions

No files matched your search

+29 -18
View File
@@ -2,24 +2,7 @@
## [1.8.5 (MONTH xth, 2026)](#1-8-5)
### Additions
- You can now drag to select multiple Pokémon inside the PC menu.
### Pokémon Added
#### Generation 4
#### Generation 5
#### Generation 6
#### Generation 7
#### Generation 8
#### Generation 9
### Model updates for the following Pokémon
### Animation updates for the following Pokémon
- You can now view the biome, level, and date you caught a Pokémon.
- Added the `healersSetSpawn` gamerule. When enabled, using a healing machine will set your spawnpoint.
- A Pokémon holding a Power item now gains 1 point in the corresponding riding stat every two minutes while being ridden. The interval is configurable, and can be disabled with `-1`.
- Added sounds to Play rough, Gigaton Hammer and Pyro Ball
@@ -27,9 +10,37 @@
- Added footstep sounds to Charizard, Venusaur, Blastoise, Parasect, Arcanine, Dewgong, Rhydon, Rhyhorn, Parasect, Mr. Mime, Lapras, Aerodactyl, Dragonite, Ariados, Girafarig, Heracross, Ursaring, Mantine, Skarmory, Slaking, Camerupt, Flygon, Altaria, Tropius, Salamence, Metagross, Staraptor, Bastiodon, Honchkrow, Garchomp, Lickilicky, Mamoswine, Zebstrika, Darmanitan, Crustle, Archeops, Golurk, Bouffalant, Braviary, Hisuian Braviary, Skiddo, Gogoat, Tyrantrum, Goodra, Hisuian Goodra, Noivern, Vikavolt, Mudsdale, Corviknight, Duraludon, Wyrdeer, Ursaluna, Sneasler, Kilowattrel, Espathra, Cyclizar, Farigiraf and Archaludon.
- Unremarkable and Masterpiece Teacups now have new sounds
### Model updates for the following Pokémon
- Cramorant
- Surskit
- Masquerain
- Vaporeon(bone adjustment)
- Galarian Yamask(small change in stone height)
- Runerigus(eye adjustment)
- Togedemaru (eye locators)
- Minior(eye locators)
- Foongus(bone rearrangement)
- Marill(toe adjustment)
### Animation updates for the following Pokémon
- Trapinch
- Vibrava
- Eevee
- Vaporeon
- Flareon
- Cramorant
- Dreepy
- Drakloak
- Galarian Yamask
- Runerigus
- Noibat
- Lycanroc Dusk form
- Caterpie
- Amoonguss
- Azumarill
- Electrode
- Wurmple
### Changes
- Amethyst now grows from Typegem core blocks like typegems do
@@ -566,7 +566,6 @@ object CobblemonNetwork {
list.add(PacketRegisterInfo(SwapPartyPokemonPacket.ID, SwapPartyPokemonPacket::decode, SwapPartyPokemonHandler))
list.add(PacketRegisterInfo(MovePCPokemonPacket.ID, MovePCPokemonPacket::decode, MovePCPokemonHandler))
list.add(PacketRegisterInfo(MovePCPokemonBatchPacket.ID, MovePCPokemonBatchPacket::decode, MovePCPokemonBatchHandler))
list.add(PacketRegisterInfo(MovePartyPokemonPacket.ID, MovePartyPokemonPacket::decode, MovePartyPokemonHandler))
list.add(PacketRegisterInfo(SwapPCPartyPokemonPacket.ID, SwapPCPartyPokemonPacket::decode, SwapPCPartyPokemonHandler))
@@ -27,10 +27,8 @@ import com.cobblemon.mod.common.net.messages.client.storage.RemoveClientPokemonP
import com.cobblemon.mod.common.net.messages.client.storage.SwapClientPokemonPacket
import com.cobblemon.mod.common.net.messages.client.storage.pc.InitializePCPacket
import com.cobblemon.mod.common.net.messages.client.storage.pc.MoveClientPCPokemonPacket
import com.cobblemon.mod.common.net.messages.client.storage.pc.SetPCBoxPacket
import com.cobblemon.mod.common.net.messages.client.storage.pc.SetPCPokemonPacket
import com.cobblemon.mod.common.net.messages.client.storage.pc.wallpaper.UnlockPCBoxWallpaperPacket
import com.cobblemon.mod.common.net.messages.server.storage.pc.MovePCPokemonBatchPacket
import com.cobblemon.mod.common.pokemon.Pokemon
import com.cobblemon.mod.common.util.DataKeys
import com.cobblemon.mod.common.util.asTranslated
@@ -68,12 +66,6 @@ open class PCStore(
) : PokemonStore<PCPosition>() {
constructor(uuid: UUID): this(uuid, lang("your_pc"))
data class PCPokemonMove(
val pokemonID: UUID,
val oldPosition: PCPosition,
val newPosition: PCPosition
)
val boxes = mutableListOf<PCBox>()
protected var lockedSize = false
val backupStore = BottomlessStore(UUID(0L, 0L))
@@ -278,43 +270,6 @@ open class PCStore(
}
}
fun validateMoves(moves: List<PCPokemonMove>): Boolean {
if (moves.isEmpty() || moves.size > MovePCPokemonBatchPacket.MAX_MOVES) return false
if (moves.map { it.oldPosition }.toSet().size != moves.size ||
moves.map { it.newPosition }.toSet().size != moves.size ||
moves.map { it.pokemonID }.toSet().size != moves.size
) return false
if (moves.any { (_, source, target) -> !isValidPosition(source) || !isValidPosition(target) }) return false
val sourcePositions = moves.mapTo(mutableSetOf()) { it.oldPosition }
val pokemonMoves = moves.map { move ->
val pokemon = get(move.oldPosition)?.takeIf { it.uuid == move.pokemonID } ?: return false
move to pokemon
}
return !pokemonMoves.any { (move, _) -> get(move.newPosition) != null && move.newPosition !in sourcePositions }
}
fun moveBatch(moves: List<PCPokemonMove>): Boolean {
if (!validateMoves(moves)) return false
val pokemonMoves = moves.map { move ->
val pokemon = get(move.oldPosition)?.takeIf { it.uuid == move.pokemonID } ?: return false
move to pokemon
}
pokemonMoves.forEach { (move, _) -> setAtPosition(move.oldPosition, null) }
pokemonMoves.forEach { (move, pokemon) -> setAtPosition(move.newPosition, pokemon) }
val affectedBoxes = pokemonMoves
.flatMap { (move, _) -> listOf(move.oldPosition.box, move.newPosition.box) }
.distinct()
.map { boxes[it] }
affectedBoxes.forEach { sendPacketToObservers(SetPCBoxPacket(it)) }
pcChangeObservable.emit(Unit)
return true
}
override fun loadPositionFromNBT(nbt: CompoundTag): StoreCoordinates<PCPosition> {
return StoreCoordinates(this, PCPosition(nbt.getShort(DataKeys.STORE_BOX).toInt(), nbt.getByte(DataKeys.STORE_SLOT).toInt()))
}
@@ -111,7 +111,6 @@ object CobblemonClient {
val battleOverlay: BattleOverlay by lazy { BattleOverlay() }
val pokedexUsageContext: PokedexUsageContext by lazy { PokedexUsageContext() }
val rideControlsOverlay: RideControlsOverlay by lazy { RideControlsOverlay() }
var pcHealthToggle: Boolean = false
fun onLogin() {
clientPlayerData = ClientGeneralPlayerData()
@@ -29,7 +29,7 @@ class BoxStorageSlot(
val grabbedSlot = parent.grabbedSlot
return if (grabbedSlot == null) {
getPokemon().let { it == null || !parent.isInMultiSelection(it, position) }
true
} else {
grabbedSlot.getPokemon() != getPokemon()
}
@@ -50,8 +50,6 @@ import net.minecraft.network.chat.Component
import net.minecraft.sounds.SoundEvent
import kotlin.isInitialized
import net.minecraft.resources.ResourceLocation
import net.minecraft.util.FastColor
import org.lwjgl.glfw.GLFW
class PCGUI(
val pc: ClientPC,
@@ -100,8 +98,6 @@ class PCGUI(
private val buttonWallpaperResource = cobblemonResource("textures/gui/pc/pc_button_set_wallpaper.png")
private val buttonInfoArrow = cobblemonResource("textures/gui/pc/info_arrow.png")
private val buttonHealthToggleResource = cobblemonResource("textures/gui/pc/pc_button_toggle_health.png")
private val topSpacerResource = cobblemonResource("textures/gui/pc/pc_spacer_top.png")
private val bottomSpacerResource = cobblemonResource("textures/gui/pc/pc_spacer_bottom.png")
private val rightSpacerResource = cobblemonResource("textures/gui/pc/pc_spacer_right.png")
@@ -133,55 +129,6 @@ class PCGUI(
var selectPointerOffsetIncrement = false
var displayOptions = false
private var dragStartX: Int? = null
private var dragStartY: Int? = null
private var dragEndX: Int? = null
private var dragEndY: Int? = null
private var selectionDragActive = false
data class SelectionArea(val left: Int, val top: Int, val right: Int, val bottom: Int)
private data class BoxGridBounds(val left: Int, val top: Int, val right: Int, val bottom: Int) {
fun contains(x: Int, y: Int) = x in left..< right && y >= top && y < bottom
}
private fun getBoxGridBounds(): BoxGridBounds {
val left = storageWidget.x
val top = storageWidget.y
return BoxGridBounds(
left,
top,
left + StorageWidget.SCREEN_WIDTH,
top + StorageWidget.SCREEN_HEIGHT
)
}
fun getSelectionArea(): SelectionArea? {
if (!selectionDragActive) return null
val startX = dragStartX ?: return null
val startY = dragStartY ?: return null
val endX = dragEndX ?: return null
val endY = dragEndY ?: return null
val bounds = getBoxGridBounds()
if (!bounds.contains(startX, startY)) return null
val columns = 6
val rows = 5
val slotPitch = StorageSlot.SIZE + StorageWidget.BOX_SLOT_PADDING
val gridLeft = bounds.left + StorageWidget.BOX_SLOT_START_OFFSET_X
val gridTop = bounds.top + StorageWidget.BOX_SLOT_START_OFFSET_Y + if (displayOptions) 5 else 0
val startColumn = ((startX - gridLeft) / slotPitch).coerceIn(0, columns - 1)
val endColumn = (((endX.coerceIn(bounds.left, bounds.right - 1)) - gridLeft) / slotPitch).coerceIn(0, columns - 1)
val startRow = ((startY - gridTop) / slotPitch).coerceIn(0, rows - 1)
val endRow = (((endY.coerceIn(bounds.top, bounds.bottom - 1)) - gridTop) / slotPitch).coerceIn(0, rows - 1)
return SelectionArea(
gridLeft + minOf(startColumn, endColumn) * slotPitch, // left
gridTop + minOf(startRow, endRow) * slotPitch, // top
gridLeft + (maxOf(startColumn, endColumn) * slotPitch) + StorageSlot.SIZE, // right
gridTop + (maxOf(startRow, endRow) * slotPitch) + StorageSlot.SIZE // bottom
)
}
override fun renderBlurredBackground(delta: Float) {}
override fun renderMenuBackground(context: GuiGraphics) {}
@@ -272,6 +219,7 @@ class PCGUI(
storageWidget.setupStorageSlots()
for (button in optionButtons) {
button.visible = displayOptions
button.highlighted = false
}
}.also { it.highlighted = displayOptions }
)
@@ -302,28 +250,12 @@ class PCGUI(
configuration.showParty = isVisible
wallpaperWidget.visible = !isVisible
(it as IconButton).highlighted = !isVisible
if (unseenWallpapers.isNotEmpty()) MarkPCBoxWallpapersSeenPacket(unseenWallpapers).sendToServer()
if (!unseenWallpapers.isEmpty()) MarkPCBoxWallpapersSeenPacket(unseenWallpapers).sendToServer()
}.also {
it.visible = displayOptions
optionButtons.add(it)
})
val healthButton = this.addRenderableWidget(IconButton(
pX = x + 230,
pY = y + 31,
buttonWidth = 20,
buttonHeight = 20,
resource = buttonHealthToggleResource,
label = "toggle_health_bars",
) {
CobblemonClient.pcHealthToggle = !CobblemonClient.pcHealthToggle
(it as IconButton).highlighted = CobblemonClient.pcHealthToggle
}.also {
it.visible = displayOptions
optionButtons.add(it)
})
healthButton.highlighted = CobblemonClient.pcHealthToggle
PokemonSortMode.entries.forEachIndexed { index, sortType ->
val typeName = sortType.name.lowercase()
this.addRenderableWidget(IconButton(
@@ -383,20 +315,6 @@ class PCGUI(
super.init()
}
private fun renderSelectionBox(context: GuiGraphics, area: SelectionArea) {
context.pose().pushPose()
context.pose().translate(0.0, 0.0, 1500.0)
val borderColor = FastColor.ARGB32.color(255, 205, 212, 255)
val bgColor = FastColor.ARGB32.color(75, 133, 183, 230)
val thickness = 1
context.fill(area.left, area.top, area.right, area.bottom, bgColor)
context.fill(area.left, area.top, area.right, area.top + thickness, borderColor)
context.fill(area.left, area.bottom - thickness, area.right, area.bottom, borderColor)
context.fill(area.left, area.top, area.left + thickness, area.bottom, borderColor)
context.fill(area.right - thickness, area.top, area.right, area.bottom, borderColor)
context.pose().popPose()
}
override fun render(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
val matrices = context.pose()
renderBackground(context, mouseX, mouseY, delta)
@@ -537,20 +455,6 @@ class PCGUI(
shadow = true
)
// var dexNo = pokemon.species.nationalPokedexNumber.toString()
// while (dexNo.length < 4) {
// dexNo = "0$dexNo"
// }
// drawScaledText(
// context = context,
// font = CobblemonResources.DEFAULT_LARGE,
// text = Component.literal(dexNo).bold(),
// x = x + 38,
// y = y + 1.5,
// shadow = true,
// scale = 0.85f
// )
drawScaledText(
context = context,
font = CobblemonResources.DEFAULT_LARGE,
@@ -781,14 +685,12 @@ class PCGUI(
scale = SCALE
)
if (optionButtons.isNotEmpty() && displayOptions) {
if (!optionButtons.isEmpty() && displayOptions) {
for (button in optionButtons) button.showAlt = hasShiftDown()
}
super.render(context, mouseX, mouseY, delta)
getSelectionArea()?.let { renderSelectionBox(context, it) }
// Item Tooltip
if (pokemon != null) {
val displayedItem = if (showCosmeticItem) pokemon.cosmeticItem else pokemon.heldItemNoCopy()
@@ -810,20 +712,6 @@ class PCGUI(
}
override fun mouseClicked(mouseX: Double, mouseY: Double, button: Int): Boolean {
storageWidget.clearPendingStorageSlotClick()
selectionDragActive = false
val clickX = mouseX.toInt()
val clickY = mouseY.toInt()
if (storageWidget.multiSelection == null && button == 0 &&
getBoxGridBounds().contains(clickX, clickY) &&
storageWidget.pastureWidget == null) {
dragStartX = clickX
dragStartY = clickY
} else {
dragStartX = null
dragStartY = null
}
// Trigger child component function as they will need to check the entire screen click area
if (::boxNameWidget.isInitialized) boxNameWidget.mouseClicked(mouseX, mouseY, button)
return super.mouseClicked(mouseX, mouseY, button)
@@ -852,43 +740,9 @@ class PCGUI(
storageWidget.pastureWidget?.let { pasture ->
if (pasture.pastureScrollList.isHovered) pasture.pastureScrollList.mouseDragged(mouseX, mouseY, button, deltaX, deltaY)
}
if (button == 0 && storageWidget.pastureWidget == null) {
val startX = dragStartX
val startY = dragStartY
if (startX != null && startY != null) {
val offsetX = mouseX - startX
val offsetY = mouseY - startY
if (offsetX * offsetX + offsetY * offsetY >= 25.0) {
selectionDragActive = true
storageWidget.clearPendingStorageSlotClick()
dragEndX = mouseX.toInt()
dragEndY = mouseY.toInt()
}
}
}
return super.mouseDragged(mouseX, mouseY, button, deltaX, deltaY)
}
override fun mouseReleased(mouseX: Double, mouseY: Double, button: Int): Boolean {
val handled = super.mouseReleased(mouseX, mouseY, button)
if (button == GLFW.GLFW_MOUSE_BUTTON_LEFT) {
if (selectionDragActive) {
dragEndX = mouseX.toInt()
dragEndY = mouseY.toInt()
storageWidget.updateSelection()
storageWidget.clearPendingStorageSlotClick()
} else {
storageWidget.completePendingStorageSlotClick(mouseX, mouseY)
}
}
dragStartX = null
dragStartY = null
dragEndX = null
dragEndY = null
selectionDragActive = false
return handled
}
override fun keyPressed(keyCode: Int, scanCode: Int, modifiers: Int): Boolean {
val boxNameFocused = this::boxNameWidget.isInitialized && boxNameWidget.isFocused
val filterFocused = this::filterWidget.isInitialized && filterWidget.isFocused
@@ -1,37 +0,0 @@
package com.cobblemon.mod.common.client.gui.pc
import com.cobblemon.mod.common.pokemon.Pokemon
data class PCMultiSelection(
private val grid: MutableList<MutableList<Pokemon?>> = mutableListOf(),
val sourceBox: Int = 0,
val sourceColumn: Int = 0,
val sourceRow: Int = 0
) {
fun getHorizontalSize(): Int = grid.firstOrNull()?.size ?: 0
fun getVerticalSize(): Int = grid.size
constructor(horizontalSize: Int, verticalSize: Int, sourceBox: Int, sourceColumn: Int, sourceRow: Int) : this(
MutableList(verticalSize) { MutableList<Pokemon?>(horizontalSize) { null } },
sourceBox,
sourceColumn,
sourceRow
)
fun getPokemon(x: Int, y: Int): Pokemon? {
return grid[y][x]
}
fun setPokemon(x: Int, y: Int, pokemon: Pokemon?) {
grid[y][x] = pokemon
}
fun pokemonEntries(): List<Triple<Int, Int, Pokemon>> {
return grid.flatMapIndexed { y, row ->
row.mapIndexedNotNull { x, pokemon -> pokemon?.let { Triple(x, y, it) } }
}
}
fun getPokemonCount(): Int = pokemonEntries().size
}
@@ -45,13 +45,11 @@ class ReleaseButton(
vOffset = if (isHovered(mouseX.toDouble(), mouseY.toDouble())) HEIGHT else 0,
textureHeight = HEIGHT * 2
)
val pokemonCount = parent.multiSelection?.getPokemonCount() ?: 0
drawScaledText(
context = context,
font = CobblemonResources.DEFAULT_LARGE,
text = if (pokemonCount > 1)
{ lang("ui.pc.release_all").bold() } else { lang("ui.pc.release").bold() },
text = lang("ui.pc.release").bold(),
x = x + (WIDTH / 2),
y = y + 3.5,
centered = true,
@@ -10,11 +10,10 @@ package com.cobblemon.mod.common.client.gui.pc
import com.cobblemon.mod.common.Cobblemon
import com.cobblemon.mod.common.api.gui.blitk
import com.cobblemon.mod.common.client.CobblemonClient
import com.cobblemon.mod.common.client.gui.CobblemonRenderable
import com.cobblemon.mod.common.client.gui.PokemonGUIAnimationStyle
import com.cobblemon.mod.common.client.gui.drawProfilePokemon
import com.cobblemon.mod.common.client.gui.pasture.PasturePCGUIConfiguration
import com.cobblemon.mod.common.client.gui.PokemonGUIAnimationStyle
import com.cobblemon.mod.common.client.render.drawScaledText
import com.cobblemon.mod.common.client.render.models.blockbench.FloatingState
import com.cobblemon.mod.common.client.render.renderScaledGuiItemIcon
@@ -23,19 +22,13 @@ import com.cobblemon.mod.common.pokemon.Pokemon
import com.cobblemon.mod.common.util.cobblemonResource
import com.cobblemon.mod.common.util.lang
import com.cobblemon.mod.common.util.math.fromEulerXYZDegrees
import juuxel.adorn.util.Colors
import net.minecraft.client.Minecraft
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.client.gui.components.Button
import net.minecraft.client.renderer.RenderType
import net.minecraft.client.sounds.SoundManager
import net.minecraft.network.chat.Component
import net.minecraft.util.Mth
import org.joml.Quaternionf
import org.joml.Vector3f
import kotlin.math.abs
import kotlin.math.max
import kotlin.math.roundToInt
open class StorageSlot(
x: Int, y: Int,
@@ -61,17 +54,9 @@ open class StorageSlot(
}
override fun renderWidget(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
val selectionArea = parent.pcGui.getSelectionArea()
if (selectionArea != null && parent.getSelectedPokemon(selectionArea).contains(this)) {
val highlightColor = 0x40FFFFFF
context.fill(x + 1, y, x + (SIZE - 1), y + SIZE, highlightColor)
context.fill(x, y + 1, x + 1, y + (SIZE - 1), highlightColor)
context.fill(x + SIZE - 1, y + 1, x + SIZE, y + (SIZE - 1), highlightColor)
}
if (shouldRender()) {
renderSlot(context, x, y, delta)
}
}
fun renderSlot(context: GuiGraphics, posX: Int, posY: Int, partialTicks: Float) {
@@ -145,23 +130,6 @@ open class StorageSlot(
matrixStack = matrices
)
}
// Pokemon health
// Taken from vanilla durability rendering
val currentHealth = pokemon.currentHealth
val maxHealth = pokemon.maxHealth.toFloat()
if (currentHealth < maxHealth && CobblemonClient.pcHealthToggle) {
val damageValue = maxHealth - currentHealth
val f = max(0.0f, (maxHealth - (maxHealth - currentHealth)) / maxHealth)
val color = Mth.hsvToRgb(f / 3.0f, 1.0f, 1.0f)
val totalWidth = 12
val width = (totalWidth - damageValue * totalWidth / pokemon.maxHealth.toFloat()).roundToInt();
val k = posX + 1
val l = posY + 6
val bgColor = if (this is PartyStorageSlot) Colors.BLACK else 0xFF3E3E3E.toInt()
context.fill(RenderType.guiOverlay(), k, l, k + totalWidth, l + 1, bgColor)
context.fill(RenderType.guiOverlay(), k, l, k + width, l + 1, color or bgColor)
}
matrices.popPose()
}
@@ -11,9 +11,9 @@ package com.cobblemon.mod.common.client.gui.pc
import com.cobblemon.mod.common.CobblemonNetwork
import com.cobblemon.mod.common.CobblemonSounds
import com.cobblemon.mod.common.api.gui.blitk
import com.cobblemon.mod.common.api.storage.StorePosition
import com.cobblemon.mod.common.api.storage.party.PartyPosition
import com.cobblemon.mod.common.api.storage.pc.PCPosition
import com.cobblemon.mod.common.api.storage.pc.PCStore
import com.cobblemon.mod.common.api.text.bold
import com.cobblemon.mod.common.client.CobblemonClient
import com.cobblemon.mod.common.client.CobblemonResources
@@ -39,8 +39,8 @@ import net.minecraft.client.gui.components.Button
import net.minecraft.client.gui.screens.Screen
import net.minecraft.client.resources.sounds.SimpleSoundInstance
import net.minecraft.network.chat.Component
import net.minecraft.resources.ResourceLocation
import net.minecraft.sounds.SoundEvent
import java.util.UUID
class StorageWidget(
pX: Int, pY: Int,
@@ -77,15 +77,9 @@ class StorageWidget(
var displayConfirmRelease = false
var screenLoaded = false
var selectedPosition: PartyPosition? = null
var selectedPosition: StorePosition? = null
var grabbedSlot: GrabbedStorageSlot? = null
var multiSelection: PCMultiSelection? = null
private val multiGrabbedSlots = mutableMapOf<UUID, GrabbedStorageSlot>()
private var pendingStorageSlotClick: Button? = null
private var movePending = false
private var movePendingSince = 0L
var box = 0
set(value) {
field =
@@ -119,24 +113,19 @@ class StorageWidget(
subKey = "ui.generic.yes",
onPress = {
if (canDeleteSelected() && displayConfirmRelease) {
val selection = multiSelection
if (selection != null) {
selection.pokemonEntries().forEach { (column, row, pokemon) ->
val position = PCPosition(
selection.sourceBox,
(selection.sourceRow + row) * 6 + selection.sourceColumn + column
)
CobblemonNetwork.sendToServer(ReleasePCPokemonPacket(pokemon.uuid, position))
}
} else {
val position = selectedPosition ?: return@ReleaseConfirmButton
val pokemon = getSelectedPokemon() ?: return@ReleaseConfirmButton
val position = selectedPosition ?: return@ReleaseConfirmButton
val pokemon = getSelectedPokemon() ?: return@ReleaseConfirmButton
CobblemonNetwork.sendToServer(ReleasePartyPokemonPacket(pokemon.uuid, position))
val packet = when (position) {
is PartyPosition -> ReleasePartyPokemonPacket(pokemon.uuid, position)
is PCPosition -> ReleasePCPokemonPacket(pokemon.uuid, position)
else -> return@ReleaseConfirmButton
}
CobblemonNetwork.sendToServer(packet)
playSound(CobblemonSounds.PC_RELEASE)
resetSelected()
displayConfirmRelease = false
}
}
)
@@ -160,8 +149,9 @@ class StorageWidget(
}
fun canDeleteSelected(): Boolean {
multiSelection?.let { return it.pokemonEntries().isNotEmpty() }
return party.filterNotNull().size > 1 && selectedPosition != null && grabbedSlot != null
return !(selectedPosition is PartyPosition && party.filterNotNull().size <= 1)
&& selectedPosition != null
&& grabbedSlot != null
}
fun setupStorageSlots() {
@@ -180,7 +170,7 @@ class StorageWidget(
parent = this,
pc = pc,
position = PCPosition(box, index),
onPress = { pendingStorageSlotClick = it }
onPress = { this.onStorageSlotClicked(it) }
).also { widget ->
this.addWidget(widget)
this.boxSlots.add(widget)
@@ -210,7 +200,7 @@ class StorageWidget(
parent = this,
party = party,
position = PartyPosition(partyIndex),
onPress = { pendingStorageSlotClick = it }
onPress = { this.onStorageSlotClicked(it) }
).also { widget ->
this.addWidget(widget)
this.partySlots.add(widget)
@@ -220,118 +210,14 @@ class StorageWidget(
private fun getSelectedPokemon(): Pokemon? {
val selectedPosition = this.selectedPosition ?: return null
return party.get(selectedPosition)
}
fun getSelectedPokemon(area: PCGUI.SelectionArea): List<BoxStorageSlot> {
return boxSlots.filter { slot ->
slot.x < area.right && slot.x + StorageSlot.SIZE > area.left &&
slot.y < area.bottom && slot.y + StorageSlot.SIZE > area.top &&
slot.getPokemon()?.let(pcGui.search::passes) == true
return when (selectedPosition) {
is PCPosition -> pc.get(selectedPosition)
is PartyPosition -> party.get(selectedPosition)
else -> null
}
}
fun clearPendingStorageSlotClick() {
pendingStorageSlotClick = null
}
fun completePendingStorageSlotClick(mouseX: Double, mouseY: Double) {
val button = pendingStorageSlotClick ?: return
pendingStorageSlotClick = null
if (button.isMouseOver(mouseX, mouseY)) {
onStorageSlotClicked(button)
}
}
fun updateSelection() {
val area = pcGui.getSelectionArea()
if (area == null) {
multiSelection = null
return
}
selectedPosition = null
grabbedSlot = null
pcGui.setPreviewPokemon(null)
val selectedSlots = getSelectedPokemon(area)
if (selectedSlots.isEmpty()) {
multiSelection = null
return
}
val minColumn = selectedSlots.minOf { it.position.slot % 6 }
val maxColumn = selectedSlots.maxOf { it.position.slot % 6 }
val minRow = selectedSlots.minOf { it.position.slot / 6 }
val maxRow = selectedSlots.maxOf { it.position.slot / 6 }
val selection = PCMultiSelection(maxColumn - minColumn + 1, maxRow - minRow + 1, box, minColumn, minRow)
selectedSlots.forEach { slot ->
val pokemon = slot.getPokemon() ?: return@forEach
val slotIndex = slot.position.slot
val column = slotIndex % 6
val row = slotIndex / 6
if (column in minColumn..maxColumn && row in minRow..maxRow) {
selection.setPokemon(column - minColumn, row - minRow, pokemon)
}
}
playSound(CobblemonSounds.PC_GRAB)
multiSelection = selection
}
private fun moveMultiSelectionTo(destination: PCPosition): Boolean {
val selection = multiSelection ?: return false
val width = selection.getHorizontalSize()
val height = selection.getVerticalSize()
val destinationColumn = destination.slot % 6
val destinationRow = destination.slot / 6
if (destinationColumn + width > 6 || destinationRow + height > 5) return false
val moves = mutableListOf<PCStore.PCPokemonMove>()
val selectedSources = mutableSetOf<PCPosition>()
repeat(height) { row ->
repeat(width) { column ->
val pokemon = selection.getPokemon(column, row) ?: return@repeat
val source = PCPosition(selection.sourceBox, (selection.sourceRow + row) * 6 + selection.sourceColumn + column)
val target = PCPosition(destination.box, (destinationRow + row) * 6 + destinationColumn + column)
selectedSources.add(source)
moves.add(PCStore.PCPokemonMove(pokemon.uuid, source, target))
}
}
if (moves.isEmpty()) return false
repeat(height) { row ->
repeat(width) { column ->
if (selection.getPokemon(column, row) == null) return@repeat
val target = PCPosition(destination.box, (destinationRow + row) * 6 + destinationColumn + column)
val displacedPokemon = pc.get(target) ?: return@repeat
if (target in selectedSources) return@repeat
val displacedSource = PCPosition(
selection.sourceBox,
(selection.sourceRow + row) * 6 + selection.sourceColumn + column
)
if (pc.get(displacedSource) != null && displacedSource !in selectedSources) return false
moves.add(PCStore.PCPokemonMove(displacedPokemon.uuid, target, displacedSource))
}
}
if (moves.map { it.newPosition }.toSet().size != moves.size) return false
MovePCPokemonBatchPacket(moves).sendToServer()
return true
}
fun isInMultiSelection(pokemon: Pokemon, position: PCPosition): Boolean {
val selection = multiSelection ?: return false
return selection.sourceBox == position.box && selection.pokemonEntries().any { it.third == pokemon }
}
override fun renderWidget(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
updatePendingMove()
val matrices = context.pose()
// Party Label
if (pcGui.configuration.showParty) {
@@ -354,14 +240,11 @@ class StorageWidget(
shadow = true
)
val pokemonCount = multiSelection?.getPokemonCount() ?: 0
if (canDeleteSelected() && displayConfirmRelease) {
drawScaledText(
context = context,
font = CobblemonResources.DEFAULT_LARGE,
text = if (pokemonCount > 1)
{ lang("ui.pc.release_all").bold() } else { lang("ui.pc.release").bold() },
text = lang("ui.pc.release").bold(),
x = x + 223,
y = y + 119,
centered = true
@@ -425,7 +308,6 @@ class StorageWidget(
slot.render(context, mouseX, mouseY, delta)
val pokemon = slot.getPokemon()
if (grabbedSlot == null && slot.isHovered(mouseX, mouseY)
&& multiSelection == null
&& pokemon != null && pokemon != pcGui.previewPokemon
) {
pcGui.setPreviewPokemon(pokemon, pcGui.isPreviewInParty ?: false)
@@ -442,7 +324,6 @@ class StorageWidget(
slot.render(context, mouseX, mouseY, delta)
val pokemon = slot.getPokemon()
if (grabbedSlot == null && slot.isHovered(mouseX, mouseY)
&& multiSelection == null
&& pokemon != null && pokemon != pcGui.previewPokemon
) {
pcGui.setPreviewPokemon(pokemon, pcGui.isPreviewInParty ?: true)
@@ -454,32 +335,10 @@ class StorageWidget(
pastureWidget?.render(context, mouseX, mouseY, delta)
matrices.pushPose()
matrices.translate(0.0, 0.0, 1000.0)
renderSelectedPokemon(context, mouseX, mouseY, delta)
grabbedSlot?.render(context, mouseX, mouseY, delta)
matrices.popPose()
}
private fun renderSelectedPokemon(context: GuiGraphics, mouseX: Int, mouseY: Int, delta: Float) {
if (movePending) return
val selection = multiSelection
if (selection == null) {
grabbedSlot?.render(context, mouseX, mouseY, delta)
return
}
val slotOffset = StorageSlot.SIZE + BOX_SLOT_PADDING
selection.pokemonEntries().forEach { (column, row, pokemon) ->
val grabbed = multiGrabbedSlots.getOrPut(pokemon.uuid) {
GrabbedStorageSlot(0, 0, this, pokemon)
}
grabbed.render(
context,
mouseX + column * slotOffset,
mouseY + row * slotOffset,
delta
)
}
}
override fun mouseClicked(pMouseX: Double, pMouseY: Double, pButton: Int): Boolean {
if (displayConfirmRelease) {
if (releaseYesButton.isHovered(pMouseX, pMouseY)) releaseYesButton.mouseClicked(pMouseX, pMouseY, pButton)
@@ -512,55 +371,23 @@ class StorageWidget(
else -> return
}
val clickedPokemon = when (clickedPosition) {
is PCPosition -> pc.get(clickedPosition)
is PartyPosition -> party.get(clickedPosition)
else -> null
}
multiSelection?.let { selection ->
when (clickedPosition) {
is PCPosition -> {
if (clickedPosition.box == selection.sourceBox &&
clickedPosition.slot == selection.sourceRow * 6 + selection.sourceColumn
) {
resetSelected()
} else if (moveMultiSelectionTo(clickedPosition)) {
playSound(CobblemonSounds.PC_DROP)
movePending = true
}
}
is PartyPosition -> {
val selectedPokemon = selection.pokemonEntries().singleOrNull() ?: return
val (column, row, pokemon) = selectedPokemon
val source = PCPosition(
selection.sourceBox,
(selection.sourceRow + row) * 6 + selection.sourceColumn + column
)
if (pc.get(source) !== pokemon) return
val packet = clickedPokemon?.let {
SwapPCPartyPokemonPacket(it.uuid, clickedPosition, pokemon.uuid, source)
} ?: MovePCPokemonToPartyPacket(pokemon.uuid, source, clickedPosition)
packet.sendToServer()
playSound(CobblemonSounds.PC_DROP)
movePending = true
}
else -> Unit
}
return
}
// Reset release confirmation
displayConfirmRelease = false
// Clicking on itself, so unselect position
if (selectedPosition == clickedPosition) {
if (this.selectedPosition != null && this.selectedPosition == clickedPosition) {
if (grabbedSlot != null) playSound(CobblemonSounds.PC_DROP)
resetSelected()
return
}
// Check for selecting a Pokémon
val clickedPokemon = when(button) {
is BoxStorageSlot -> pc.get(clickedPosition as PCPosition)
is PartyStorageSlot -> party.get(clickedPosition as PartyPosition)
else -> null
}
val selectOverride = pcGui.configuration.selectOverride
if (selectOverride != null) {
selectOverride(pcGui, clickedPosition, clickedPokemon)
@@ -593,47 +420,59 @@ class StorageWidget(
}
}
if (clickedPosition is PCPosition) {
val column = clickedPosition.slot % 6
val row = clickedPosition.slot / 6
multiSelection = PCMultiSelection(1, 1, clickedPosition.box, column, row).also {
it.setPokemon(0, 0, clickedPokemon)
}
playSound(CobblemonSounds.PC_GRAB)
return
} else if (clickedPosition is PartyPosition) {
this.selectedPosition = clickedPosition
this.pcGui.setPreviewPokemon(clickedPokemon, pcGui.isPreviewInParty ?: false)
grabbedSlot = GrabbedStorageSlot(
x = button.x,
y = button.y,
parent = this,
pokemon = clickedPokemon
)
playSound(CobblemonSounds.PC_GRAB)
}
this.selectedPosition = clickedPosition
this.pcGui.setPreviewPokemon(clickedPokemon, pcGui.isPreviewInParty ?: false)
grabbedSlot = GrabbedStorageSlot(
x = button.x,
y = button.y,
parent = this,
pokemon = clickedPokemon
)
playSound(CobblemonSounds.PC_GRAB)
}
} else {
val sourcePosition = selectedPosition ?: return
val selectedPokemon = party.get(sourcePosition) ?: return
// Handle movement within the Box
val selectedPokemon = when(this.selectedPosition) {
is PCPosition -> pc.get(this.selectedPosition as PCPosition)
is PartyPosition -> party.get(this.selectedPosition as PartyPosition)
else -> null
} ?: return
// Box to Box
if (this.selectedPosition is PCPosition && clickedPosition is PCPosition) {
val packet = clickedPokemon?.let { SwapPCPokemonPacket(it.uuid, clickedPosition, selectedPokemon.uuid, this.selectedPosition as PCPosition) }
?: MovePCPokemonPacket(selectedPokemon.uuid, selectedPosition as PCPosition, clickedPosition)
packet.sendToServer()
playSound(CobblemonSounds.PC_DROP)
resetSelected()
}
// Box to Party
else if (this.selectedPosition is PCPosition && clickedPosition is PartyPosition) {
val packet = clickedPokemon?.let { SwapPCPartyPokemonPacket(clickedPokemon.uuid, clickedPosition, selectedPokemon.uuid, this.selectedPosition as PCPosition) }
?: MovePCPokemonToPartyPacket(selectedPokemon.uuid, this.selectedPosition as PCPosition, clickedPosition)
packet.sendToServer()
playSound(CobblemonSounds.PC_DROP)
resetSelected()
}
// Party to Box
if (clickedPosition is PCPosition) {
else if (this.selectedPosition is PartyPosition && clickedPosition is PCPosition) {
if (ServerSettings.preventCompletePartyDeposit && this.party.filterNotNull().size == 1 && clickedPokemon == null) {
return
}
val packet = clickedPokemon?.let { SwapPCPartyPokemonPacket(selectedPokemon.uuid, sourcePosition, clickedPokemon.uuid, clickedPosition) }
?: MovePartyPokemonToPCPacket(selectedPokemon.uuid, sourcePosition, clickedPosition)
val packet = clickedPokemon?.let { SwapPCPartyPokemonPacket(selectedPokemon.uuid, this.selectedPosition as PartyPosition, clickedPokemon.uuid, clickedPosition) }
?: MovePartyPokemonToPCPacket(selectedPokemon.uuid, this.selectedPosition as PartyPosition, clickedPosition)
packet.sendToServer()
playSound(CobblemonSounds.PC_DROP)
movePending = true
resetSelected()
}
// Party to Party
else if (clickedPosition is PartyPosition) {
val packet = clickedPokemon?.let { SwapPartyPokemonPacket(it.uuid, clickedPosition, selectedPokemon.uuid, sourcePosition) }
?: MovePartyPokemonPacket(selectedPokemon.uuid, sourcePosition, clickedPosition)
else if (this.selectedPosition is PartyPosition && clickedPosition is PartyPosition) {
val packet = clickedPokemon?.let { SwapPartyPokemonPacket(it.uuid, clickedPosition, selectedPokemon.uuid, this.selectedPosition as PartyPosition) }
?: MovePartyPokemonPacket(selectedPokemon.uuid, selectedPosition as PartyPosition, clickedPosition)
packet.sendToServer()
playSound(CobblemonSounds.PC_DROP)
movePending = true
resetSelected()
}
}
}
@@ -641,37 +480,6 @@ class StorageWidget(
fun resetSelected() {
selectedPosition = null
grabbedSlot = null
multiSelection = null
multiGrabbedSlots.clear()
displayConfirmRelease = false
pcGui.setPreviewPokemon(null)
}
// annoyingly complex solution, but server/client desync causes flashing when moving pokemon. this should fix it
// if you can think of a simpler solution, feel free to implement it
private fun updatePendingMove() {
if (!movePending) return
val selection = multiSelection
if (selection != null) {
val updated = selection.pokemonEntries().any { (column, row, pokemon) ->
val source = PCPosition(selection.sourceBox, (selection.sourceRow + row) * 6 + selection.sourceColumn + column)
pc.get(source)?.uuid != pokemon.uuid
}
if (updated) {
movePending = false
resetSelected()
}
return
}
val source = selectedPosition
val pokemon = grabbedSlot?.getPokemon()
if (source != null && pokemon != null) {
if (party.get(source)?.uuid != pokemon.uuid) {
movePending = false
resetSelected()
}
}
}
}
@@ -6,23 +6,59 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package com.cobblemon.mod.common.client.gui.summary.widgets.screens.moves
package com.cobblemon.mod.common.client.gui.summary
import com.cobblemon.mod.common.client.gui.CobblemonRenderable
import com.cobblemon.mod.common.client.render.drawScaledText
import net.minecraft.client.Minecraft
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.client.gui.components.ObjectSelectionList
import net.minecraft.network.chat.Component
import net.minecraft.network.chat.MutableComponent
import net.minecraft.util.Mth
class MoveDescriptionScrollList(
class ScrollableTextBoxEntry(
var line : MutableComponent
) :
ObjectSelectionList.Entry<ScrollableTextBoxEntry>() {
override fun render(
context: GuiGraphics,
index: Int,
rowTop: Int,
rowLeft: Int,
rowWidth: Int,
rowHeight: Int,
mouseX: Int,
mouseY: Int,
isHovered: Boolean,
partialTicks: Float
) {
drawScaledText(
context = context,
text = line,
x = rowLeft + 82,
y = rowTop,
scale = 0.5F,
shadow = true
)
}
override fun getNarration(): Component {
return line
}
}
class ScrollableTextBox(
private val listX: Int,
private val listY: Int,
height: Int,
width: Int,
slotHeight: Int
) : ObjectSelectionList<MoveDescriptionEntry>(
) : ObjectSelectionList<ScrollableTextBoxEntry>(
Minecraft.getInstance(),
60, // width
30, // height
width, // width
height, // height
0, // top
slotHeight
), CobblemonRenderable {
@@ -38,8 +74,31 @@ class MoveDescriptionScrollList(
return x + width - 3
}
override fun getMaxPosition(): Int {
return super.getMaxPosition() + 3 // add bottom padding
}
// we do our own scrollbar rendering, and this being true renders the vanilla one
override fun scrollbarVisible() = false
override fun renderWidget(context: GuiGraphics, pMouseX: Int, pMouseY: Int, f: Float) {
isHovered = pMouseX >= x && pMouseY >= y && pMouseX < x + width && pMouseY < y + height
if (maxScroll > 0) {
val right = x + width
val bottom = y + height
val darkGray = 0xFF5B595B.toInt()
val lightGray = 0xFF8C8C8C.toInt()
context.fill(right - 2, y + 2, right - 4, bottom - 2, darkGray)
// vanilla scrollbar mumbo jumbo
var scrollHeight = ((height * height).toFloat() / maxPosition.toFloat()).toInt()
scrollHeight = Mth.clamp(scrollHeight, 32, height - 8)
var scrollY = scrollAmount.toInt() * (height - scrollHeight + 2) / maxScroll + y - 1
if (scrollY < y) { scrollY = y }
context.fill(right - 2, scrollY + 2, right - 4, scrollY + scrollHeight - 3, lightGray)
}
context.enableScissor(
x,
y,
@@ -79,7 +138,7 @@ class MoveDescriptionScrollList(
&& mouseY < bottom
}
fun setMoveDescription(moveDescription: MutableComponent) {
fun setText(moveDescription: MutableComponent) {
clearEntries()
val splitWidth = 100
val text = moveDescription.string
@@ -103,7 +162,8 @@ class MoveDescriptionScrollList(
}
for (part in splitText) {
addEntry(MoveDescriptionEntry(Component.literal(part)))
addEntry(ScrollableTextBoxEntry(Component.literal(part)))
}
scrollAmount = 0.0
}
}
@@ -13,6 +13,7 @@ import com.cobblemon.mod.common.api.gui.MultiLineLabelK
import com.cobblemon.mod.common.api.gui.blitk
import com.cobblemon.mod.common.api.text.*
import com.cobblemon.mod.common.client.CobblemonResources
import com.cobblemon.mod.common.client.gui.summary.ScrollableTextBox
import com.cobblemon.mod.common.client.gui.summary.widgets.SoundlessWidget
import com.cobblemon.mod.common.client.gui.summary.widgets.common.reformatNatureTextIfMinted
import com.cobblemon.mod.common.client.gui.summary.widgets.screens.stats.StatWidget.Companion.SCALE
@@ -27,6 +28,7 @@ import net.minecraft.client.Minecraft
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.network.chat.Component
import net.minecraft.network.chat.MutableComponent
import net.minecraft.resources.ResourceLocation
class InfoWidget(
pX: Int,
@@ -45,6 +47,25 @@ class InfoWidget(
private val infoBaseResource = cobblemonResource("textures/gui/summary/summary_info_base.png")
}
private var metDataWidget: ScrollableTextBox = ScrollableTextBox(x + 5, y + 123, 20, 61, 5)
init {
pokemon.metData?.let { metData ->
val biome = ResourceLocation.parse(metData.biome.registeredName)
val biomeName = Component.translatable("biome.${biome.namespace}.${biome.path}")
metDataWidget.setText(lang("ui.info.met_data.${metData.variant.serializedName}",
biomeName,
metData.date.monthValue,
metData.date.dayOfMonth,
metData.date.year,
metData.level
))
} ?: run {
metDataWidget.setText(lang("ui.info.met_data.unavailable"))
}
addWidget(metDataWidget)
}
override fun renderWidget(context: GuiGraphics, pMouseX: Int, pMouseY: Int, pPartialTicks: Float) {
val matrices = context.pose()
// Base texture
@@ -163,6 +184,8 @@ class InfoWidget(
)
matrices.popPose()
metDataWidget.render(context, pMouseX, pMouseY, pPartialTicks)
drawScaledText(
context = context,
text = lang("ui.info.experience_points"),
@@ -1,47 +0,0 @@
/*
* Copyright (C) 2023 Cobblemon Contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package com.cobblemon.mod.common.client.gui.summary.widgets.screens.moves
import com.cobblemon.mod.common.client.render.drawScaledText
import net.minecraft.client.gui.GuiGraphics
import net.minecraft.client.gui.components.ObjectSelectionList
import net.minecraft.network.chat.Component
import net.minecraft.network.chat.MutableComponent
class MoveDescriptionEntry(
var line : MutableComponent
) :
ObjectSelectionList.Entry<MoveDescriptionEntry>() {
override fun render(
context: GuiGraphics,
index: Int,
rowTop: Int,
rowLeft: Int,
rowWidth: Int,
rowHeight: Int,
mouseX: Int,
mouseY: Int,
isHovered: Boolean,
partialTicks: Float
) {
drawScaledText(
context = context,
text = line,
x = rowLeft + 82,
y = rowTop,
scale = 0.5F,
shadow = true
)
}
override fun getNarration(): Component {
return line
}
}
@@ -13,6 +13,7 @@ import com.cobblemon.mod.common.api.gui.blitk
import com.cobblemon.mod.common.api.moves.Move
import com.cobblemon.mod.common.api.text.text
import com.cobblemon.mod.common.client.CobblemonClient
import com.cobblemon.mod.common.client.gui.summary.ScrollableTextBox
import com.cobblemon.mod.common.client.gui.summary.Summary
import com.cobblemon.mod.common.client.gui.summary.widgets.SoundlessWidget
import com.cobblemon.mod.common.client.render.drawScaledText
@@ -70,9 +71,11 @@ class MovesWidget(
addWidget(it)
}
private var descriptionScrollList = MoveDescriptionScrollList(
x + 69,
private var descriptionScrollList = ScrollableTextBox(
x + 68,
y + 113,
30,
61,
5
)
@@ -215,7 +218,7 @@ class MovesWidget(
fun selectMove(move: Move?) {
selectedMove = if (selectedMove == move || move == null) null else move
descriptionScrollList.setMoveDescription(selectedMove?.description ?: "".text())
descriptionScrollList.setText(selectedMove?.description ?: "".text())
}
override fun mouseClicked(mouseX: Double, mouseY: Double, button: Int): Boolean {
@@ -47,6 +47,7 @@ import com.cobblemon.mod.common.net.messages.client.battle.BattleCaptureStartPac
import com.cobblemon.mod.common.net.messages.client.effect.SpawnSnowstormEntityParticlePacket
import com.cobblemon.mod.common.net.messages.client.spawn.SpawnPokeballPacket
import com.cobblemon.mod.common.pokeball.PokeBall
import com.cobblemon.mod.common.pokemon.PokemonMetData
import com.cobblemon.mod.common.pokemon.ai.PokemonBrain
import com.cobblemon.mod.common.pokemon.properties.UncatchableProperty
import com.cobblemon.mod.common.util.*
@@ -357,6 +358,7 @@ class EmptyPokeBallEntity : ThrowableItemProjectile, PosableEntity, WaterDragMod
val party = player.party()
pokemon.pokemon.caughtBall = pokeBall
pokeBall.effects.forEach { effect -> effect.apply(player, pokemon.pokemon) }
pokemon.pokemon.metData = PokemonMetData.create(player, pokemon.pokemon)
party.add(pokemon.pokemon)
val leashHolder = pokemon.leashHolder
@@ -1,48 +0,0 @@
/*
* Copyright (C) 2023 Cobblemon Contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://www.mozilla.org/MPL/2.0/.
*/
package com.cobblemon.mod.common.net.messages.server.storage.pc
import com.cobblemon.mod.common.api.net.NetworkPacket
import com.cobblemon.mod.common.api.storage.pc.PCStore
import com.cobblemon.mod.common.util.cobblemonResource
import com.cobblemon.mod.common.util.readPCPosition
import com.cobblemon.mod.common.util.writePCPosition
import net.minecraft.network.RegistryFriendlyByteBuf
class MovePCPokemonBatchPacket(val moves: List<PCStore.PCPokemonMove>) : NetworkPacket<MovePCPokemonBatchPacket> {
override val id = ID
override fun encode(buffer: RegistryFriendlyByteBuf) {
buffer.writeVarInt(moves.size)
moves.forEach { move ->
buffer.writeUUID(move.pokemonID)
buffer.writePCPosition(move.oldPosition)
buffer.writePCPosition(move.newPosition)
}
}
companion object {
val ID = cobblemonResource("move_pc_pokemon_batch")
const val MAX_MOVES = 60
fun decode(buffer: RegistryFriendlyByteBuf): MovePCPokemonBatchPacket {
val size = buffer.readVarInt()
require(size in 1..MAX_MOVES) { "Invalid batch PC move size: $size" }
return MovePCPokemonBatchPacket(
List(size) {
PCStore.PCPokemonMove(
pokemonID = buffer.readUUID(),
oldPosition = buffer.readPCPosition(),
newPosition = buffer.readPCPosition()
)
}
)
}
}
}
@@ -1,24 +0,0 @@
/*
* Copyright (C) 2023 Cobblemon Contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://www.mozilla.org/MPL/2.0/.
*/
package com.cobblemon.mod.common.net.serverhandling.storage.pc
import com.cobblemon.mod.common.api.net.ServerNetworkPacketHandler
import com.cobblemon.mod.common.api.storage.pc.PCStore
import com.cobblemon.mod.common.api.storage.pc.link.PCLinkManager
import com.cobblemon.mod.common.net.messages.client.storage.pc.ClosePCPacket
import com.cobblemon.mod.common.net.messages.server.storage.pc.MovePCPokemonBatchPacket
import net.minecraft.server.MinecraftServer
import net.minecraft.server.level.ServerPlayer
object MovePCPokemonBatchHandler : ServerNetworkPacketHandler<MovePCPokemonBatchPacket> {
override fun handle(packet: MovePCPokemonBatchPacket, server: MinecraftServer, player: ServerPlayer) {
val pc = PCLinkManager.getPC(player) ?: return run { ClosePCPacket(null).sendToPlayer(player) }
pc.moveBatch(packet.moves.map { PCStore.PCPokemonMove(it.pokemonID, it.oldPosition, it.newPosition) })
}
}
@@ -550,6 +550,8 @@ open class Pokemon : ShowdownIdentifiable {
onChange(OriginalTrainerUpdatePacket({ this }, value))
}
var metData: PokemonMetData? = null
/**
* Cache friendship on trade for OT
*/
@@ -1527,6 +1529,7 @@ open class Pokemon : ShowdownIdentifiable {
this.potentialMarks.clear()
this.potentialMarks += other.marks
this.markings = other.markings
this.metData = other.metData
this.recalculateCharacteristic()
this.updateAspects()
this.refreshOriginalTrainer()
@@ -0,0 +1,89 @@
/*
* Copyright (C) 2023 Cobblemon Contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
package com.cobblemon.mod.common.pokemon
import com.mojang.serialization.Codec
import com.mojang.serialization.codecs.RecordCodecBuilder
import net.minecraft.core.Holder
import net.minecraft.util.StringRepresentable
import net.minecraft.world.entity.player.Player
import net.minecraft.world.level.biome.Biome
import java.time.LocalDate
import java.time.ZoneId
enum class PokemonMetDataVariant(private val string: String) : StringRepresentable {
STANDARD("standard"),
STARTER("starter");
override fun getSerializedName(): String {
return string
}
companion object {
fun getFromName(name: String): PokemonMetDataVariant? {
return entries.firstOrNull { it.string == name }
}
}
}
/**
* Stores information about the circumstances of a player's meeting with a [Pokemon]
*
* @param biome A [Holder] for the [Biome] the [Pokemon] was caught in
* @param date A [LocalDate] of the real life date the [Pokemon] was caught
* @param level The level the [Pokemon] was when caught
* @param variant The text variant to display. Defaults to [PokemonMetDataVariant.STANDARD]
*/
@ConsistentCopyVisibility
data class PokemonMetData private constructor(
val biome: Holder<Biome>,
val date: LocalDate,
val level: Int,
val variant: PokemonMetDataVariant = PokemonMetDataVariant.STANDARD
) {
companion object {
private val LOCAL_DATE_CODEC: Codec<LocalDate> = Codec.STRING.xmap(
LocalDate::parse,
LocalDate::toString
)
fun create(player: Player, pokemon: Pokemon, variant: PokemonMetDataVariant = PokemonMetDataVariant.STANDARD): PokemonMetData {
return PokemonMetData(
player.level().getBiome(player.blockPosition()),
LocalDate.now(ZoneId.systemDefault()),
pokemon.level, variant
)
}
val CODEC: Codec<PokemonMetData> = RecordCodecBuilder.create { instance ->
instance.group(
Biome.CODEC
.fieldOf("biome")
.forGetter { it.biome },
LOCAL_DATE_CODEC
.fieldOf("date")
.forGetter { it.date },
Codec.INT
.fieldOf("level")
.forGetter { it.level },
Codec.STRING
.fieldOf("variant")
.forGetter { it.variant.serializedName }
).apply(instance) { biome, date, level, variant ->
PokemonMetData(
biome = biome,
date = date,
level = level,
variant = PokemonMetDataVariant.getFromName(variant) ?: PokemonMetDataVariant.STANDARD
)
}
}
}
}
@@ -12,17 +12,17 @@ import com.cobblemon.mod.common.Cobblemon
import com.cobblemon.mod.common.advancement.CobblemonCriteria
import com.cobblemon.mod.common.api.events.CobblemonEvents
import com.cobblemon.mod.common.api.events.starter.StarterChosenEvent
import com.cobblemon.mod.common.api.pokemon.PokemonProperties
import com.cobblemon.mod.common.api.starter.StarterHandler
import com.cobblemon.mod.common.api.storage.player.PlayerInstancedDataStoreTypes
import com.cobblemon.mod.common.api.text.red
import com.cobblemon.mod.common.config.starter.StarterCategory
import com.cobblemon.mod.common.data.StarterDataLoader
import com.cobblemon.mod.common.net.messages.client.starter.OpenStarterUIPacket
import com.cobblemon.mod.common.pokemon.PokemonMetData
import com.cobblemon.mod.common.pokemon.PokemonMetDataVariant
import com.cobblemon.mod.common.util.lang
import com.cobblemon.mod.common.world.gamerules.CobblemonGameRules
import net.minecraft.server.level.ServerPlayer
import kotlin.random.Random
open class CobblemonStarterHandler : StarterHandler {
@@ -73,6 +73,7 @@ open class CobblemonStarterHandler : StarterHandler {
it.pokemon.also {
playerData.starterSelected = true
playerData.starterUUID = it.uuid
pokemon.metData = PokemonMetData.create(player, pokemon, PokemonMetDataVariant.STARTER)
if (player.level().gameRules.getBoolean(CobblemonGameRules.SHINY_STARTERS)) { pokemon.shiny = true }
}
)
@@ -86,6 +86,7 @@ object DataKeys {
const val POKEMON_ORIGINAL_TRAINER_NAME = "PokemonOriginalTrainerName"
const val POKEMON_ORIGINAL_TRAINER_TYPE = "PokemonOriginalTrainerType"
const val POKEMON_ORIGINAL_TRAINER_FRIENDSHIP = "PokemonOriginalTrainerFriendship"
const val POKEMON_MET_DATA = "PokemonMetData"
const val POKEMON_PROPERTIES_MOVES = "Moves"
const val POKEMON_PROPERTIES_HELDITEM = "HeldItem"
@@ -8,25 +8,23 @@
package com.cobblemon.mod.common.util.codec.internal
import com.cobblemon.mod.common.api.mark.Marks
import com.cobblemon.mod.common.api.riding.stats.RidingStat
import com.cobblemon.mod.common.client.settings.ServerSettings
import com.cobblemon.mod.common.pokemon.OriginalTrainerType
import com.cobblemon.mod.common.pokemon.Pokemon
import com.cobblemon.mod.common.pokemon.PokemonMetData
import com.cobblemon.mod.common.util.DataKeys
import com.mojang.serialization.Codec
import com.mojang.serialization.MapCodec
import com.mojang.serialization.codecs.RecordCodecBuilder
import net.minecraft.resources.ResourceLocation
import net.minecraft.world.item.ItemStack
import java.util.*
internal data class ClientPokemonP4(
val originalTrainerFriendship: Optional<Int>
val originalTrainerFriendship: Optional<Int>,
val pokemonMetData: Optional<PokemonMetData>
) : Partial<Pokemon> {
override fun into(other: Pokemon): Pokemon {
this.originalTrainerFriendship.ifPresent { other.originalTrainerFriendship = it }
other.metData = this.pokemonMetData.orElse(null)
return other
}
@@ -36,12 +34,18 @@ internal data class ClientPokemonP4(
*/
internal val CODEC: MapCodec<ClientPokemonP4> = RecordCodecBuilder.mapCodec { instance ->
instance.group(
Codec.INT.optionalFieldOf(DataKeys.POKEMON_ORIGINAL_TRAINER_FRIENDSHIP).forGetter(ClientPokemonP4::originalTrainerFriendship)
).apply(instance, ::ClientPokemonP4)
Codec.INT.optionalFieldOf(DataKeys.POKEMON_ORIGINAL_TRAINER_FRIENDSHIP).forGetter(ClientPokemonP4::originalTrainerFriendship),
PokemonMetData.CODEC.optionalFieldOf(DataKeys.POKEMON_MET_DATA).forGetter(ClientPokemonP4::pokemonMetData)
).apply(instance) {
originalTrainerFriendship, pokemonMetData -> ClientPokemonP4(
originalTrainerFriendship, pokemonMetData
)
}
}
internal fun from(pokemon: Pokemon): ClientPokemonP4 = ClientPokemonP4(
Optional.ofNullable(pokemon.originalTrainerFriendship)
Optional.ofNullable(pokemon.originalTrainerFriendship),
Optional.ofNullable(pokemon.metData)
)
}
}
@@ -9,6 +9,7 @@
package com.cobblemon.mod.common.util.codec.internal
import com.cobblemon.mod.common.pokemon.Pokemon
import com.cobblemon.mod.common.pokemon.PokemonMetData
import com.cobblemon.mod.common.util.DataKeys
import com.mojang.serialization.Codec
import com.mojang.serialization.MapCodec
@@ -16,28 +17,32 @@ import com.mojang.serialization.codecs.RecordCodecBuilder
import java.util.*
internal data class PokemonP4(
val originalTrainerFriendship: Optional<Int>
val originalTrainerFriendship: Optional<Int>,
val pokemonMetData: Optional<PokemonMetData>
) : Partial<Pokemon> {
override fun into(other: Pokemon): Pokemon {
this.originalTrainerFriendship.ifPresent { other.originalTrainerFriendship = it }
other.refreshOriginalTrainer()
other.metData = this.pokemonMetData.orElse(null)
return other
}
companion object {
internal val CODEC: MapCodec<PokemonP4> = RecordCodecBuilder.mapCodec { instance ->
instance.group(
Codec.INT.optionalFieldOf(DataKeys.POKEMON_ORIGINAL_TRAINER_FRIENDSHIP).forGetter(PokemonP4::originalTrainerFriendship)
Codec.INT.optionalFieldOf(DataKeys.POKEMON_ORIGINAL_TRAINER_FRIENDSHIP).forGetter(PokemonP4::originalTrainerFriendship),
PokemonMetData.CODEC.optionalFieldOf(DataKeys.POKEMON_MET_DATA).forGetter(PokemonP4::pokemonMetData)
).apply(instance) {
originalTrainerFriendship -> PokemonP4(
originalTrainerFriendship
originalTrainerFriendship, pokemonMetData -> PokemonP4(
originalTrainerFriendship, pokemonMetData
)
}
}
internal fun from(pokemon: Pokemon): PokemonP4 = PokemonP4(
Optional.ofNullable(pokemon.originalTrainerFriendship)
Optional.ofNullable(pokemon.originalTrainerFriendship),
Optional.ofNullable(pokemon.metData)
)
}
}
@@ -1,68 +1,6 @@
{
"format_version": "1.8.0",
"animations": {
"animation.drakloak.blink": {
"animation_length": 0.1667,
"bones": {
"eyelid_left": {
"position": {
"0.0": [0.07071, 0, -0.07071],
"0.125": [0.07071, 0, -0.07071],
"0.1667": [0, 0, 0]
}
},
"dreepy_tail": {
"position": [0, 0, 0]
},
"eyelid_right": {
"position": {
"0.0": [-0.07071, 0, -0.07071],
"0.125": [-0.07071, 0, -0.07071],
"0.1667": [0, 0, 0]
}
}
}
},
"animation.drakloak.blink2": {
"animation_length": 0.1667,
"bones": {
"eyelid_left3": {
"position": {
"0.0": [0, 0, -0.1],
"0.125": [0, 0, -0.1],
"0.1667": [0, 0, 0]
}
},
"eyelid_right3": {
"position": {
"0.0": [0, 0, -0.1],
"0.125": [0, 0, -0.1],
"0.1667": [0, 0, 0]
}
},
"dreepy_eyelid_left": {
"position": {
"0.0": [0, 0, -0.1],
"0.125": [0, 0, -0.1],
"0.1667": [0, 0, 0]
}
},
"dreepy_eyelid_left2": {
"position": {
"0.0": [0, 0, -0.1],
"0.125": [0, 0, -0.1],
"0.1667": [0, 0, 0]
}
},
"dreepy_eyelid_right": {
"position": {
"0.0": [0, 0, -0.1],
"0.125": [0, 0, -0.1],
"0.1667": [0, 0, 0]
}
}
}
},
"animation.drakloak.ground_idle": {
"loop": true,
"animation_length": 4,
@@ -107,48 +45,51 @@
"rotation": ["40-5*math.cos(q.anim_time*90*2+45)", 0, "10*math.sin(q.anim_time*90*1-45)"]
},
"dreepy_torso": {
"rotation": ["47.5-3*math.cos(q.anim_time*90*2)", 0, 0],
"position": ["-0.5*math.cos(q.anim_time*90*1+45)", "10.6-0.5*math.sin(q.anim_time*90*2+45)", -5]
"rotation": ["32-4*math.cos(q.anim_time*90*1-45)", 0, "-2*math.sin(q.anim_time*90*2+45)"],
"position": [0, "3-0.5*math.sin(q.anim_time*90*2)", -3]
},
"dreepy_neck": {
"rotation": ["-10+5*math.sin(q.anim_time*90*2)", 0, 0]
"rotation": ["-22.5+4*math.cos(q.anim_time*90*2)", 0, "2*math.sin(q.anim_time*90*2-9+45)"]
},
"dreepy_head": {
"rotation": ["-20-5*math.sin(q.anim_time*90*2)", 0, 0]
"rotation": ["-4*math.cos(q.anim_time*90*2)", 0, 0]
},
"dreepy_tail": {
"rotation": ["35.5-10*math.sin(q.anim_time*90*2)", 0, "-15*math.cos(q.anim_time*90*1-45)"]
"rotation": ["52+2*math.cos(q.anim_time*90*2)", 0, "2*math.sin(q.anim_time*90*2)"],
"position": [0, 0.2, 0]
},
"dreepy_tail2": {
"rotation": ["55+10*math.sin(q.anim_time*90*2-45)", 0, 0]
"rotation": ["27.5+8*math.cos(q.anim_time*90*2-45)", 0, "4*math.sin(q.anim_time*90*2-45)"]
},
"dreepy_tail3": {
"rotation": ["-47.5+10*math.cos(q.anim_time*90*2)", 0, 0]
"rotation": ["-22.5+10*math.cos(q.anim_time*90*2-90)", 0, "4*math.sin(q.anim_time*90*2-90)"]
},
"dreepy_arm_right": {
"rotation": ["-65+5*math.cos(q.anim_time*90*2+45)", "10-10*math.cos(q.anim_time*90*1+45)", -25]
"rotation": ["-20+6*math.cos(q.anim_time*90*2)", "-6+6*math.sin(q.anim_time*90*1)", -8]
},
"dreepy_arm_right2": {
"rotation": ["35+5*math.cos(q.anim_time*90*1+45)", 0, 0]
"rotation": ["-2*math.cos(q.anim_time*90*2)", 0, 0]
},
"dreepy_arm_left": {
"rotation": ["-65+5*math.cos(q.anim_time*90*2+45)", "-10-10*math.cos(q.anim_time*90*1+45)", 25]
"rotation": ["-20+6*math.cos(q.anim_time*90*2)", "6+6*math.sin(q.anim_time*90*1)", 8]
},
"dreepy_arm_left2": {
"rotation": ["35+5*math.cos(q.anim_time*90*1+45)", 0, 0]
"rotation": ["-2*math.cos(q.anim_time*90*2)", 0, 0]
},
"torso": {
"rotation": ["5*math.sin(q.anim_time*90*2)", 0, "5*math.cos(q.anim_time*90*1+90)"],
"position": [0, "2.9-0.5*math.cos(q.anim_time*90*2)", 0]
},
"jaw": {
"rotation": [0, 0, 0]
},
"dreepy_body": {
"position": [0, -8.5, 2.5]
},
"dreepy": {
"scale": 0.8
},
"dreepy_tail4": {
"rotation": ["-0.7-10*math.cos(q.anim_time*90*2)", 0, "4*math.cos(q.anim_time*90*2-180)"],
"position": [0, 0.3, 0]
},
"dreepy_tail5": {
"rotation": ["5-15*math.cos(q.anim_time*90*2)", -0.9, "-2*math.cos(q.anim_time*90*2-45)"],
"position": [0, 0.3, 0]
}
}
},
@@ -197,7 +138,7 @@
"rotation": ["32.5-5*math.sin(q.anim_time*90*3-60)", 0, 0]
},
"tail3": {
"rotation": ["15+15*math.cos(q.anim_time*90*3)", 0, "0+15*math.sin(q.anim_time*90*3)"]
"rotation": ["8+8*math.cos(q.anim_time*90*3)", 0, "0+12*math.sin(q.anim_time*90*3)"]
},
"tail4": {
"rotation": ["2.5+20*math.cos(q.anim_time*90*3-60)", 0, "15*math.sin(q.anim_time*90*3-60)"]
@@ -207,7 +148,7 @@
},
"dreepy_torso": {
"rotation": ["15+4*math.cos(q.anim_time*90*3)", 0, 0],
"position": [0, "3.2-0.5*math.sin(q.anim_time*90*3)", "-1+0.5*math.sin(q.anim_time*90*3)"]
"position": [0, "3.2-0.5*math.sin(q.anim_time*90*3)", "-1+0.5*math.cos(q.anim_time*90*3)"]
},
"dreepy_neck": {
"rotation": [-25, 0, 0]
@@ -217,31 +158,39 @@
"position": [0, 0, 0]
},
"dreepy_tail": {
"rotation": ["32.5-8*math.sin(q.anim_time*90*3)", "12*math.cos(q.anim_time*90*3)", 0]
"rotation": ["37.5-8*math.sin(q.anim_time*90*3)", "8*math.cos(q.anim_time*90*3)", "-8*math.cos(q.anim_time*90*3)"]
},
"dreepy_tail2": {
"rotation": ["44+12*math.cos(q.anim_time*90*3-45)", 0, "-12*math.sin(q.anim_time*90*3-45)"]
"rotation": ["14+12*math.cos(q.anim_time*90*3-45)", 0, "-12*math.sin(q.anim_time*90*3-45)"]
},
"dreepy_tail3": {
"rotation": ["-40.5-10*math.cos(q.anim_time*90*3+90)", 0, "0-16*math.cos(q.anim_time*90*3-90)"]
"rotation": ["-15.5-12*math.cos(q.anim_time*90*3+90)", 0, "-16*math.cos(q.anim_time*90*3-90)"]
},
"dreepy_arm_right": {
"rotation": ["-50-4*math.cos(q.anim_time*90*3)", -5, -25]
},
"dreepy_arm_right2": {
"rotation": ["7.5+10*math.cos(q.anim_time*90*3+45)", 0, 0]
"rotation": ["22.5+10*math.cos(q.anim_time*90*3+45)", 0, 0]
},
"dreepy_arm_left": {
"rotation": ["-50-4*math.cos(q.anim_time*90*3)", -5, 25]
},
"dreepy_arm_left2": {
"rotation": ["7.5+10*math.cos(q.anim_time*90*3+45)", 0, 0]
"rotation": ["22.5+10*math.cos(q.anim_time*90*3+45)", 0, 0]
},
"dreepy_body": {
"position": [0, -8, 3]
},
"dreepy": {
"scale": 0.8
},
"dreepy_tail4": {
"rotation": ["12*math.sin(q.anim_time*90*3)", 0, "16*math.cos(q.anim_time*90*3)"],
"position": [0, 0.5, 0]
},
"dreepy_tail5": {
"rotation": ["-16*math.cos(q.anim_time*90*3)", 0, "16*math.cos(q.anim_time*90*3)"],
"position": [0, 0.5, 0]
}
}
},
@@ -278,7 +227,7 @@
},
"dreepy_torso": {
"rotation": ["30+4*math.cos(q.anim_time*90*6)", 0, "-4*math.sin(q.anim_time*90*6)"],
"position": [0, 1, -12.3]
"position": [0, 1, -14.3]
},
"arm_right": {
"rotation": ["80+10*math.cos(q.anim_time*90*3)", "-11+5*math.sin(q.anim_time*90*6-45)", -70]
@@ -306,16 +255,16 @@
"rotation": ["-10*math.sin(q.anim_time*90*6+45)", 0, "4*math.sin(q.anim_time*90*6)"]
},
"dreepy_head": {
"rotation": ["-55+10*math.sin(q.anim_time*90*6)", 0, 0]
"rotation": ["-55+8*math.sin(q.anim_time*90*6)", 0, 0]
},
"dreepy_tail": {
"rotation": ["14.5+5*math.cos(q.anim_time*90*6-90)", 0, "5*math.cos(q.anim_time*90*6)"]
},
"dreepy_tail2": {
"rotation": ["35+8*math.sin(q.anim_time*90*6-45)", 0, "10*math.cos(q.anim_time*90*6)"]
"rotation": ["17.5+8*math.sin(q.anim_time*90*6-45)", 0, "10*math.cos(q.anim_time*90*6)"]
},
"dreepy_tail3": {
"rotation": ["-22.5+10*math.sin(q.anim_time*90*6-90)", 0, "16*math.cos(q.anim_time*90*6-90)"]
"rotation": ["-5+10*math.sin(q.anim_time*90*6-90)", 0, "16*math.cos(q.anim_time*90*6-90)"]
},
"dreepy_arm_right": {
"rotation": ["-46+5*math.cos(q.anim_time*90*6)", "-4+10*math.cos(q.anim_time*90*3+30)", -22]
@@ -324,18 +273,27 @@
"rotation": ["-2.5-10*math.cos(q.anim_time*90*6-45)", 0, 0]
},
"dreepy_arm_left": {
"rotation": ["-46+5*math.cos(q.anim_time*90*6)", "-4+10*math.cos(q.anim_time*90*3+30)", 22]
"rotation": ["-46+4*math.cos(q.anim_time*90*6-45)", "4+10*math.cos(q.anim_time*90*3+30)", 22]
},
"dreepy_arm_left2": {
"rotation": ["-2.5-10*math.cos(q.anim_time*90*6-45)", 0, 0]
"rotation": ["-5-10*math.cos(q.anim_time*90*6-45)", 0, 0]
},
"dreepy": {
"scale": 0.8
},
"dreepy_tail4": {
"rotation": ["-14*math.sin(q.anim_time*90*6+45)", 0, "-20*math.cos(q.anim_time*90*6+45)"],
"position": [0, 0.5, 0]
},
"dreepy_tail5": {
"rotation": ["-16*math.sin(q.anim_time*90*6)", 0, "-20*math.cos(q.anim_time*90*6)"],
"position": [0, 0.5, 0]
}
}
},
"animation.drakloak.battle_idle": {
"loop": true,
"animation_length": 4,
"bones": {
"torso": {
"rotation": ["-7.5-5*math.cos(q.anim_time*90*3)", "5*math.sin(q.anim_time*90*3-45)", "3*math.cos(q.anim_time*90*3-45)"],
@@ -370,13 +328,13 @@
"rotation": ["35-5*math.sin(q.anim_time*90*3)", "-5*math.sin(q.anim_time*90*3)", "5*math.sin(q.anim_time*90*3)"]
},
"tail3": {
"rotation": ["42.5+5*math.cos(q.anim_time*90*3)", "-10*math.sin(q.anim_time*90*3+45)", "5*math.sin(q.anim_time*90*3+45)"]
"rotation": ["42.5-5*math.cos(q.anim_time*90*3)", "-10*math.sin(q.anim_time*90*3+45)", "5*math.sin(q.anim_time*90*3+45)"]
},
"tail4": {
"rotation": ["28+5*math.cos(q.anim_time*90*3-33)", 0, "-15*math.cos(q.anim_time*90*3+45)"]
"rotation": ["28+5*math.cos(q.anim_time*90*3-33)", 0, "15*math.sin(q.anim_time*90*3-45)"]
},
"tail5": {
"rotation": ["27.5+5*math.cos(q.anim_time*90*3-66)", 0, "15*math.sin(q.anim_time*90*3-45)"]
"rotation": ["27.5-5*math.cos(q.anim_time*90*3-66)", 0, "15*math.sin(q.anim_time*90*3)"]
},
"dreepy_torso": {
"rotation": ["37.5+3*math.cos(q.anim_time*90*3)", 0, 0],
@@ -389,13 +347,13 @@
"rotation": ["5+3*math.sin(q.anim_time*90*3)", 0, 0]
},
"dreepy_tail": {
"rotation": ["45+7*math.cos(q.anim_time*90*3+33)", "-7*math.sin(q.anim_time*90*3+66)", "15*math.sin(q.anim_time*90*3+66)"]
"rotation": ["45+4*math.cos(q.anim_time*90*3+33)", "-8*math.sin(q.anim_time*90*3+66)", "8*math.sin(q.anim_time*90*3+66)"]
},
"dreepy_tail2": {
"rotation": ["55-7*math.sin(q.anim_time*90*3+66)", "-7*math.sin(q.anim_time*90*3)", "7*math.sin(q.anim_time*90*3)"]
"rotation": ["40-7*math.sin(q.anim_time*90*3)", "-7*math.sin(q.anim_time*90*3)", "7*math.sin(q.anim_time*90*3)"]
},
"dreepy_tail3": {
"rotation": ["-50+7*math.sin(q.anim_time*90*3)", 0, "15*math.sin(q.anim_time*90*3-45)"]
"rotation": ["-30.5+8*math.cos(q.anim_time*90*3)", 0, "5+15*math.sin(q.anim_time*90*3-45)"]
},
"dreepy_arm_right": {
"rotation": ["-54.5-10*math.sin(q.anim_time*90*3-33)", "2-10*math.cos(q.anim_time*90*3-33)", -12.74897]
@@ -407,13 +365,36 @@
"rotation": ["-54.5-10*math.sin(q.anim_time*90*3-33)", "-2-10*math.cos(q.anim_time*90*3-33)", 19]
},
"dreepy_arm_left2": {
"rotation": [27.5, 0, 0]
"rotation": [25, 0, 0]
},
"head": {
"rotation": ["7.5-5*math.cos(q.anim_time*90*3+33)", "0+5*math.cos(q.anim_time*90*3)", 0]
},
"dreepy": {
"scale": 0.8
},
"eyelid_angry_left": {
"position": [0, 0, -0.2]
},
"eyelid_angry_right": {
"position": [0, 0, -0.2]
},
"tail6": {
"rotation": ["-25+10*math.cos(q.anim_time*90*3-45)", 0, "-15*math.cos(q.anim_time*90*3+45)"]
},
"dreepy_eyelid_angry_left": {
"position": [0, 0, -0.1]
},
"dreepy_eyelid_angry_right": {
"position": [0, 0, -0.1]
},
"dreepy_tail4": {
"rotation": ["12*math.sin(q.anim_time*90*3)", 0, 0],
"position": [0, 0.4, 0]
},
"dreepy_tail5": {
"rotation": ["-16*math.cos(q.anim_time*90*3+45)", 0, 0],
"position": [0, 0.5, 0]
}
}
},
@@ -468,20 +449,20 @@
},
"tail": {
"rotation": [-32.90167, 5.63107, 10.1078],
"position": [0, 2.2, 0.2]
"position": [0, 2.2, 0.5]
},
"tail2": {
"rotation": [-15.47995, 3.44611, 12.93843],
"position": [0.2, 1.4, -0.6]
},
"leg_right": {
"rotation": [0, "45.5-3*math.sin(q.anim_time*90*1)", 0]
"rotation": [0, "-4.5-3*math.sin(q.anim_time*90*1)", 0]
},
"leg_left": {
"rotation": [25, "-17-2*math.cos(q.anim_time*90*1)", 1]
"rotation": [14.7996, "43.4223-2*math.sin(q.anim_time*90*1)", -2.48155]
},
"tail3": {
"rotation": [-35, 4, "-12-1*math.sin(q.anim_time*90*1)"],
"rotation": [-34.60967, 6.85515, "-7.8764-1*math.sin(q.anim_time*90*1)"],
"position": [0, 1.3, -0.2]
},
"tail4": {
@@ -492,12 +473,12 @@
"rotation": ["-39-0.5*math.sin(q.anim_time*90*1)", "0-1*math.sin(q.anim_time*90*1)", 0]
},
"dreepy_torso": {
"rotation": ["60+2*math.sin(q.anim_time*90*1)", -3, 26],
"position": [7, -18.5, -2.5],
"rotation": ["60.2424+2*math.sin(q.anim_time*90*1)", -4.99328, 22.52339],
"position": [7, -19, -2.5],
"scale": 0.8
},
"dreepy_neck": {
"rotation": ["16-1*math.sin(q.anim_time*90*1)", -17, "-5+1*math.sin(q.anim_time*90*1)"]
"rotation": ["30-1*math.sin(q.anim_time*90*1)", -17, "-5+1*math.sin(q.anim_time*90*1)"]
},
"dreepy_head": {
"rotation": ["-65.3-4*math.cos(q.anim_time*90*1)", 0, 0],
@@ -514,15 +495,15 @@
"position": [0, 0, 0.06]
},
"dreepy_tail": {
"rotation": ["-15-3*math.sin(q.anim_time*90*1)", -10, "-29-3*math.sin(q.anim_time*90*1)"]
"rotation": ["-15.793-3*math.sin(q.anim_time*90*1)", -8.6717, "-24.1148-3*math.sin(q.anim_time*90*1)"]
},
"dreepy_tail2": {
"rotation": ["4-2*math.sin(q.anim_time*90*1)", 5, "-42+5*math.sin(q.anim_time*90*1)"],
"rotation": ["4.9866-2*math.sin(q.anim_time*90*1)", 4.0168, "-29.4997+5*math.sin(q.anim_time*90*1)"],
"position": [-0.3, 0.4, 0]
},
"dreepy_tail3": {
"rotation": ["2+8*math.sin(q.anim_time*90*1)", -7, -25],
"position": ["-0.4-0.1*math.sin(q.anim_time*90*1)", "0.5+0.2*math.sin(q.anim_time*90*1)", 0]
"rotation": ["0.742+8*math.sin(q.anim_time*90*1)", 0.25896, -14.82736],
"position": ["-0.15-0.1*math.sin(q.anim_time*90*1)", "0.5+0.2*math.sin(q.anim_time*90*1)", 0]
},
"dreepy_arm_right": {
"rotation": ["-47-2*math.sin(q.anim_time*90*1)", -27, -21],
@@ -540,11 +521,18 @@
},
"dreepy_eyelid_left2": {
"position": [0, 0, -0.1]
},
"dreepy_tail4": {
"rotation": ["-8*math.sin(q.anim_time*90*1)", 0, -10],
"position": [0, 0.25, 0]
},
"dreepy_tail5": {
"rotation": ["12.5+4*math.sin(q.anim_time*90*1)", 0, -22.5]
}
}
},
"animation.drakloak.cry": {
"animation_length": 1.75,
"animation_length": 2,
"bones": {
"neck": {
"rotation": {
@@ -620,10 +608,16 @@
},
"dreepy_head": {
"rotation": {
"0.5833": [0, 0, 0],
"0.0": {
"post": [0, 0, 0],
"lerp_mode": "catmullrom"
},
"0.25": {
"post": [7, 0, 0],
"lerp_mode": "catmullrom"
},
"0.8333": {
"pre": [2, 0, 0],
"post": [2, 0, 0],
"post": [7, 0, 0],
"lerp_mode": "catmullrom"
},
"1.0833": {
@@ -634,7 +628,10 @@
"post": [0, 0, 0],
"lerp_mode": "catmullrom"
},
"1.75": [0, 0, 0]
"1.75": {
"post": [0, 0, 0],
"lerp_mode": "catmullrom"
}
}
},
"dreepy_jaw": {
@@ -656,6 +653,70 @@
},
"1.25": [0, 0, 0]
}
},
"pupil_left": {
"position": {
"0.0": [0, 0, 0],
"1.0": {"pre": [0, 0, 0], "post": [0.3, 0.4, 0.3]},
"1.5833": {"pre": [0.3, 0.4, 0.3], "post": [0, 0, 0]}
}
},
"eyelid_left": {
"position": {
"0.0": [0, 0, 0],
"0.8333": {"pre": [0, 0, 0], "post": [0, 0, -0.2]},
"1.0": {"pre": [0, 0, -0.2], "post": [0, 0, 0]},
"1.4167": {"pre": [0, 0, 0], "post": [0, 0, -0.2]},
"1.5833": {"pre": [0, 0, -0.2], "post": [0, 0, 0]}
}
},
"pupil_right": {
"position": {
"0.0": [0, 0, 0],
"1.0": {"pre": [0, 0, 0], "post": [-0.3, 0.4, 0.3]},
"1.5833": {"pre": [-0.3, 0.4, 0.3], "post": [0, 0, 0]}
}
},
"eyelid_right": {
"position": {
"0.0": [0, 0, 0],
"0.8333": {"pre": [0, 0, 0], "post": [0, 0, -0.2]},
"1.0": {"pre": [0, 0, -0.2], "post": [0, 0, 0]},
"1.4167": {"pre": [0, 0, 0], "post": [0, 0, -0.2]},
"1.5833": {"pre": [0, 0, -0.2], "post": [0, 0, 0]}
}
},
"dreepy_pupil_left": {
"position": {
"0.0": [0, 0, 0],
"0.3333": {"pre": [0, 0, 0], "post": [-0.1, -0.4, 0]},
"1.8333": {"pre": [-0.1, -0.4, 0], "post": [0, 0, 0]}
}
},
"dreepy_eyelid_left2": {
"position": {
"0.0": [0, 0, 0],
"0.1667": {"pre": [0, 0, 0], "post": [0, 0, -0.1]},
"0.3333": {"pre": [0, 0, -0.1], "post": [0, 0, 0]},
"1.6667": {"pre": [0, 0, 0], "post": [0, 0, -0.1]},
"1.8333": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
},
"dreepy_pupil_right": {
"position": {
"0.0": [0, 0, 0],
"0.3333": {"pre": [0, 0, 0], "post": [0.1, -0.4, 0]},
"1.8333": {"pre": [0.1, -0.4, 0], "post": [0, 0, 0]}
}
},
"dreepy_eyelid_right": {
"position": {
"0.0": [0, 0, 0],
"0.1667": {"pre": [0, 0, 0], "post": [0, 0, -0.1]},
"0.3333": {"pre": [0, 0, -0.1], "post": [0, 0, 0]},
"1.6667": {"pre": [0, 0, 0], "post": [0, 0, -0.1]},
"1.8333": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
}
},
"sound_effects": {
@@ -664,98 +725,58 @@
}
}
},
"animation.drakloak.sad": {
"loop": true,
"animation.drakloak.blink": {
"animation_length": 0.1667,
"bones": {
"eyelid_sad_left": {
"position": [0.07071, 0, -0.07071]
"eyelid_left": {
"position": {
"0.0": [0.07071, 0, -0.07071],
"0.1667": {"pre": [0.07071, 0, -0.07071], "post": [0, 0, 0]}
}
},
"dreepy_eyelid_angry_left": {
"dreepy_tail": {
"position": [0, 0, 0]
},
"dreepy_eyelid_sad_left": {
"position": [0, 0, -0.1]
},
"dreepy_eyelid_sad_right": {
"position": [0, 0, -0.1]
},
"eyelid_sad_right": {
"position": [-0.07071, 0, -0.07071]
"eyelid_right": {
"position": {
"0.0": [-0.07071, 0, -0.07071],
"0.1667": {"pre": [-0.07071, 0, -0.07071], "post": [0, 0, 0]}
}
}
}
},
"animation.drakloak.angry": {
"loop": true,
"animation.drakloak.blink2": {
"animation_length": 0.1667,
"bones": {
"eyelid_angry_left": {
"position": [0.07071, 0, -0.07071]
"eyelid_left3": {
"position": {
"0.0": [0, 0, -0.1],
"0.1667": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
},
"dreepy_eyelid_angry_left": {
"position": [0, 0, -0.1]
"eyelid_right3": {
"position": {
"0.0": [0, 0, -0.1],
"0.1667": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
},
"dreepy_eyelid_angry_right": {
"position": [0, 0, -0.1]
"dreepy_eyelid_left": {
"position": {
"0.0": [0, 0, -0.1],
"0.1667": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
},
"eyelid_angry_right": {
"position": [-0.07071, 0, -0.07071]
}
}
},
"animation.drakloak.unamused": {
"loop": true,
"bones": {
"eyelid_unamused_left": {
"position": [0.07071, 0, -0.07071]
"dreepy_eyelid_left2": {
"position": {
"0.0": [0, 0, -0.1],
"0.1667": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
},
"eyelid_top_left": {
"position": [0, 0, -0.1]
},
"eyelid_top_right": {
"position": [0, 0, -0.1]
},
"eyelid_unamused_right": {
"position": [-0.07071, 0, -0.07071]
}
}
},
"animation.drakloak.happy": {
"loop": true,
"bones": {
"eyelid_happy_left": {
"position": [0.07071, 0, -0.07071]
},
"dreepy_eyelid_happy_left": {
"position": [0, 0, -0.1]
},
"dreepy_eyelid_happy_right": {
"position": [0, 0, -0.1]
},
"eyelid_happy_right": {
"position": [-0.07071, 0, -0.07071]
}
}
},
"animation.drakloak.shock": {
"loop": true,
"bones": {
"pupil_left": {
"scale": [0.81, 0.81, 1]
},
"jaw": {
"rotation": [25, 0, 0]
},
"dreepy_pupil_left": {
"scale": [0.81, 0.81, 1]
},
"dreepy_pupil_right": {
"scale": [0.81, 0.81, 1]
},
"dreepy_jaw": {
"rotation": [22.5, 0, 0],
"position": [0, 0, 0.3]
},
"pupil_right": {
"scale": [0.81, 0.81, 1]
"dreepy_eyelid_right": {
"position": {
"0.0": [0, 0, -0.1],
"0.1667": {"pre": [0, 0, -0.1], "post": [0, 0, 0]}
}
}
}
}
@@ -37,8 +37,13 @@
"pivot": [0, 12.15, 0]
},
{
"name": "locator_target",
"name": "body2",
"parent": "body",
"pivot": [0, 12.15, 0]
},
{
"name": "locator_target",
"parent": "body2",
"pivot": [0, 9.4, -15],
"locators": {
"target": [0, 9.4, -15]
@@ -46,7 +51,7 @@
},
{
"name": "locator_middle",
"parent": "body",
"parent": "body2",
"pivot": [0, 12.4, 0],
"locators": {
"middle": [0, 12.4, 0]
@@ -54,7 +59,7 @@
},
{
"name": "waist",
"parent": "body",
"parent": "body2",
"pivot": [0, 12.15, 5.75]
},
{
@@ -671,7 +676,7 @@
},
{
"name": "back_legs",
"parent": "body",
"parent": "body2",
"pivot": [0, 12.15, 5.75]
},
{
@@ -542,7 +542,7 @@
{
"name": "toes_left",
"parent": "foot_left",
"pivot": [3, 1, -1],
"pivot": [3, 0, -1],
"cubes": [
{"origin": [1.5, 0, -3], "size": [3, 2, 2], "inflate": 0.02, "uv": [49, 6]}
]
@@ -567,7 +567,7 @@
{
"name": "toes_right",
"parent": "foot_right",
"pivot": [-3, 1, -1],
"pivot": [-3, 0, -1],
"cubes": [
{"origin": [-4.5, 0, -3], "size": [3, 2, 2], "inflate": 0.02, "uv": [49, 0]}
]
@@ -575,4 +575,4 @@
]
}
]
}
}
@@ -6,7 +6,7 @@
"identifier": "geometry.surskit",
"texture_width": 32,
"texture_height": 32,
"visible_bounds_width": 3,
"visible_bounds_width": 4,
"visible_bounds_height": 2.5,
"visible_bounds_offset": [0, 0.75, 0]
},
@@ -15,26 +15,63 @@
"name": "surskit",
"pivot": [0, 0, 0]
},
{
"name": "locator_top",
"parent": "surskit",
"pivot": [0, 21.5, 0],
"locators": {
"top": [0, 21.5, 0]
}
},
{
"name": "locator_root",
"parent": "surskit",
"pivot": [0, 0, 0],
"locators": {
"root": [0, 0, 0]
}
},
{
"name": "body",
"parent": "surskit",
"pivot": [0, 8, 0]
},
{
"name": "locator_target",
"parent": "body",
"pivot": [0, 10, -5],
"locators": {
"target": [0, 10, -5]
}
},
{
"name": "locator_middle",
"parent": "body",
"pivot": [0, 10, 0],
"locators": {
"middle": [0, 10, 0]
}
},
{
"name": "head",
"parent": "body",
"pivot": [0, 8, 0],
"cubes": [
{"origin": [-4, 8, -4], "size": [8, 6, 8], "inflate": 0.01, "uv": [0, 0]}
{"origin": [-4, 8, -4], "size": [8, 6, 8], "inflate": 0.01, "uv": [0, 0]},
{"origin": [-0.5, 14.01, 3], "size": [1, 0, 1], "inflate": 0.01, "uv": [0, 28]}
]
},
{
"name": "eye_right",
"name": "face",
"parent": "head",
"pivot": [0, 8, 0]
},
{
"name": "eye_right",
"parent": "face",
"pivot": [-2.5, 10, -4],
"cubes": [
{"origin": [-2.75, 10.75, -4.03], "size": [1, 1, 0], "uv": [4, 2]},
{"origin": [-3.5, 10, -4.02], "size": [2, 2, 0], "uv": [0, 0]}
{"origin": [-3.5, 10, -4.02], "size": [2, 2, 1], "uv": [25, 14]}
]
},
{
@@ -50,16 +87,55 @@
"parent": "eye_right",
"pivot": [-2.5, 10, -3.9],
"cubes": [
{"origin": [-3.5, 10, -3.93], "size": [2, 2, 1], "inflate": 0.01, "uv": [25, 5]}
{"origin": [-3.5, 10, -3.91], "size": [2, 2, 1], "inflate": 0.01, "uv": [25, 4]}
]
},
{
"name": "eyelid_emote_right",
"parent": "eye_right",
"pivot": [-2, 11.5, -3.43],
"cubes": [
{"origin": [-2.5, 11, -3.93], "size": [1, 1, 1], "inflate": 0.01, "uv": [28, 22], "mirror": true}
]
},
{
"name": "eyeshine_right",
"parent": "eye_right",
"pivot": [-2.25, 11.25, -3.53],
"cubes": [
{"origin": [-2.75, 10.75, -4.03], "size": [1, 1, 1], "uv": [24, 20]}
]
},
{
"name": "eye_happy_right",
"parent": "face",
"pivot": [-2.4, 11, -3.4],
"cubes": [
{"origin": [-3.9, 10, -3.91], "size": [3, 2, 1], "inflate": 0.01, "uv": [0, 4]}
]
},
{
"name": "eye_shocked_right",
"parent": "face",
"pivot": [-2.5, 11, -3.41],
"cubes": [
{"origin": [-3, 10.5, -3.91], "size": [1, 1, 1], "inflate": 0.01, "uv": [20, 22], "mirror": true}
]
},
{
"name": "eye_annoyed_right",
"parent": "face",
"pivot": [-2.5, 11.5, -3.43],
"cubes": [
{"origin": [-3.5, 11, -3.93], "size": [2, 1, 1], "inflate": 0.01, "uv": [20, 24], "mirror": true}
]
},
{
"name": "eye_left",
"parent": "head",
"parent": "face",
"pivot": [2.5, 10, -4],
"cubes": [
{"origin": [1.5, 10, -4.02], "size": [2, 2, 0], "uv": [4, 0]},
{"origin": [1.75, 10.75, -4.03], "size": [1, 1, 0], "uv": [4, 3]}
{"origin": [1.5, 10, -4.02], "size": [2, 2, 1], "uv": [25, 17]}
]
},
{
@@ -73,9 +149,88 @@
{
"name": "eyelid_left",
"parent": "eye_left",
"pivot": [2.5, 10, -3.9],
"pivot": [2.5, 10, -3.8],
"cubes": [
{"origin": [1.5, 10, -3.93], "size": [2, 2, 1], "inflate": 0.01, "uv": [25, 1]}
{"origin": [1.5, 10, -3.91], "size": [2, 2, 1], "inflate": 0.01, "uv": [25, 0]}
]
},
{
"name": "eyelid_emote_left",
"parent": "eye_left",
"pivot": [2, 11.5, -3.43],
"cubes": [
{"origin": [1.5, 11, -3.93], "size": [1, 1, 1], "inflate": 0.01, "uv": [28, 20]}
]
},
{
"name": "eyeshine_left",
"parent": "eye_left",
"pivot": [2.25, 11.25, -3.53],
"cubes": [
{"origin": [1.75, 10.75, -4.03], "size": [1, 1, 1], "uv": [24, 22]}
]
},
{
"name": "eye_happy_left",
"parent": "face",
"pivot": [2.4, 11, -3.4],
"cubes": [
{"origin": [0.9, 10, -3.91], "size": [3, 2, 1], "inflate": 0.01, "uv": [0, 0]}
]
},
{
"name": "eye_shocked_left",
"parent": "face",
"pivot": [2.5, 11, -3.41],
"cubes": [
{"origin": [2, 10.5, -3.91], "size": [1, 1, 1], "inflate": 0.01, "uv": [20, 20]}
]
},
{
"name": "eye_annoyed_left",
"parent": "face",
"pivot": [2.5, 11.5, -3.43],
"cubes": [
{"origin": [1.5, 11, -3.93], "size": [2, 1, 1], "inflate": 0.01, "uv": [20, 26]}
]
},
{
"name": "face_ditto",
"parent": "head",
"pivot": [0, 10.25, -3.9]
},
{
"name": "eyes_ditto",
"parent": "face_ditto",
"pivot": [0, 11, -3.92],
"cubes": [
{"origin": [-3, 10.5, -3.92], "size": [6, 1, 0], "uv": [5, 21]}
]
},
{
"name": "eyes_blink_ditto",
"parent": "face_ditto",
"pivot": [0, 11, -3.82],
"cubes": [
{"origin": [-3.5, 10.5, -3.82], "size": [7, 1, 0], "uv": [4, 22]},
{"origin": [-3, 11, -3.83], "size": [6, 1, 0], "uv": [5, 23]}
]
},
{
"name": "mouth_ditto",
"parent": "face_ditto",
"pivot": [0, 9.25, -3.9],
"cubes": [
{"origin": [-2.5, 8.5, -3.92], "size": [5, 1, 0], "uv": [6, 25]},
{"origin": [-3.5, 9, -3.92], "size": [7, 1, 0], "uv": [4, 24]}
]
},
{
"name": "mouth_open_ditto",
"parent": "face_ditto",
"pivot": [0, 9, -3.81],
"cubes": [
{"origin": [-3.5, 8, -3.82], "size": [7, 2, 0], "uv": [4, 26]}
]
},
{
@@ -87,11 +242,72 @@
]
},
{
"name": "leg_front_left",
"name": "locator_special",
"parent": "antenna",
"pivot": [0, 20, 0.5],
"locators": {
"special": [0, 20, 0.5]
}
},
{
"name": "locator_item_face",
"parent": "head",
"pivot": [0, 10, -4],
"locators": {
"item_face": [0, 10, -4]
}
},
{
"name": "locator_face",
"parent": "head",
"pivot": [0, 10, -4],
"locators": {
"face": [0, 10, -4]
}
},
{
"name": "locator_item_hat",
"parent": "head",
"pivot": [0, 15, 0],
"locators": {
"item_hat": [0, 15, 0]
}
},
{
"name": "locator_head",
"parent": "head",
"pivot": [0, 14, -2.5],
"locators": {
"head": [0, 14, -2.5]
}
},
{
"name": "locator_physical",
"parent": "head",
"pivot": [0, 14, -2.5],
"locators": {
"physical": [0, 14, -2.5]
}
},
{
"name": "locator_item",
"parent": "head",
"pivot": [-1.6, 14.5, -0.5],
"locators": {
"item": [-1.6, 14.5, -0.5]
}
},
{
"name": "legs",
"parent": "body",
"pivot": [0, 8, 0]
},
{
"name": "leg_front_left",
"parent": "legs",
"pivot": [4, 8, -2.5],
"cubes": [
{"origin": [4, 8, -3], "size": [4, 0, 1], "uv": [0, 19]}
{"origin": [4, 8, -3], "size": [4, 0, 1], "uv": [-1, 19]}
]
},
{
@@ -99,7 +315,7 @@
"parent": "leg_front_left",
"pivot": [8, 8, -2.5],
"cubes": [
{"origin": [8, 8, -3], "size": [4, 0, 1], "uv": [16, 18]}
{"origin": [8, 8, -3], "size": [4, 0, 1], "uv": [15, 18]}
]
},
{
@@ -107,7 +323,7 @@
"parent": "leg_front_left2",
"pivot": [12, 8, -2.5],
"cubes": [
{"origin": [12, 8, -3], "size": [4, 0, 1], "uv": [8, 18]}
{"origin": [12, 8, -3], "size": [4, 0, 1], "uv": [7, 18]}
]
},
{
@@ -115,15 +331,24 @@
"parent": "leg_front_left3",
"pivot": [16, 8, -2.5],
"cubes": [
{"origin": [16, 8, -3], "size": [4, 0, 1], "uv": [8, 15]}
{"origin": [16, 8, -3], "size": [4, 0, 1], "uv": [7, 15]}
]
},
{
"name": "locator_foot_secondary1",
"parent": "leg_front_left4",
"pivot": [19.5, 8, -2.5],
"rotation": [90, 0, -90],
"locators": {
"foot_secondary1": [19.5, 8, -2.5]
}
},
{
"name": "leg_front_right",
"parent": "body",
"parent": "legs",
"pivot": [-4, 8, -2.5],
"cubes": [
{"origin": [-8, 8, -3], "size": [4, 0, 1], "uv": [0, 17]}
{"origin": [-8, 8, -3], "size": [4, 0, 1], "uv": [-1, 17]}
]
},
{
@@ -131,7 +356,7 @@
"parent": "leg_front_right",
"pivot": [-8, 8, -2.5],
"cubes": [
{"origin": [-12, 8, -3], "size": [4, 0, 1], "uv": [16, 16]}
{"origin": [-12, 8, -3], "size": [4, 0, 1], "uv": [15, 16]}
]
},
{
@@ -139,7 +364,7 @@
"parent": "leg_front_right2",
"pivot": [-12, 8, -2.5],
"cubes": [
{"origin": [-16, 8, -3], "size": [4, 0, 1], "uv": [16, 15]}
{"origin": [-16, 8, -3], "size": [4, 0, 1], "uv": [15, 15]}
]
},
{
@@ -147,15 +372,24 @@
"parent": "leg_front_right3",
"pivot": [-16, 8, -2.5],
"cubes": [
{"origin": [-20, 8, -3], "size": [4, 0, 1], "uv": [0, 14]}
{"origin": [-20, 8, -3], "size": [4, 0, 1], "uv": [-1, 14]}
]
},
{
"name": "locator_foot_primary1",
"parent": "leg_front_right4",
"pivot": [-19.5, 8, -2.5],
"rotation": [90, 0, 90],
"locators": {
"foot_primary1": [-19.5, 8, -2.5]
}
},
{
"name": "leg_back_right",
"parent": "body",
"parent": "legs",
"pivot": [-4, 8, 2.5],
"cubes": [
{"origin": [-8, 8, 2], "size": [4, 0, 1], "uv": [16, 14]}
{"origin": [-8, 8, 2], "size": [4, 0, 1], "uv": [15, 14]}
]
},
{
@@ -163,7 +397,7 @@
"parent": "leg_back_right",
"pivot": [-8, 8, 2.5],
"cubes": [
{"origin": [-12, 8, 2], "size": [4, 0, 1], "uv": [8, 16]}
{"origin": [-12, 8, 2], "size": [4, 0, 1], "uv": [7, 16]}
]
},
{
@@ -171,7 +405,7 @@
"parent": "leg_back_right2",
"pivot": [-12, 8, 2.5],
"cubes": [
{"origin": [-16, 8, 2], "size": [4, 0, 1], "uv": [0, 16]}
{"origin": [-16, 8, 2], "size": [4, 0, 1], "uv": [-1, 16]}
]
},
{
@@ -179,15 +413,24 @@
"parent": "leg_back_right3",
"pivot": [-16, 8, 2.5],
"cubes": [
{"origin": [-20, 8, 2], "size": [4, 0, 1], "uv": [8, 14]}
{"origin": [-20, 8, 2], "size": [4, 0, 1], "uv": [7, 14]}
]
},
{
"name": "locator_foot_primary2",
"parent": "leg_back_right4",
"pivot": [-19.5, 8, 2.5],
"rotation": [90, 0, 90],
"locators": {
"foot_primary2": [-19.5, 8, 2.5]
}
},
{
"name": "leg_back_left",
"parent": "body",
"parent": "legs",
"pivot": [4, 8, 2.5],
"cubes": [
{"origin": [4, 8, 2], "size": [4, 0, 1], "uv": [0, 18]}
{"origin": [4, 8, 2], "size": [4, 0, 1], "uv": [-1, 18]}
]
},
{
@@ -195,7 +438,7 @@
"parent": "leg_back_left",
"pivot": [8, 8, 2.5],
"cubes": [
{"origin": [8, 8, 2], "size": [4, 0, 1], "uv": [16, 17]}
{"origin": [8, 8, 2], "size": [4, 0, 1], "uv": [15, 17]}
]
},
{
@@ -203,7 +446,7 @@
"parent": "leg_back_left2",
"pivot": [12, 8, 2.5],
"cubes": [
{"origin": [12, 8, 2], "size": [4, 0, 1], "uv": [8, 17]}
{"origin": [12, 8, 2], "size": [4, 0, 1], "uv": [7, 17]}
]
},
{
@@ -211,8 +454,17 @@
"parent": "leg_back_left3",
"pivot": [16, 8, 2.5],
"cubes": [
{"origin": [16, 8, 2], "size": [4, 0, 1], "uv": [0, 15]}
{"origin": [16, 8, 2], "size": [4, 0, 1], "uv": [-1, 15]}
]
},
{
"name": "locator_foot_secondary2",
"parent": "leg_back_left4",
"pivot": [19.5, 8, 2.5],
"rotation": [90, 0, -90],
"locators": {
"foot_secondary2": [19.5, 8, 2.5]
}
}
]
}
@@ -15,90 +15,54 @@
"name": "masquerain",
"pivot": [0, 0, 0]
},
{
"name": "locator_root",
"parent": "masquerain",
"pivot": [0, 0, 0],
"locators": {
"root": [0, 0, 0]
}
},
{
"name": "locator_top",
"parent": "masquerain",
"pivot": [0, 30, 0],
"locators": {
"top": [0, 30, 0]
}
},
{
"name": "body",
"parent": "masquerain",
"pivot": [0, 6, -2]
},
{
"name": "locator_target",
"parent": "body",
"pivot": [0, 10, -9],
"locators": {
"target": [0, 10, -9]
}
},
{
"name": "locator_middle",
"parent": "body",
"pivot": [0, 9, 0],
"locators": {
"middle": [0, 9, 0]
}
},
{
"name": "head",
"parent": "body",
"pivot": [0, 6, -2],
"cubes": [
{"origin": [-4, 6, -8], "size": [8, 6, 8], "uv": [0, 20]},
{"origin": [-3, 8.5, -8.03], "size": [1, 1, 0], "uv": [6, 22]},
{"origin": [2, 8.5, -8.03], "size": [1, 1, 0], "uv": [2, 22]},
{"origin": [-2, 15, -6], "size": [4, 3, 4], "uv": [40, 41]},
{"origin": [-3, 12, -7], "size": [6, 3, 6], "uv": [26, 28]},
{"origin": [-1, 18, -5], "size": [2, 7, 2], "uv": [0, 45]}
]
},
{
"name": "eye_right",
"parent": "head",
"pivot": [-2.5, 8, -8],
"cubes": [
{"origin": [-3.5, 8, -8.02], "size": [2, 2, 0], "uv": [4, 20]}
]
},
{
"name": "locator_eye_right",
"parent": "eye_right",
"pivot": [-2.5, 9, -8],
"locators": {
"eye1": [-2.5, 9, -8]
}
},
{
"name": "eyelash_right",
"parent": "eye_right",
"pivot": [-3.5, 10, -8],
"cubes": [
{"origin": [-4, 9.5, -8.01], "size": [1, 1, 0], "uv": [4, 22]}
]
},
{
"name": "eyelid_right",
"parent": "eye_right",
"pivot": [-2.5, 8, -7.9],
"cubes": [
{"origin": [-3.5, 8, -7.93], "size": [2, 2, 1], "inflate": 0.01, "uv": [0, 37]},
{"origin": [-4, 7.5, -7.91], "size": [1, 1, 0], "uv": [4, 22]}
]
},
{
"name": "eye_left",
"parent": "head",
"pivot": [2.5, 8, -8],
"cubes": [
{"origin": [1.5, 8, -8.02], "size": [2, 2, 0], "uv": [0, 20]}
]
},
{
"name": "locator_eye_left",
"parent": "eye_left",
"pivot": [2.5, 9, -8],
"locators": {
"eye2": [2.5, 9, -8]
}
},
{
"name": "eyelid_left",
"parent": "eye_left",
"pivot": [2.5, 8, -7.9],
"cubes": [
{"origin": [1.5, 8, -7.93], "size": [2, 2, 1], "inflate": 0.01, "uv": [0, 24]},
{"origin": [3, 7.5, -7.91], "size": [1, 1, 0], "uv": [0, 22]}
]
},
{
"name": "eyelash_left",
"parent": "eye_left",
"pivot": [3.5, 10, -8],
"cubes": [
{"origin": [3, 9.5, -8.01], "size": [1, 1, 0], "uv": [0, 22]}
]
},
{
"name": "antenna_left",
"parent": "head",
@@ -115,6 +79,264 @@
{"origin": [-27, 2, -6], "size": [24, 10, 0], "uv": [0, 0]}
]
},
{
"name": "face",
"parent": "head",
"pivot": [0, 6, -2]
},
{
"name": "eye_right",
"parent": "face",
"pivot": [-2.5, 8, -8],
"cubes": [
{"origin": [-3.5, 8, -8.02], "size": [2, 2, 1], "uv": [58, 3]},
{"origin": [-3, 8.5, -8.03], "size": [1, 1, 0], "uv": [6, 22]}
]
},
{
"name": "locator_eye_right",
"parent": "eye_right",
"pivot": [-2.5, 9, -8],
"locators": {
"eye1": [-2.5, 9, -8]
}
},
{
"name": "eyelid_right",
"parent": "eye_right",
"pivot": [-2.5, 8, -7.9],
"cubes": [
{"origin": [-3.5, 8, -7.91], "size": [2, 2, 1], "inflate": 0.01, "uv": [0, 37]},
{"origin": [-4, 7.5, -7.91], "size": [1, 1, 0], "uv": [4, 22]}
]
},
{
"name": "eyelash_right",
"parent": "eye_right",
"pivot": [-3.5, 10, -8],
"cubes": [
{"origin": [-4, 9.5, -8.01], "size": [1, 1, 0], "uv": [4, 22]}
]
},
{
"name": "eye_annoyed_right",
"parent": "face",
"pivot": [-2, 9.5, -7.43],
"cubes": [
{"origin": [-3.5, 9, -7.93], "size": [2, 1, 1], "inflate": 0.01, "uv": [49, 2], "mirror": true}
]
},
{
"name": "eye_sad_right",
"parent": "face",
"pivot": [-2.5, 8, -7.9],
"cubes": [
{"origin": [-3.5, 9.5, -7.92], "size": [1, 1, 1], "inflate": 0.01, "uv": [50, 6], "mirror": true}
]
},
{
"name": "eye_happy_right",
"parent": "face",
"pivot": [-2, 9, -7.42],
"cubes": [
{"origin": [-3.5, 8, -7.91], "size": [3, 2, 1], "uv": [56, 9], "mirror": true}
]
},
{
"name": "eye_angry_right",
"parent": "face",
"pivot": [-2.5, 8, -7.9],
"cubes": [
{"origin": [-3.5, 8, -7.92], "size": [2, 2, 1], "uv": [49, 11], "mirror": true},
{"origin": [-3, 8.5, -7.93], "size": [1, 1, 0], "uv": [2, 22], "mirror": true}
]
},
{
"name": "eye_shocked_right",
"parent": "face",
"pivot": [-2.5, 8, -7.9],
"cubes": [
{"origin": [-3, 8.5, -7.92], "size": [1, 1, 1], "uv": [58, 14], "mirror": true}
]
},
{
"name": "eye_left",
"parent": "face",
"pivot": [2.5, 8, -8],
"cubes": [
{"origin": [1.5, 8, -8.02], "size": [2, 2, 1], "uv": [58, 0]},
{"origin": [2, 8.5, -8.03], "size": [1, 1, 0], "uv": [2, 22]}
]
},
{
"name": "locator_eye_left",
"parent": "eye_left",
"pivot": [2.5, 9, -8],
"locators": {
"eye2": [2.5, 9, -8]
}
},
{
"name": "eyelid_left",
"parent": "eye_left",
"pivot": [2.5, 8, -7.9],
"cubes": [
{"origin": [1.5, 8, -7.91], "size": [2, 2, 1], "inflate": 0.01, "uv": [0, 24]},
{"origin": [3, 7.5, -7.91], "size": [1, 1, 0], "uv": [0, 22]}
]
},
{
"name": "eyelash_left",
"parent": "eye_left",
"pivot": [3.5, 10, -8],
"cubes": [
{"origin": [3, 9.5, -8.01], "size": [1, 1, 0], "uv": [0, 22]}
]
},
{
"name": "eye_annoyed_left",
"parent": "face",
"pivot": [2, 9.5, -7.43],
"cubes": [
{"origin": [1.5, 9, -7.93], "size": [2, 1, 1], "inflate": 0.01, "uv": [49, 0]}
]
},
{
"name": "eye_sad_left",
"parent": "face",
"pivot": [2.5, 8, -7.9],
"cubes": [
{"origin": [2.5, 9.5, -7.92], "size": [1, 1, 1], "inflate": 0.01, "uv": [50, 4]}
]
},
{
"name": "eye_happy_left",
"parent": "face",
"pivot": [2, 9, -7.42],
"cubes": [
{"origin": [0.5, 8, -7.91], "size": [3, 2, 1], "uv": [56, 6]}
]
},
{
"name": "eye_angry_left",
"parent": "face",
"pivot": [2.5, 8, -7.9],
"cubes": [
{"origin": [1.5, 8, -7.92], "size": [2, 2, 1], "uv": [49, 8]},
{"origin": [2, 8.5, -7.93], "size": [1, 1, 0], "uv": [2, 22]}
]
},
{
"name": "eye_shocked_left",
"parent": "face",
"pivot": [2.5, 8, -7.9],
"cubes": [
{"origin": [2, 8.5, -7.92], "size": [1, 1, 1], "uv": [58, 12]}
]
},
{
"name": "face_ditto",
"parent": "head",
"pivot": [0, 8.5, -7.9]
},
{
"name": "eyes_ditto",
"parent": "face_ditto",
"pivot": [0, 8.75, -7.92],
"cubes": [
{"origin": [-3, 8.75, -7.92], "size": [6, 1, 0], "uv": [50, 18]}
]
},
{
"name": "eyes_blink_ditto",
"parent": "face_ditto",
"pivot": [0, 9.25, -7.82],
"cubes": [
{"origin": [-3.5, 8.75, -7.82], "size": [7, 1, 0], "uv": [49, 19]},
{"origin": [-3, 9.25, -7.83], "size": [6, 1, 0], "uv": [50, 20]}
]
},
{
"name": "mouth_ditto",
"parent": "face_ditto",
"pivot": [0, 7.5, -7.9],
"cubes": [
{"origin": [-2.5, 6.75, -7.92], "size": [5, 1, 0], "uv": [51, 22]},
{"origin": [-3.5, 7.25, -7.92], "size": [7, 1, 0], "uv": [49, 21]}
]
},
{
"name": "mouth_open_ditto",
"parent": "face_ditto",
"pivot": [0, 7.25, -7.81],
"cubes": [
{"origin": [-3.5, 6.25, -7.82], "size": [7, 2, 0], "uv": [49, 23]}
]
},
{
"name": "locator_item_face",
"parent": "head",
"pivot": [0, 8, -8],
"locators": {
"item_face": [0, 8, -8]
}
},
{
"name": "locator_face",
"parent": "head",
"pivot": [0, 8, -8],
"locators": {
"face": [0, 8, -8]
}
},
{
"name": "locator_item_hat",
"parent": "head",
"pivot": [0, 13, -4],
"locators": {
"item_hat": [0, 13, -4]
}
},
{
"name": "locator_head",
"parent": "head",
"pivot": [0, 12, -7],
"locators": {
"head": [0, 12, -7]
}
},
{
"name": "locator_special",
"parent": "head",
"pivot": [0, 25, -4],
"locators": {
"special": [0, 25, -4]
}
},
{
"name": "locator_physical",
"parent": "head",
"pivot": [0, 25, -4],
"locators": {
"physical": [0, 25, -4]
}
},
{
"name": "locator_horn",
"parent": "head",
"pivot": [0, 25, -4],
"locators": {
"horn": [0, 25, -4]
}
},
{
"name": "locator_item",
"parent": "head",
"pivot": [0, 25.5, -4],
"locators": {
"item": [0, 25.5, -4]
}
},
{
"name": "abdomen",
"parent": "body",
@@ -125,36 +347,77 @@
]
},
{
"name": "wing_left_back2",
"parent": "abdomen",
"name": "abdomen_wings",
"parent": "body",
"pivot": [0, 6, -2]
},
{
"name": "wing_right_back",
"parent": "abdomen_wings",
"pivot": [-2.5, 6, 2.5],
"cubes": [
{"origin": [-13.5, 4, 2.5], "size": [11, 4, 0], "uv": [24, 20]}
]
},
{
"name": "locator_wing_right2",
"parent": "wing_right_back",
"pivot": [-8, 8, 2.5],
"rotation": [0, 90, 0],
"locators": {
"wing3": [-8, 8, 2.5]
}
},
{
"name": "wing_left_back",
"parent": "abdomen",
"parent": "abdomen_wings",
"pivot": [2.5, 6, 2.5],
"cubes": [
{"origin": [2.5, 4, 2.5], "size": [11, 4, 0], "uv": [22, 37]}
]
},
{
"name": "wing_left_front2",
"parent": "abdomen",
"name": "locator_wing_left2",
"parent": "wing_left_back",
"pivot": [8, 8, 2.5],
"rotation": [0, -90, 0],
"locators": {
"wing4": [8, 8, 2.5]
}
},
{
"name": "wing_right_front",
"parent": "abdomen_wings",
"pivot": [-2.5, 7, 1.5],
"cubes": [
{"origin": [-13.5, 5, 1.5], "size": [11, 4, 0], "uv": [24, 24]}
]
},
{
"name": "locator_wing_right",
"parent": "wing_right_front",
"pivot": [-8, 9, 1.5],
"rotation": [0, 90, 0],
"locators": {
"wing1": [-8, 9, 1.5]
}
},
{
"name": "wing_left_front",
"parent": "abdomen",
"parent": "abdomen_wings",
"pivot": [2.5, 7, 1.5],
"cubes": [
{"origin": [2.5, 5, 1.5], "size": [11, 4, 0], "uv": [22, 41]}
]
},
{
"name": "locator_wing_left",
"parent": "wing_left_front",
"pivot": [8, 9, 1.5],
"rotation": [0, -90, 0],
"locators": {
"wing2": [8, 9, 1.5]
}
}
]
}
@@ -484,7 +484,7 @@
"parent": "ftail2_stone",
"pivot": [0, 3.7, 1.5],
"cubes": [
{"origin": [-3.5, 1.2, -1], "size": [7, 5, 5], "uv": [40, 22]}
{"origin": [-3.5, 0.2, -1], "size": [7, 5, 5], "uv": [40, 22]}
]
},
{
@@ -90,25 +90,9 @@
"face": [0, 4.25, -3]
}
},
{
"name": "mouth",
"parent": "torso",
"pivot": [0, 3.25, -3.005],
"cubes": [
{"origin": [-1, 2.25, -4], "size": [2, 2, 3], "uv": [0, 18]}
]
},
{
"name": "mouth_hole",
"parent": "mouth",
"pivot": [0, 3.25, -4.01],
"cubes": [
{"origin": [-0.5, 2.75, -4.01], "size": [1, 1, 0], "uv": [0, 18]}
]
},
{
"name": "eyes",
"parent": "torso",
"parent": "torso_squish",
"pivot": [0, 4.25, -3.01]
},
{
@@ -245,6 +229,22 @@
{"origin": [-3, 3.5, -2.92], "size": [1, 1, 0], "uv": [3, 10]}
]
},
{
"name": "mouth",
"parent": "torso",
"pivot": [0, 3.25, -3.005],
"cubes": [
{"origin": [-1, 2.25, -4], "size": [2, 2, 3], "uv": [0, 18]}
]
},
{
"name": "mouth_hole",
"parent": "mouth",
"pivot": [0, 3.25, -4.01],
"cubes": [
{"origin": [-0.5, 2.75, -4.01], "size": [1, 1, 0], "uv": [0, 18]}
]
},
{
"name": "arms",
"parent": "torso",
@@ -329,4 +329,4 @@
]
}
]
}
}
@@ -187,6 +187,14 @@
{"origin": [1.5, 7.75, -5], "size": [2, 2, 1], "inflate": 0.02, "uv": [121, 40]}
]
},
{
"name": "locator_eye_left",
"parent": "eye_left",
"pivot": [2.5, 8.75, -5],
"locators": {
"eye2": [2.5, 8.75, -5]
}
},
{
"name": "eye_right",
"parent": "eyes",
@@ -197,6 +205,14 @@
{"origin": [-3.5, 7.75, -5], "size": [2, 2, 1], "inflate": 0.02, "uv": [112, 40]}
]
},
{
"name": "locator_eye_right",
"parent": "eye_right",
"pivot": [-2.5, 8.75, -5],
"locators": {
"eye1": [-2.5, 8.75, -5]
}
},
{
"name": "face_ditto",
"parent": "face_main",
@@ -251,7 +267,7 @@
]
},
{
"name": "locator_physcial",
"name": "locator_physical",
"parent": "arm_top",
"pivot": [0, 17.25, 0],
"locators": {
@@ -412,4 +428,4 @@
]
}
]
}
}
@@ -151,6 +151,14 @@
{"origin": [-2.85, 9.5, -6.9], "size": [1, 1, 1], "inflate": 0.11, "uv": [1, 3]}
]
},
{
"name": "locator_eye_right",
"parent": "eye_right",
"pivot": [-2.35, 10.5, -7],
"locators": {
"eye1": [-2.35, 10.5, -7]
}
},
{
"name": "eye_emote_right",
"parent": "eye_right",
@@ -175,6 +183,14 @@
{"origin": [1.85, 9.5, -6.9], "size": [1, 1, 1], "inflate": 0.11, "uv": [5, 3]}
]
},
{
"name": "locator_eye_left",
"parent": "eye_left",
"pivot": [2.35, 10.5, -7],
"locators": {
"eye2": [2.35, 10.5, -7]
}
},
{
"name": "eye_emote_left",
"parent": "eye_left",
@@ -142,8 +142,7 @@
{"origin": [-9.5, 25, -27.01], "size": [19, 13, 0], "uv": [111, 1]},
{"origin": [-9.5, 25, -26.98], "size": [19, 13, 0], "uv": [111, 1]},
{"origin": [-6.5, 27, -27], "size": [13, 9, 2], "uv": [80, 0]},
{"origin": [-4.5, 30, -27.02], "size": [6, 5, 0], "uv": [81, 12]},
{"origin": [-2.5, 32, -27.03], "size": [2, 2, 0], "uv": [94, 12]}
{"origin": [-4.5, 30, -27.02], "size": [6, 5, 0], "uv": [81, 12]}
]
},
{
@@ -180,13 +179,16 @@
}
},
{
"name": "pupil",
"name": "eye",
"parent": "head_angle",
"pivot": [-1.5, 33, -27.04]
"pivot": [-1.5, 33, -27.04],
"cubes": [
{"origin": [-2.5, 32, -27.03], "size": [2, 2, 0], "uv": [94, 12]}
]
},
{
"name": "pupil_emote",
"parent": "pupil",
"parent": "eye",
"pivot": [-1.5, 33, -27.04],
"cubes": [
{"origin": [-2, 32.5, -27.04], "size": [1, 1, 0], "uv": [94, 15]}
@@ -194,7 +196,7 @@
},
{
"name": "pupil_emote2",
"parent": "pupil",
"parent": "eye",
"pivot": [-0.5, 33, -26.94],
"cubes": [
{"origin": [-1, 32.5, -26.94], "size": [1, 1, 0], "uv": [97, 15]}
@@ -202,7 +204,7 @@
},
{
"name": "pupil_happy",
"parent": "pupil",
"parent": "eye",
"pivot": [-1.5, 32.7, -26.94],
"cubes": [
{"origin": [-2.5, 31.7, -26.94], "size": [2, 2, 0], "pivot": [-1.5, 32.7, -26.94], "rotation": [0, 0, 45], "uv": [104, 12]}
@@ -210,7 +212,7 @@
},
{
"name": "locator_eye",
"parent": "pupil",
"parent": "eye",
"pivot": [-1.5, 33, -27],
"locators": {
"eye": [-1.5, 33, -27]
@@ -75,7 +75,7 @@
"parent": "pupil_left",
"pivot": [2.45, 22.2, -8],
"locators": {
"eye3": [2.45, 22.2, -8]
"eye2": [2.45, 22.2, -8]
}
},
{
@@ -561,7 +561,7 @@
"parent": "dreepy_pupil_right",
"pivot": [-1.2, 32.8, 0.2],
"locators": {
"eye2": [-1.2, 32.8, 0.2]
"eye3": [-1.2, 32.8, 0.2]
}
},
{
@@ -14,16 +14,15 @@
"animations": [
"q.look('head')",
"q.bedrock('caterpie', 'ground_idle')"
],
"quirks": ["q.bedrock_quirk('caterpie', 'blink')"]
]
},
"walking": {
"poseTypes": ["WALK"],
"animations": [
"q.look('head')",
"q.bedrock('caterpie', 'ground_walk')"
],
"quirks": ["q.bedrock_quirk('caterpie', 'blink')"]
]
},
"swimming": {
"poseTypes": ["WALK","SWIM"],
@@ -32,8 +31,7 @@
"q.pitch_tilt('body')",
"q.look('head')",
"q.bedrock('caterpie', 'ground_walk')"
],
"quirks": ["q.bedrock_quirk('caterpie', 'blink')"]
]
},
"sleep": {
"poseTypes": ["SLEEP"],
@@ -45,7 +43,6 @@
"shoulder_left": {
"poseTypes": ["SHOULDER_LEFT"],
"animations": ["q.look('head')", "q.bedrock('caterpie', 'ground_idle')"],
"quirks": ["q.bedrock_quirk('caterpie', 'blink')"],
"transformedParts": [
{
"part": "body",
@@ -56,7 +53,6 @@
"shoulder_right": {
"poseTypes": ["SHOULDER_RIGHT"],
"animations": ["q.look('head')", "q.bedrock('caterpie', 'ground_idle')"],
"quirks": ["q.bedrock_quirk('caterpie', 'blink')"],
"transformedParts": [
{
"part": "body",
@@ -0,0 +1,83 @@
{
"portraitScale": 1.5,
"portraitTranslation": [-0.4, -0.3, 0.0],
"profileScale": 0.8,
"profileTranslation": [0.0, 0.5, 0.0],
"rootBone": "electrode",
"animations": {
"cry": "q.bedrock_stateful('electrode', 'cry')",
"recoil": "q.bedrock_stateful('electrode', 'recoil')",
"physical": "q.bedrock_primary('electrode', 'physical', q.curve('symmetrical_wide'))",
"special": "q.bedrock_primary('electrode', 'special', q.curve('symmetrical_wide'))",
"explosion": "q.bedrock_primary('electrode', 'explosion', q.curve('symmetrical_wide'))"
},
"poses": {
"battle-standing": {
"poseTypes": [
"STAND"
],
"isBattle": true,
"animations": [
"q.look('body')",
"q.bedrock('electrode', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('electrode', 'blink')",
"q.bedrock_quirk('electrode', q.array('quirk', 'quirk2'), 12, 30, 1)"
]
},
"standing": {
"poseTypes": [
"STAND",
"NONE",
"PORTRAIT",
"PROFILE"
],
"isBattle": false,
"animations": [
"q.look('body')",
"q.bedrock('electrode', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('electrode', 'blink')",
"q.bedrock_quirk('electrode', q.array('quirk', 'quirk2'), 12, 30, 1)"
]
},
"walking": {
"poseTypes": [
"WALK"
],
"condition": "!q.is_sprinting",
"animations": [
"q.look('body')",
"q.bedrock('electrode', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('electrode', 'blink')",
"q.bedrock_quirk('electrode', q.array('quirk', 'quirk2'), 12, 30, 1)"
]
},
"running": {
"poseName": "run",
"poseTypes": ["WALK"],
"condition": "q.is_sprinting",
"animations": [
"q.look('body')",
"q.bedrock('electrode', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('electrode', 'blink')",
"q.bedrock_quirk('electrode', q.array('quirk', 'quirk2'), 12, 30, 1)"
]
},
"sleep": {
"poseTypes": [
"SLEEP"
],
"animations": [
"q.bedrock('electrode', 'sleep')"
]
}
}
}
@@ -5,7 +5,8 @@
"profileTranslation": [0, 0.6, 0],
"rootBone": "eevee",
"animations": {
"cry": "q.bedrock_stateful('eevee', 'cry')"
"cry": "q.bedrock_stateful('eevee', 'cry')",
"recoil": "q.bedrock_stateful('eevee', 'recoil')"
},
"poses": {
"standing": {
@@ -16,6 +17,8 @@
"PROFILE",
"FLOAT"
],
"isBattle": false,
"isTouchingWater": false,
"animations": [
"q.look('head', 1, 1, 70, -45, 45, -45)",
"q.bedrock('eevee', 'ground_idle')"
@@ -24,18 +27,87 @@
"q.bedrock_quirk('eevee', 'blink')"
]
},
"battle-standing": {
"poseTypes":[
"STAND"
],
"isBattle": true,
"isTouchingWater": false,
"animations": [
"q.look('head')",
"q.bedrock('eevee', 'battle_idle')"
]
},
"walking": {
"poseTypes": [
"WALK",
"SWIM"
],
"condition": "!q.is_sprinting",
"isTouchingWater":false,
"animations": [
"q.look('head', 1, 1, 70, -45, 45, -45)",
"q.bedrock('eevee', 'ground_idle')",
"q.quadruped_walk(0.66, 1.4, 'front_leg_left', 'front_leg_right', 'back_leg_left', 'back_leg_right')"
"q.bedrock('eevee', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('eevee', 'blink')"
"q.bedrock_quirk('eevee', 'blink')",
"q.bedrock_quirk('eevee', 'look_quirk')"
]
},
"running": {
"poseTypes": [
"WALK",
"SWIM"
],
"condition": "q.is_sprinting",
"isTouchingWater":false,
"animations": [
"q.look('head', 1, 1, 70, -45, 45, -45)",
"q.bedrock('eevee', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('eevee', 'blink')",
"q.bedrock_quirk('eevee', 'look_quirk')"
]
},
"surfacewater_idle": {
"poseTypes": [
"STAND",
"FLOAT"
],
"isTouchingWater": true,
"isUnderWater": false,
"animations": [
"q.look('head')",
"q.bedrock('eevee', 'surfacewater_idle')"
],
"quirks": [
"q.bedrock_quirk('eevee', 'blink')",
"q.bedrock_quirk('eevee', 'look_quirk')"
]
},
"surfacewater_swim": {
"poseTypes": [
"WALK",
"SWIM"
],
"isTouchingWater": true,
"isUnderWater": false,
"animations": [
"q.look('head')",
"q.bedrock('eevee', 'surfacewater_swim')"
],
"quirks": [
"q.bedrock_quirk('eevee', 'blink')",
"q.bedrock_quirk('eevee', 'look_quirk')"
]
},
"sleep": {
"poseTypes": [
"SLEEP"
],
"animations": [
"q.bedrock('eevee', 'sleep')"
]
},
"shoulder_left": {
@@ -45,7 +117,7 @@
],
"animations": [
"q.look('head')",
"q.bedrock('eevee', 'ground_idle')"
"q.bedrock('eevee', 'shoulder_left')"
],
"quirks": [
"q.bedrock_quirk('eevee', 'blink')"
@@ -53,10 +125,11 @@
"transformedParts": [
{
"part": "body",
"position": [5, 0, 0]
"position": [0, 0, 0]
}
]
},
"shoulder_right": {
"poseName": "shoulder_right",
"poseTypes": [
@@ -64,7 +137,7 @@
],
"animations": [
"q.look('head')",
"q.bedrock('eevee', 'ground_idle')"
"q.bedrock('eevee', 'shoulder_right')"
],
"quirks": [
"q.bedrock_quirk('eevee', 'blink')"
@@ -72,7 +145,7 @@
"transformedParts": [
{
"part": "body",
"position": [-5, 0, 0]
"position": [0, 0, 0]
}
]
}
@@ -5,7 +5,8 @@
"profileTranslation": [0, 0.45, 0],
"rootBone": "vaporeon",
"animations": {
"cry": "q.bedrock_stateful('vaporeon', 'cry')"
"cry": "q.bedrock_stateful('vaporeon', 'cry')",
"recoil": "q.bedrock_stateful('vaporeon','recoil')"
},
"poses": {
"standing": {
@@ -13,8 +14,7 @@
"STAND",
"NONE",
"PORTRAIT",
"PROFILE",
"FLOAT"
"PROFILE"
],
"isBattle": false,
"animations": [
@@ -25,19 +25,82 @@
"q.bedrock_quirk('vaporeon', 'blink')"
]
},
"battle-standing": {
"poseTypes":[
"STAND"
],
"isBattle": true,
"isTouchingWater": false,
"animations": [
"q.look('head')",
"q.bedrock('vaporeon', 'battle_idle')"
]
},
"walking": {
"poseTypes": [
"WALK",
"SWIM"
],
"condition": "!q.is_sprinting",
"isTouchingWater":false,
"animations": [
"q.look('head', 1, 1, 70, -45, 45, -45)",
"q.bedrock('vaporeon', 'ground_idle')",
"q.quadruped_walk(0.66, 1.4, 'frontleg_left', 'frontleg_right', 'back_leg_left', 'back_leg_right')"
"q.bedrock('vaporeon', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('vaporeon', 'blink')"
]
},
"running": {
"poseTypes": [
"WALK",
"SWIM"
],
"condition": "q.is_sprinting",
"isTouchingWater":false,
"animations": [
"q.look('head', 1, 1, 70, -45, 45, -45)",
"q.bedrock('vaporeon', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('vaporeon', 'blink')"
]
},
"water_idle": {
"poseTypes": [
"STAND",
"FLOAT"
],
"isTouchingWater": true,
"animations": [
"q.look('head')",
"q.bedrock('vaporeon', 'water_idle')"
],
"quirks": [
"q.bedrock_quirk('vaporeon', 'blink')"
]
},
"water_swim": {
"poseTypes": [
"WALK",
"SWIM"
],
"isTouchingWater": true,
"animations": [
"q.look('head')",
"q.bedrock('vaporeon', 'water_swim')"
],
"quirks": [
"q.bedrock_quirk('vaporeon', 'blink')"
]
},
"sleep": {
"poseTypes": [
"SLEEP"
],
"animations": [
"q.bedrock('vaporeon', 'sleep')"
]
}
}
}
@@ -6,6 +6,7 @@
"rootBone": "flareon",
"animations": {
"cry": "q.bedrock_stateful('flareon', 'cry')"
},
"poses": {
"standing": {
@@ -25,6 +26,16 @@
"q.bedrock_quirk('flareon', 'blink')"
]
},
"battle-standing": {
"poseTypes":[
"STAND"
],
"isBattle": true,
"animations": [
"q.look('head')",
"q.bedrock('flareon', 'battle_idle')"
]
},
"walking": {
"poseTypes": [
"WALK",
@@ -32,12 +43,19 @@
],
"animations": [
"q.look('head', 1, 1, 70, -45, 45, -45)",
"q.bedrock('flareon', 'ground_idle')",
"q.quadruped_walk(0.66, 1.4, 'front_leg_left', 'front_leg_right', 'back_leg_left', 'back_leg_right')"
"q.bedrock('flareon', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('flareon', 'blink')"
]
},
"sleep": {
"poseTypes": [
"SLEEP"
],
"animations": [
"q.bedrock('flareon', 'sleep')"
]
}
}
}
@@ -30,7 +30,7 @@
"animations": [
"q.look('neck', 0.5, 1, 10, -10, 20, -20)",
"q.look('head', 1, 0.25, 10, -15, 5, -5)",
"q.bedrock('gyarados', 'air_fly')"
"q.bedrock('dragonite', 'air_fly')"
]
},
"water-jump": {
@@ -4,7 +4,9 @@
"profileScale": 0.81,
"profileTranslation": [0.0, 0.5, 0.0],
"rootBone": "marill",
"animations": {},
"animations": {
"cry": "q.bedrock_stateful('marill','cry')"
},
"poses": {
"standing": {
"poseName": "standing",
@@ -15,22 +17,67 @@
"walking": {
"poseName": "walking",
"poseTypes": ["WALK"],
"condition": "!q.is_sprinting",
"animations": [
"q.look('head_ai')",
"q.biped_walk(0.66, 0.6, 'leg_left', 'leg_right')",
"q.bedrock('marill', 'ground_idle')"
"q.bedrock('marill', 'ground_walk')"
],
"quirks": ["q.bedrock_quirk('marill', 'blink')"]
},
"swimming": {
"running": {
"poseName": "walking",
"poseTypes": ["WALK"],
"condition": "q.is_sprinting",
"animations": [
"q.look('head_ai')",
"q.bedrock('marill', 'ground_run')"
],
"quirks": ["q.bedrock_quirk('marill', 'blink')"]
},
"water-idle": {
"poseName": "swimming",
"poseTypes": ["SWIM", "FLOAT"],
"poseTypes": ["FLOAT"],
"isTouchingWater": true,
"isUnderWater": true,
"animations": [
"q.look('head_ai')",
"q.bedrock('marill', 'water_idle')"
],
"quirks": ["q.bedrock_quirk('marill', 'blink')"]
},
"water-swim": {
"poseName": "swimming",
"poseTypes": ["SWIM"],
"isTouchingWater": true,
"isUnderWater": true,
"animations": [
"q.look('head_ai')",
"q.bedrock('marill', 'water_swim')"
],
"quirks": ["q.bedrock_quirk('marill', 'blink')"]
},
"surfacewater-idle": {
"poseName": "surfaceswimming",
"poseTypes": ["FLOAT"],
"isTouchingWater": true,
"isUnderWater":false,
"animations": [
"q.look('head_ai')",
"q.bedrock('marill', 'surfacewater_idle')"
],
"quirks": ["q.bedrock_quirk('marill', 'blink')"]
},
"surfacewater-swim": {
"poseName": "swimming",
"poseTypes": ["SWIM"],
"isTouchingWater": true,
"isUnderWater": false,
"animations": [
"q.look('head_ai')",
"q.bedrock('marill', 'surfacewater_swim')"
],
"quirks": ["q.bedrock_quirk('marill', 'blink')"]
},
"sleep": {
"poseName": "sleep",
"poseTypes": ["SLEEP"],
@@ -4,39 +4,123 @@
"profileScale": 0.79,
"profileTranslation": [0.0, 0.54, 0.0],
"rootBone": "azumarill",
"animations": {},
"animations": {
"cry": "q.bedrock_stateful('azumarill','cry')",
"physical": "q.bedrock_primary('azumarill','physical',q.curve('symmetrical_wide'))",
"status": "q.bedrock_primary('azumarill','status',q.curve('symmetrical_wide'))"
},
"poses": {
"standing": {
"poseName": "standing",
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": false,
"animations": ["q.look('head_ai')", "q.bedrock('azumarill', 'ground_idle')"],
"quirks": ["q.bedrock_quirk('azumarill', 'blink')"]
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
]
},
"battle-standing": {
"poseName": "standing",
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": true,
"animations": ["q.look('head_ai')", "q.bedrock('azumarill', 'battle_idle')"],
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
],
"namedAnimations": {
"cry": "q.bedrock_stateful('azumarill', 'battle_cry')"
}
},
"walking": {
"poseName": "walking",
"poseTypes": ["WALK"],
"condition": "!q.is_sprinting",
"animations": [
"q.look('head_ai')",
"q.biped_walk(0.66, 0.6, 'leg_left', 'leg_right')",
"q.bedrock('azumarill', 'ground_idle')"
"q.bedrock('azumarill', 'ground_walk')"
],
"quirks": ["q.bedrock_quirk('azumarill', 'blink')"]
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
]
},
"swimming": {
"running": {
"poseTypes": ["WALK"],
"condition": "q.is_sprinting",
"animations": [
"q.look('head_ai')",
"q.bedrock('azumarill', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
]
},
"water-idle": {
"poseName": "swimming",
"poseTypes": ["SWIM", "FLOAT"],
"poseTypes": ["FLOAT"],
"isTouchingWater": true,
"isUnderWater": true,
"animations": [
"q.look('head_ai')",
"q.bedrock('azumarill', 'water_idle')"
],
"quirks": ["q.bedrock_quirk('azumarill', 'blink')"]
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
]
},
"water-swim": {
"poseName": "swimming",
"poseTypes": ["SWIM"],
"isTouchingWater": true,
"isUnderWater": true,
"animations": [
"q.look('head_ai')",
"q.bedrock('azumarill', 'water_swim')"
],
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
]
},
"surfacewater-idle": {
"poseName": "swimming",
"poseTypes": ["FLOAT"],
"isTouchingWater": true,
"isUnderWater":false,
"animations": [
"q.look('head_ai')",
"q.bedrock('azumarill', 'watersurface_idle')"
],
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
]
},
"surfacewater-swim": {
"poseName": "swimming",
"poseTypes": ["SWIM"],
"isTouchingWater": true,
"isUnderWater": false,
"animations": [
"q.look('head_ai')",
"q.bedrock('azumarill', 'watersurface_swim')"
],
"quirks": [
"q.bedrock_quirk('azumarill', 'blink')",
"q.bedrock_quirk('azumarill','quirk')"
]
},
"sleep": {
"poseName": "sleep",
"poseTypes": ["SLEEP"],
"animations": [
"q.bedrock('azumarill', 'sleep')"
]
],
"quirks": ["q.bedrock_quirk('azumarill','sleep_quirk')"]
}
}
}
@@ -5,40 +5,113 @@
"profileTranslation": [0.00, 0.24, 0],
"rootBone": "wurmple",
"animations": {
"cry": "q.bedrock_stateful('wurmple', 'cry')"
"cry": "q.bedrock_stateful('wurmple', 'cry')",
"recoil": "q.bedrock_stateful('wurmple', 'recoil')"
},
"poses": {
"battle-standing": {
"poseTypes": ["STAND"],
"poseTypes": ["STAND", "FLOAT"],
"isBattle": true,
"animations": [
"q.look('head_ai')",
"q.bedrock('wurmple', 'ground_idle')"
"q.bedrock('wurmple', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('wurmple', 'blink')"
"q.bedrock_quirk('wurmple', 'blink')",
{
"animations": "q.bedrock_quirk('wurmple', 'quirk_silcoon')",
"condition": "q.has_aspect('silcoon-cocoon')"
},
{
"animations": "q.bedrock_quirk('wurmple', 'quirk_cascoon')",
"condition": "q.has_aspect('cascoon-cocoon')"
}
]
},
"standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"poseTypes": ["STAND", "FLOAT", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": false,
"animations": [
"q.look('head_ai')",
"q.bedrock('wurmple', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('wurmple', 'blink')"
"q.bedrock_quirk('wurmple', 'blink')",
{
"animations": "q.bedrock_quirk('wurmple', 'quirk_silcoon')",
"condition": "q.has_aspect('silcoon-cocoon')"
},
{
"animations": "q.bedrock_quirk('wurmple', 'quirk_cascoon')",
"condition": "q.has_aspect('cascoon-cocoon')"
}
]
},
"walking": {
"poseTypes": ["WALK"],
"poseTypes": ["WALK", "SWIM"],
"condition": "!q.is_sprinting",
"animations": [
"q.bedrock('wurmple', 'ground_idle')"
"q.bedrock('wurmple', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('wurmple', 'blink')"
]
},
"run": {
"poseName": "run",
"poseTypes": [
"WALK",
"SWIM"
],
"condition": "q.is_sprinting",
"animations": [
"q.look('head_ai')",
"q.bedrock('wurmple', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('wurmple', 'blink')"
]
},
"shoulder_left": {
"poseName": "shoulder_left",
"poseTypes": [
"SHOULDER_LEFT"
],
"animations": [
"q.look('head_ai', 0.5, 0.5)",
"q.look('neck', 0.5, 0.5)",
"q.bedrock('wurmple', 'shoulder_left')"
],
"quirks": [
"q.bedrock_quirk('wurmple', 'blink')"
],
"transformedParts": [
{
"part": "body",
"position": [0, 0, 4.5]
}
]
},
"shoulder_right": {
"poseName": "shoulder_right",
"poseTypes": [
"SHOULDER_RIGHT"
],
"animations": [
"q.look('head_ai', 0.5, 0.5)",
"q.look('neck', 0.5, 0.5)",
"q.bedrock('wurmple', 'shoulder_right')"
],
"quirks": [
"q.bedrock_quirk('wurmple', 'blink')"
],
"transformedParts": [
{
"part": "body",
"position": [0, 0, 4.5]
}
]
},
"sleep": {
"poseName": "sleep",
"poseTypes": [
@@ -46,7 +119,10 @@
],
"animations": [
"q.bedrock('wurmple', 'sleep')"
]
],
"namedAnimations": {
"cry": "q.bedrock_stateful('dummy', 'cry')"
}
}
}
}
@@ -0,0 +1,113 @@
{
"portraitScale": 2.2,
"portraitTranslation": [0, -0.9, 0],
"profileScale": 0.7,
"profileTranslation": [0, 0.6, 0],
"rootBone": "surskit",
"animations": {
"cry": "q.bedrock_stateful('surskit', 'cry')",
"recoil": "q.bedrock_stateful('surskit', 'recoil')"
},
"poses": {
"portrait": {
"poseTypes": ["PORTRAIT", "PROFILE", "NONE"],
"animations": [
"q.bedrock('surskit', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')"
]
},
"surface-battle-idle": {
"poseTypes": ["STAND", "FLOAT"],
"isBattle": true,
"isTouchingWater": true,
"animations": [
"q.bedrock('surskit', 'water_surface_battle_idle')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')"
]
},
"surface-idle": {
"poseTypes": ["STAND", "FLOAT"],
"isBattle": false,
"isTouchingWater": true,
"animations": [
"q.bedrock('surskit', 'water_surface_idle')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')"
]
},
"battle-standing": {
"poseTypes": ["STAND", "FLOAT"],
"isBattle": true,
"isTouchingWater": false,
"animations": [
"q.bedrock('surskit', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')"
]
},
"standing": {
"poseTypes": ["STAND", "FLOAT"],
"isBattle": false,
"isTouchingWater": false,
"animations": [
"q.bedrock('surskit', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')",
"q.bedrock_quirk('surskit', 'quirk')"
]
},
"surface-walking": {
"poseTypes": ["WALK", "SWIM"],
"isTouchingWater": true,
"animations": [
"q.bedrock('surskit', 'water_surface_walk')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')"
]
},
"walking": {
"poseTypes": ["WALK", "SWIM"],
"isTouchingWater": false,
"condition": "!q.is_sprinting",
"animations": [
"q.bedrock('surskit', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')"
]
},
"running": {
"poseTypes": ["WALK", "SWIM"],
"isTouchingWater": false,
"condition": "q.is_sprinting",
"animations": [
"q.bedrock('surskit', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('surskit', 'blink')"
]
},
"surface-sleep": {
"poseTypes": ["SLEEP"],
"isTouchingWater": true,
"animations": [
"q.bedrock('surskit', 'water_surface_sleep')"
]
},
"sleep": {
"poseTypes": ["SLEEP"],
"isTouchingWater": false,
"animations": [
"q.bedrock('surskit', 'sleep')"
]
}
}
}
@@ -0,0 +1,148 @@
{
"portraitScale": 2.2,
"portraitTranslation": [-0.45, -1, 0],
"profileScale": 0.6,
"profileTranslation": [0, 0.7, 0],
"rootBone": "masquerain",
"animations": {
"cry": "q.bedrock_stateful('masquerain', 'cry')",
"recoil": "q.bedrock_stateful('masquerain', 'recoil')"
},
"poses": {
"portrait": {
"poseTypes": ["PORTRAIT", "PROFILE", "NONE"],
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"surface-idle": {
"poseTypes": ["STAND", "FLOAT"],
"isTouchingWater": true,
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'water_surface_idle')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"battle-standing": {
"poseTypes": ["STAND", "FLOAT"],
"isBattle": true,
"isTouchingWater": false,
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"standing": {
"poseTypes": ["STAND", "FLOAT"],
"isBattle": false,
"isTouchingWater": false,
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"surface-walking": {
"poseTypes": ["WALK", "SWIM"],
"isTouchingWater": true,
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'water_surface_walk')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"battle-hover": {
"poseTypes": ["HOVER"],
"isBattle": true,
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'air_battle_idle')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"hover": {
"poseTypes": ["HOVER"],
"isBattle": false,
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'air_idle')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"flying": {
"poseTypes": ["FLY", "GLIDE"],
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'air_fly')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"walking": {
"poseTypes": ["WALK", "SWIM"],
"isTouchingWater": false,
"condition": "!q.is_sprinting",
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"running": {
"poseTypes": ["WALK", "SWIM"],
"isTouchingWater": false,
"condition": "q.is_sprinting",
"animations": [
"q.look('head')",
"q.bedrock('masquerain', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('masquerain', 'blink')"
]
},
"surface-sleep": {
"poseTypes": ["SLEEP"],
"isTouchingWater": true,
"animations": [
"q.bedrock('masquerain', 'water_surface_sleep')"
]
},
"battle-sleep": {
"poseTypes": ["SLEEP"],
"isBattle": true,
"isTouchingWater": false,
"animations": [
"q.bedrock('masquerain', 'battle_sleep')"
]
},
"sleep": {
"poseTypes": ["SLEEP"],
"isBattle": false,
"isTouchingWater": false,
"animations": [
"q.bedrock('masquerain', 'sleep')"
]
}
}
}
@@ -5,7 +5,9 @@
"profileTranslation": [0.00, 0.70, 0],
"rootBone": "yamask_galarian",
"animations": {
"cry": "q.bedrock_stateful('yamask_galarian', 'cry')"
"cry": "q.bedrock_stateful('yamask_galarian', 'cry')",
"physical": "q.bedrock_primary('yamask_galarian','physical',q.curve('symmetrical_wide'))",
"faint": "q.bedrock_primary('yamask_galarian','faint',q.curve('one'))"
},
"poses": {
"battle-standing": {
@@ -13,7 +15,7 @@
"isBattle": true,
"animations": [
"q.look('head_ai')",
"q.bedrock('yamask_galarian', 'ground_idle')"
"q.bedrock('yamask_galarian', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('yamask_galarian', 'blink')"
@@ -32,10 +34,18 @@
},
"walking": {
"poseTypes": ["WALK"],
"condition": "!q.is_sprinting",
"animations": [
"q.bedrock('yamask_galarian', 'ground_walk')"
]
},
"running": {
"poseTypes": ["WALK"],
"condition":"q.is_sprinting",
"animations": [
"q.bedrock('yamask_galarian', 'ground_run')"
]
},
"sleep": {
"poseName": "sleep",
"poseTypes": ["SLEEP"],
@@ -4,26 +4,78 @@
"profileScale": 0.58,
"profileTranslation": [0.01, 0.94, 0],
"rootBone": "foongus",
"animations": {
"cry": "q.bedrock_stateful('foongus', 'cry')",
"status": "q.bedrock_primary('foongus','status', q.curve('symmetrical_wide'))"
},
"poses": {
"standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": false,
"animations": [
"q.bedrock('foongus', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('foongus', 'blink')"
]
},"battle-standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": true,
"animations": [
"q.bedrock('foongus', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('foongus', 'blink')"
],
"namedAnimations": {
"cry": "q.bedrock_stateful('foongus', 'battle_cry')"
}
},
"walking": {
"poseTypes": ["WALK"],
"condition": "!q.is_sprinting",
"animations": [
"q.bedrock('foongus', 'ground_idle')"
"q.bedrock('foongus', 'ground_walk')"
],
"quirks": ["q.bedrock_quirk('foongus', 'blink')"]
},
"running": {
"poseTypes": ["WALK"],
"condition": "q.is_sprinting",
"animations": [
"q.bedrock('foongus', 'ground_run')"
],
"quirks": ["q.bedrock_quirk('foongus', 'blink')"]
},
"sleep": {
"poseTypes": ["SLEEP"],
"animations": ["q.bedrock('foongus', 'sleep')"]
},
"shoulder_left": {
"poseTypes": ["SHOULDER_LEFT"],
"animations": ["q.look('body')", "q.bedrock('foongus', 'shoulder_left')"],
"quirks": [
"q.bedrock_quirk('foongus', 'blink')"
],
"transformedParts": [
{
"part": "body",
"position": [4, 0, 0]
}
]
},
"shoulder_right": {
"poseTypes": ["SHOULDER_RIGHT"],
"animations": ["q.look('body')", "q.bedrock('foongus', 'shoulder_right')"],
"quirks": [
"q.bedrock_quirk('foongus', 'blink')"
],
"transformedParts": [
{
"part": "body",
"position": [-4, 0, 0]
}
]
}
}
}
@@ -4,20 +4,42 @@
"profileScale": 0.66,
"profileTranslation": [0.01, 0.74, 0],
"rootBone": "amoonguss",
"animations":{
"cry": "q.bedrock_stateful('amoonguss','cry')",
"recoil": "q.bedrock_stateful('amoonguss','recoil')",
"physical": "q.bedrock_primary('amoonguss','physical',q.curve('symmetrical_wide'))",
"special": "q.bedrock_primary('amoonguss','special',q.curve('symmetrical_wide'))",
"status": "q.bedrock_primary('amoonguss','status',q.curve('symmetrical_wide'))",
"faint": "q.bedrock_primary('amoonguss','faint',q.curve('one'))"
},
"poses": {
"standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": false,
"animations": [
"q.bedrock('amoonguss', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('amoonguss', 'blink')"
]
},"battle-standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": true,
"animations": [
"q.bedrock('amoonguss', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('amoonguss', 'blink')",
"q.bedrock_quirk('amoonguss','battle_quirk')"
],
"namedAnimations": {
"cry": "q.bedrock_stateful('amoonguss', 'battle_cry')"
}
},
"walking": {
"poseTypes": ["WALK"],
"animations": [
"q.bedrock('amoonguss', 'ground_idle')"
"q.bedrock('amoonguss', 'ground_walk')"
],
"quirks": ["q.bedrock_quirk('amoonguss', 'blink')"]
},
@@ -8,6 +8,37 @@
"cry": "q.bedrock_stateful('noibat', 'cry')"
},
"poses": {
"battle-standing": {
"poseTypes": [
"STAND"
],
"isBattle": true,
"animations": [
"q.look('head')",
"q.bedrock('noibat', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('noibat', 'blink')",
"q.bedrock_quirk('noibat', 'quirk')"
]
},
"battle-hover": {
"poseTypes": [
"HOVER"
],
"isBattle": true,
"animations": [
"q.look('head')",
"q.bedrock('noibat', 'air_idle')"
],
"quirks": [
"q.bedrock_quirk('noibat', 'blink')",
"q.bedrock_quirk('noibat', 'quirk')"
],
"namedAnimations": {
"recoil": "q.bedrock_stateful('noibat', 'air_recoil')"
}
},
"standing": {
"poseTypes": [
"STAND",
@@ -16,13 +47,14 @@
"PORTRAIT",
"PROFILE"
],
"isBattle": true,
"isBattle": false,
"animations": [
"q.look('head')",
"q.bedrock('noibat', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('noibat', 'blink')"
"q.bedrock_quirk('noibat', 'blink')",
"q.bedrock_quirk('noibat', 'quirk')"
]
},
"walking": {
@@ -32,24 +64,29 @@
],
"animations": [
"q.look('head')",
"q.bedrock('noibat', 'ground_idle')",
"q.biped_walk(1, 1, 'leg_left', 'leg_right')"
"q.bedrock('noibat', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('noibat', 'blink')"
"q.bedrock_quirk('noibat', 'blink')",
"q.bedrock_quirk('noibat', 'quirk')"
]
},
"hover": {
"poseTypes": [
"HOVER"
],
"isBattle": false,
"animations": [
"q.look('head')",
"q.bedrock('noibat', 'air_idle')"
],
"quirks": [
"q.bedrock_quirk('noibat', 'blink')"
]
"q.bedrock_quirk('noibat', 'blink')",
"q.bedrock_quirk('noibat', 'quirk')"
],
"namedAnimations": {
"recoil": "q.bedrock_stateful('noibat', 'air_recoil')"
}
},
"fly": {
"poseTypes": [
@@ -60,7 +97,71 @@
"q.bedrock('noibat', 'air_fly')"
],
"quirks": [
"q.bedrock_quirk('riolu', 'blink')"
"q.bedrock_quirk('noibat', 'blink')",
"q.bedrock_quirk('noibat', 'quirk')"
],
"namedAnimations": {
"recoil": "q.bedrock_stateful('noibat', 'air_recoil')"
}
},
"air-sleep": {
"poseTypes": [
"SLEEP"
],
"condition": "q.is_flying",
"namedAnimations": {
"cry": "q.bedrock_stateful('dummy', 'cry')"
},
"animations": [
"q.bedrock('noibat', 'air_sleep')"
]
},
"sleep": {
"poseTypes": [
"SLEEP"
],
"condition": "!q.is_flying",
"animations": [
"q.bedrock('noibat', 'sleep')"
],
"namedAnimations": {
"cry": "q.bedrock_stateful('dummy', 'cry')"
}
},
"shoulder_left": {
"poseTypes": [
"SHOULDER_LEFT"
],
"animations": [
"q.look('head')",
"q.bedrock('noibat', 'shoulder_left')"
],
"quirks": [
"q.bedrock_quirk('noibat', 'quirk')"
],
"transformedParts": [
{
"part": "body",
"position": [-3, 0, 0]
}
]
},
"shoulder_right": {
"poseTypes": [
"SHOULDER_RIGHT"
],
"animations": [
"q.look('head')",
"q.bedrock('noibat', 'shoulder_right')"
],
"quirks": [
"q.bedrock_quirk('noibat', 'quirk')"
],
"transformedParts": [
{
"part": "body",
"position": [-11, 0, 0]
}
]
}
}
@@ -5,7 +5,9 @@
"profileTranslation": [ -0.02, 0.79, 0],
"rootBone": "lycanroc_dusk",
"animations": {
"cry": "q.bedrock_stateful('lycanroc_dusk', 'cry')"
"cry": "q.bedrock_stateful('lycanroc_dusk', 'cry')",
"physical": "q.bedrock_primary('lycanroc_dusk','physical',q.curve('symmetrical_wide'))",
"recoil": "q.bedrock_stateful('lycanroc_dusk','recoil')"
},
"poses": {
"standing": {
@@ -16,12 +18,33 @@
"PORTRAIT",
"PROFILE"
],
"isBattle": false,
"animations": [
"q.look('head_ai', 1, 1, 25, -25, 40, -40)",
"q.bedrock('lycanroc_dusk', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('lycanroc_dusk', 'blink')"
"q.bedrock_quirk('lycanroc_dusk', 'blink')",
"q.bedrock_quirk('lycanroc_dusk', q.array('ear_twitch_left', 'ear_twitch_right'), 12, 30, 1)"
]
},
"battle-standing": {
"poseTypes": [
"STAND",
"NONE",
"FLOAT",
"PORTRAIT",
"PROFILE"
],
"isBattle": true,
"animations": [
"q.look('head_ai', 1, 1, 25, -25, 40, -40)",
"q.bedrock('lycanroc_dusk', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('lycanroc_dusk', 'blink')",
"q.bedrock_quirk('lycanroc_dusk', q.array('ear_twitch_left', 'ear_twitch_right'), 12, 30, 1)",
"q.bedrock_quirk('lycanroc_dusk', 'berserk_quirk', 40, 80, 1)"
]
},
"walking": {
@@ -31,12 +54,16 @@
],
"animations": [
"q.look('head_ai', 1, 1, 25, -25, 40, -40)",
"q.bedrock('lycanroc_dusk', 'ground_idle')",
"q.quadruped_walk(1, 1, 'leg_front_left', 'leg_front_right', 'leg_back_left', 'leg_back_right')"
"q.bedrock('lycanroc_dusk', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('lycanroc_dusk', 'blink')"
"q.bedrock_quirk('lycanroc_dusk', 'blink')",
"q.bedrock_quirk('lycanroc_dusk', q.array('ear_twitch_left', 'ear_twitch_right'), 12, 30, 1)"
]
},
"sleep": {
"poseTypes":["SLEEP"],
"animations": ["q.bedrock('lycanroc_dusk','sleep')"]
}
}
}
@@ -3,7 +3,13 @@
"portraitTranslation": [-0.38,-0.49,0],
"profileScale": 0.75,
"profileTranslation": [0,0.61,0],
"animations": {},
"animations": {
"cry": "q.bedrock_stateful('togedemaru','cry')",
"recoil": "q.bedrock_stateful('togedemaru','recoil')",
"physical": "q.bedrock_primary('togedemaru','physical',q.curve('symmetrical_wide'))",
"special": "q.bedrock_primary('togedemaru','special',q.curve('symmetrical_wide'))",
"status": "q.bedrock_primary('togedemaru','status',q.curve('symmetrical_wide'))"
},
"poses": {
"battle-standing": {
"poseTypes": [
@@ -12,7 +18,7 @@
"isBattle": true,
"animations": [
"q.look('torso', 0.4, 0.6)",
"q.bedrock('togedemaru', 'ground_idle')"
"q.bedrock('togedemaru', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('togedemaru', 'blink')"
@@ -31,16 +37,30 @@
"q.bedrock('togedemaru', 'ground_idle')"
],
"quirks": [
"q.bedrock_quirk('togedemaru', 'blink')"
"q.bedrock_quirk('togedemaru', 'blink')",
"q.bedrock_quirk('togedemaru','look_quirk')"
]
},
"walking": {
"poseTypes": [
"WALK"
],
"condition": "!q.is_sprinting",
"animations": [
"q.look('torso', 0.4, 0.6)",
"q.bedrock('togedemaru', 'ground_idle')"
"q.bedrock('togedemaru', 'ground_walk')"
],
"quirks": [
"q.bedrock_quirk('togedemaru', 'blink')"
]
},"running": {
"poseTypes": [
"WALK"
],
"condition": "q.is_sprinting",
"animations": [
"q.look('torso', 0.4, 0.6)",
"q.bedrock('togedemaru', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('togedemaru', 'blink')"
@@ -51,7 +71,7 @@
"SLEEP"
],
"animations": [
"q.bedrock('togedemaru', 'ground_idle')"
"q.bedrock('togedemaru', 'sleep')"
]
},
"shoulder_left": {
@@ -60,10 +80,11 @@
],
"animations": [
"q.bedrock('togedemaru', 'ground_idle')"
"q.bedrock('togedemaru', 'shoulder_left')"
],
"quirks": [
"q.bedrock_quirk('togedemaru', 'blink')"
"q.bedrock_quirk('togedemaru', 'blink')",
"q.bedrock_quirk('togedemaru','look_quirk')"
]
},
"shoulder_right": {
@@ -71,10 +92,11 @@
"SHOULDER_RIGHT"
],
"animations": [
"q.bedrock('togedemaru', 'ground_idle')"
"q.bedrock('togedemaru', 'shoulder_right')"
],
"quirks": [
"q.bedrock_quirk('togedemaru', 'blink')"
"q.bedrock_quirk('togedemaru', 'blink')",
"q.bedrock_quirk('togedemaru','look_quirk')"
]
}
}
@@ -7,45 +7,139 @@
"poses": {
"standing": {
"poseName": "standing",
"poseTypes": [
"STAND",
"NONE",
"PORTRAIT",
"PROFILE",
"FLOAT",
"SLEEP"
"poseTypes": ["STAND", "FLOAT", "NONE", "PORTRAIT", "PROFILE"],
"isBattle": false,
"condition": "!q.in_air",
"animations": [
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'ground_idle')"
],
"animations": ["q.look('head')", "q.bedrock('cramorant', 'ground_idle')"],
"quirks": ["q.bedrock_quirk('cramorant', 'blink', 5, 30, 1)"]
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
]
},
"battle-standing": {
"poseTypes": ["STAND"],
"isBattle": true,
"condition": "!q.in_air",
"animations": [
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
]
},
"walking": {
"poseName": "walking",
"poseTypes": ["WALK", "SWIM"],
"isBattle": false,
"isTouchingWater": false,
"condition": "!q.in_air && !q.is_sprinting",
"animations": [
"q.look('head')",
"q.bedrock('cramorant', 'ground_idle')",
"q.biped_walk(1, 1, 'leg_left', 'leg_right')"
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'ground_walk')"
],
"quirks": ["q.bedrock_quirk('cramorant', 'blink', 5, 30, 1)"]
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
]
},
"running": {
"poseName": "walking",
"poseTypes": ["WALK", "SWIM"],
"isBattle": false,
"isTouchingWater": false,
"condition": "!q.in_air && q.is_sprinting",
"animations": [
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'ground_run')"
],
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
]
},
"hover": {
"poseTypes": ["HOVER"],
"animations": [
"q.pitch_tilt('body')",
"q.look('head')",
"q.bedrock('cramorant', 'ground_idle')",
"q.sine_wing_flap(0.9, 0.9, 25, 'z', 'wing_left', 'wing_right')"
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'air_idle')"
],
"quirks": ["q.bedrock_quirk('cramorant', 'blink', 5, 30, 1)"]
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
]
},
"flying": {
"poseTypes": ["FLY"],
"animations": [
"q.pitch_tilt('body')",
"q.bedrock('cramorant', 'ground_idle')",
"q.sine_wing_flap(0.9, 0.9, 25, 'z', 'wing_left', 'wing_right')"
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'air_fly')"
],
"quirks": ["q.bedrock_quirk('cramorant', 'blink', 5, 30, 1)"]
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
]
},
"surface_idle": {
"poseTypes": ["STAND", "FLOAT"],
"isTouchingWater": true,
"isUnderWater": false,
"animations": [
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'surfacewater_idle')"
],
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
],
"transformedParts": [
{
"part": "body",
"position": [0, 4.5, 0]
}
]
},
"surface_swim": {
"poseTypes": ["WALK", "SWIM"],
"isTouchingWater": true,
"isUnderWater": false,
"animations": [
"q.look('neck', 1, 1, 20, -30, 15, -15)",
"q.look('neck2', 1, 1, 35, 0, 10, -10)",
"q.look('head_ai', 1, 1, 5, -15, 15, -15)",
"q.bedrock('cramorant', 'surfacewater_swim')"
],
"quirks": [
"q.bedrock_quirk('cramorant', 'blink')"
],
"transformedParts": [
{
"part": "body",
"position": [0, 4.5, 0]
}
]
},
"sleep": {
"poseTypes": ["SLEEP"],
"condition": "!q.in_air",
"namedAnimations": {
"cry": "q.bedrock_stateful('dummy', 'cry')"
},
"animations": [
"q.bedrock('cramorant', 'ground_sleep')"
]
}
}
}
@@ -5,7 +5,8 @@
"profileTranslation": [-0.04, 1.24, 0],
"rootBone": "runerigus",
"animations": {
"cry": "q.bedrock_stateful('runerigus', 'cry')"
"cry": "q.bedrock_stateful('runerigus', 'cry')",
"physical": "q.bedrock_primary('runerigus','physical',q.curve('symmetrical_wide'))"
},
"poses": {
"battle-standing": {
@@ -13,7 +14,7 @@
"isBattle": true,
"animations": [
"q.look('head_ai')",
"q.bedrock('runerigus', 'ground_idle')"
"q.bedrock('runerigus', 'battle_idle')"
],
"quirks": [
"q.bedrock_quirk('runerigus', 'blink')"
@@ -32,8 +33,16 @@
},
"walking": {
"poseTypes": ["WALK"],
"condition": "!q.is_sprinting",
"animations": [
"q.bedrock('runerigus', 'ground_idle')"
"q.bedrock('runerigus', 'ground_walk')"
]
},
"running": {
"poseTypes": ["WALK"],
"condition": "q.is_sprinting",
"animations": [
"q.bedrock('runerigus','ground_run')"
]
},
"hover": {
@@ -41,7 +50,7 @@
"poseTypes": ["FLOAT", "HOVER", "NONE"],
"animations": [
"q.look('head_ai')",
"q.bedrock('runerigus', 'ground_idle')"
"q.bedrock('runerigus', 'air_idle')"
],
"quirks": [
"q.bedrock_quirk('runerigus', 'blink')"
@@ -51,11 +60,17 @@
"poseName": "fly",
"poseTypes": ["FLY"],
"animations": [
"q.bedrock('runerigus', 'ground_idle')"
"q.bedrock('runerigus', 'air_fly')"
],
"quirks": [
"q.bedrock_quirk('runerigus', 'blink')"
]
},
"sleep": {
"poseTypes": ["SLEEP"],
"animations": [
"q.bedrock('runerigus','sleep')"
]
}
}
}
@@ -6,25 +6,48 @@
"rootBone": "dreepy",
"animations": {
"faint": "q.bedrock_primary('dreepy', 'faint', q.curve('one'))",
"cry": "q.bedrock_stateful('dreepy', 'cry')"
"cry": "q.bedrock_stateful('dreepy', 'cry')",
"status": "q.bedrock_primary('dreepy','status',q.curve('symmetrical_wide'))",
"physical": "q.bedrock_primary('dreepy','physical',q.curve('symmetrical_wide'))",
"special": "q.bedrock_primary('dreepy','special',q.curve('symmetrical_wide'))",
"recoil": "q.bedrock_stateful('dreepy','recoil')"
},
"poses": {
"battle-standing": {
"poseTypes": ["STAND","HOVER"],
"isBattle": true,
"animations": ["q.look('head')", "q.bedrock('dreepy', 'battle_idle')"],
"quirks": ["q.bedrock_quirk('dreepy', 'blink')"]
"quirks": [
"q.bedrock_quirk('dreepy', 'blink')",
"q.bedrock_quirk('dreepy','quirk')"
]
},
"standing": {
"poseTypes": ["STAND", "NONE", "PORTRAIT", "PROFILE","HOVER"],
"isBattle": false,
"animations": ["q.look('head')", "q.bedrock('dreepy', 'ground_idle')"],
"quirks": ["q.bedrock_quirk('dreepy', 'blink')"]
"quirks": [
"q.bedrock_quirk('dreepy', 'blink')",
"q.bedrock_quirk('dreepy','quirk')"
]
},
"walking": {
"poseTypes": ["WALK","FLY"],
"condition": "!q.is_sprinting",
"animations": ["q.look('head')", "q.bedrock('dreepy', 'ground_walk')"],
"quirks": ["q.bedrock_quirk('dreepy', 'blink')"]
"quirks": [
"q.bedrock_quirk('dreepy', 'blink')",
"q.bedrock_quirk('dreepy','quirk')"
]
},
"running": {
"poseTypes": ["WALK","FLY"],
"condition": "q.is_sprinting",
"animations": ["q.bedrock('dreepy','ground_run')"],
"quirks": [
"q.bedrock_quirk('dreepy', 'blink')",
"q.bedrock_quirk('dreepy','quirk')"
]
},
"sleep": {
"poseTypes": ["SLEEP"],
@@ -33,22 +56,28 @@
"shoulder_left": {
"poseTypes": ["SHOULDER_LEFT"],
"animations": ["q.look('head')", "q.bedrock('dreepy', 'shoulder_left')"],
"quirks": ["q.bedrock_quirk('dreepy', 'blink')"],
"quirks": [
"q.bedrock_quirk('dreepy', 'blink')",
"q.bedrock_quirk('dreepy','quirk')"
],
"transformedParts": [
{
"part": "body",
"position": [3, 0, 0]
"position": [0, 0, 0]
}
]
},
"shoulder_right": {
"poseTypes": ["SHOULDER_RIGHT"],
"animations": ["q.look('head')", "q.bedrock('dreepy', 'shoulder_right')"],
"quirks": ["q.bedrock_quirk('dreepy', 'blink')"],
"quirks": [
"q.bedrock_quirk('dreepy', 'blink')",
"q.bedrock_quirk('dreepy','quirk')"
],
"transformedParts": [
{
"part": "body",
"position": [-3, 0, 0]
"position": [0, 0, 0]
}
]
}
@@ -28,12 +28,22 @@
},
"walking": {
"poseTypes": ["WALK","FLY"],
"condition": "!q.is_sprinting",
"animations": ["q.look('head')", "q.bedrock('drakloak', 'ground_walk')"],
"quirks": [
"q.bedrock_quirk('drakloak', 'blink')",
"q.bedrock_quirk('drakloak', 'blink2')"
]
},
"running": {
"poseTypes": ["WALK","FLY"],
"condition": "q.is_sprinting",
"animations": ["q.bedrock('drakloak','ground_run')"],
"quirks": [
"q.bedrock_quirk('drakloak', 'blink')",
"q.bedrock_quirk('drakloak','quirk')"
]
},
"sleep": {
"poseTypes": ["SLEEP"],
"animations": ["q.bedrock('drakloak', 'sleep')"]
@@ -1267,6 +1267,9 @@
"cobblemon.ui.info.ability": "Ability",
"cobblemon.ui.info.experience_points": "Exp. Points",
"cobblemon.ui.info.to_next_level": "To Next Lv.",
"cobblemon.ui.info.met_data.standard": "Met in %1$s on %2$s/%3$s/%4$s at Lv.%5$s.",
"cobblemon.ui.info.met_data.starter": "Met in %1$s on %2$s/%3$s/%4$s at Lv.%5$s as your first partner Pokémon!",
"cobblemon.ui.info.met_data.unavailable": "Met a long time ago...",
"cobblemon.ui.trade": "Trade",
"cobblemon.trade.expired.sender": "Your request to trade with %1$s has timed out!",
"cobblemon.trade.expired.receiver": "The trade request from %1$s has timed out!",
@@ -1299,7 +1302,6 @@
"cobblemon.ui.pc.filter.tooltip": "Format: pikachu shiny held_item lvl=1...",
"cobblemon.ui.pc.options": "Options",
"cobblemon.ui.pc.release": "Release",
"cobblemon.ui.pc.release_all": "Release All",
"cobblemon.ui.sort.name": "Sort by name",
"cobblemon.ui.sort.level": "Sort by level",
"cobblemon.ui.sort.pokedex_number": "Sort by Pokédex number",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 B

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 821 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 B

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

@@ -345,6 +345,7 @@
]
},
"resting": {
"canSleep": true,
"willSleepOnBed": true,
"drowsyChance": 0.0333,
"rouseChance": 0.0042
@@ -68,6 +68,7 @@
]
},
"resting": {
"canSleep": true,
"times": [
"any"
],
@@ -209,6 +210,16 @@
"forms": [
{
"name": "Hisui",
"behaviour": {
"resting": {
"times": [
"any"
],
"drowsyChance": 0.0014,
"rouseChance": 0.0042,
"canSleep": false
}
},
"primaryType": "electric",
"secondaryType": "grass",
"maleRatio": -1,
@@ -256,6 +256,7 @@
"willDefendOwner": true
},
"resting": {
"canSleep": true,
"drowsyChance": 0.0333,
"rouseChance": 0.0042
},
@@ -98,6 +98,7 @@
"willDefendOwner": true
},
"resting": {
"canSleep": true,
"drowsyChance": 0.0333,
"rouseChance": 0.0042
}
@@ -54,7 +54,7 @@
"moving": {
"swim": {
"swimSpeed": "0.2",
"canWalkOnWater": true
"canBreatheUnderwater": true
}
},
"resting": {
@@ -64,6 +64,7 @@
}
},
"resting": {
"canSleep": true,
"willSleepOnBed": true,
"drowsyChance": 0.0333,
"rouseChance": 0.0042
@@ -60,6 +60,7 @@
}
},
"resting": {
"canSleep": true,
"willSleepOnBed": true,
"drowsyChance": 0.0333,
"rouseChance": 0.0042
Loaded 100 of 105 files, more files were not shown because too many files have changed in this diff. Show more