• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Resource icon

v21.1 [20.1+] Weather System 1.4.0

This resource pertains to version 21.1 of Pokémon Essentials.
Fixed an error caused by the version's number if another plugin has this one as required or optional.
Updated a fix for TerrainTime type encounters not working.

I'm not testing the plugin at the moment. If the problem persists, I'll look into it again. I'll test it when I can.
Fixed the problem with zones not updating the maps in them if the game was tested before changing them.

Now using pbInitializeWeather should also update the zones acordingly.
  • Like
Reactions: E4Artemy
Fixed a typo on Encounter Methods. Now the trygger chance should work for all encounter methods that use it.
Added seasonal encounter pools. They aren't registered in the plugin but if you add them on 03 - Weather Encounters\01 - Encounter methods (or anywhere else), they should work.

The encounter structure added by this plugin should be one of the following: TypeWeather, TypeTimeWeather, TypeSeason, TypeTimeSeason, TypeWeatherSeason and TypeTimeWeatherSeason. Be sure to follow this structure when registering the seasonal encounters.

The code hasn't been tested so any report of problems will be appreciated.
Fixed the code for pbInitializeWeather to stop it from creating extra weather zones not defined in the configuration file. With the fix, pbInitializeWeather now resets the weather of all zones (both current and future).

Since the plugin loads old saved weather if it exists when opening the game, it may be a good idea to add that code at the intro so the weather on the zones isn't exactly the same as the last saved game when starting a new game.
Added or improved some explanations on the configuration file. Now it should be easier to understand how to configure some parts (as if the plugin itself wasn't hard enough to configure without explanations).
Fixed the problem that caused weather names to not be translated.

IMPORTANT: this fix needs the WEATHER_NAMES part of the configuration to be changed so I recommend moving your configuration file elsewhere first so you don't lose it.
  • Like
Reactions: E4Artemy
  • Changed the handler code so it stops overwriting the weather on maps that aren't in a zone.
  • Added again the graphics that were missing on the last update.
  • Like
Reactions: E4Artemy
Deleted the def encounter_type that was included in the plugin. It was exactly the same as the def encounter_type that came with Essentials and was unnecessary.
Back
Top