← Назад к ресурсам

Cobblemon Pickup

What if the ability Pickup worked the way it does in the games and had a loot table so you could customize it?

Modrinth game-mechanics

Описание

A clean and simple Cobblemon side mod that adds the out-of-battle effect for the Pickup ability from the main games, then goes a little overboard with customization potential. The logic relies on loot tables specific to the mod that can be overridden by datapacks at `data/pickup/loot_tables/gameplay`, for ease of customization. For example, to customize the loot table for Pickup, you'd make a datapack that overrides `data/pickup/loot_tables/gameplay/pickup.json`. The mod has built-in support for Pickup and Honey Gather. After a party wins a battle, each party member with an ability that has a loot table associated with it (Pickup and Honey Gather by default) may trigger its effect and receive an item in their held slot. The default settings for Pickup offer a 10% chance to pick an item from the [Pokémon Ruby, Sapphire, and Colosseum set of possibilities](https://bulbapedia.bulbagarden.net/wiki/Pickup_(Ability)). The default settings for Honey Gather offer a 10% chance to get Minecraft's Honey Bottle. If a party member is already holding an item, the effect does not trigger. In the config: * `debug`: Turn on logs. By default, it's `false`, which turns it off. Change it to `true` to turn debug on. [Come visit us on the Discord!](https://discord.gg/WKAR27SdSv)