[Quest-Release]Power Mount Traning system

05/30/2015 13:31 MrLibya#1
Hallo All

This My Power Mount Traning system

it's very simple

but the lang is arabic so i u need to make the eng speak


PHP Code:

quest dwapsystem begin
    state start begin
        when 20349.chat
."I Want Tran a Mount" begin
            say_title
("Text")
            
say("")
            
say("Text")
            
say("Text")
            
say("")
            
wait()
            
say_title("Text")
            
say("Text")
            
say("Text")
            
say("Text")
            
say("Text")
            
wait()
            
say_title("Text")
            
say("Chose Your Mount Type")
            
local data01 = {
                -- 
Name        vnum            give_vnum
                
{"Lion Certificate"5270152030},
                {
"Tiger Certificate"5270252045},
                {
"Wild Boar Certificate"5270352000},
                {
"Wolf Certificate"5270452015},
                {
"Reindeer Certificate (m)"5270552080},
                {
"Reindeer Certificate (f)"5270652060},
                {
"Dragor Certificate"5270752090},
                {
"Moa Certificate"5270852105},
                {
"Close"00}
            }
            
local menu01 = {}
            for 
num1,str1 in ipairs(data01) do
                
table.insert(menu01str1[1])
            
end
            local seltab01 
select_table(menu01"Close")
            
local count_check pc.count_item(data01[seltab01][2])
            if 
seltab01 == table.getn(menu01then return end
            say
(" Are u Sure u want trade ".. data01[seltab01][1] .." ")
            if 
select("Yes, sure","No , Thx") == 2 then return end
            
if count_check 1 then syschat("U Dont Have the Item") return end
            say_title
("Plz Select The Addone type")
            
local bonus01 = {
                -- 
Name        vnum
                
{"Vs Monster"1},
                {
"plus exp"2},
                {
"plus life pont"3},
                {
"plus defnce power"4},
                {
"plus attck power"5},
                {
"Close"0}
            }
            
local menu02 = {}
            for 
num2,str2 in ipairs(bonus01) do
                
table.insert(menu02str2[1])
            
end
            local seltab02 
select_table(menu02"Close")
            if 
seltab02 == table.getn(menu02then return end
            local final01 
data01[seltab01][3]+bonus01[seltab02][2]
            
say_reward(" U Get : "..item_name(data01[seltab01][3]+1).." ")
            
pc.removeitem(data01[seltab01][2], 1)
            
pc.give_item2(final011)
        
end -- when
    end 
-- state
end 
-- quest 
Have Fun :)
05/30/2015 13:42 .Incidur#2
Is this Quest not in every Questfolder?
05/30/2015 13:51 MrLibya#3
No
05/30/2015 22:28 Metin2 Team#4
training_mount.quest
ride_ticket_change.quest
05/31/2015 07:57 MrLibya#5
Quote:
Originally Posted by Metin2 Team View Post
training_mount.quest
ride_ticket_change.quest
yeah i know , but i re write it agien
05/31/2015 08:38 Metin2 Team#6
Quote:
Is this Quest not in every Questfolder?
Quote:
No
no comment