家人們路上遇到了一只蛞蝓貓?。∷牒臀一丶遥?!

mod名稱:Pokéballs

(This mod has dependencies! Make sure you also have all of the mods listed below installed)
Dependencies:
Do you want to be, the very best? Like no one ever was? Then this mod is for you!
Before capturing your favorite creature, read the 'known issues' part. There are a number of limitations & bugs. Use at your own risk.
Description
A mod that adds Pokéballs. When a creature is hit with one, there's a chance it can be captured. When a ball hits a wall or other creature, the contained creature will release. Pokéballs have a 60% chance of spawning in scavenger treasuries. If a Pokéball spawns, theres a 20% chance for it to become a Greatball (increased capture chance), and a 1% chance for a Masterball (100% capture chance). Also watch out for scavengers, as they are expert Pokémon trainers (and will catch you).
Pokéballs will only tame creatures that are already tamable.
Needs Fisobs to work. Has an options menu. Also source code included for those who like spaghetti.
Spawn with Dev Console using 'spawn_raw Pokéballs.PokeballAbstract Greatball' or other types.
? Pokemon Pokeball belongs to Nintendo / Gamefreak / The Pokémon Company
Possibly in the future?
- Break Pokéball if capture failed.
- Trading rare creatures with Scavengers to get higher reputation.
- More color/types of Pokéballs with different capture chances & features.
- Crafting Pokéballs as Gourmand?
- Pokémon battles with scavengers. Pokémon battle events? Free toll passthrough if player wins.
- Tame all creatures. (probably not because i think this is way too complex)
- Better Jolly Co-op support if possible.
Known bugs/issues
- Slugpup relationships are removed entirely if they are kept in a Pokéball for too long, or during hibernation. Their food pips will first blink and later disappear. Release slugpups in shelters, or you need to get to know each other again as if you met for the first time.
- Creature relationships (if available) are not stored, instead they are reset to fully friendly.
- Releasing Garbage Worms in rooms where they cannot be might crash the game.
- Pokéball doesn't like rolling up slopes. It gets stuck on edges.
- If you time it right and throw a Pokéball at a DLL while it's eating, creatures can get stuck to DLLs in a unknown state upon release.
- Pokéball button light sometimes misaligned when carried.
- An exception might occur if a Pokéball hits certain projectiles mid-air (spitter spider dart). But this shouldn't cause problems afaik.
- BeastMaster can't spawn Pokéballs, use mod keybind option for now. The same applies to Centipede Shields, so it should be either a Fisobs or BeastMaster bug.
- Using Warp Menu will often change >something?< that will make you throw Pokéballs against yourself.
- Captured creatures in arena cannot be recovered if Pokéball is unloaded and re-added to the room, this is unfixable afaik.
Player bugs/issues
- Make sure players are not stuck in Pokéballs when hibernating, because that is counted as a player death. Restoring players after hibernating is undefined behavior.
- Getting carried into a den when you're inside a Pokéball won't trigger a death. You will need to manually restart.
- If you're stored in a Pokéball, and a scavenger carries you to a gate, the gate will actually activate, but the game will freeze.
- Pokéball camera tracking if player is stored is unreliable and doesn't work correctly with multi screen rooms.
Reporting
Please report any bug, problem, change or feature request via the Discussions, or message me on the Rain World Discord (https://discord.gg/rainworld): Maxi Mol#3079