• 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

Resource [v20\v21] Item Crafter UI Plus 3.0.0

Vendily

Elite Trainer
Member
Vendily submitted a new resource:

Item Crafter UI Plus - Based off the work of ThatWelshOne_

An updated version of Simple item crafting system + interface (v20.1) for both ease of use and added functionality.
Mikyi6x.png

aOoY7Uo.png

What's New:
  • A new PBS file, recipes.txt, allowing for the definition of new recipes in one place.
  • Recipes that yield more than 1 units of the crafted item.
  • Recipes that...

Read more about this resource...
 

Jangajinx

An Overly Ambitious Developer
Member
Joined
Apr 21, 2023
Posts
213
So I got it working as an Item, but whenever I try to get a script to unlock a recipe like berryjuice I get this error. Any ideas?

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 3 (coords 8,4), map 6 (Route 1)
Exception: NameError
Message: uninitialized constant Interpreter::BerryJuice

***Full script:
pbUnlockRecipe(BerryJuice)

Backtrace:
(eval):1:in `execute_script'
Interpreter:143:in `eval'
Interpreter:143:in `execute_script'
Interpreter_Commands:1112:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:133:in `block in update'
Interpreter:90:in `loop'
Interpreter:90:in `update'
[Following Pokemon EX] Refresh.rb:255:in `update'
Scene_Map:160:in `block in update'
 

mark2826

