-- Lua ½ºÅ©¸³Æ® ¾Ïȣȭ function get_module_name() return "NPC_MerchantWeapon" end -- "ÀÌ°Ç ºüÁ® Àִµ¥ À̰͵µ DB·Î ³Ö¾î¾ß ÇÑ´Ù" ¶ó°í »ý°¢µÇ½Ã´Â -- ºÎºÐµé¿¡ ´ëÇØ¼­´Â ¿¬¶ô ÁÖ¼¼¿è. --============================================================ -- <<<<<< µ¥¹Ù Ãø NPC >>>>>> --============================================================ function NPC_Merchant_Weapon_Deva_init() cprint( "!µ¥¹Ù ¹«±â»óÀÎ °¡µ¿" ) set_npc_name( "@90101300" ) end function NPC_Merchant_Weapon_Deva_contact() dlg_title( "@90101301" ) dlg_text( "@90101302" ) dlg_menu( "@90010062" , "open_market( 'rondoh_weapon' )" ) dlg_menu( "@90010002", '' ) dlg_show() end --============================================================ -- <<<<<< ¾Æ¼ö¶ó Ãø NPC >>>>>> --============================================================ function NPC_Merchant_Weapon_Asura_init() cprint( "!¾Æ¼ö¶ó ¹«±â»óÀÎ °¡µ¿" ) set_npc_name( "@90201300" ) end -- ¹«±â»óÀÎ ¼Ò·» function NPC_Merchant_Weapon_Asura_contact() dlg_title( "@90201301" ) dlg_text( "@90201302" ) dlg_menu( "@90010062" , "open_market( 'rondoh_weapon' )" ) local qstart_text = get_value( "level" ) local quest_progress1 = get_quest_progress(2008) local quest_progress100 = get_quest_progress(2000) -- ¹Ì·¡¸¦ ¿¹¾ðÇÏ´Â ¼Ò³à if qstart_text == 50 or qstart_text > 50 and quest_progress100 == 0 then dlg_menu( "@90999617", "quest_rumor14()" ) end -- ±¤½Åµµ ¾Ï»ìÀÚ if quest_progress1 == 255 then dlg_menu( "@90999842", "quest_witcharmy2()" ) end dlg_menu( "@90010002", '' ) dlg_show() end -- ¼¼ºÎ´ëÈ­ ¼Ò·» function quest_rumor14() -- ´ÙÀ̾ó·Î±× Ãâ·Â dlg_title( "@90201301" ) dlg_text( "@90999620" ) -- ¼¼ºÎ´ëÈ­ 1-1, ¹Ì·¡¸¦ ³»´Ùº¸´Â ¼Ò³à dlg_menu( "@90999621", "quest_rumor_a_11()" ) dlg_menu( "@90010002", '' ) dlg_show() end -- ¼¼ºÎ´ëÈ­ function quest_rumor_a_11() -- ´ÙÀ̾ó·Î±× Ãâ·Â dlg_title( "@90201301" ) dlg_text( "@90999624" ) -- ¼¼ºÎ´ëÈ­ 1-2, ¼Ò³à¿¡ °üÇÑ ½Å»óÁ¤º¸ dlg_menu( "@90999627", "quest_rumor_b_11()" ) dlg_menu( "@90010002", '' ) dlg_show() end -- ¼¼ºÎ´ëÈ­ ·¹»þ¿¡ °üÇÑ Á¤º¸¸¦ ÁØ´Ù. function quest_rumor_b_11() -- ´ÙÀ̾ó·Î±× Ãâ·Â dlg_title( "@90201301" ) dlg_text( "@90999631" ) dlg_menu( "@90010002", '' ) dlg_show() end --============================================================ -- <<<<<< ¼ö·ÃÀÚÀÇ ¼¶ Ãø NPC >>>>>> --============================================================ function NPC_Merchant_Weapon_Beginner_init() cprint( "!¼ö·ÃÀÚÀÇ ¼¶ ¹«±â»óÀÎ °¡µ¿" ) set_npc_name( "@90302100" ) end function NPC_Merchant_Weapon_Beginner_contact() -- ´ÙÀ̾ó·Î±× Ãâ·Â dlg_title( "@90302101" ) dlg_text( "@90302102" ) dlg_menu( "@90010062", "open_market( 'beginner_weapon' )" ) dlg_menu( "@90010002", '' ) dlg_show() end --============================================================ -- <<<<<< °¡ÀÌ¾Æ Ãø NPC >>>>>> --============================================================ function NPC_Merchant_Weapon_Gaia_init() cprint( "!°¡ÀÌ¾Æ ¹«±â»óÀÎ °¡µ¿" ) set_npc_name( "@90401300" ) end function NPC_Merchant_Weapon_Gaia_contact() dlg_title( "@90401301" ) dlg_text( "@90401302" ) dlg_menu( "@90010062" , "open_market( 'rondoh_weapon' )" ) dlg_menu( "@90010002", '' ) dlg_show() end --============================================================ -- <<<<<< ·Ðµµ Ãø NPC >>>>>> --============================================================ function NPC_Merchant_Weapon_Rondoh_contact() dlg_title( "@90601301" ) dlg_text( "@90601302" ) dlg_menu( "@90010062" , "open_market( 'rondoh_weapon' )" ) dlg_menu( "@90010002", '' ) dlg_show() end --============================================================ -- <<<<<< µµ½Ã À¯Àû Ãø NPC >>>>>> --============================================================ function NPC_Merchant_Weapon_Ancient_relic_contact() dlg_title( "@90703801" ) dlg_text( "@90703802" ) dlg_menu( "@90010062" , "open_market( 'rondoh_weapon' )" ) dlg_menu( "@90010002", '' ) dlg_show() end --============================================================ -- <<<<<< ½ÃÅ©·çÆ® Ãø NPC >>>>>> --============================================================ function NPC_Merchant_Weapon_Secroute_contact() -- ´ÙÀ̾ó·Î±× Ãâ·Â dlg_title( "@90701301" ) if is_premium() then dlg_text( "@90701302" ) else dlg_text( "@90700118" ) end -- ½ÃÅ©·çÆ® ÇÁ¸®ÆÐ½º°¡ Ȱ¼ºÈ­µÈ »óÅÂ(ÇÁ¸®¹Ì¾ö ȸ¿ø) if is_premium() then dlg_menu( "@90010062", "open_market( 'secroute_weapon' )" ) end dlg_menu( "@90010002", '' ) dlg_show() end function Quest_Link_105_1() local count = find_item( 1000026 ) if count == 0 then insert_item( 1000026, 1 ) else end end --============================================================ -- <<<<<< Ãʺ¸¹«±â ¾Ï»óÀÎ NPC >>>>>> --============================================================ function NPC_newbie_weapon_sell() -- ´ÙÀ̾ó·Î±× Ãâ·Â dlg_title( "@90610174" ) -- Ãʺ¸¹«±â ¾Ï»óÀÎ dlg_text( "@90610168" ) dlg_menu( "@90610169", "open_market( 'newbie_2rank_weapon' )" ) dlg_menu( "@90610170", "open_market( 'newbie_3rank_weapon' )" ) dlg_menu( "@90610171", "open_market( 'newbie_4rank_weapon' )" ) dlg_menu( "@90610172", "open_market( 'newbie_5rank_weapon' )" ) dlg_menu( "@90610173", "open_market( 'newbie_6rank_weapon' )" ) dlg_menu( "@90010002", '' ) dlg_show() end