ist der alte mann verbuggt? naja, hier mal meine übersetzte quest:
neutral_warp.quest
Code:
-- Alter Mann
--uebersetzt von musicinstructor
quest neutral_warp begin
state start begin
when old_man.click begin
say_title("Alter Mann:")
say("Hallo!")
say("Ich weiß, wie man von hier in eine andere Region")
say("kommt. Wenn du mir etwas Yang gibst, kann ich")
say("dich dorthin transportieren.")
local s = select("Transportieren.", "Nicht transportieren")
if s == 1 then
local cost = 1000
local m = pc.get_map_index()
say_title("Alter Mann:")
say("Wohin möchtest du?")
say("Das kostet dich 1000 Yang.")
-- say(locale.neutral_warp.money_need1.. cost ..locale.neutral_warp.money_need2)
local e = pc.empire
if m == 1 or m == 3 then
e = 1
elseif m == 21 or m == 23 then
e = 2
elseif m == 41 or m == 43 then
e = 3
end
if m == 1 or m == 21 or m == 41 then
local s = select("Tal von Seungryong","Berg Sohan", "Abbrechen")
if s!=3 then
if pc.gold < cost then
say_title("Alter Mann:")
say("Du hast nicht genug Yang!")
else
if s == 1 then
-- ??? = 1
pc.warp(special.warp_to_pos[1][e][1], special.warp_to_pos[1][e][2])
else
-- ??? = 4
pc.warp(special.warp_to_pos[4][e][1], special.warp_to_pos[4][e][2])
end
pc.changegold(-cost)
end
end
elseif m == 3 or m == 23 or m == 43 then
local s = select("Doyyumhwaji", "Yongbi-Wüste", "Abbrechen")
if s != 3 then
-- ???? = 2
-- ???? = 3
if pc.gold < cost then
say_title("Alter Mann:")
say("Du hast nicht genug Yang!")
else
pc.warp(special.warp_to_pos[s+1][e][1], special.warp_to_pos[s+1][e][2])
pc.changegold(-cost)
end
end
end
end
end
end
end