Novice
Member
Joined
Feb 22, 2021
Posts
16
I have this error show up whenever I try to use certain recipes I just picked up.

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 10 (coords 1,1), map 32 (Tone's House)
Exception: RuntimeError
Message: Invalid Recipe ID AdamantMint.

***Full script:
pbItemCrafter(pbGetRecipes)

Backtrace:
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:361:in `block in pbItemCrafter'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `each'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `pbItemCrafter'
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'
034:Interpreter_Commands:1112:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:133:in `block in update'
033:Interpreter:90:in `loop'


The recipe is set up like below:

[AdamantMint]
Item=ADAMANTMINT
Ingredients=PROTEIN,1,HONDEWBERRY,1
Flags=Cooking
 

Vendily

Elite Trainer
Member
I have this error show up whenever I try to use certain recipes I just picked up.

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 10 (coords 1,1), map 32 (Tone's House)
Exception: RuntimeError
Message: Invalid Recipe ID AdamantMint.

***Full script:
pbItemCrafter(pbGetRecipes)

Backtrace:
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:361:in `block in pbItemCrafter'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `each'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `pbItemCrafter'
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'
034:Interpreter_Commands:1112:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:133:in `block in update'
033:Interpreter:90:in `loop'


The recipe is set up like below:

[AdamantMint]
Item=ADAMANTMINT
Ingredients=PROTEIN,1,HONDEWBERRY,1
Flags=Cooking

Did you recompile after adding the new recipe? This PBS file doesn't trigger the auto recompile like the base essentials ones do.
 

mark2826

Novice
Member
Joined
Feb 22, 2021
Posts
16
Oh Interesting I'm so used to it doing so, I didn't notice. A recompile solved the problem. Thanks!
 

Drqiu

Novice
Member
Joined
Jun 6, 2023
Posts
25
Hi there! Thank you very much for your work, I really like the plugin you made. But I have a small problem to ask you: when I compile all the PBS, everything works fine. However, when I exit the game and re-enter it, there is a problem: the previously compiled files seem to become invalid and something like Invalid Recipe ID appears. I also used your Secret Bases Remade plugin and had a similar problem. I was wondering if you had a solution for this? As my game uses more plugins, I'm wondering if there are any conflicts with other plugins? Thank you very much!
 

ClessioTV

Elite Trainer
Member
Joined
Sep 24, 2022
Posts
270
Hello, I would like to know if it's possible to add the crafting menu directly from the main menu/Pokégear? If so, do you have a solution? Thank you in advance!
 

AbsolutePhoenix

Rookie
Member
Joined
Aug 6, 2023
Posts
5
i keep getting this error when i access the crafter. First i will compile the game and access the crafter and it will work. When i close the game and reload it without compiling or making any changed to the PSB or script files i get the error again. The only way to avoid the compile error is to recompile on every load.

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 10 (coords 13,2), map 3(Lappet Town)
Exception: RuntimeError
Message: Invalid Recipe ID BerryJuice.

***Full script:
pbItemCrafter(pbGetRecipes)

Backtrace:
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:361:in `block in pbItemCrafter'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `each'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `pbItemCrafter'
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'
034:Interpreter_Commands:1112:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:133:in `block in update'
033:Interpreter:90:in `loop'
 
Last edited:

ClessioTV

Elite Trainer
Member
Joined
Sep 24, 2022
Posts
270
i keep getting this error when i access the crafter. First i will compile the game and access the crafter and it will work. When i close the game and reload it without compiling or making any changed to the PSB or script files i get the error again. The only way to avoid the compile error is to recompile on every load.

[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 10 (coords 13,2), map 3(Lappet Town)
Exception: RuntimeError
Message: Invalid Recipe ID BerryJuice.

***Full script:
pbItemCrafter(pbGetRecipes)

Backtrace:
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:361:in `block in pbItemCrafter'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `each'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `pbItemCrafter'
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'
034:Interpreter_Commands:1112:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:133:in `block in update'
033:Interpreter:90:in `loop'
Hello! Did you use the function to unlock the recipe correctly on event script?

pbUnlockRecipe(:BerryJuice)
 

AbsolutePhoenix

Rookie
Member
Joined
Aug 6, 2023
Posts
5
Hello! Did you use the function to unlock the recipe correctly on event script?

pbUnlockRecipe(:BerryJuice)
yes i did. and it works when i compile the game and run the commands. but when i save, quit and reopen the game without compiling again and run the same commands i get that error
 

AbsolutePhoenix

Rookie
Member
Joined
Aug 6, 2023
Posts
5
Ok. I don’t think it’s your plug-in anymore. I just added another plug-in that has there own custom PSBs and it’s doing the same thing. Only reads the data when compiled and doesn’t on a reload. I think I have another plugin that is interfering with the loading system. I need to figure out what plugin is doing it.
 

TreadingWater

Novice
Member
Joined
Oct 6, 2022
Posts
27
Just a quick question: Are there any plans on updating this plug-in to v21? Or is there a way to get it to work with v21?

Because I have tried to follow the instructions using v21, and even though the item does show up in my inventory it only says 'Can't use that here' when I try to use it. Even though I have made sure to have the ingredients needed to test it on hand. And when I tried compiling the files, I got this error when it gets to the recipies.txt-file:

WARNING: Usage of deprecated method "pbGetCsvRecord" or its alias.
The method is slated to be removed in Essentials v22.
Use "get_csv_record" instead.

What does this mean? And is there a way to edit the files to somehow make them work anyway? Because I really want to make this work, it fits the theme and vibe my game so well.
 

Thunderbird games

Novice
Member
Joined
Jan 1, 2022
Posts
47
hey dose anyone know how to fix this error i keep getting

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.0]

Script error in event 4 (coords 9,1), map 2 (frost test)
Exception: RuntimeError
Message: Invalid Recipe ID BreakMaxRevive.

***Full script:
pbItemCrafter(pbGetRecipes)

Backtrace:
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:361:in `block in pbItemCrafter'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `each'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `pbItemCrafter'
(eval):1:in `execute_script'
Interpreter:138:in `eval'
Interpreter:138:in `execute_script'
Interpreter_Commands:1177:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:130:in `block in update'
Interpreter:86:in `loop'
 

Vendily

Elite Trainer
Member
hey dose anyone know how to fix this error i keep getting

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.0]

Script error in event 4 (coords 9,1), map 2 (frost test)
Exception: RuntimeError
Message: Invalid Recipe ID BreakMaxRevive.

***Full script:
pbItemCrafter(pbGetRecipes)

Backtrace:
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:361:in `block in pbItemCrafter'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `each'
[Item Crafting UI Plus] 001_UI_ItemCrafting.rb:360:in `pbItemCrafter'
(eval):1:in `execute_script'
Interpreter:138:in `eval'
Interpreter:138:in `execute_script'
Interpreter_Commands:1177:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:130:in `block in update'
Interpreter:86:in `loop'
Ah well, you should try force compiling, but I haven't actually downloaded the hotfixes, so it probably needs to be added to the meta.txt if it changes the compiler, as this script aliases a few of the compiler methods to allow it to be compiled.
 
Back
Top