• 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.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Berry Planting Improvements

v21.1 Berry Planting Improvements 1.9.1

This resource pertains to version 21.1 of Pokémon Essentials.
Change Log
In order to be consistent with my other plugins, and to make setup easier to find when downloading the plugin, I've moved all the Setup into its own document within the downloaded folder, instead of keeping it in the forum resource post.
  • ⭐New feature: Withered Items. When a berry plant completely withers away by replanting itself the max number of times until it disappears, you can have a specific item or the original berry drop. The player will pick up the item when they go to plant a new berry.
  • ⭐New feature: Auto Planting Berries. Requires Berry Core and Dex. You can provide up to 6 berries to an event that will plant them for you in a set list of berry planting spots. This could be useful to give the player an option to plant multiple berries a bit faster than doing it themselves. Currently, there is no option to also put down mulch.
  • Added option to show a Town Map indicator for plants that have pests or weeds.
  • Changed the settings for determining icons that appear on Town Map. Now, you can list which specific icons you want to show and define your own priority for showing them using BERRIES_ON_MAP_SHOW_PRIORITY.
  • Fixed some handling of weed/pest data for plants to prevent crashes on existing BerryPlants
  • Changed up the BerryPlant update logic to accommodate dynamic traits without screwing up the growth stage of a plant. To go with this, added new BERRY_USE_NEW_UPDATE_LOGIC setting as an off switch just in case.
Change Log
  • ⭐New feature: Digging up berries. If a berry is still in its first stage (has not sprouted yet), give the option to dig it up. You can make it so the berry has a chance to be returned to the player.
  • ⭐New feature: Weeds can now grow around berry plants. You control what effects weeds have on a plant. You can define which mulches impact weed growth.
  • ⭐New feature: Pests (wild Pokemon) can now appear in berry plants, indicated by a fast-shaking plant. You control what effects pests have on a plant. You can define which mulches impact pest appearance. Interacting with a plant with pests will trigger a battle, using newly defined BerryPlantPest encounter types.
  • Made changes regarding how BerryPlantData is generated:
    • When you pick a berry from an preplanted BerryPlant event (that uses pbPickBerry first), BerryPlantData will be created when picked (allowing for immediate Propogation without having to interact with it again first)
    • BerryPlant events that are only set up with pbBerryPlant will have BerryPlantData created on map creation.
Change Log
  • Possibly Incompatibility: Had to overwrite the update function in the BerryPlant class, so any plugin that also changes that function may be incompatible.
  • New feature: Mulch Composter. Using pbMulchComposter or pbComposter, you can turn berries into Mulch items. Requires Berry Core and Dex 1.1
  • New feature: Preferred and Unpreferred Zones. Similar to Preferred Weather, this feature allows you to set berry planting spots to have a "zone", and if a berry is planted in a Preferred (or Unpreferred) Zone, they will gain boosts (or penalties). Zones are defined by adding berryzone(<name>) to the Event Name of berry planting spots, where <name> is the name of the zone you wish to define.
  • Added more boost options for Preferred Weather.
  • Changed how Preferred Weather appears in the BerryDex (when using Berry Core and Dex) in order to accommodate also showing Zones. Instead of words, icons will be used. These icons are saved in the Plant Icons folder.
Change Log
  • Added option for Preferred Weather, set in berry_data.txt. If at some point before reaching its mature stage the berry's plant has been exposed to one of its Preferred Weather, it will boost the berry yield. Instructions are in the Plugin's Overview tab
  • Added some guardrails to prevent crashes when dealing with berry plants that may not be events (like the Berry Pots plugin)
  • Added handling for a future update of Arcky's Region Map, since it changes the map mode Berry Info will appear in.
Change Log
  • Fix crash with PokemonGlobal when launching new game
I checked out v21.1 and it seems to work fine, so updating as such.

Change Log
  • Corrected all my misspellings of propagation throughout the code
  • Set searching UI instead of Pictures for berry map icons for version 21+
Back
Top