Hätte ich ja gemacht bloß weiß ich das das nix mit dem System zutun hat nun öffnet sich das fenster nicht einmal hier mal die Quest.
PHP Code:
quest cube begin
state start begin
function cube_open(vnum)
cube_results = {}
cube_needs = {}
cube_results[20018] = {"50801,1/50802,1/50803,100/50804,100"}
cube_needs[20018] = {"50721,1@50722,1@50723,1@50724,1"}
cube_results[20017] = {"50801,1/50802,1/50803,100/50804,100/50813,1/50814,1/50815,100/50816,100"}
cube_needs[20017] = {"50721,1@50722,1@50723,1@50724,1@50801,1&50725,1@ 50802,1&50725,1@50803,100&50726,1@50804,100&50726, 1"}
cube_results[20022] = {"50801,1/50802,1/50803,100/50804,100/50813,1/50814,1/50815,100/50816,100/50817,1/50818,1/50819,1/50820,1/50821,10/50822,10/50823,10/50824,10/50825,10/50826,10"}
cube_needs[20022] = {"50721,1@50722,1@50723,1@50724,1@50801,1&50725,1@ 50802,1&50725,1@50803,100&50726,1@50804,100&50726, 1@50813,1&50727,1@50814,1&50727,1@50815,100&50728, 1@50816,100&50728,1@50901,10&50814,20@50901,10&508 13,20@50901,10&50820,20@50901,10&50819,20@50901,10 &50817,20@50901,10&50818,20"}
cmdchat("cube_npc_id "..vnum.."")
cmdchat("cs_result "..cube_results[vnum].."")
cmdchat("cs_need "..cube_needs[vnum].."")
command("cube open")
return
end
when 20018.chat."Making Potions?" with pc.level >= 15 begin
say_title("Baek-go:")
say("")
say("Hey!")
say("Are you interested in making potions by any chance?")
say("Recently Biologist Chaegirab did a lot of research")
say("to create many new potions with different effects.")
say("Do you want to try it out?")
wait()
setskin(NOWINDOW)
cube_open(20018)
-- say("Come anytime when you need, I will make them for you")
end
when 20017.chat."Kingdom's Potion recipe" with pc.level >= 30 begin
say_title("Yu-Hwan:")
say("")
----"111111222222333333444444555555666666777777888888999999000000"
say("These days recipes for potion are spread across the nation!")
say("Wow! You seem to have grown up quite a bit!")
say("I will show you something that you have never seen before!")
say("Do you want to try it out?")
wait()
setskin(NOWINDOW)
command("cube open")
end
when 20022.chat."Secret Recipe of Family potion" with pc.level >=45 begin
say_title("David:")
say("")
say("I have finally found the secret recipe, hahaha!")
----"111111222222333333444444555555666666777777888888999999000000"
say("Now I might become the best expert about potion mixing")
say("in this kingdom!")
say("I don't fear Uriel anymore.")
say("I'm going to be rich, AHAHAHAHA!")
say("")
say("Do you want to learn my new skills?")
wait()
setskin(NOWINDOW)
command("cube open")
end
end
end