Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Miriam's HandiCrafts!
#5
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. Winking

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...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
Miriam's HandiCrafts! - by DerVVulfman - 06-09-2012, 04:29 AM
RE: Miriam's HandiCrafts! - by yamina-chan - 06-09-2012, 05:54 AM
RE: Miriam's HandiCrafts! - by DerVVulfman - 06-10-2012, 03:34 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-15-2013, 06:20 AM
RE: Miriam's HandiCrafts! - by DerVVulfman - 12-16-2013, 04:39 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-16-2013, 09:49 PM
RE: Miriam's HandiCrafts! - by DerVVulfman - 12-17-2013, 01:48 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-17-2013, 04:59 AM
RE: Miriam's HandiCrafts! - by DerVVulfman - 12-17-2013, 05:10 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-17-2013, 07:41 AM
RE: Miriam's HandiCrafts! - by DerVVulfman - 12-18-2013, 04:46 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-18-2013, 06:44 AM
RE: Miriam's HandiCrafts! - by DerVVulfman - 12-18-2013, 07:07 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-18-2013, 08:54 AM
RE: Miriam's HandiCrafts! - by DerVVulfman - 12-19-2013, 04:41 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-19-2013, 10:20 AM
RE: Miriam's HandiCrafts! - by DerVVulfman - 12-20-2013, 03:25 AM
RE: Miriam's HandiCrafts! - by firevenge007 - 12-21-2013, 06:44 AM
RE: Miriam's HandiCrafts! - by JayRay - 12-21-2013, 11:33 PM



Users browsing this thread: