Ohh, my!
😀
I will start with the fixes once I managed to download the updates.
The craft_type error should be easy enough to fix at the XP gain.
For the results window, that will need a bit of looking around.
I will post when (if) I finished the fixings.
Ok, so for the above error with the craft XP gain...
Change the line which gives the error to this:
$craft[@craft_id].gain_exp(@result_exp)This should fix that issue.
Well, the results window has been changed a lot.
That will need more time.
But Venka did the same method like me, scaling the window size to the text size.
The only difference in Venka's window is the visuals, I put some arrows in, made it wider to look a bit less crowded, which anyone can do with Venka's just by putting some spaces in the text options of the results window.
I learned to use the '.max' thingy properly from Venka's window, which I honestly, never even thought about using.
😀
It needs some rework for my tastes, but overall, Venka now did what I did a few days ago, with a few minor visual differences, so I suggest not using my popup window at all anymore. I don't want to slow down Venka in working on the main Crafting script just because of trying to maintain my version of it too.
However, if anyone wants to show the colored item name in that popup window, do the followings in Venka's original Results window:
Find this line in the main script:
draw_text(x, @y, contents.width - x, height, @item.name)Just before that, insert this little line:
change_color(@item.color)And just after that same line we found before, put this line:
set_font
🙂other_text)There, that should display the correct color for any randomized item.
Everything else is working fine even with my edits for Vlue's Randomizer.
Well, with experience already earned in this, I actually made my version again, and it looks even better than before, thanks to Venka's update.
The snippet is available to grab where you got the last one.
Link to it, if someone is lazy enough to not search for it:
http://forums.rpgmakerweb.com/index.php?/topic/17560-crafting-script-v30a-updated-72114/?p=288954
Ok, off to test!
😛