Posts: 11,230
Threads: 649
Joined: May 2009
Miriam's HandiCrafts!
Version: 1.3
Introduction
Based initially on Prexus's Crafting system, known or recognized under the name of PrexCraft, this system takes an evolutional jump. With Miriam's HandiCrafts, you can let the player deal with learning recipes and create items him/herself, or go to an NPC who may have a few recipes that they may know and pay the NPC for the services.
And you now have various options so you can perform some layout changes to make the system appear how you wish it to appear.
Demo
Craft Away!
Instructions
The instructions are build into the script.
Q & A
Q: Will this work with the XXXXXX custom menu?
A: I gave you the script calls. You can make a patch to work with a script, or make a skill. Your choice.
Q: The system says items may have byproducts. Do these items show up on the screen?
A: Afraid not. Using the basic layout from Prexus's original, I didn't have the space.
Q: Will any changes be made to include the byproducs?
A: I'm leaving that up to you. If you want to make random byproducts, that's yours too.
Q: Can I ... un-craft an item?
A: Pretty much. It's about the same as crafting, just extracting a main material and byproduct items.
Q: Am I reading this right? Did yamina-chan test some of this?
A: Heck yeah. She even wrote most of the end scene and inspired me to use Nobue Uematsu's tunes.
Compatibility
As only one method within Game_Party was aliased and every other method and class within the script is unique, the system should be compatible with nearly any other script for RPGMaker XP. However, it is not expected to work with any other crafting script.
Terms and Conditions
Free for use, even in commercial games. And as the demo stars and had some error checking by yamina-chan, you have to give both of us credit.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 797
Threads: 24
Joined: Feb 2010
Yay, it's online =D Finally XD
Since I allready know the system itself is great I am looking forward to the changes ^^
Edit: I almost died from laughter right after starting the Demo XD
BUG!
You know, the INN sign that is supposed to be on Paralell Process to start the intro and cutscene? It's still on Action Button and thus nothing happens XD
Friendship is born at that moment when one person says to another: "What! You, too? Thought I was the only one." (C.S. Lewis)
For the time you're laughing, there's nothing wrong in the world. (Colin Mochrie)
If it's funny, make sure people laugh. If it's not funny, make it funny (unless it's actually really serious). (silvercheers)
Please don't spell my name "Yamina-chan". It's all small. Thank you =D
Posts: 11,230
Threads: 649
Joined: May 2009
STUPID!!! STUPID!!! STUPID!!!
I turned if off just so I could plug in the ending you wrote. I totally forgot to turn it on? Hahaha! Fixed that blunder.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 13
Threads: 1
Joined: Nov 2013
Hey, I was messing around with this script and I wondered if it was possible to give experience to an actor whenever something is crafted?
I wanted to private message this to you, but for some reason it told me that I did not have the permission to do so.
Posts: 11,230
Threads: 649
Joined: May 2009
Ah. A newly joined member cannot post or use the control panel until they make at least 1 post (the system will convert you to fully registered roughly 24 hours after that 1st post). It is an anti-spam technique. Since making this post, you'll be able to PM tomorrow.
Interesting idea. Not only do you have the ability to increase your cooking or alchemy skills, but could gain experience if you use a particular crafting recipe. For example.... You needed to find 5 shards of a sword and re-forge them with a magical forging technique. The recipe ( "Narsil" ) requires 5 sword pieces and ... whatever. Using this one crafting recipe gets you a 100pt bonus to the crafter.
SO... I cobbled this up:
Code:
module Crafting
DEFAULT_EXP = 0
CRAFT_EXP["BlackPowder2"] = 4
end
..... which could be anywhere as it applies experience points to a recipe. In this case, it applies 4 points to the 'BlackPowder2' recipe.
Code:
# NEW CODE----------------------------------------------------------------
exp_temp = Crafting::DEFAULT_EXP
exp_temp = Crafting::CRAFT_EXP[@recipe_list.data] if Crafting::CRAFT_EXP.has_key?(@recipe_list.data)
# Only work for actors
if @npc_list == nil
case @type
# List your actors here (based on trade)--------------
when "Miriam" ; $game_actors[9].exp += exp_temp
# ----------------------------------------------------
else
for actor in $game_party.actors
actor.exp += exp_temp
end
end
end
# END OF CODE ------------------------------------------------------------
Now THIS.......
You have to insert this bit of code past line 2016. Just after this code
Code:
if @npc_list == nil
$game_system.se_play($data_system.decision_se)
else
$game_system.se_play($data_system.shop_se)
end
NOW... there is a bit of code to edit in that block as you can see. Only the 9th actor in your database can get experience if the 'Miriam' trade recipes are used. Make other 'trades' for different actors and there you go.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 13
Threads: 1
Joined: Nov 2013
Thanks for your help!
It seems though as if whenever I place 'module Crafting' at the end of the script, it tells me:
"NameError occurred. uninitialized constant Crafting::CRAFT_EXP
Posts: 11,230
Threads: 649
Joined: May 2009
Put the new crafting module above the HandiCraft script.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 13
Threads: 1
Joined: Nov 2013
I'm putting this:
module Crafting
DEFAULT_EXP = 0
CRAFT_EXP["BlackPowder2"] = 4
end
but wherever I put it I still get the same error...
Also, I followed your directions by putting the the other text of code right after the line 2016
Posts: 11,230
Threads: 649
Joined: May 2009
FIRP!!!
Code:
module Crafting
CRAFT_EXP = {} # Add this! It creates the empty hash for the craft experience data
DEFAULT_EXP = 0
CRAFT_EXP["BlackPowder2"] = 4
end
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 13
Threads: 1
Joined: Nov 2013
Okay thank you, no errors now.
I do wonder though - is this actually giving a specific actor experience?
I wanted to give actor 21 40 experience if "BlackPowder2" was made with ingredients, and nothing seemed to happen.