Simple item crafting system + interface

Resource Simple item crafting system + interface 1.2.2

StarWolff

Novice
Member
Joined
Aug 23, 2021
Posts
48
Age
21
This is exactly what I wanted for my game, but I just can't make it work!
I tried to use the extendtext.exe, but Idk if it made any difference
the third image is me having problems with the encounter list UI
 

Attachments

  • Nova Tela.png
    Nova Tela.png
    19.5 KB · Views: 52
  • Tela.png
    Tela.png
    21.5 KB · Views: 55
  • Nova.png
    Nova.png
    14.5 KB · Views: 49
Last edited:
This is exactly what I wanted for my game, but I just can't make it work!
I tried to use the extendtext.exe, but Idk if it made any difference
Your error message is telling you that pbItemCrafter hasn't been defined. Did you compile your game after adding the scripts?
the third image is me having problems with the encounter list UI
It'd probably best to post that on the Encounter List UI thread, then.
 

ThatWelshOne_

Umbreon User
Moderator
This is exactly what I wanted for my game, but I just can't make it work!
I tried to use the extendtext.exe, but Idk if it made any difference
the third image is me having problems with the encounter list UI
As TechSkylander mentioned, both of your errors are probably because you haven't compiled your plugins.
You need to press Control, and keep it pressed down, as you click the green playtest button in RMXP until you see the message "Compiling plugin scripts... done." in the debug console window (the separate window with the black background that appears when playtesting).
If you can't get that to work, you can delete PluginScripts.rxdata from your Data folder to force a compile of your plugins next time you go to playtest.
 

StarWolff

Novice
Member
Joined
Aug 23, 2021
Posts
48
Age
21
As TechSkylander mentioned, both of your errors are probably because you haven't compiled your plugins.
You need to press Control, and keep it pressed down, as you click the green playtest button in RMXP until you see the message "Compiling plugin scripts... done." in the debug console window (the separate window with the black background that appears when playtesting).
If you can't get that to work, you can delete PluginScripts.rxdata from your Data folder to force a compile of your plugins next time you go to playtest.
oooooh, thanks!
I imagined it was something with the plugin not being read, but I didn't knew how to force it ><
Both are awesome and fully working! sorry for asking about the other one here, I tought it was the same problem, so I put in the same question
 

ThatWelshOne_

Umbreon User
Moderator
Is it possible to add this to Luka's Modular menu?
Yes. Add this to the bottom of Plugins/Modular Menu/[001] Config/Config.rb :
Ruby:
#-------------------------------------------------------------------------------
#  Item Crafting
#-------------------------------------------------------------------------------
ModularMenu.add_entry(:CRAFTING, _INTL("Crafting"), "menuCrafting") do |menu|
  pbFadeOutIn(99999) {
    scene = ItemCraft_Scene.new
    screen = ItemCraft_Screen.new(scene,pbGet(123))
    screen.pbStartScreen
  }
end
# condition to satisfy
ModularMenu.add_condition(:CRAFTING) { next !(pbGet(123)==0 || pbGet(123).empty?) }
You'll want a menu icon as well. Put it in Graphics/Icons and call it menuCrafting.png.
Then, read the second half of my reply here to understand how to use this resource with variables.

Let me know if you get stuck/have any questions. 🙂
 

JtheDuelist

Novice
Member
Joined
Jun 9, 2021
Posts
11
Age
28
Just curious if this will be getting a v20 sometime soon- tried it in a v20 project and I crash as soon as successfully craft an item:
1654389859756.png
 

CoreBear

Chad Nidoqueen Enjoyer
Member
Joined
Mar 9, 2022
Posts
10
Age
19
Exciting to have it updated! I've noticed a teeny bug that presumably affects not just me; when crafting say, a sitrus berry, it said it was putting the item in the mail pocket; I'm not sure what caused this, perhaps my calling the crafting from Voltseon's Pause Menu affected it somehow, but to fix it- go to
Ruby:
def pbCraftItem(stock)
and find:
Ruby:
pbMessage(_INTL("You put the {1} away\\nin the <icon=bagPocket{2}>\\c[1]{3} Pocket\\c[0].",
  itemname,pocket,PokemonBag.pocket_names()[pocket]))
After that, all you need to do is add a - 1 in [pocket]. I don't know if that makes sense but my 1 am brain says it's good enough
 

Attachments

  • Screenshot 2022-06-24 004252.png
    Screenshot 2022-06-24 004252.png
    3 KB · Views: 6

CoreBear

Chad Nidoqueen Enjoyer
Member
Joined
Mar 9, 2022
Posts
10
Age
19
Without my fix (Berry icon but says mail pocket) vs. with my fix
 

Attachments

  • Screenshot 2022-06-24 004728.png
    Screenshot 2022-06-24 004728.png
    36.4 KB · Views: 6
  • Screenshot 2022-06-24 004825.png
    Screenshot 2022-06-24 004825.png
    38 KB · Views: 7
Top