"Blackout" Mechanic
Posted: 05 Dec 2022 05:20
One mechanic of the original Pokémon games we've been missing for a while (at least in a proper implementation) is the player "blacking out" and being transported to the nearest visited Pokécenter upon being defeated.
The Ultra Space overhaul already added something similar, teleporting players back to the Overworld when their team faints. And with 1.16.5 making it much easier to detect structures, detecting which Pokécenters have been visited should be much less of a hassle as it was for the old sidemod. On fainting, the game would pick the nearest one from this list and teleport the player there.
In addition to visited Pokécenters, I'd also add the player's current respawn point to the list - so when fainting near their home, they won't get teleported 2 biomes away because they set up outside any villages.
A command could list all visited Pokécenters (by biome + coordinates, possibly distance) and allow removing them with a click, assuming they have the right permission.
The Ultra Space overhaul already added something similar, teleporting players back to the Overworld when their team faints. And with 1.16.5 making it much easier to detect structures, detecting which Pokécenters have been visited should be much less of a hassle as it was for the old sidemod. On fainting, the game would pick the nearest one from this list and teleport the player there.
In addition to visited Pokécenters, I'd also add the player's current respawn point to the list - so when fainting near their home, they won't get teleported 2 biomes away because they set up outside any villages.
A command could list all visited Pokécenters (by biome + coordinates, possibly distance) and allow removing them with a click, assuming they have the right permission.