• 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!
Customizable Crafting System w/ Unlock Conditions + UI

v21.1 Customizable Crafting System w/ Unlock Conditions + UI 1.0

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅
Also compatible with
  1. v21.1

Features
-Customizable crafting system
-PBS file integration (define crafting recipes and their outputs in crafting_recipes.txt)
-Multi-ingredient recipes with quantity requirements
-Live UI indicator for players if they have all ingredients to craft recipe or not
-Customizable category system (Add/remove/change categories in CraftingConfig.rb)
-Customizable unlock conditions (ie: Pokedex count, badges, story switches and many more)
-UI customization:
  • - X, Y Positioning of UI windows
  • - Typography spacing
  • - Color customization
  • - Asset customization (keep file names!)
-Technical Features:
  • - Asset Caching (Graphics loaded once and reused)
  • - Memory Management (Proper cleanup on exit)
  • - Error Handling with clear debug outputs
  • - Descriptive comments for each block of code
Known bugs:
- Last item shown in recipe list gets cut off (but you can scroll further down to see it fully)

Usage:

Call from events or menu:
pbCraftingMenu

Alternative (legacy support):
scene = Scene_Crafting.new
scene.main

Define crafting recipes in crafting_recipes.txt
Each recipe follows the format:
  • [RECIPE_ID]
  • Name = Display Name
  • Description = Recipe description
  • Result = ITEM_ID,quantity
  • Ingredients = ITEM_ID1,qty1,ITEM_ID2,qty2,ITEM_ID3,qty3...
  • Category = category_name (optional)
  • UnlockCondition = condition_string (optional - if not specified, recipe is always available)


Credits to Yael Bashan are appreciated!
If you end up making a game with this resource, let me know! I'd love to try it out :)
Credits
Yael Bashan
  • Like
Reactions: Bergium
Author
YaelB
Downloads
196
Views
1,002
First release
Last update

Ratings

4.00 star(s) 1 ratings

Latest reviews

Very good script, missing a few features id like to see which is ingredient categories/flags present in vendilys item crafter ui, and bulk recipe crafting.
Back
Top