12-16-2013, 04:39 AM
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:
..... which could be anywhere as it applies experience points to a recipe. In this case, it applies 4 points to the 'BlackPowder2' recipe.
Now THIS.......
You have to insert this bit of code past line 2016. Just after this code
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.
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
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 ------------------------------------------------------------
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.