Jump to content
×
×
  • Create New...

[Objet] Anneau de téléportation map1


Aletha

Recommended Posts

Centre de Téléchargement

Télécharger ( Interne )

Bonjour, je vous donne la quête de l'anneau de mouvement:

Celui-ci permet de retourner map1.

quest move_ring begin
    state start begin
        when 80009.use begin
            if get_time() < pc.getqf("next_time") then
                say_title("Anneau de mouvement")
                say("")
                say_reward("Cet anneau vous ramène à votre map1.")
                say("")    
                say("")
                if pc.is_gm() then
                    say("Prochaine utilisation :")
                    say("")
                    say(string.format("    %s", time_to_str(pc.getqf("next_time"))))
                    say("")
                    say("Le GM peut remettre le temps a 0")
                    local s = select("Remettre à zéro", "Annuler")
                    if s == 1 then
                        say("Vous pouvez le ré-utiliser.")
                        say("")
                        pc.setqf("next_time", 0)
                    end
                end
                return;
            end
            say("Anneau de mouvement")
            say("Cet anneau vous ramène à votre map1.")
            say("")
            wait()
            local s=select(
                "Retour map 1",
                "Rester ici")
            if 1==s then
                local empire = pc.get_empire()
                if empire == 1 then
                    pc.warp(474300,954800)
                elseif empire == 2 then
                    pc.warp(63800,166400)
                elseif empire == 3 then
                    pc.warp(959900,269200)
                end
                
                pc.setqf("next_time", get_time() + 600)
            elseif 2==s then
                say("Vous l'utiliserez plus tard!")
                say("")
            end
        end
    end
end
 

Si vous ne savez pas implanter une quête, suivez ce tutoriel : Implanter une quête

  • J'adore 1
Link to comment
  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Flux d'Activité

    1. 8

      Canal général

    2. 8

      Canal général

    3. 8

      Canal général

    4. 8

      Canal général

    5. 8

      Canal général

    6. 8

      Canal général

    7. 8

      Canal général

    8. 8

      Canal général

    9. 8

      Canal général

  • Recently Browsing

    No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.