Quest-ul de la pescar.
Posted: Sun Mar 12, 2017 1:41 am
quest fisher begin
state start begin
when 9009.chat."Magazin" begin
npc.open_shop()
setskin(NOWINDOW)
end
when 9009.chat."Imbunatatire Undita" begin
say("Pescar:")
say("Eu sunt marele pescar din acest sat")
say("Si stiu un mare secret de imbunatatire a unditelor")
say("Vino la mine cu undita cand ai facut punctele")
say("maxime iar eu prin puterea mea o voi face")
say("si mai bune pentru a prinde mai multi pesti cu ea")
say("")
say("")
say("")
say("")
say("")
say("")
say("")
end
when 9009.take with item.vnum < 27400 or item.vnum > 27590 begin
say("Pot sa imbunatatesc doar undite")
say("")
end
when 9009.take with item.vnum == 27590 begin
say("Undita nu poate fi imbunatatita.")
say("")
end
when 9009.take with item.vnum >= 27400 and item.vnum < 27590 and item.get_socket(0) != item.get_value(2) begin
say("Prea putine puncte pe undita")
say("De aceea nu pot sa o imbunatatesc.")
say("")
end
when 9009.take with item.vnum >= 27400 and item.vnum < 27590 and item.get_socket(0) == item.get_value(2) begin
say("Vrei sa imbunatatesti undita?")
say("Arata-mi undita sa vad ce pot face ...")
say(string.format("Puncte pe undita: %d .", item.get_value(0) / 10))
say("Stii eu nu sunt chiar asa de bun in imbunatatirea,")
say("unditelor!!")
say(string.format("100 %d Ea de asemenea poate fi declasata.", 100 - item.get_value(3)))
say("Vrei sa imbunatatesti cu adevarat undita?")
say("")
local s = select("Da", "Nu")
if s == 1 then
local f = __fish_real_refine_rod(item.get_cell())
if f == 2 then
say("Nu pot sa o imbunatatesc acum")
say("Vino data viitoare daca vrei cu")
say("Sa o imbunatatesti.")
say("")
elseif f == 1 then
say("A fost imbunatatita cu succes")
say("")
else
say("Imbunatatirea nu a reusit.")
say("Inapoi")
say("")
end
else
say("Pescar!")
say("")
end
end
end
end
state start begin
when 9009.chat."Magazin" begin
npc.open_shop()
setskin(NOWINDOW)
end
when 9009.chat."Imbunatatire Undita" begin
say("Pescar:")
say("Eu sunt marele pescar din acest sat")
say("Si stiu un mare secret de imbunatatire a unditelor")
say("Vino la mine cu undita cand ai facut punctele")
say("maxime iar eu prin puterea mea o voi face")
say("si mai bune pentru a prinde mai multi pesti cu ea")
say("")
say("")
say("")
say("")
say("")
say("")
say("")
end
when 9009.take with item.vnum < 27400 or item.vnum > 27590 begin
say("Pot sa imbunatatesc doar undite")
say("")
end
when 9009.take with item.vnum == 27590 begin
say("Undita nu poate fi imbunatatita.")
say("")
end
when 9009.take with item.vnum >= 27400 and item.vnum < 27590 and item.get_socket(0) != item.get_value(2) begin
say("Prea putine puncte pe undita")
say("De aceea nu pot sa o imbunatatesc.")
say("")
end
when 9009.take with item.vnum >= 27400 and item.vnum < 27590 and item.get_socket(0) == item.get_value(2) begin
say("Vrei sa imbunatatesti undita?")
say("Arata-mi undita sa vad ce pot face ...")
say(string.format("Puncte pe undita: %d .", item.get_value(0) / 10))
say("Stii eu nu sunt chiar asa de bun in imbunatatirea,")
say("unditelor!!")
say(string.format("100 %d Ea de asemenea poate fi declasata.", 100 - item.get_value(3)))
say("Vrei sa imbunatatesti cu adevarat undita?")
say("")
local s = select("Da", "Nu")
if s == 1 then
local f = __fish_real_refine_rod(item.get_cell())
if f == 2 then
say("Nu pot sa o imbunatatesc acum")
say("Vino data viitoare daca vrei cu")
say("Sa o imbunatatesti.")
say("")
elseif f == 1 then
say("A fost imbunatatita cu succes")
say("")
else
say("Imbunatatirea nu a reusit.")
say("Inapoi")
say("")
end
else
say("Pescar!")
say("")
end
end
end
end