Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest buydada2115 begin
- state start begin
- when 20092.chat."Titre" with pc.get_map_index() == 1 or pc.get_map_index() == 21 or pc.get_map_index() == 41 begin
- local s = select("Choix 1", "Choix 2", "Fermer")
- if s == 1 then
- if pc.count_item(90013) >=45 and pc.count_item(27994) >=2 then
- say_title(""..mob_name(20092).." :")
- say("")
- say("Vous avez ce qu'il faut")
- say("")
- elseif pc.count_item(90013) <=45 then
- say_title(""..mob_name(20092).." :")
- say("")
- say("Vous n'avez pas ce qu'il faut")
- say("")
- elseif pc.count_item(27994) <=2 then
- say_title(""..mob_name(20092).." :")
- say("")
- say("Vous n'avez pas ce qu'il faut")
- say("")
- end
- elseif s == 2 then
- if pc.count_item(90013) >=45 and pc.count_item(27994) >=2 then
- say_title(""..mob_name(20092).." :")
- say("")
- say("Vous avez ce qu'il faut")
- say("")
- elseif pc.count_item(90013) <= 45 then
- say_title(""..mob_name(20092).." :")
- say("")
- say("Vous n'avez pas ce qu'il faut")
- say("")
- elseif pc.count_item(27994) <= 2 then
- say_title(""..mob_name(20092).." :")
- say("")
- say("Vous n'avez pas ce qu'il faut")
- say("")
- end
- elseif s == 3 then
- return
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement