It is very simple.
Quest in EN
Code:
quest system_banca begin
state start begin
when 20095.chat."Informations" begin
say_title("Informations")
say("Hello, we are those who change")
say("yang in bullions. Who wish to")
say("to change yang in bullions is awaited at us")
say("We change amounts of 100 kk, 500 kk, ")
say("1 kkk and 1.5 kkk.")
say("")
say("Have a nice day!")
end
when 20095.chat."Administration" begin
say_title("Administration")
say("Welcome in the administration zone.")
say("What you want to do ?")
local s = select("Change in bullion","Change in yang","Nothing")
if s == 3 then
return
elseif s == 1 then
say_title("Change in bullion")
say("How much you wish to change in bullion ?")
local v = select("100 kk Yang","500 kk Yang","1 kkk","1.5 kkk","Nothing")
if s == 5 then
return
elseif v == 1 then
say_title("Confirmation")
say("Do you want to change")
say("100 kk Yang in a bullion ?")
local q = select("Yes", "Nu")
if q == 2 then
return
elseif pc.get_gold()<100000000 then
say_title("Change 100 kk")
say("You don't have 100 kk Yang.")
return
end
say_title("Congratulations")
say("Congratulations, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.give_item2(80003, 1)
pc.change_gold(-100000000)
elseif v == 2 then
say_title("Confirmation")
say("Do you want to change")
say("500 kk Yang in a bullion ?")
local q = select("Yes", "No")
if q == 2 then
return
elseif pc.get_gold()<500000000 then
say_title("Change 500 kk")
say("You don't have 500 kk Yang.")
return
end
say_title("Congratulations")
say("Congratulations, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.give_item2(80004, 1)
pc.change_gold(-500000000)
elseif v == 3 then
say_title("Confirmation")
say("Do you want to change")
say("1 kkk Yang in a bullion ?")
local q = select("Yes", "No")
if q == 2 then
return
elseif pc.get_gold()<1000000000 then
say_title("Change 1 kkk")
say("You don't have 1 kkk Yang.")
return
end
say_title("Congratulations")
say("Congratulations, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.give_item2(80005, 1)
pc.change_gold(-1000000000)
elseif v == 4 then
say_title("Confirmation")
say("Do you want to change")
say("1.5 kkk Yang in a bullion ?")
local q = select("Yes", "No")
if q == 2 then
return
elseif pc.get_gold()<1500000000 then
say_title("Schimba 1.500.000.000")
say("You don't have 1.5 kkk Yang.")
return
end
say_title("Congratulations")
say("Congratulations, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.give_item2(80006, 1)
pc.change_gold(-1500000000)
end
elseif s == 2 then
say_title("Change in Yang")
say("How much you want to change in Yang ?")
local l = select("100 kk Yang","500 kk Yang","1 kkk","1.5 kkk","Nothing")
if s == 5 then
return
elseif l == 1 then
say_title("Confirmation")
say("Do you want to change a bullion")
say("with 100 kk Yang valor in")
say("100 kk Yang ?")
local q = select("Yes", "No")
if q == 2 then
return
elseif pc.count_item(80003) < 1 then
say_title("Change a bullion")
say("You don't have a bullion with 100 kk yang valor.")
return
end
say_title("Congratulations")
say("Congratulation, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.remove_item(80003,1)
pc.give_gold(100000000)
elseif l == 2 then
say_title("Confirmation")
say("Do you want to change a bullion")
say("with 500 kk Yang valor in")
say("500 kk Yang ?")
local q = select("Yes", "No")
if q == 2 then
return
elseif pc.count_item(80004) < 1 then
say_title("Change a bullion")
say("You don't have a bullion with 500 kk Yang valor.")
return
end
say_title("Congratulations")
say("Congratulations, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.remove_item(80004,1)
pc.give_gold(1000000000)
elseif l == 3 then
say_title("Confirmation")
say("Do youw want to change a bullion")
say("with 1kkk Yang valor in")
say("1 kkk Yang ?")
local q = select("Yes", "No")
if q == 2 then
return
elseif pc.count_item(80005) < 1 then
say_title("Change a bullion")
say("You don't have a bullion with 1 kkk Yang valor.")
return
end
say_title("Congratulations")
say("Congratulations, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.remove_item(80005,1)
pc.give_gold(1000000000)
elseif l == 4 then
say_title("Confirmation")
say("Do you want to change a bullion")
say("with 1.5 kkk Yang valor in")
say("1.5 kkk Yang ?")
local q = select("Yes", "No")
if q == 2 then
return
elseif pc.count_item(80006) < 1 then
say_title("Change a bullion")
say("You don't have a bullion with 1.5 kkk Yang valor.")
return
end
say_title("Congratulations")
say("Congratulations, the tranzaction is complete.")
say("Check in inventory.")
say("If the problems appear, don't hesitate")
say("to contact us on forum")
pc.remove_item(80006,1)
pc.give_gold(1500000000)
end
end
end
end
end
Code:
quest system_banca begin
state start begin
when 20095.chat."Informatii" begin
say_title("Informatii")
say("Salutare, noi ne ocupam cu schimbarea")
say("de yang in lingouri. Oricine doreste sa")
say("schimbe yang-ul in lingouri este asteptat la noi")
say("Schimbam sume de 100 milioane, 500 milioane,")
say("un miliard si 1.5 miliarde.")
say("")
say("O zi buna!")
end
when 20095.chat."Administrare" begin
say_title("Administrare")
say("Bun venit in zona de administrare.")
say("Ce doresti sa faci ?")
local s = select("Schimba in lingou","Schimba in yang","Nimic")
if s == 3 then
return
elseif s == 1 then
say_title("Schimba in lingouri")
say("Ce suma doresti sa schimbi in lingou ?")
local v = select("100.000.000 Yang","500.000.000 Yang","1 Miliard","1.5 Miliarde","Nici una")
if s == 5 then
return
elseif v == 1 then
say_title("Confirmare")
say("Chiar doresti sa schimbi")
say("100.000.000 Yang intr-un lingou ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.get_gold()<100000000 then
say_title("Schimba 100.000.000")
say("Nu ai 100.000.000 Yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.give_item2(80003, 1)
pc.change_gold(-100000000)
elseif v == 2 then
say_title("Confirmare")
say("Chiar doresti sa schimbi")
say("500.000.000 Yang intr-un lingou ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.get_gold()<500000000 then
say_title("Schimba 500.000.000")
say("Nu ai 500.000.000 Yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.give_item2(80004, 1)
pc.change_gold(-500000000)
elseif v == 3 then
say_title("Confirmare")
say("Chiar doresti sa schimbi")
say("1.000.000.000 Yang intr-un lingou ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.get_gold()<1000000000 then
say_title("Schimba 1.000.000.000")
say("Nu ai 1.000.000.000 Yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.give_item2(80005, 1)
pc.change_gold(-1000000000)
elseif v == 4 then
say_title("Confirmare")
say("Chiar doresti sa schimbi")
say("1.500.000.000 Yang intr-un lingou ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.get_gold()<1500000000 then
say_title("Schimba 1.500.000.000")
say("Nu ai 1.500.000.000 Yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.give_item2(80006, 1)
pc.change_gold(-1500000000)
end
elseif s == 2 then
say_title("Schimba in Yang")
say("Cat doresti sa schimbi in yang ?")
local l = select("100.000.000 Yang","500.000.000 Yang","1 Miliard","1.5 Miliarde","Nimic")
if s == 5 then
return
elseif l == 1 then
say_title("Confirmare")
say("Chiar doresti sa schimbi un lingou")
say("in valoare de 100.000.000 de Yang in")
say("100.000.000 Yang ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.count_item(80003) < 1 then
say_title("Schimba un lingou")
say("Nu ai un lingou in valoare de 100.000.000 yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.remove_item(80003,1)
pc.give_gold(100000000)
elseif l == 2 then
say_title("Confirmare")
say("Chiar doresti sa schimbi un lingou")
say("in valoare de 500.000.000 de Yang in")
say("500.000.000 Yang ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.count_item(80004) < 1 then
say_title("Schimba un lingou")
say("Nu ai un lingou in valoare de 500.000.000 yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.remove_item(80004,1)
pc.give_gold(1000000000)
elseif l == 3 then
say_title("Confirmare")
say("Chiar doresti sa schimbi un lingou")
say("in valoare de 1.000.000.000 de Yang in")
say("1.000.000.000 Yang ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.count_item(80005) < 1 then
say_title("Schimba un lingou")
say("Nu ai un lingou in valoare de 1.000.000.000 yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.remove_item(80005,1)
pc.give_gold(1000000000)
elseif l == 4 then
say_title("Confirmare")
say("Chiar doresti sa schimbi un lingou")
say("in valoare de 1.500.000.000 de Yang in")
say("1.500.000.000 Yang ?")
local q = select("Da", "Nu")
if q == 2 then
return
elseif pc.count_item(80006) < 1 then
say_title("Schimba un lingou")
say("Nu ai un lingou in valoare de 1.500.000.000 yang.")
return
end
say_title("Felicitari")
say("Felicitari, tranzactia a reusit.")
say("Verifica in inventar.")
say("Daca apar probleme, nu ezitati")
say("sa ne contactati pe forum")
pc.remove_item(80006,1)
pc.give_gold(1500000000)
end
end
end
end
end







