• 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.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Free Market

v21.1 Free Market 2.0.2

This resource pertains to version 21.1 of Pokémon Essentials.
The only files that was changed were 001_Data and 003_MarketUI. You only need to replace those files with the updated one for this update.

Change Log
  • 🛠️Fixed a crash that would occur if you set the ID of one of your Free Market item lots to be the same as an item ID, and you tried to sell that item as a personal lot
  • 🛠️Fixed a crash that would occur when interacting with a sold personal lot if you don't have the Social Links plugin installed.
  • Love
Reactions: ImZero
The only files that was changed were 001_Data, 003_MarketUI, 004_PlayerLots, and 006_Utilities. You only need to replace those files with the updated one for this update.

Change Log
  • 🛠️Fixed handling of procs throughout the plugin so it doesn't crash when you save your game.
  • 🛠️Fixed a crash that would occur for trade lots without :trade_condition set.
  • 🛠️Fixed player lot buyer names not being properly displayed if the NPC's :name was a proc.
BEFORE UPDATING ANY FILES: As part of this update, some file names and setting names have been changed. You may need to redo some of your 000_Settings or 002_Configurations (now 3 different files). Any custom currency will need to be remade using the updated 005a_Currencies_CustomExample file. It's recommended to make a backup copy of your current Free Market plugin folder and reintroduce your edits to this new version once installed.

Change Log
  • ⭐New feature: Player lots. The player can now sell their own item lots. There are many settings and configuration options to support this feature, so review the Manual Setup - Player lots section of the Setup and Documentation file in this plugin. Some key features of player lots:
    • Sell various items to NPCs and Social Links to earn some extra cash.
    • NPCs can have preferences for which items they'd rather purchase.
    • If an NPC that purchased a player lot is also a trainer, you can add their purchased items to their item list for a battle, or evolve one of their Pokémon using an evolution item they bought.
  • ⭐New feature: Proc as an NPC name. You can now set the :name parameter of an NPC definition to a proc instead of a string, for dynamic names (like your Rival's name).
  • ⭐New feature: Hide seller name in confirm message. By adding :hide_confirm_name, to an NPC definition, its name will not be shown in the purchase confirmation message, just like when there is no defined seller. This is useful for bot-like sellers.
BEFORE UPDATING ANY FILES: If you have made any edits to the 000_Settings, 002_Configuration, or 002a_Configuration_SocialLinks files, make sure to make a backup of those files before updating the plugin. If you copy over files to update, it will overwrite your changes.

Change Log
  • ⭐New feature: Pokémon lots. You can now sell or trade Pokémon in a Free Market lot. Details about all the new parameters for these lots, as well as new example lots, are included in 002_Configuration.
  • ⭐New feature: Exclusive groups. By adding :exclusive_group_id, you can define an exclusive group that the lot is a part of. Among any lot that is a part of that group, only 1 of those lots in that group will ever appear in the Free Market at one time. This allows you to define many lots that are similar, but only 1 appears at a time as to not have repetition in the current Free Market lots.
  • ⭐New feature: Consistent foreign IDs. Usually, when you obtain a "foreign" Pokémon via pbAddForeignPokemon or in trades with an NPC in Pokémon Essentials, the trainer ID for the obtained Pokémon is always randomly generated even if you get two different Pokémon from the same NPC. Now, if you've already traded a Pokémon with an NPC that has the same name as one you've traded with before, the trainer ID will match what it was before. This makes it more realistic for Pokémon or trade lots in the Free Market if a single NPC offers several lots throughout the game.
  • ⚙️Added a SOLD_LOT_MESSAGE setting to customize what message appears when the player interacts with a lot that has already been sold.
BEFORE UPDATING ANY FILES: If you have made any edits to the 000_Settings, 002_Configuration, or 002a_Configuration_SocialLinks files, make sure to make a backup of those files before updating the plugin. If you copy over files to update, it will overwrite your changes.

Change Log
  • ⭐New feature: Run code after purchase. By adding :after_purchase and setting it to a proc, you can set up any code you wish to run after the lot is purchased. You can use that to impact other things in your game, like setting a switch, gaining an achievement, or unlocking some feature.
  • 🛠️Fixed lot parameters :quantity, :price, and :price_per_item to accept procs so you can properly set random integers for them.
  • ⚙️Added a GAIN_SOCIAL_LINK_MOMENT_SHOW_MESSAGE setting to control whether or not a message appears when you add a Moment after purchasing a lot from a Social Link.
Back
Top