forked from metin2/server
485 lines
12 KiB
Plaintext
485 lines
12 KiB
Plaintext
|
quest main_quest_lv60 begin
|
|||
|
state start begin
|
|||
|
when login or levelup or enter with pc.get_level() >= 60 begin
|
|||
|
if pc.getf("main_quest_lv55", "__status")==main_quest_lv55.__COMPLETE__ then
|
|||
|
set_state ( quest1_begin )
|
|||
|
end
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state run begin
|
|||
|
when login or levelup or enter with pc.get_level() >= 60 begin
|
|||
|
set_state ( quest1_begin )
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state quest1_begin begin
|
|||
|
when letter begin --<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>1
|
|||
|
send_letter(gameforge.main_quest_lv60._10_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.
|
|||
|
local vid_20011 = find_npc_by_vnum(20011)
|
|||
|
if 0 != vid_20011 then
|
|||
|
target.vid("__TARGET__", vid_20011, mob_name(20011))
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
when button or info begin -- <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>1 <20><><EFBFBD><EFBFBD>
|
|||
|
say_title(gameforge.main_quest_lv60._10_sendLetter)
|
|||
|
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._20_say)
|
|||
|
say("")
|
|||
|
|
|||
|
end
|
|||
|
|
|||
|
when __TARGET__.target.click begin
|
|||
|
target.delete("__TARGET__")
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._30_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(pc.getname())
|
|||
|
say(gameforge.main_quest_lv60._40_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._50_say)
|
|||
|
say("")
|
|||
|
|
|||
|
set_state ( quest2_begin )
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state quest2_begin begin
|
|||
|
-----------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>2------------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._60_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.
|
|||
|
local v = find_npc_by_vnum(20011)
|
|||
|
if 0 != v then
|
|||
|
target.vid("__TARGET__", v, mob_name(20011))
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._60_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._70_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
when __TARGET__.target.click begin
|
|||
|
target.delete("__TARGET__")
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._80_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._90_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(pc.getname())
|
|||
|
say(gameforge.main_quest_lv60._100_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._110_say)
|
|||
|
|
|||
|
set_state (quest2_ongoing)
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state quest2_ongoing begin --<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȭ<EFBFBD>ϰ<EFBFBD> Ź<><C5B9><EFBFBD><EFBFBD> <20>ƿ<DEBE><C6BF><EFBFBD><EFBFBD><EFBFBD> <20>̼<EFBFBD><CCBC><EFBFBD> <20>Ҵ<DEBE>.
|
|||
|
-----------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>2------------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._60_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>. (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> npc<70><63> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.)
|
|||
|
local v = find_npc_by_vnum(20371)
|
|||
|
if 0 != v then
|
|||
|
target.vid("__TARGET__", v, mob_name(20371))
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._60_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._120_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD> <20>ش<EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD>õ<EFBFBD> <20><>ȭ<EFBFBD><C8AD> <20><><EFBFBD><EFBFBD> <20><> <20>ִ<EFBFBD>.
|
|||
|
when 20011.gameforge.main_quest_lv60._60_sendLetter begin
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._130_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
--<2D><><EFBFBD>ϱ<EFBFBD><CFB1><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
when 20371.click begin
|
|||
|
target.delete("__TARGET__")
|
|||
|
say_reward(gameforge.main_quest_lv60._140_sayReward)
|
|||
|
pc.give_item2 ( 31001 )
|
|||
|
say("")
|
|||
|
|
|||
|
set_state (quest2_end)
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
--<2D><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ź<><C5B9><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
state quest2_end begin
|
|||
|
-----------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>2------------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._60_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.
|
|||
|
local v = find_npc_by_vnum(20011)
|
|||
|
if 0 != v then
|
|||
|
target.vid("__TARGET__", v, mob_name(20011))
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._60_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._150_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
when __TARGET__.target.click begin
|
|||
|
pc.remove_item ( 31001, 1 )
|
|||
|
target.delete("__TARGET__")
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._160_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._170_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._180_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(locale.reward)
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._190_sayReward, 980000))
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._200_sayReward, 175000))
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._210_sayReward, item_name(71001).." ".."10"..locale.count_postfix))
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._210_sayReward, item_name(50721).." ".."10"..locale.count_postfix))
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._210_sayReward, item_name(50725).." ".."10"..locale.count_postfix))
|
|||
|
say("")
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> --
|
|||
|
-- <20>̰<EFBFBD><CCB0><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD>.
|
|||
|
pc.give_exp2(980000)
|
|||
|
pc.change_money(175000)
|
|||
|
|
|||
|
pc.give_item2(71001, 10) -- <20>־ȼ<D6BE><C8BC><EFBFBD>
|
|||
|
pc.give_item2(50721, 10) -- <20><><EFBFBD><EFBFBD><EFBFBD>Ʋ<EFBFBD>
|
|||
|
pc.give_item2(50725, 10) -- <20><>â<EFBFBD><C3A2>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
set_state (quest3_begin)
|
|||
|
end
|
|||
|
|
|||
|
end
|
|||
|
|
|||
|
state quest3_begin begin
|
|||
|
-------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>3---------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.
|
|||
|
local v = find_npc_by_vnum(20011)
|
|||
|
if 0 != v then
|
|||
|
target.vid("__TARGET__", v, mob_name(20011))
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._230_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
when __TARGET__.target.click begin
|
|||
|
target.delete("__TARGET__")
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._240_say)
|
|||
|
say("")
|
|||
|
|
|||
|
set_state (quest3_ongoing1)
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state quest3_ongoing1 begin
|
|||
|
-------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>3---------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><>ġ<EFBFBD><C4A1> ǥ<><C7A5><EFBFBD>Ѵ<EFBFBD>.--
|
|||
|
--------------------------------
|
|||
|
--------------------------------
|
|||
|
end
|
|||
|
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._230_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD> <20>ش<EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD>õ<EFBFBD> <20><>ȭ<EFBFBD><C8AD> <20><><EFBFBD><EFBFBD> <20><> <20>ִ<EFBFBD>.
|
|||
|
when 20011.chat.gameforge.main_quest_lv60._220_sendLetter begin
|
|||
|
say_title(mob_name(20011))
|
|||
|
say(gameforge.main_quest_lv60._260_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1000<30><30><EFBFBD><EFBFBD> 1 Ȯ<><C8AE><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ش<EFBFBD>.
|
|||
|
when 2305.kill begin
|
|||
|
if number (1,100) == 1 then
|
|||
|
pc.give_item2 (31002, 1 )
|
|||
|
say_reward(gameforge.main_quest_lv60._270_sayReward)
|
|||
|
say("")
|
|||
|
|
|||
|
--3.<2E><><EFBFBD><EFBFBD>
|
|||
|
set_state (quest3_end1)
|
|||
|
end
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
-- <20><><EFBFBD>빮<EFBFBD><EBB9AE><EFBFBD><EFBFBD> <20>ϳ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD>.
|
|||
|
state quest3_end1 begin
|
|||
|
-------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>3---------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.
|
|||
|
local v = find_npc_by_vnum(20011)
|
|||
|
if 0 != v then
|
|||
|
target.vid("__TARGET__", v, mob_name(20011))
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._230_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
|
|||
|
when __TARGET__.target.click begin
|
|||
|
target.delete("__TARGET__")
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._280_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
--@@@@@@@@@<40><><EFBFBD><EFBFBD>@@@@@@@@@@--
|
|||
|
--1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʴ´<CAB4>.
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
pc.remove_item (31002, 1 )
|
|||
|
say(gameforge.main_quest_lv60._290_say)
|
|||
|
say("")
|
|||
|
|
|||
|
set_state (quest3_ongoing2)
|
|||
|
end
|
|||
|
|
|||
|
end
|
|||
|
|
|||
|
state quest3_ongoing2 begin
|
|||
|
--<2D><> <20><><EFBFBD>¿<EFBFBD> ó<><C3B3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Ǹ<EFBFBD> '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>' <20><><EFBFBD><EFBFBD>Ʈ <20>÷<EFBFBD><C3B7><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD>.
|
|||
|
-- <20>ʱⰪ<CAB1><E2B0AA> 9<><39> <20><><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1<><31> <20>ٿ<EFBFBD> 0<><30><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>.
|
|||
|
-- 0<><30> <20>Ǹ<EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><>ȭ<EFBFBD><C8AD>Ų<EFBFBD><C5B2>.
|
|||
|
when enter begin
|
|||
|
pc.setqf("remain_item",9)
|
|||
|
end
|
|||
|
|
|||
|
--*************************--
|
|||
|
-------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>3_1---------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><>ġ<EFBFBD><C4A1> ǥ<><C7A5><EFBFBD>Ѵ<EFBFBD>.--
|
|||
|
--------------------------------
|
|||
|
--------------------------------
|
|||
|
end
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._230_say)
|
|||
|
say("")
|
|||
|
q.set_counter(gameforge.main_quest_lv60._250_counter, pc.getqf("remain_item"))
|
|||
|
end
|
|||
|
-----------------------------
|
|||
|
--*************************--
|
|||
|
|
|||
|
|
|||
|
|
|||
|
--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1000<30><30><EFBFBD><EFBFBD> 1 Ȯ<><C8AE><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ٿ<EFBFBD><D9BF>ش<EFBFBD>.
|
|||
|
when 2305.kill begin
|
|||
|
if number (1,100) == 1 then
|
|||
|
local remain_item_prev = pc.getqf("remain_item")
|
|||
|
pc.setqf("remain_item",remain_item_prev-1)
|
|||
|
|
|||
|
pc.give_item2 (31002, 1 )
|
|||
|
notice(string.format(gameforge.main_quest_lv60._300_say,pc.getqf("remain_item")))
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20>Ѿ<D1BE><EEB0A3>.
|
|||
|
if pc.getqf("remain_item")==0 then
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><>ġ ǥ<>ø<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ش<EFBFBD> --
|
|||
|
-------------------------------------
|
|||
|
-------------------------------------
|
|||
|
set_state (quest3_end2)
|
|||
|
end
|
|||
|
end
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state quest3_end2 begin
|
|||
|
--*************************--
|
|||
|
-------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>3_1---------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.
|
|||
|
local v = find_npc_by_vnum(20011)
|
|||
|
if 0 != v then
|
|||
|
target.vid("__TARGET__", v, mob_name(20011))
|
|||
|
end
|
|||
|
end
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._220_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._230_say)
|
|||
|
say("")
|
|||
|
q.set_counter(gameforge.main_quest_lv60._250_counter, pc.getqf("remain_item"))
|
|||
|
end
|
|||
|
-----------------------------
|
|||
|
--*************************--
|
|||
|
|
|||
|
when __TARGET__.target.click begin
|
|||
|
target.delete("__TARGET__")
|
|||
|
pc.remove_item (31002, pc.count_item (31002) )
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._310_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._320_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._330_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(locale.reward)
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._190_sayReward, 3300000))
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._210_sayReward, item_name(71094).." ".."3"..locale.count_postfix))
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._210_sayReward, item_name(30056)))
|
|||
|
say_reward(string.format(gameforge.main_quest_lv60._210_sayReward, item_name(30025)))
|
|||
|
say("")
|
|||
|
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> --
|
|||
|
pc.give_exp2(3300000)
|
|||
|
|
|||
|
pc.give_item2(71094, 3) -- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> * 3
|
|||
|
pc.give_item2(30056) -- <20>Ź<EFBFBD><C5B9><EFBFBD>
|
|||
|
pc.give_item2(30025) -- <20>Ź<EFBFBD><C5B9><EFBFBD> <20><><EFBFBD>ָӴ<D6B8>
|
|||
|
|
|||
|
set_state (quest4_begin)
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state quest4_begin begin
|
|||
|
--*************************--
|
|||
|
-------<2D><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD>4-----------
|
|||
|
when letter begin
|
|||
|
send_letter(gameforge.main_quest_lv60._340_sendLetter)
|
|||
|
|
|||
|
-- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ų<EFBFBD><C5B2>.
|
|||
|
local v = find_npc_by_vnum(20011)
|
|||
|
if 0 != v then
|
|||
|
target.vid("__TARGET__", v, mob_name(20011))
|
|||
|
end
|
|||
|
end
|
|||
|
when button or info begin
|
|||
|
say_title(gameforge.main_quest_lv60._340_sendLetter)
|
|||
|
say(gameforge.main_quest_lv60._350_say)
|
|||
|
say("")
|
|||
|
end
|
|||
|
-----------------------------
|
|||
|
--*************************--
|
|||
|
|
|||
|
|
|||
|
when __TARGET__.target.click begin
|
|||
|
target.delete("__TARGET__")
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._360_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._370_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(pc.getname())
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._380_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._390_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
say_title(mob_name(20011))
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say(gameforge.main_quest_lv60._400_say)
|
|||
|
say("")
|
|||
|
wait()
|
|||
|
|
|||
|
----"12345678901234567890123456789012345678901234567890"|
|
|||
|
say_reward(gameforge.main_quest_lv60._410_sayReward)
|
|||
|
say("")
|
|||
|
|
|||
|
--@@@ <20><><EFBFBD><EFBFBD> @@@--
|
|||
|
--1. <20><><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><>Ÿ<EFBFBD><C5B8><EFBFBD><EFBFBD>.
|
|||
|
clear_letter()
|
|||
|
set_quest_state ("main_quest_lv66", "state_0")
|
|||
|
set_state (__COMPLETE__)
|
|||
|
end
|
|||
|
end
|
|||
|
|
|||
|
state __COMPLETE__ begin
|
|||
|
when enter begin
|
|||
|
q.done()
|
|||
|
end
|
|||
|
end
|
|||
|
end
|