| 
 
| 赞 | 0 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 0 |  
| 经验 | 0 |  
| 最后登录 | 2011-9-12 |  
| 在线时间 | 0 小时 |  
 Lv1.梦旅人 
	梦石0 星屑165 在线时间0 小时注册时间2010-8-31帖子4 | 
| #============================================================================== # 本脚本来自www.66RPG.com,使用和转载请保留此信息
 #==============================================================================
 
 # Sample master list for crafting script
 # written by Deke
 #============================================================================================
 # 简介:
 # 这是一个很不错的合成物品系统,可以通过游戏的过程,不断学习可以合成的
 # 物品方法。
 #
 # 使用方法:
 # 1、召唤界面:使用脚本$scene = Scene_Craft.new
 #
 # 2、学习合成:$game_party.learn_recipe(合成项目)
 #
 # 3、合成定义:
 # 这个合成脚本可以定义两种合成物品。一种是预先定义好了的,就像下面这样,
 # 直接写在这里就可以,另一种是在学习之前现场定义。
 #
 # 4、举例
 #  4.1、学会recipe_list[1]定义的合成:$game_party.learn_recipe($game_temp.recipe_list[1])
 #       注意,一行如果输入不下,在(的后面或[的后面按回车换行,否则可能出错
 #
 #  4.2、在游戏中临时定义一种合成,让玩家学会。使用事件中的脚本如下,
 #  脚本:
 #    材料 = [$game_variables[1],$game_variables[2]]  #——材料编号是变量1、2的编号
 #    材料种类 = [0,0]                                #——材料是物品
 #    材料数量 = [$game_variables[3],$game_variables[4]]  #——需要材料数量是变量3、4的编号
 #    成品 = $game_variables[5]                       #——获得结果编号是5
 #    成品种类 = 1                                    #——成品是防具类
 #    $game_party.learn_recipe(Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类))
 #===========================================================================================
 class Game_Temp
 attr_reader :recipe_list
 alias crafting_temp_initialize initialize
 def initialize
 crafting_temp_initialize
 @recipe_list=[]
 get_recipe_list
 end
 def get_recipe_list
 ##########################################################################
 # 1 号合成物品设定 (植物化石×5 + 见习剑 = 碧煞)
 ##########################################################################
 材料 = [31, 1]            # 需要材料的数据库编号
 材料种类 = [0, 2]         # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [5, 1]         # 需要材料的数量
 成品 = 5                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[1] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 2 号合成物品设定 (陨石矿×5 + 见习刀 = 一文字)
 ##########################################################################
 材料 = [30, 49]           # 需要材料的数据库编号
 材料种类 = [0, 2]         # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [5, 1]         # 需要材料的数量
 成品 = 54                 # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[2] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 
 
 
 ##########################################################################
 # 1 号合成物品设定 (红云)
 ##########################################################################
 材料 = [1, 29, 62,53]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 6                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[3] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (炎麟)
 ##########################################################################
 材料 = [1, 33,45,47]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 7                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[4] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (紫耀)
 ##########################################################################
 材料 = [2, 34,65,63]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 8                  # 获得物品编号
 成品种类 = 2             # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[5] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (严雪)
 ##########################################################################
 材料 = [2, 32,51,66]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 9                 # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[6] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (闪•龙牙)
 ##########################################################################
 材料 = [2, 30,56,46,84]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 10                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[7] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘刃•刺杀)
 ##########################################################################
 材料 = [3, 31,70,59,48]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 11                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[8] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名剑•巨严)
 ##########################################################################
 材料 = [3, 33,50,54,57]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 12                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[9] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔刃•混沌)
 ##########################################################################
 材料 = [3, 30,64,85,49]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 13                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[10] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•碧落)
 ##########################################################################
 材料 = [4, 31,66,86,61]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 = 14                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[11] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•嗜血)
 ##########################################################################
 材料 = [4, 34,79,67,60,43]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 15                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[12] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (暗云)
 ##########################################################################
 材料 = [17, 30, 70,72]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 21                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[13] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (白刃)
 ##########################################################################
 材料 = [17, 34, 55,45]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 22                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[14] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (圣炎)
 ##########################################################################
 材料 = [17, 33, 82,84]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 23                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[15] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (龙啸)
 ##########################################################################
 材料 = [18, 29, 84,71]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 24                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[16] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神雷)
 ##########################################################################
 材料 = [18, 34, 52,83]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 25                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[17] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (龙十字)
 ##########################################################################
 材料 = [18, 32, 82,65,48]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 26                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[18] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘刃•青龙)
 ##########################################################################
 材料 = [19, 32,50,72,67]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 27                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[19] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名枪•炎甲)
 ##########################################################################
 材料 = [19, 33,54,84,57]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 28                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[20] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔刃•青罡)
 ##########################################################################
 材料 = [19, 32,59,47,86]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 29                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[21] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•摘星)
 ##########################################################################
 材料 = [20, 31,79,80,81]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 =30                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[22] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•天地)
 ##########################################################################
 材料 = [20, 29,82,48,69,58]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 31                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[23] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (冰晶)
 ##########################################################################
 材料 = [33, 32, 51,79]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =37                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[24] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (岩封)
 ##########################################################################
 材料 = [33, 31, 55,46]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =38                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[25] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (银刃)
 ##########################################################################
 材料 = [33, 34, 72,56]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 39                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[26] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (锐锋)
 ##########################################################################
 材料 = [34, 33, 56,82]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 40                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[27] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (陨金)
 ##########################################################################
 材料 = [34, 30, 54,68]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 41                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[28] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (漆牙)
 ##########################################################################
 材料 = [34, 33, 70,59,49]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 42                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[29] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘刃•轼神)
 ##########################################################################
 材料 = [35, 30,52,63,86]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 43                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[30] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名匕•圣钩)
 ##########################################################################
 材料 = [35, 33,45,83,67]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 44                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[31] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔刃•诛仙)
 ##########################################################################
 材料 = [35, 34,68,85,48]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 45                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[32] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•彩虹)
 ##########################################################################
 材料 = [36, 29,52,57,69]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 =46                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[33] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•晶泪)
 ##########################################################################
 材料 = [36, 32,47,86,60,42]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 47                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[34] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (蓝月)
 ##########################################################################
 材料 = [49, 32, 65,66]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =53                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[35] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (血莲)
 ##########################################################################
 材料 = [49, 33, 53,71]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 55                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[36] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (曲牙)
 ##########################################################################
 材料 = [50, 34, 64,56]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 56                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[37] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (圆月)
 ##########################################################################
 材料 = [50, 30, 52,82]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 57                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[38] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魂咬)
 ##########################################################################
 材料 = [50, 31, 41,62,57]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 58                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[39] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘刃•追影)
 ##########################################################################
 材料 = [51, 29,84,52,48]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 59                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[40] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名刀•珠刃)
 ##########################################################################
 材料 = [51, 33,47,46,80]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 60                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[41] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔刃•村正)
 ##########################################################################
 材料 = [51, 30,54,83,57]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 61                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[42] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•雁翎)
 ##########################################################################
 材料 = [52, 29,53,80,61]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 =62                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[43] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•龙咬)
 ##########################################################################
 材料 = [52, 31,84,49,81,44]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 63                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[44] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (兽牙)
 ##########################################################################
 材料 = [65, 31, 56,45]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =69                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[45] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (争战)
 ##########################################################################
 材料 = [65, 33, 72,55]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 70                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[46] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (残月)
 ##########################################################################
 材料 = [65, 30, 41,66]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 71                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[47] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (泰坦)
 ##########################################################################
 材料 = [66, 34, 83,46]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 72                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[48] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (精灵)
 ##########################################################################
 材料 = [66, 32, 59,82]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 73                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[49] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (圣徒)
 ##########################################################################
 材料 = [66, 29, 45,71,80]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 74                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[50] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘刃•暗杀)
 ##########################################################################
 材料 = [67, 30,47,85,49]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 75                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[51] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名斧•血腥)
 ##########################################################################
 材料 = [67, 33,72,63,48]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 76                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[52] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔刃•琉璃)
 ##########################################################################
 材料 = [67, 34,54,70,57]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 77                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[53] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•断翼)
 ##########################################################################
 材料 = [68, 32,70,86,61]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 =78                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[54] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•灭世)
 ##########################################################################
 材料 = [68, 29,83,67,60,58]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 79                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[55] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神佑)
 ##########################################################################
 材料 = [81, 33, 52,51]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =85                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[56] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (战争)
 ##########################################################################
 材料 = [81, 34, 82,52]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 86                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[57] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (银顶)
 ##########################################################################
 材料 = [81, 32, 50,62]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =87                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[58] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (金顶)
 ##########################################################################
 材料 = [82, 31, 72,79]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 88                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[59] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (时之序)
 ##########################################################################
 材料 = [82, 32, 83,65]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 89                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[60] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (七彩神金)
 ##########################################################################
 材料 = [82, 29, 68,59,86]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 90                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[61] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘锤•凤翔)
 ##########################################################################
 材料 = [83, 30,47,53,80]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 91                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[62] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名锤•琅玡)
 ##########################################################################
 材料 = [83, 34,71,64,86]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 92                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[63] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔锤•末日)
 ##########################################################################
 材料 = [83, 30,53,84,49]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 93                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[64] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•封魔)
 ##########################################################################
 材料 = [84, 31,45,80,69]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 =94                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[65] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•封魂)
 ##########################################################################
 材料 = [84, 29,55,48,69,43]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 95                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[66] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (月牙)
 ##########################################################################
 材料 = [97, 30, 50,47]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =101                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[67] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (月圆)
 ##########################################################################
 材料 = [97, 30, 41,63]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =102                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[68] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (花轮)
 ##########################################################################
 材料 = [97, 31, 72,82]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =103                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[69] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (圣徒)
 ##########################################################################
 材料 = [98, 33, 65,53]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 104                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[70] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (如意)
 ##########################################################################
 材料 = [98, 33, 64,66]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 105                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[71] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (至尊)
 ##########################################################################
 材料 = [98, 34, 68,79,48]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 106                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[72] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘棍•银龙)
 ##########################################################################
 材料 = [99, 32,51,59,57]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 107                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[73] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名棍•金龙)
 ##########################################################################
 材料 = [99, 33,71,85,67]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 108                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[74] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔棍•聚血)
 ##########################################################################
 材料 = [99, 30,56,45,49]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 109                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[75] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•天狼)
 ##########################################################################
 材料 = [100, 33,54,80,81]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 =110                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[76] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•翔龙)
 ##########################################################################
 材料 = [100, 29,84,79,86,44]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 111                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[77] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (贤者)
 ##########################################################################
 材料 = [113, 31, 41,72]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =117                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[78] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (控兽)
 ##########################################################################
 材料 = [113, 34, 55,53]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 118                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[79] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (巫法)
 ##########################################################################
 材料 = [113, 32, 52,68]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 =119                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[80] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (圣女)
 ##########################################################################
 材料 = [114, 29, 52,82]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 120                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[81] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (元素)
 ##########################################################################
 材料 = [114, 32, 55,70]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5]      # 需要材料的数量
 成品 = 121                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[82] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (瑟芬斯)
 ##########################################################################
 材料 = [114, 29, 63,83,80]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 2,5,5,5]      # 需要材料的数量
 成品 = 122                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[83] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (秘杖•神谕)
 ##########################################################################
 材料 = [115, 30,83,62,86]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,10]      # 需要材料的数量
 成品 = 123                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[84] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (名杖•圣使)
 ##########################################################################
 材料 = [115, 29,71,59,48]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 124                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[85] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (魔杖•混乱)
 ##########################################################################
 材料 = [115, 30,45,62,49]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 5,10,10,5]      # 需要材料的数量
 成品 = 125                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[86] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (神器•水晶)
 ##########################################################################
 材料 = [116, 34,52,67,61]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,5,1]      # 需要材料的数量
 成品 =126                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[87] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 ##########################################################################
 # 1 号合成物品设定 (无双•天使)
 ##########################################################################
 材料 = [116, 29,50,59,61,42]          # 需要材料的数据库编号
 材料种类 = [2, 0,0,0,0,0]      # 需要材料的种类,0是普通物品,1是防具,2是武器
 材料数量 = [1, 10,20,10,1,1]      # 需要材料的数量
 成品 = 127                  # 获得物品编号
 成品种类 = 2              # 获得物品种类,0是普通物品,1是防具,2是武器
 @recipe_list[88] = Game_Recipe.new(材料,材料种类, 材料数量,成品,成品种类)
 
 
 
 
 
 
 
 end # of get_recipe_list method
 end # of updates to Game_Temp Class
 
 #================================
 # CRAFTING PROGRAM
 #----------------------------------------------------------------
 #-written by Deke
 #-yes_no window code created by Phsylomortis
 #----------------------------------------------------------------
 #================================
 
 #updates to Game_Party class
 
 class Game_Party
 
 attr_accessor       :recipes
 
 alias crafting_party_initialize initialize
 
 def initialize
 crafting_party_initialize
 @recipes=[]
 end
 
 #----------------------------------------------------------------------
 def know?(recipe, version = 1)
 unless recipe.is_a?(Game_Recipe)
 recipe = get_recipe_from_master_list(recipe, version)
 end
 return $game_party.recipes.include?(recipe)
 end
 
 #----------------------------------------------------------------------
 def learn_recipe(recipe , version = 1)
 unless recipe.is_a?(Game_Recipe)
 recipe = get_recipe_from_master_list(recipe, version)
 end
 if recipe.is_a?(Game_Recipe)
 unless know?(recipe)
 @recipes.push(recipe)
 end
 end
 end
 
 #----------------------------------------------------------------------
 def forget_recipe(recipe , version = 1)
 if !recipe.is_a?(Game_Recipe)
 recipe = get_recipe_from_master_list(recipe, version)
 end
 if recipe.is_a?(Game_Recipe)
 for i in [email protected]
 if recipe == @recipes
 index = i
 break
 end
 end
 if index != nil
 @recipes.delete(@recipes[index])
 end
 end
 end
 
 #----------------------------------------------------------------------
 def get_recipe_from_master_list(item, version)
 index = nil
 for i in 0...$game_temp.recipe_list.size
 if item[0] == $game_temp.recipe_list.result and item[1] ==$game_temp.recipe_list.result_type
 version -= 1
 if version == 0
 index = i
 break
 end
 end
 end
 if index.is_a?(Integer)
 return ($game_temp.recipe_list[index])
 else
 return false
 end
 end
 
 end # of Game_Party updates
 
 #================================
 class Game_Recipe
 
 attr_reader :ingredients
 attr_reader :quantities
 attr_reader :result
 attr_reader :result_type
 attr_reader :ingredient_types
 
 #----------------------------------------------------------------------
 def initialize( ingredients, ingredient_types, quantities, result, result_type)
 @ingredients = ingredients
 @ingredient_types = ingredient_types
 @quantities = quantities
 @result = result
 @result_type = result_type
 end
 
 #----------------------------------------------------------------------
 def name
 case @result_type
 when 0
 name = $data_items[@result].name
 when 1
 name = $data_armors[@result].name
 when 2
 name = $data_weapons[@result].name
 end
 return name
 end
 
 #----------------------------------------------------------------------
 def have
 have_all = true
 for i in [email protected]
 case @ingredient_types
 when 0
 if $game_party.item_number(@ingredients) < @quantities
 have_all=false
 end
 when 1
 if $game_party.armor_number(@ingredients) < @quantities
 have_all=false
 end
 when 2
 if $game_party.weapon_number(@ingredients) < @quantities
 have_all=false
 end
 end
 end
 return have_all
 end
 
 #----------------------------------------------------------------------
 def decrement
 for i in [email protected]
 case @ingredient_types
 when 0
 $game_party.lose_item(@ingredients, @quantities)
 when 1
 $game_party.lose_armor(@ingredients, @quantities)
 when 2
 $game_party.lose_weapon(@ingredients, @quantities)
 end
 end
 end
 
 #----------------------------------------------------------------------
 def make
 if have
 case @result_type
 when 0
 $game_party.gain_item(@result, 1)
 when 1
 $game_party.gain_armor(@result, 1)
 when 2
 $game_party.gain_weapon(@result, 1)
 end
 decrement
 end
 end
 
 #----------------------------------------------------------------------
 def == (recipe)
 if recipe.is_a?(Game_Recipe)
 equal = true
 if recipe.ingredients != self.ingredients
 equal = false
 end
 if recipe.ingredient_types != self.ingredient_types
 equal = false
 end
 if recipe.quantities != self.quantities
 equal = false
 end
 if recipe.result != self.result
 equal=false
 end
 if recipe.result_type != self.result_type
 equal = false
 end
 else
 equal = false
 end
 return equal
 end
 
 end # of Game_Recipe class
 
 #===================================
 
 class Window_Craft < Window_Selectable
 
 #--------------------------------------------------------------------------
 def initialize
 super(0, 64, 240, 416)
 @column_max = 1
 refresh
 self.index = 0
 end
 
 #--------------------------------------------------------------------------
 def recipe
 return @data[self.index]
 end
 
 #--------------------------------------------------------------------------
 def refresh
 if self.contents != nil
 self.contents.dispose
 self.contents = nil
 end
 @data = []
 for i in 0...$game_party.recipes.size
 @data.push($game_party.recipes)
 end
 @item_max = @data.size
 if @item_max > 0
 self.contents = Bitmap.new(width - 32, row_max * 32)
 self.contents.font.name = "黑体" # = "黑体"
 self.contents.font.size = 18 # = 18
 for i in 0...@item_max
 draw_item(i)
 end
 end
 end
 
 #--------------------------------------------------------------------------
 def draw_item(index)
 recipe = @data[index]
 self.contents.font.color = recipe.have ? normal_color : disabled_color
 x = 16
 y = index * 32
 self.contents.draw_text(x , y, self.width-32, 32, recipe.name, 0)
 end
 
 #--------------------------------------------------------------------------
 def update_help
 current_recipe = recipe
 if current_recipe.is_a?(Game_Recipe)
 case current_recipe.result_type
 when 0
 description = $data_items[current_recipe.result].description
 when 1
 description = $data_armors[current_recipe.result].description
 when 2
 description = $data_weapons[current_recipe.result].description
 end
 else
 description = ""
 end
 @help_window.set_text(description)
 @help_window.update
 end
 
 end # of Window_Craft
 
 #=======================================
 class Window_CraftResult < Window_Base
 
 #--------------------------------------------------------------------------
 def initialize
 super(240, 64, 400, 184)
 self.contents = Bitmap.new(width - 32, height - 32)
 self.contents.font.name = "黑体" # = $fontface.is_a?(String) ? $fontface : $defaultfonttype
 self.contents.font.size = 18 # = 20
 @result = nil
 @type = nil
 @old_result = @result
 @old_type = @type
 end
 
 #--------------------------------------------------------------------------
 def refresh
 self.contents.clear
 case @type
 when 0
 item = $data_items[@result]
 if item.recover_hp_rate > item.recover_hp
 hp_string = "HP回复率:"
 hp_stat = item.recover_hp_rate
 else
 hp_string = "HP回复量:"
 hp_stat = item.recover_hp
 end
 if item.recover_sp_rate > item.recover_sp
 sp_string = "SP回复率:"
 sp_stat = item.recover_sp_rate
 else
 sp_string = "SP回复量:"
 sp_stat = item.recover_sp
 end
 @strings = [hp_string, sp_string, "物理防御:" , "魔法防御:", "命中率:", "分散度:"]
 @stats = [hp_stat, sp_stat, item. pdef_f, item.mdef_f, item.hit, item.variance,
 $game_party.item_number(@result)]
 @bitmap = RPG::Cache.icon(item.icon_name)
 when 1
 item = $data_armors[@result]
 @strings = ["物理防御:", "魔法防御:", "回避修正:", "力量增加:", "灵巧增加:",
 "速度增加:", "魔力增加:"]
 @stats = [item.pdef, item.mdef, item.eva, item.str_plus, item.dex_plus,
 item.agi_plus, item.int_plus, $game_party.armor_number(@result) ]
 @bitmap = RPG::Cache.icon(item.icon_name)
 when 2
 item = $data_weapons[@result]
 @strings =["攻击力:", "物理防御:", "魔法防御:", "力量增加:", "灵巧增加:",
 "速度增加:", "魔力增加:"]
 @stats = [item.atk, item.pdef, item.mdef, item.str_plus, item.dex_plus,
 item.agi_plus, item.int_plus, $game_party.weapon_number(@result) ]
 @bitmap = RPG::Cache.icon(item.icon_name)
 end
 for i in [email protected]
 x = i%2 * 184
 y = i /2 *28 +32
 self.contents.font.color = normal_color
 self.contents.draw_text(x,y,100, 28,@strings)
 self.contents.font.color = system_color
 self.contents.draw_text(x + 110, y, 45, 28, @stats.to_s)
 end
 self.contents.blt(0, 0, @bitmap, Rect.new(0, 0, 24, 24), 255)
 self.contents.font.color= normal_color
 self.contents.draw_text(40, 0, 300, 28, "待合成物品的现有数量:")
 self.contents.font.color = system_color
 count = @stats[@stats.size - 1].to_s
 self.contents.draw_text(294, 0, 45, 28, count )
 end
 
 #----------------------------------------------------------------------
 def set_result(result , type)
 @result = result
 @type = type
 if @old_result != @result or @old_type != type
 @old_result = @result
 @old_type = @type
 refresh
 end
 end
 
 end #of Window_CraftResult
 
 #=======================================
 class Window_CraftIngredients < Window_Base
 
 #--------------------------------------------------------------------------
 def initialize
 super(240, 248, 400, 232)
 self.contents = Bitmap.new(width - 32, height - 32)
 self.contents.font.name = "黑体" # = $fontface.is_a?(String) ? $fontface : $defaultfonttype
 self.contents.font.size = 18 # = 20
 @ingredients = []
 @types = []
 @quantities = []
 @old_ingredients = @ingredients
 @old_types = @types
 @old_quantities = @quantities
 @item = nil
 @count = 0
 end
 
 #--------------------------------------------------------------------------
 def refresh
 self.contents.clear
 for i in [email protected]
 case @types
 when 0
 @item = $data_items[@ingredients]
 @count = $game_party.item_number(@ingredients)
 when 1
 @item = $data_armors[@ingredients]
 @count = $game_party.armor_number(@ingredients)
 when 2
 @item = $data_weapons[@ingredients]
 @count = $game_party.weapon_number(@ingredients)
 end
 y = i *26
 self.contents.blt(0, y, RPG::Cache.icon(@item.icon_name), Rect.new(0, 0, 24, 24), 255)
 self.contents.font.color = @count >= @quantities ? normal_color : disabled_color
 self.contents.draw_text(30, y, 280, 28, @item.name)
 self.contents.draw_text(300, y, 45, 28, @quantities.to_s)
 self.contents.font.color = system_color
 self.contents.draw_text(245, y, 45, 28, @count.to_s )
 end
 end
 
 #--------------------------------------------------------------------------
 def set_ingredients(ingredients , types, quantities)
 @ingredients = ingredients
 @types = types
 @quantities = quantities
 if @ingredients != @old_ingredients or @types != @old_types or @quantities != @old_quantities
 @old_ingredients = @ingredients
 @old_types = @types
 @old_quantities = @quantities
 refresh
 end
 end
 
 end # of Window_CraftIngredients
 
 #======================================
 class Scene_Craft
 
 #--------------------------------------------------------------------------
 def initialize(craft_index=0)
 @craft_index=craft_index
 end
 
 #--------------------------------------------------------------------------
 def main
 @craft_window = Window_Craft.new
 @craft_window.index=@craft_index
 @confirm_window = Window_Base.new(120, 188, 400, 64)
 @confirm_window.contents = Bitmap.new(368, 32)
 @confirm_window.contents.font.name = "黑体"
 @confirm_window.contents.font.size = 20
 @help_window = Window_Help.new
 @craft_window.help_window = @help_window
 @result_window=Window_CraftResult.new
 @ingredients_window=Window_CraftIngredients.new
 
 @result_window.set_result(@craft_window.recipe.result, @craft_window.recipe.result_type)
 @ingredients_window.set_ingredients(@craft_window.recipe.ingredients,
 @craft_window.recipe.ingredient_types,
 @craft_window.recipe.quantities)
 
 @yes_no_window = Window_Command.new(100, ["确定", "放弃"])
 @confirm_window.visible = false
 @confirm_window.z = 1500
 @yes_no_window.visible = false
 @yes_no_window.active = false
 @yes_no_window.index = 1
 @yes_no_window.x = 270
 @yes_no_window.y = 252
 @yes_no_window.z = 1500
 @label_window = Window_Base.new(450,200,190,52)
 @label_window.contents=Bitmap.new(@label_window.width - 32,@label_window.height - 32)
 @label_window.contents.font.size=20
 @label_window.contents.font.color = @label_window.normal_color
 @label_window.contents.font.name = "黑体"
 @label_window.contents.draw_text(0, 0, @label_window.contents.width, 20, "  现有   需要")
 Graphics.transition
 loop do
 Graphics.update
 Input.update
 update
 if $scene != self
 break
 end
 end
 Graphics.freeze
 @help_window.dispose
 @craft_window.dispose
 @result_window.dispose
 @ingredients_window.dispose
 @confirm_window.dispose
 @yes_no_window.dispose
 @label_window.dispose
 end
 
 #--------------------------------------------------------------------------
 def update
 @craft_window.update
 @ingredients_window.update
 if $game_party.recipes.size > 0
 @result_window.set_result(@craft_window.recipe.result, @craft_window.recipe.result_type)
 @ingredients_window.set_ingredients(@craft_window.recipe.ingredients,
 @craft_window.recipe.ingredient_types,
 @craft_window.recipe.quantities)
 end
 if @craft_window.active
 update_craft
 return
 end
 if @yes_no_window.active
 confirm_update
 return
 end
 end
 
 #--------------------------------------------------------------------------
 def update_craft
 if Input.trigger?(Input::B)
 $game_system.se_play($data_system.cancel_se)
 $scene = Scene_Map.new
 return
 end
 if Input.trigger?(Input::C) and $game_party.recipes.size != 0
 @recipe = @craft_window.recipe
 if @recipe.have
 @yes_no_window.active = true
 @craft_window.active = false
 else
 $game_system.se_play($data_system.buzzer_se)
 return
 end
 end
 end
 
 #--------------------------------------------------------------------------
 def confirm_update
 @craft_index = @craft_window.index
 @confirm_window.visible = true
 @confirm_window.z = 1500
 @yes_no_window.visible = true
 @yes_no_window.active = true
 @yes_no_window.z = 1500
 @yes_no_window.update
 string = "合成 " + @recipe.name + "?"
 cw = @confirm_window.contents.text_size(string).width
 center = @confirm_window.contents.width/2 - cw /2
 unless @drawn
 @confirm_window.contents.draw_text(center, 0, cw, 30, string)
 @drawn = true
 end
 if Input.trigger?(Input::C)
 if @yes_no_window.index == 0
 $game_system.se_play($data_system.decision_se)
 @recipe.make
 $game_system.se_play($data_system.save_se)
 $scene=Scene_Craft.new(@craft_index)
 else
 $game_system.se_play($data_system.cancel_se)
 $scene=Scene_Craft.new(@craft_index)
 end
 end
 if Input.trigger?(Input::B)
 $game_system.se_play($data_system.cancel_se)
 $scene=Scene_Craft.new(@craft_index)
 end
 end
 
 end # of Scene_Craft
 
 #==============================================================================
 # 本脚本来自www.66RPG.com,使用和转载请保留此信息
 #==============================================================================
 
 | 
 |