Crafting Script v3.8by Venka, based off GubiD's VX Cooking Script Description: This is a script will allow you to have a crafting system in your games. It has a crafting timer bar so you must activate it at the right time to successfully make an item. Crafting results vary depending on when you craft your item. You can set up a premature crafted item, for example you can craft some dough instead of bread if you activate too soon, or a burned product if you allow it to go for too long. You can use more then one craft. The demo has Cooking, Smithing, and Alchemy crafts (but you can make your own). Each craft has it's own exp and recipes. Customization: - You can customize the colors of the level up gauge and the cooking gauge colors. - Set of font settings for various parts of the crafting scene. - You can choose to use line separators to break up the information displayed. - Set sounds for failure, success, opening the scene.. etc - Set the sounds that play when crafting as well - Each crafting type can use it's own music and background image. - Set the pop up message for after crafting. - Set the exp requirements for each crafting skill. (For example: Alchemy might take more to level up then Cooking). You can now also turn the exp off and do away with the levels if you wish. - You can set craft Mastery text that will show in the top of the Scene. (For example after maxing out Cooking, you could be called a "Top Chef") - Allows a variance to craft times (sometimes it might take a little longer to make a potion) - You have the option of allowing lower level recipes to craft at a faster rate. - You can also change the way the crafting gauge works. You can turn it off and always have a successfully crafted item, or turn it on and either have a progress bar that will fill up as you finish crafting your item or set it to an active bar that requires input from the player to make a good item. - Added the ability to craft stacks of items since this has been requested a few times and I've made custom scripts each time.. figured I'd just make it a feature you can turn on/off. What's new? Fixed a minor equipment counting bug and added the option of setting the claim time by craft type. The spoiler tag has the change log notes. Spoiler #===============================================================================# - Change Log -#------------------------------------------------------------------------------# 12/15/2014 - Fixed BGM's so the play through the craft scene if no new BGM# was set.# 10/27/2014 - Fixed equipment count so it counts if an actor is wearing more# then one piece of the same item - Like two of the same Rings.# - You can set claim/buffer time by craft type now.# 09/15/2014 - Changes to make it a bit more friendly for the new bigger screen# size RGSS301.dll. I just stretched the background images to# make the scale to any resolution and made the windows scale more# evenly in the higher resolutions.# 09/08/2014 - Fixed the change_level script call to award the correct amount# of exp.# 09/04/2014 - You wouldn't auto learn recipes when using the script call to# change levels. This has been fixed.# - Added a new script call to set the craft to a specific level.# - Crafting background images will now check the Titles1 Folder# for images first and if it doesn't find one in that folder then# it'll look for the image in the Pictures folder.# 09/01/2014 - Made the code more efficient for the Menu Add on.# - No changes were made to the customize section so no need to# replace that section if you are upgrading.# 08/17/2014 - Made it so you can use this script without using craft exp and# levels. The pop up window will shrink as well if no exp is# earned.# - Put in fail safes for if an item is listed as required, but set# to zero (so you won't get the divide by 0 error).# 08/01/2014 - Made slight changes to the way the crafting result info was# stored for the actor stats add-on. Also small changes to# the crafting stack number in the Details window.# 07/24/2014 - Added a font height method to Window_Base for general purpose# use.# 07/21/2014 - Gave some attention to the result window. It will now scale in# size and show learned recipes when you level up a craft.# - Added display names to recipes. So a recipe could be called# "Super Awesome Recipe" instead of whatever the item is it# creates.# 07/05/2014 - Incorporated the Tools Add-on into the main script.# - When counting items already owned (at the top of the recipe info# window, not the ingredients themself), it'll count equipped items# - Allows crafting of stacks of ingredients as this is a common# request. You can set if you want to allow the player to craft# stacks.# - Added in Opacity settings for all the windows in the scene.# - Added more text control settings# - Changed the text color of the required level in the recipe# detail window if the current level is insufficient.# - Fixed potential spacing issues with the text in the Result Window# 06/28/2014 - fixed an enable bug introduced in the previous update.# 06/13/2014 - Allow sorting of the recipe list by level, alphabetically, or# order created.# - Small fixes here and there for the new Shop Craft & Decompile# add-on script.# - Added in :shop_fee for set up with the Shop Craft & Decompile# add-on script. This option can be omitted in the Recipe setup# if you have no intentions of using that add-on.# - The recipe list window was only returning the check of the last# item in the list. So if you had that ingredient, it would allow# you to try and craft the recipe. You still couldn't craft it# without all the items, but it didn't gray out like it should.# - Move the Customize and Instructions section to it's own entry# in the script editor so its easier to update the script without# having to move settings back in from older versions.# - Allows you set set what time of crafting gauge you want. There# are now 3 options. The standard activated gauge where the action# key needs to be pressed at a certain time. You can now make the# gauge a progress bar that just shows when you'll finish crafting.# Or you can just do away with the bar and instantly craft the# item.# 05/28/2014 - Updated the script to auto fail the craft if the max craft time# is reached before the action key is pressed.# - Fixed the map's BGM to save instead of resetting it.# 05/22/2014 - Fixed some bugs in the auto learning feature (wasn't auto# auto learning on craft level changes).# 03/09/2014 - Allows for the automatic learning of recipes when the craft# levels up (you can choose to use this option or not)# - Re-formated the way the craft type information is input. More# and more information was being stored here and the old way was# getting hard to follow.# - Made the script compatible with modern algebra's Icon Hues.# - Added a script call for conditional branches# 02/20/2014 - Allows active crafting sounds (like a hammer while smithing)# The sounds can be a SE or a BGS# 01/31/2014 - Allows a failure item if crafting before the set time# - Allows you to use gold in crafting recipes# - Allows you to set background pictures/music for each craft type# - Option for using line separators# - Recipe List window will gray out recipes if requirements for# crafting are not met.# - Fixed compatibility issue with LoneWolf's trash symbol fix# - Fixed some typos and misspelled words# 12/13/2013 - Made inputting item info easier for the user.# 10/15/2013 - Fix a bug failed item bug introduced in previous patch.# Fixed a max level bug (could still get exp after max level)# Allows you to give custom crafter mastery titles.# 10/11/2013 - Cleaned up some code.# Added a random craft time setting to allow for some variance# in craft times. Also added the ability to speed up the craft# time in relation to how easy it is for you to make.# Example: a level 1 recipe should be fast for a level 30 crafter.# 9/30/2012 - Upgraded to version 2.0. Allows use of items, weapons, armor.# And you can have multiple crafting skills each with their own# Levels, Recipes, and Exp.# 8/23/2013 - Initial port from VX to VXAce##=============================================================================== Screenshots: Spoiler Finally got some updated screen shots loaded. Some of the Add-Ons: Demo: Dropbox: Crafting Script v3.8 - https://www.dropbox.com/s/ip3s83koj7qxwo8/Crafting%20Script.exe?dl=0 Mediafire download (and zip file) - http://www.mediafire.com/download/sh9o0xvqwz1s6ob/Crafting+Script+-+v3.8.rar WARNING: If you are updating to v2.3 from a previous version, you will need to start a new game. Also the script uses items I added to the database in the demo to demonstrate how the script works. So plugging the script into a completely new project will give errors. Credits: Mack for some of the tiles used in the demo Ying for his wonderful icons used for the fishing stuff Venka for the updated script. GubiD for the original script (permission granted to post). Sixth has a edited version of this script to use with Vlue's Weapon/Armor Randomization Script. You can find the add on here. Thanks: posters in this thread of feedback and suggestions ShadowFox for testing out the scripts before 2.0 release Usage: Free to use for whatever purpose you see fit Yes this means you can use it commercially. Add-ons: Spoiler Difficulty Settings - NEW!! This add on lets you set up difficulty ranks for recipes. You can craft recipes above your current crafting level, but with a chance of failing. You can set the level ranges/tiers and set their fail rate as well as the color of the recipes name in the list window. Menu access add-on - Updated 09/01/2014 This add on allows you to view all your recipes from the main menu. You can not craft from the menu. The update to this script was to allow large number of crafting types to be displayed without making the text too hard to read. Actor Specific Recipes - Updated 07/21/2014 This add on allows actors or classes to learn recipes apart from the party recipes. Recipes are learned as you level up. Use note tags to set up how each recipe is learned - via crafting level, or class level. You can also set if the actor forgets the recipe when the loose levels. The last option is how the recipes will show in the list. You can require the actor to be the leader, in the active party, or just a party member (can be in the reserve). Shop Recipes - Updated 07/07/2014 Allows you to buy recipes from a shop npc. You won't be able to buy the recipe or recipe books if the recipes are already known. This will prevent the player from wasting money. NPC Crafters/Decompilers - Updated 10/14/2014 This add on will allow shop keepers that can craft items for you even if you do not know the recipe. They have the option of charging you more supplies and a fee should you hire them. They can also break down items for you in exchange for crafting components.. for a price Tools Add-on - Outdated as of Crafting v3.0 (it was incorporated into the main script) This add on will let you list a tool in the required items. Items with <tool> in their note tag box will not be consumed when crafted. Tools can be an item or a weapon.. or an armor if for some reason you can think of armor being a tool... Actor Stats - Updated 09/01/2014 Allows you to preview stat changes for an item before crafting it. You can craft the item from the preview window for the actor selected. This add on has lots of customizable features and is compatible with the other crafting script add ons and Yanfly's Equipment Engine (extra equipment slots). Claim Time Addon by Sixth- NEW!! Gives you more control over the claim window when using the active crafting option. You can even have equipment that lets you get bigger windows of opportunity. For more in depth explanation of how to set up new crafts and recipes, check out this post. Known Issues: Spoiler None I know about.