Help modifying crafting script Please

I'm working on some modifications to Venka's Crafting Script v3.8 to fit my needs.

I'm currently using this with the Claim Time addon, and Vlue's Weapon/Armor Randomization via Sixth's Addon

I'm inexperienced with ruby itself, but I am familiar with programming. (primarily c#)

Multiple Level requirements to gain a recipe.

      Something like Herb Lore (picking herbs and crafting in Medicinal recipes) and Medicinal crafting levels are required for recipes.

      I think i'm getting the hang of what to do for this.

Popup for the active crafting.

    Instead of showing the bar in the detail window, I'd like a window that popups, much like the result window does,

        that just says the item your crafting, has the bar, and a statement saying Press Key to craft when the bar is green.

    I have no idea what to do for this one, I'm having a terrible time discerning how to manage this.

 

Currently I have the exp gaining for 2 different crafting skills working with a bit of an error and would like some guidance.

First of all, I made edits directly to the script, which I don't care for, but I'm unaware how to change certain things while importing, like an array variable (although I realize now that I should probably overwrite it).

The edits I made are as follows:


Config Script(Crafting Customize Section):

Line 462 Added :linked_exp => [x, n] where x = CraftId of the other craft skill and n = amount of exp the other craft should gain to the recipe config

 

Main Script (Crafting Script v3.8):


Line 417 Added linked_exp to set_results method parameters of Crafting_Details_Window class

Line 419 Added linked_exp to @results array


Line 438 Added  :linked_exp to Game_Recipe class's attr_reader

Line 457 Added @linked_exp  = @recipe[:linked_exp] to Game_Recipe class's initialize method

Line 1260 Added @result_linked_exp to $craft.set_results parameters in rewards method of Crafting_Details_Window class

Line 1270 Added @result_linked_exp = [@recipe.linked_exp[0], @recipe.linked_exp[1] * @number] to success_rewards method of Crafting_Details_Window class

Line 1276 Added $craft[@result_linked_exp[0]].gain_exp(@result_linked_exp[1])if SceneManager.scene_is?(Scene_crafting) to success_rewards method of Crafting_Details_Window class



This functions as desired. I'm unsure how to add all these changes externally.

I'm also lost for how to make the desired changes to the results window to reflect the new information.

I want to change the "Exp Earned" string in the results window to have craft's name, like: "Medicinal Exp:"

 

Any help will be greatly appreciated, even if its just directing me to articles or posts to better understand how to manipulate these modifications externally.

 

[edit] Added line numbers and uploaded my modified copy of the project.

Crafting Script_Mod.rar
Could you set up some kind of demo project/empty project with all the scripts you're referencing in it, or post your modified script? (You posted the modifications made, but without line numbers it's going to be tedious to find and change, one by one).

As for the window, you're going to need to do something like this to make it show up, but where exactly to insert the code, I can help you look at it later, since the script has been bundled into an EXE, and mobile devices are, sadly, not made to handle EXE files.
Noted and updated.

And thanks for the info about the window!

I'll play around with it a bit tomorrow after work, and see what else I can dig up.
Just a note:


If you are using my Randomization addon, you should know that almost everything from the default result window is overwritten in my script.


So, if you want to see your changes, you should edit my script instead of editing the default one.
Thank you for the heads-up.

Original thread: https://forums.rpgmakerweb.com/threads/help-modifying-crafting-script-please.44769/