forked from metin2/server
61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
|
quest ride_ticket_change begin
|
|||
|
state start begin
|
|||
|
when 20349.chat.gameforge.ride_ticket_change._010_npcChat begin
|
|||
|
say_title(mob_name (20349))
|
|||
|
say(gameforge.ride_ticket_change._020_say)
|
|||
|
wait()
|
|||
|
local items = {pc.get_sig_items(10032)}
|
|||
|
local ticket = nil
|
|||
|
if table.getn (items) > 1 then
|
|||
|
for i, v in ipairs (items) do
|
|||
|
item.select (v)
|
|||
|
say_title(mob_name(20349))
|
|||
|
say (gameforge.ride_ticket_change._030_say)
|
|||
|
say_item_vnum (item.vnum)
|
|||
|
say (gameforge.ride_ticket_change._040_say)
|
|||
|
local s = select (locale.yes, locale.no, locale.cancel)
|
|||
|
if s == 3 then
|
|||
|
return
|
|||
|
end
|
|||
|
if s == 1 then
|
|||
|
ticket = v
|
|||
|
break
|
|||
|
end
|
|||
|
end
|
|||
|
else
|
|||
|
ticket = items [1]
|
|||
|
end
|
|||
|
if ticket == nil then
|
|||
|
say_title (mob_name (20349))
|
|||
|
say (gameforge.ride_ticket_change._050_say)
|
|||
|
return
|
|||
|
end
|
|||
|
say_title (mob_name (20349))
|
|||
|
say(gameforge.ride_ticket_change._060_say)
|
|||
|
item.select (ticket)
|
|||
|
local s = select (gameforge.ride_ticket_change._070_say, gameforge.ride_ticket_change._080_say,gameforge.ride_ticket_change._090_say, gameforge.ride_ticket_change._100_say, gameforge.ride_ticket_change._110_say, gameforge.ride_ticket_change._120_say)
|
|||
|
if s == 6 then
|
|||
|
say_title (mob_name (20349))
|
|||
|
say (gameforge.ride_ticket_change._130_say)
|
|||
|
return
|
|||
|
end
|
|||
|
local summon_item = item.get_value (s-1)
|
|||
|
say_title (mob_name (20349))
|
|||
|
say(gameforge.ride_ticket_change._140_say)
|
|||
|
if pc.give_item2 (summon_item) == 0 then
|
|||
|
say_title (mob_name (20349))
|
|||
|
say (gameforge.ride_ticket_change._150_say)
|
|||
|
return
|
|||
|
end
|
|||
|
|
|||
|
item.remove()
|
|||
|
|
|||
|
end
|
|||
|
end
|
|||
|
end
|
|||
|
--52701 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȯ<EFBFBD><C8AF> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F1BAB4BF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڷ<EFBFBD> <20><>ȯ<EFBFBD>Ͽ<EFBFBD> <20>ݴϴ<DDB4>.
|
|||
|
--52702 <20><><EFBFBD><EFBFBD>ȣ <20><>ȯ<EFBFBD><C8AF> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F1BAB4BF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3> <20><>ȯ<EFBFBD>Ͽ<EFBFBD> <20>ݴϴ<DDB4>.
|
|||
|
--52703 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȯ<EFBFBD><C8AF> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F1BAB4BF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȯ<EFBFBD>Ͽ<EFBFBD> <20>ݴϴ<DDB4>.
|
|||
|
--52704 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȯ<EFBFBD><C8AF> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F1BAB4BF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȯ<EFBFBD>Ͽ<EFBFBD> <20>ݴϴ<DDB4>.
|
|||
|
|