Paste #12042: TutorialQuest

Date: 2014/12/13 12:37:58 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


Tutorialfish:
    type: assignment
    interact scripts:
    - 1 tutorialfisherman

Tutorialfisherman:
    Type: Interact
    steps:
        1:
            click trigger:
                script:
                - narrate "speak to bob please"
        2:
            click trigger:
                script:
                - narrate "<dark_aqua>[Steve]:<aqua> Hi there <player.name> i already expected you"
                - wait 3
                - narrate "<dark_aqua>[Steve]:<aqua> Bob told me you where doing a quest"
                - wait 3
                - narrate "<dark_aqua>[Steve]:<aqua> Well what i want to say is that im the fisherman"
                - wait 3
                - narrate "<dark_aqua>[Steve]:<aqua> I will teach you something about fishing in this world"
                - wait 3
                - narrate "<dark_aqua>[Steve]:<aqua> There are specific place where you can fish and get more xp"
                - wait 3
                - narrate "<dark_aqua>[Steve]:<aqua> en nog wat tekst maar dat komt nog wel"
                - narrate "<dark_aqua>[Steve]:<aqua> het komt er op neer dat je 4 fish moet brengen"
                - zap step:3
        3:
            click trigger:
                script:
                - if <player.inventory.contains[RAW_FISH].qty[4]>
                {
                  - take i@Raw_Fish qty:4
                  - narrate "ah thanks for the fish"
                  - wait 3
                  - narrate "you are a great learner"
                  - wait 3
                  - narrate "you should go back to bob he got another job for you"
                  - zap s@Tutorialmain step:3
                  - zap step:4
                }
                else
                {
                  - narrate "bring me the fish please"
                }
        4:
            click trigger:
                script:
                - narrate "Thanks for brining me the fish you should go to Bob now"
                - mcmmo add xp skill:<fishing> qty:<1500>