• The Eevee Expo Game Jam #10 has concluded, congratulations to all participants! Now it's time for the judges to play through the games, and you can play along to vote who deserves the community choice spotlight.
    You can check out the submitted games here!
    Play through the games and provide some feedback to the devs while you're at it!
  • Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

v21.1 [20.1+] Weather System 1.3.8

This resource pertains to version 21.1 of Pokémon Essentials.
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.
  • Fixed (hopefully) the error where weather with 0 probability is picked as a valid weather for a zone.
  • Updated the link in the metafile.
  • Changed the code so the WeatherSystem variable is added to existing save files.
  • Fixed an error when the minimum and maximum change time for weather is set the same.
The only changes are in 01 - Main Code/01 - Main so there is no need to overwrite the configuration file.

If the plugin doesn't work on existing save files, report it. I'll change it back to require a new game until I figure out what the problem is.
  • Registered weather encounters for surfing, fishing, headbutt and rock smash.
  • Added code to make weather encounters possible for fishing, headbutt and rock smash.
Fixed a slight oversight with the random number generator that is compared to the weather probability. Now it shouldn't be possible for it to get a number so high that all probability checks fail.
Fixed a flaw in the code that selected the weather. Now it should compare the probability to a fixed number instead of randomly generating a new number for each weather probability.
Back
Top