Cod: Selectaţi tot
quest warehouse begin
state start begin
when 9005.click begin
if pc.getqf("pw") == 0 then
say_title("Administrator depozit:")
say("Salut strainule, eu te pot ajuta")
say("cu colectionarea itemelor tale")
say("in schimbul unei sume de yang.")
say("")
say_reward("-1.000.000 Yang.")
say("Vrei sa platesti aceasta suma?")
wait()
if pc.get_gold() < 500000 then
say_title("Administrator depozit:")
say("Cum asa ? Nu ai destul yang?")
say("Atunci intoarce-te mai tarziu cand ")
say("ai facut rost de yang.")
return
end
say_title("Administrator depozit:")
say("Se pare ca ai destui bani pentru")
say("a putea folosi depozitul de iteme.")
local s = select("Continua", "M-am razgandit")
if s == 2 then
return
end
say_title("Administrator depozit:")
say("Ai creat cu succes un depozit")
say("Acum poti sa il umplii cu iteme.")
say("")
say_reward("Parola de la depozit este 000000")
pc.change_gold(-500000)
game.set_safebox_level(1)
pc.setqf("pw", 1)
elseif pc.getqf("pw") == 1 then
say_title("Administrator depozit:")
say("Cu ce te pot ajuta?")
local f = select ("Depozit" , "Item-Shop", "Inchide")
if f == 1 then
game.open_safebox()
setskin(NOWINDOW)
elseif f == 2 then
game.open_mall()
setskin(NOWINDOW)
elseif f == 3 then
npc.open_shop()
setskin(NOWINDOW)
end
end
end
end
endCod: Selectaţi tot
quest banca begin
state start begin
when 9005.chat."Cumpara Lingouri" begin
say_title("Administrator depozit:")
say("Alege ce suma vrei sa schimbi in lingou.")
say(" ")
s = select("Lingou argint 10kk", "Lingou argint 50kk", "Lingou aur 100kk", "Lingou aur 500kk", "Lingou aur 1kkk", "Renunta")
if s == 6 then
return
elseif s == 5 then
if pc.get_gold()<1000000000 then
say_title("Administrator depozit:")
say("Nu ai suficient yang pentru a face schimbul!")
else
pc.give_item2(80007, 1)
pc.change_gold(-1000000000)
syschat("Ai schimbat yangul in lingou de aur 1kkk.")
end
elseif s == 4 then
if pc.get_gold()<500000000 then
say_title("Administrator depozit:")
say("Nu ai suficient yang pentru a face schimbul!")
else
pc.give_item2(80006, 1)
pc.change_gold(-500000000)
syschat("Ai schimbat yangul in lingou de aur 500kk.")
end
elseif s == 3 then
if pc.get_gold()<100000000 then
say_title("Administrator depozit:")
say("Nu ai suficient yang pentru a face schimbul!")
else
pc.give_item2(80005, 1)
pc.change_gold(-100000000)
syschat("Ai schimbat yangul in lingou de aur 100kk.")
end
elseif s == 2 then
if pc.get_gold()<50000000 then
say_title("Administrator depozit:")
say("Nu ai suficient yang pentru a face schimbul!")
else
pc.give_item2(80004, 1)
pc.change_gold(-50000000)
syschat("Ai schimbat yangul in lingou de argint 50kk.")
end
elseif s == 1 then
if pc.get_gold()<10000000 then
say_title("Administrator depozit:")
say("Nu ai suficient yang pentru a face schimbul!")
else
pc.give_item2(80003, 1)
pc.change_gold(-10000000)
syschat("Ai schimbat yangul in lingou de argint 10kk.")
end
end
end
end
end

