feat: certain pokemon seek shelter during rain + csv_to_json script update

This commit is contained in:
whatsy committed 2026-11-29 18:55:01 -05:00
1 parent 4e1133e4b4
commit 0d31d9962a
704 files changed
+2616 -1067

No files matched your search

@@ -0,0 +1,125 @@
package com.cobblemon.mod.common.api.ai.biggerbrain.objective
import com.bedrockk.molang.Expression
import com.cobblemon.mod.common.api.ai.BehaviourConfigurationContext
import com.cobblemon.mod.common.api.ai.asSimplifiedExpression
import com.cobblemon.mod.common.api.ai.biggerbrain.BiggerBrain
import com.cobblemon.mod.common.api.ai.biggerbrain.distraction.DistractionType
import com.cobblemon.mod.common.api.ai.biggerbrain.distraction.comfortDistraction
import com.cobblemon.mod.common.api.ai.biggerbrain.fixation.EntityFixation
import com.cobblemon.mod.common.api.ai.config.objective.ObjectiveConfig
import com.cobblemon.mod.common.api.npc.configuration.MoLangConfigVariable
import com.cobblemon.mod.common.entity.pokemon.PokemonEntity
import com.cobblemon.mod.common.util.asExpression
import com.cobblemon.mod.common.util.getBlockPositions
import com.cobblemon.mod.common.util.resolveDouble
import com.cobblemon.mod.common.util.resolveInt
import com.cobblemon.mod.common.util.toVec3d
import net.minecraft.core.BlockPos
import net.minecraft.world.entity.LivingEntity
import net.minecraft.world.level.Level
import net.minecraft.world.level.pathfinder.PathComputationType
import net.minecraft.world.phys.AABB
class SeekShelter(
val ticksBetweenAttempts: Expression = "40".asExpression(),
val searchDistance: Expression = "64.0".asExpression(),
val speedMultiplier: Expression = "0.7".asExpression(),
val preferredDepth: Expression = "2.0".asExpression()
) : Objective {
var fixation: EntityFixation? = null
var remainingCooldownTicks = molang.resolveInt(ticksBetweenAttempts)
override fun getDescription(entity: LivingEntity) = "Seeking shelter"
/** Returns 0 if there is rain on the block. Otherwise, the amount of blocks away from rain. **/
private fun shelterDepth(level: Level, pos: BlockPos, maxDepth: Int): Int {
if (level.isRainingAt(pos)) return 0
for (r in 1..maxDepth) {
for (dx in -r..r) for (dz in -r..r) {
if (maxOf(kotlin.math.abs(dx), kotlin.math.abs(dz)) != r) continue // ring only
if (level.isRainingAt(pos.offset(dx, 0, dz))) return r - 1
}
}
return maxDepth
}
override fun perform(entity: LivingEntity, brain: BiggerBrain, activeObjectiveTags: MutableSet<String>): ObjectiveStatus {
brain.checkObjectivePrerequisites<PokemonEntity>(
fixation = fixation,
cooldownTicks = remainingCooldownTicks--,
ifIneligible = { remainingCooldownTicks = molang.resolveInt(ticksBetweenAttempts) }
)?.let { return it }
val level = entity.level()
if (!level.isRaining) return ObjectiveStatus.INACTIVE
if (remainingCooldownTicks > 0) return ObjectiveStatus.INACTIVE
val here = entity.blockPosition()
val hereDepth = shelterDepth(level, here, molang.resolveInt(preferredDepth))
if (hereDepth >= molang.resolveInt(preferredDepth)) return ObjectiveStatus.INACTIVE
remainingCooldownTicks = molang.resolveInt(ticksBetweenAttempts)
val searchDist = molang.resolveDouble(searchDistance)
val candidates = level
.getBlockPositions(AABB.ofSize(entity.position(), searchDist, 5.0, searchDist))
.asSequence()
.filter {
!level.isRainingAt(it) &&
level.getBlockState(it).isPathfindable(PathComputationType.LAND) &&
level.getBlockState(it.below()).isSolid &&
(entity.bbHeight <= 1.0 || level.getBlockState(it.above()).isAir) &&
!level.isWaterAt(it)
}.map { it to shelterDepth(level, it, molang.resolveInt(preferredDepth)) }
.filter { (_, depth) -> depth > hereDepth && depth > 1} // When I allowed depth = 1, pokemon ended up pathing to really weird spots. Better for it to only take spots that have wider cover
.sortedWith(
compareByDescending<Pair<BlockPos, Int>> { it.second >= molang.resolveInt(preferredDepth) } // deep spots first
.thenBy { entity.position().distanceTo(it.first.toVec3d()) } // then nearest
).take(5)
.toList()
brain.sendDebugMessage("Trying movement fixation on SeekShelter with candidate size ${candidates.size}")
for ((pos, _) in candidates) {
val (task, status) = brain.tryMovementFixation(
blockPos = { pos },
speedMultiplier = speedMultiplier,
description = "Seeking shelter from rain",
distraction = comfortDistraction,
distractionTypes = setOf(DistractionType.DAMAGE, DistractionType.FORCE)
)
if (task == null) continue
fixation = task
return status
}
return ObjectiveStatus.INACTIVE
}
class Config: ObjectiveConfig {
val searchDistance = createVariable("64.0")
val speedMultiplier = createVariable("0.3")
val ticksBetweenAttempts = createVariable("40")
val preferredDepth = createVariable("3")
override fun getVariables(
entity: LivingEntity,
ctx: BehaviourConfigurationContext
): List<MoLangConfigVariable> = variables(
searchDistance, speedMultiplier, preferredDepth, ticksBetweenAttempts
)
override fun create(
entity: LivingEntity,
ctx: BehaviourConfigurationContext
): Objective {
return SeekShelter(
ticksBetweenAttempts.asSimplifiedExpression(entity),
searchDistance.asSimplifiedExpression(entity),
speedMultiplier.asSimplifiedExpression(entity),
preferredDepth.asSimplifiedExpression(entity)
)
}
}
}
@@ -41,6 +41,7 @@ import com.cobblemon.mod.common.api.ai.biggerbrain.objective.WanderAround
import com.cobblemon.mod.common.api.ai.biggerbrain.objective.JumpOutOfWater
import com.cobblemon.mod.common.api.ai.biggerbrain.objective.NeutralBehaviour
import com.cobblemon.mod.common.api.ai.biggerbrain.objective.PointToSpawn
import com.cobblemon.mod.common.api.ai.biggerbrain.objective.SeekShelter
import com.cobblemon.mod.common.api.ai.biggerbrain.objective.SkittishBehaviour
import com.cobblemon.mod.common.api.ai.biggerbrain.objective.SleepOnTrainerBed
import com.cobblemon.mod.common.api.ai.biggerbrain.objective.TerritorialBehaviour
@@ -92,7 +93,7 @@ interface ObjectiveConfig {
cobblemonResource("combat_skittish") to SkittishBehaviour.Config::class.java,
cobblemonResource("behaviour_friendly") to FriendlyBehaviour.Config::class.java,
cobblemonResource("sleep_on_trainer_bed") to SleepOnTrainerBed.Config::class.java,
cobblemonResource("seek_shelter") to SeekShelter.Config::class.java
)
}
@@ -3808,6 +3808,8 @@
"cobblemon.behaviour.pokemon_bee.desc": "Pollinates flowers and adds honey to hives and Saccharine tree leaves.",
"cobblemon.behaviour.pokemon_picks_up_items.name": "Picks Up Items",
"cobblemon.behaviour.pokemon_picks_up_items.desc": "The Pokémon will pick up items that it cares about.",
"cobblemon.behaviour.pokemon_avoids_rain.name": "Avoids rain",
"cobblemon.behaviour.pokemon_avoids_rain.desc": "The Pokémon seek shelter during rain.",
"cobblemon.behaviour.configurable_resource_identifier.name": "Configurable Resource Identifier",
"cobblemon.behaviour.configurable_resource_identifier.desc": "Allows changing the resource identifier that controls the NPC's appearance.",
"cobblemon.entity.variable.resource_identifier.name": "Resource Identifier",
@@ -0,0 +1,16 @@
{
"name": "cobblemon.behaviour.pokemon_avoids_rain.name",
"description": "cobblemon.behaviour.pokemon_avoids_rain.desc",
"entityType": "cobblemon:pokemon",
"configurations": [
{
"type": "cobblemon:add_objectives",
"condition": "q.entity.is_wild && !q.entity.is_alpha",
"objectivesByPriority": {
"5": [
"cobblemon:seek_shelter"
]
}
}
]
}
@@ -255,7 +255,7 @@
}
],
"nestTypes": [
"grassy",
"leafy",
"rocky",
"shroomy"
]
@@ -352,4 +352,4 @@
"rocky",
"twiggy"
]
}
}
@@ -349,7 +349,7 @@
}
},
"nestTypes": [
"grassy",
"leafy",
"rocky",
"shroomy"
]
@@ -379,8 +379,8 @@
}
},
"nestTypes": [
"grassy",
"leafy",
"rocky",
"shroomy"
]
}
}
@@ -474,7 +474,14 @@
"drowsyChance": 0.0333,
"rouseChance": 0.0042
}
}
},
"nestTypes": [
"twiggy"
]
}
],
"nestTypes": [
"icy",
"twiggy"
]
}
}
@@ -302,7 +302,19 @@
}
]
}
}
},
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
],
"nestTypes": [
"grassy",
"leafy"
]
}
],
"riding": {
@@ -329,7 +341,15 @@
}
},
"nestTypes": [
"leafy",
"grassy"
"grassy",
"leafy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
}
@@ -225,6 +225,7 @@
}
],
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
}
@@ -467,4 +467,4 @@
"sandy",
"watery"
]
}
}
@@ -248,4 +248,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -279,7 +279,7 @@
}
},
"nestTypes": [
"leafy",
"grassy"
"grassy",
"leafy"
]
}
}
@@ -126,7 +126,7 @@
}
],
"nestTypes": [
"leafy",
"grassy"
"grassy",
"leafy"
]
}
}
@@ -117,7 +117,7 @@
"behaviour": {
"combat": {
"willDefendOwner": true,
"willDefendSelf": false,
"willDefendSelf": true,
"willFlee": false,
"moves": [
"cobblemon:flamethrower"
@@ -165,6 +165,12 @@
}
]
}
},
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
],
"drops": {
@@ -489,6 +495,14 @@
"nestTypes": [
"fiery",
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
},
{
@@ -615,6 +629,14 @@
"nestTypes": [
"fiery",
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
},
{
@@ -647,4 +669,4 @@
"fiery",
"rocky"
]
}
}
@@ -278,5 +278,13 @@
"nestTypes": [
"fiery",
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
}
@@ -271,5 +271,13 @@
"nestTypes": [
"fiery",
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
}
@@ -51,7 +51,8 @@
"behaviour": {
"moving": {
"swim": {
"avoidsWater": true
"avoidsWater": true,
"canWalkOnWater": true
},
"fly": {
"canFly": true
@@ -73,7 +73,8 @@
},
"moving": {
"swim": {
"avoidsWater": true
"avoidsWater": true,
"canWalkOnWater": true
},
"fly": {
"canFly": true
@@ -147,10 +147,11 @@
"fiery",
"grassy",
"icy",
"leafy",
"rocky",
"sandy",
"shroomy",
"twiggy",
"watery"
]
}
}
@@ -312,4 +312,4 @@
"rocky",
"watery"
]
}
}
@@ -420,4 +420,4 @@
"rocky",
"watery"
]
}
}
@@ -287,4 +287,4 @@
"rocky",
"watery"
]
}
}
@@ -262,4 +262,4 @@
"grassy",
"rocky"
]
}
}
@@ -334,7 +334,8 @@
"evolutions": [],
"battleOnly": false,
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
],
@@ -306,4 +306,4 @@
"nestTypes": [
"twiggy"
]
}
}
@@ -552,4 +552,4 @@
"nestTypes": [
"twiggy"
]
}
}
@@ -453,4 +453,4 @@
"twiggy",
"watery"
]
}
}
@@ -251,4 +251,4 @@
"rocky",
"twiggy"
]
}
}
@@ -267,4 +267,4 @@
"grassy",
"sandy"
]
}
}
@@ -280,7 +280,8 @@
}
],
"nestTypes": [
"grassy",
"rocky"
"leafy",
"rocky",
"shroomy"
]
}
}
@@ -340,8 +340,9 @@
}
},
"nestTypes": [
"grassy",
"rocky"
"leafy",
"rocky",
"shroomy"
]
},
{
@@ -367,7 +368,8 @@
}
],
"nestTypes": [
"grassy",
"rocky"
"leafy",
"rocky",
"shroomy"
]
}
}
@@ -236,4 +236,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -250,5 +250,13 @@
],
"nestTypes": [
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
}
@@ -87,7 +87,6 @@
}
]
},
"fireImmune": true,
"itemInteract": {
"desiredItems": [
{
@@ -394,4 +394,4 @@
"nestTypes": [
"watery"
]
}
}
@@ -268,7 +268,8 @@
}
],
"nestTypes": [
"grassy",
"rocky"
"leafy",
"rocky",
"shroomy"
]
}
}
@@ -250,4 +250,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -353,6 +353,7 @@
}
},
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
@@ -268,4 +268,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -269,7 +269,7 @@
}
],
"nestTypes": [
"grassy",
"leafy",
"rocky",
"shroomy"
]
@@ -132,7 +132,7 @@
}
],
"nestTypes": [
"leafy",
"grassy"
"grassy",
"leafy"
]
}
}
@@ -411,4 +411,4 @@
"grassy",
"rocky"
]
}
}
@@ -298,7 +298,8 @@
}
],
"nestTypes": [
"grassy",
"rocky"
"leafy",
"rocky",
"shroomy"
]
}
@@ -150,4 +150,4 @@
"nestTypes": [
"watery"
]
}
}
@@ -253,5 +253,13 @@
"nestTypes": [
"fiery",
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
}
@@ -508,6 +508,14 @@
},
"nestTypes": [
"grassy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
},
{
@@ -735,6 +743,14 @@
"nestTypes": [
"grassy",
"icy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
},
{
@@ -760,5 +776,13 @@
],
"nestTypes": [
"grassy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
@@ -132,7 +132,7 @@
}
],
"nestTypes": [
"leafy",
"grassy"
"grassy",
"leafy"
]
}
}
@@ -56,7 +56,7 @@
"canFly": true
},
"swim": {
"avoidsWater": true
"canBreatheUnderwater": true
},
"walk": {
"canWalk": false
@@ -662,5 +662,9 @@
"behaviour": {
"key": "cobblemon:land/vehicle"
}
}
}
},
"nestTypes": [
"leafy",
"watery"
]
}
@@ -353,7 +353,10 @@
"baseExperienceYield": 390,
"dynamaxBlocked": true,
"evolutions": [],
"battleOnly": true
"battleOnly": true,
"nestTypes": [
"rocky"
]
},
{
"name": "Mega-Y",
@@ -389,7 +392,10 @@
"baseExperienceYield": 390,
"dynamaxBlocked": true,
"evolutions": [],
"battleOnly": true
"battleOnly": true,
"nestTypes": [
"rocky"
]
}
],
"riding": {
@@ -416,5 +422,8 @@
}
],
"behaviour": null
}
}
},
"nestTypes": [
"rocky"
]
}
@@ -450,11 +450,34 @@
"lightingData": {
"lightLevel": 12,
"liquidGlowMode": "LAND"
}
},
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
],
"nestTypes": [
"twiggy"
]
}
],
"lightingData": {
"lightLevel": 15,
"liquidGlowMode": "LAND"
}
}
},
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
],
"nestTypes": [
"fiery",
"twiggy"
]
}
@@ -478,7 +478,6 @@
}
},
"nestTypes": [
"grassy",
"icy",
"twiggy"
]
@@ -486,7 +485,6 @@
],
"nestTypes": [
"fiery",
"grassy",
"twiggy"
]
}
}
@@ -219,4 +219,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -499,10 +499,26 @@
},
"nestTypes": [
"grassy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
],
"nestTypes": [
"grassy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
@@ -392,7 +392,6 @@
}
],
"nestTypes": [
"leafy",
"twiggy"
]
}
}
@@ -264,7 +264,6 @@
}
},
"nestTypes": [
"leafy",
"twiggy"
]
}
@@ -244,7 +244,6 @@
}
],
"nestTypes": [
"leafy",
"twiggy"
]
}
@@ -430,6 +430,7 @@
],
"nestTypes": [
"grassy",
"leafy",
"twiggy"
]
}
}
@@ -272,13 +272,13 @@
}
},
"nestTypes": [
"grassy",
"leafy",
"shroomy"
]
}
],
"nestTypes": [
"grassy",
"leafy",
"shroomy"
]
}
}
@@ -238,7 +238,6 @@
}
],
"nestTypes": [
"shroomy",
"watery"
]
}
@@ -425,5 +425,13 @@
"nestTypes": [
"fiery",
"grassy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
@@ -228,6 +228,7 @@
],
"nestTypes": [
"grassy",
"icy"
"icy",
"rocky"
]
}
@@ -576,6 +576,7 @@
"battleOnly": false,
"nestTypes": [
"grassy",
"leafy",
"sandy",
"twiggy"
]
@@ -583,6 +584,7 @@
],
"nestTypes": [
"grassy",
"leafy",
"twiggy"
]
}
}
@@ -466,5 +466,13 @@
"nestTypes": [
"fiery",
"grassy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
@@ -509,4 +509,4 @@
"rocky",
"sandy"
]
}
}
@@ -501,4 +501,4 @@
"rocky",
"sandy"
]
}
}
@@ -272,6 +272,7 @@
}
],
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
@@ -605,4 +605,4 @@
"nestTypes": [
"sandy"
]
}
}
@@ -357,6 +357,7 @@
}
},
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
@@ -217,4 +217,4 @@
"rocky",
"twiggy"
]
}
}
@@ -280,4 +280,4 @@
"sandy",
"watery"
]
}
}
@@ -217,6 +217,7 @@
},
"nestTypes": [
"grassy",
"leafy",
"twiggy"
]
}
@@ -271,4 +271,4 @@
"grassy",
"watery"
]
}
}
@@ -272,7 +272,15 @@
}
},
"nestTypes": [
"grassy",
"leafy",
"shroomy"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
@@ -228,7 +228,7 @@
}
],
"nestTypes": [
"grassy",
"leafy",
"shroomy"
]
}
@@ -375,4 +375,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -224,6 +224,7 @@
"preEvolution": "weepinbell",
"evolutions": [],
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
}
@@ -219,4 +219,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -342,7 +342,8 @@
],
"battleOnly": false,
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
],
@@ -484,7 +484,6 @@
}
},
"nestTypes": [
"grassy",
"icy",
"twiggy"
]
@@ -492,7 +491,6 @@
],
"nestTypes": [
"fiery",
"grassy",
"twiggy"
]
}
}
@@ -276,4 +276,4 @@
"sandy",
"watery"
]
}
}
@@ -130,7 +130,7 @@
}
],
"nestTypes": [
"leafy",
"grassy"
"grassy",
"leafy"
]
}
}
@@ -226,6 +226,7 @@
}
],
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
}
@@ -437,8 +437,9 @@
}
},
"nestTypes": [
"grassy",
"rocky"
"leafy",
"rocky",
"shroomy"
]
}
],
@@ -464,7 +465,8 @@
"behaviour": null
},
"nestTypes": [
"grassy",
"rocky"
"leafy",
"rocky",
"shroomy"
]
}
@@ -352,6 +352,7 @@
}
},
"nestTypes": [
"grassy"
"grassy",
"leafy"
]
}
@@ -472,7 +472,13 @@
"drowsyChance": 0.0333,
"rouseChance": 0.0042
}
}
},
"nestTypes": [
"twiggy"
]
}
],
"nestTypes": [
"twiggy"
]
}
}
@@ -253,5 +253,13 @@
],
"nestTypes": [
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
}
@@ -290,7 +290,6 @@
}
],
"nestTypes": [
"leafy",
"twiggy"
]
}
@@ -331,4 +331,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -72,9 +72,13 @@
},
"behaviour": {
"combat": {
"willDefendOwner": true,
"willDefendSelf": true,
"willFlee": false
"willDefendOwner": true,
"willFlee": false,
"moves": [
"cobblemon:poison_sting",
"cobblemon:string_shot"
]
},
"herd": {
"maxSize": 5,
@@ -102,20 +106,6 @@
"walking": {
"walkSpeed": 0.18
},
"moving": {
"swim": {
"avoidsWater": true
}
},
"combat": {
"willDefendSelf": true,
"willDefendOwner": true,
"willFlee": false,
"moves": [
"cobblemon:poison_sting",
"cobblemon:string_shot"
]
},
"blockInteract": {
"immuneToCobwebBlock": true
}
@@ -293,7 +283,6 @@
"evolutions": [],
"nestTypes": [
"leafy",
"grassy",
"shroomy"
]
}
@@ -238,4 +238,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -222,4 +222,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -243,5 +243,9 @@
"combat": {
"willDefendOwner": true
}
}
}
},
"nestTypes": [
"leafy",
"shroomy"
]
}
@@ -235,4 +235,4 @@
"nestTypes": [
"grassy"
]
}
}
@@ -275,8 +275,7 @@
"behaviour": {
"moving": {
"walk": {
"walkSpeed": 0.125,
"avoidsLand": true
"walkSpeed": 0.125
},
"swim": {
"swimSpeed": 0.125,
@@ -446,4 +445,4 @@
"nestTypes": [
"watery"
]
}
}
@@ -136,6 +136,9 @@
},
"swim": {
"avoidsWater": true
},
"walk": {
"canWalk": false
}
},
"resting": {
@@ -301,5 +304,13 @@
"evolutions": [],
"nestTypes": [
"rocky"
],
"ai": [
{
"type": "apply_behaviours",
"behaviours": [
"cobblemon:pokemon_avoids_rain"
]
}
]
}
}
@@ -260,4 +260,4 @@
"sandy",
"watery"
]
}
}
@@ -266,4 +266,4 @@
"grassy",
"twiggy"
]
}
}
@@ -264,4 +264,4 @@
"rocky",
"sandy"
]
}
}
@@ -241,4 +241,4 @@
]
}
]
}
}
Loaded 100 of 704 files, more files were not shown because too many files have changed in this diff. Show more