1.x/Basic Example Quests: Difference between revisions

From Citizens Wiki

< 1.x

 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{NoSupport}}
==Daily Collection Quest==
==Daily Collection Quest==


Line 9: Line 10:
         completion: "Thanks! <g>You have gained 100 exp and 150 pavias for completing the quest."
         completion: "Thanks! <g>You have gained 100 exp and 150 pavias for completing the quest."
         acceptance: "Great! Please check the quest status to see the materials I need."
         acceptance: "Great! Please check the quest status to see the materials I need."
     repeats: -1
     repeats: -1   # May be repeated an unlimited amount of times.
     delay: 1440  # 1440 minutes is equal to 24 hours.  Cannot repeat until this amount of time.
     delay: 1440  # 1440 minutes is equal to 24 hours.  Cannot repeat until this amount of time.
     objectives:
     objectives:
         '0':
         '0':
             '0':
             '0':
                 type: collect     # First objective is a collection quest.
                 type: collect     # First objective is a collection quest.
                 materialid: 263  # Coal_Ore
                 materialid: 263  # Coal_Ore
                 amount: 10        # Must collect 10.
                 amount: 10        # Must collect 10.
                 message: "That's enough coal!"
                 message: "That's enough coal!"
         '1':
         '1':
             '0':                 # First objective must be complete in order to complete this objective.
             '0':                 # First objective must be complete in order to complete this objective.
                 type: collect    # Second objective also a collection quest.
                 type: collect    # Second objective also a collection quest.
                 materialid: 15    # Iron_Ore
                 materialid: 15    # Iron_Ore
Line 36: Line 37:
         '1':
         '1':
             type: command    # Executes a command for reward
             type: command    # Executes a command for reward
             command: citizensxp <player> 100
             command: xp <player> 100   # Gives the player 100 experience
             server: true    # Uses console permission to execute the command.
             server: true    # Uses console permission to execute the command.
</pre>
</pre>
{{NavBox}}
[[Category:Citizens1]]

Latest revision as of 12:22, 19 February 2012

Not Supported!
This page is about Citizens 1.x, while the current version is Citizens 2.0.2. This page's content may be outdated, and shouldn't be trusted as being correct. See this page's talk page for more information. If you were looking for the 2.0.2 equivalent of this page, try Basic Example Quests. If you feel this message was displayed in error, please contact an administrator.

Daily Collection Quest

Written by AlaisXNeo.

"Daily Collection":
    texts:
        description: "<g>Daily: <y> Collect daily materials for a reward!"   # Uses color codes to color text
        completion: "Thanks! <g>You have gained 100 exp and 150 pavias for completing the quest."
        acceptance: "Great! Please check the quest status to see the materials I need."
    repeats: -1   # May be repeated an unlimited amount of times.
    delay: 1440   # 1440 minutes is equal to 24 hours.  Cannot repeat until this amount of time.
    objectives:
        '0':
            '0':
                type: collect     # First objective is a collection quest.
                materialid: 263   # Coal_Ore
                amount: 10        # Must collect 10.
                message: "That's enough coal!"
        '1':
            '0':                  # First objective must be complete in order to complete this objective.
                type: collect     # Second objective also a collection quest.
                materialid: 15    # Iron_Ore
                amount: 5
                message: "That's enough iron!"
        '2':
            '0':
                type: collect     # Another collection objective.
                materialid: 17    # Log
                amount: 15
                message: "That's enough wood!"
    rewards:
        '0':
            type: money      # Rewards the player money when objectives are complete.
            money: 150            
        '1':
            type: command    # Executes a command for reward
            command: xp <player> 100    # Gives the player 100 experience 
            server: true     # Uses console permission to execute the command.