Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ----- Quest Design Guide -----
- #
- # First, let's cover the basic fields in a quest.
- # Each root node is the quest name - below, the two quest names are 'example' and 'example2'.
- # This is what you will use ingame to identify each quest.
- # Inside this, we see the text nodes - pretty self-explanatory. Note that you can use
- # <br> to denote a line break.
- #
- # The repeats option allows a quest to be completed a certain number of times. It acts as a limit. -1 denotes an
- # unlimited completion times limit. Let's take an example. A limit of 1 would allow the quest to be completed once.
- #
- # Now we move on to the configuration of the two main configuration options - objectives and rewards.
- #
- # --- Objectives ---
- #
- # Thus far, objectives have a set structure - a number of different 'steps' and a number of objectives
- # within each step. This allows for more freeform quest design. Note that each step should be marked
- # by an ascending number, *with quotes* around it. Each objective within a step is incremented concurrently.
- #
- # The message variable is sent to the player on completion of each objective.
- #
- # --- Objective types ---
- #
- # To aid with generic objective design, each objective can use one of a common set of variables
- # - amount, string, materialid, location, string, item and npcdestination (destination NPC ID).
- # Each objective type may use one or more of these variables - a reference is provided below.
- #
- # - Specifying item and locations -
- # Item nodes have three sub-nodes, two that must be included and one optional.
- # The id sub-node designates the item/block ID.
- # The amount sub-node specifies the item amount.
- # The optional data sub-node specifies the item data value to be used.
- #
- # Location nodes have 4 required sub-nodes, two optional.
- # The world node specifies the world name of the location.
- # The x ,y and z nodes specifies the x,y and z values.
- # The pitch/yaw optional nodes specify the rotation (think aeroplanes) of the location.
- #
- # Example syntax:
- # location:
- # x: 123
- # y: 124
- # z: 111
- # world: 'world'
- #
- # Block destroy quest (destroy block) - break a certain amount of blocks.
- # Uses: amount - the amount of blocks to break. materialid - the block ID to break.
- #
- # Build quest (build) - place a certain number of blocks
- # Uses: materialid - the block ID to place. amount - the amount that must be placed.
- #
- # Combat quest (player combat) - kill a certain number of players.
- # Uses: amount - the amount of players to kill. string - a list of which players should be targeted. '*' signifies all, '-' as the first character signifies a
- # whitelist, g:group specifies a group to target.
- #
- # Collect quest (collect) - pick up a certain number of items.
- # Uses: amount - the number of items to pick up. materialid - the ID to pick up.
- #
- # Delivery quest (delivery)- deliver an item to an npc.
- # Uses: npcdestination - the NPC ID to deliver to. materialid - the material that must be in hand.
- # amount - the amount of the material that must be in hand.
- #
- # Distance quest (move distance)- walk a certain number of blocks.
- # Uses: amount - the amount of blocks to walk.
- #
- # Hunt quest (hunt) - kill a certain number of monsters.
- # Uses: amount - the number of monsters to kill. string - which monsters to kill. '*' signifies all, '-' at
- # the start signifies that monsters not in the list will be counted.
- #
- # Location quest (move location)- be within a certain range of a location.
- # Uses: location - the base location to move to. amount - the amount in blocks that the player can be away from the location before finishing.
- #
- #
- # --- Rewards ---
- #
- # These can be used as both rewards *and* requirements to start a quest.
- # As rewards, they can be either give rewards, or take rewards. As requirements, they can only be used
- # to take from a player.
- #
- # Rank reward (rank) - grants a group ('rank') to a player.
- # Specified by the rank: node.
- #
- # Permission reward (permission) - grants a permission to a player.
- # Specified by the permission: node.
- #
- # Quest reward (quest) - grants a quest to a player. Note that it cannot be taken away from a player.
- # Specified by the quest: node.
- #
- # Item reward (item) - gives an item to a player.
- # Loaded from the item: nodes.
- #
- # Health reward (health) - gives health to a player.
- # Loaded from the amount: node.
- #
- # Money reward (money) - gives money to a player.
- # Loaded from the money: node.
- example1:
- texts:
- description: Ve y consigue algo de carne!
- completion: <g>Has ganado! Toma algo de piedra.
- acceptance: <g>Mision <y>aceptada<g>.
- repeats: 1
- objectives:
- '0':
- '0':
- type: collect
- materialid: 363
- amount: 10
- message: Tienes carne! OM NOM NOM NOM!!
- optional: false
- finishhere: false
- '1':
- '0':
- type: delivery
- npcdestination: 0
- materialid: 363
- amount: 10
- message: Gracias, ahora estare mejor!
- optional: false
- finishhere: true
- rewards:
- '0':
- type: item
- id: 1
- amount: 64
- take: false
- example2:
- texts:
- description: A fetch quest
- completion: <g>You win! Give me that stone.
- acceptance: <g>Challenge <y>accepted<g>.
- repeats: -1
- objectives:
- '0':
- '0':
- type: collect
- materialid: 35
- data: 14
- amount: 3
- message: A voice echoes... "I want that wool now!"
- rewards:
- '0':
- type: item
- id: 35
- amount: 3
- data: 14
- take: true
- example3:
- texts:
- description: A mob quest - kill any 3 of zombie, pig or chicken
- completion: <g>You win!
- acceptance: <g>Challenge <y>accepted<g>.
- repeats: 2
- objectives:
- '0':
- '0':
- type: hunt
- string: 'zombie, pig, chicken'
- amount: 3
- message: Monsters slain \o/.
- rewards:
- '0':
- type: item
- id: 1
- amount: 3
- take: true
- Arcilla:
- texts:
- description: "Hola extraño, tengo esta excelente idea, usando una vieja técnica puedo convertir grava en arcilla... <br> No me preguntes más, ve y tráeme grava! A cambio te daré algo de arcilla, ¿qué dices?"
- completion: "Excelente! Aquí esta tu recompensa - un saco lleno de arcilla."
- acceptance: "Genial! Ahora, no te tardes, que el proceso no es muy rápido que digamos..."
- repeats: -1
- objectives:
- '0':
- '0':
- type: delivery
- materialid: 13
- amount: 64
- npcdestination: 40
- optional: False
- finishhere: True
- message: "Ve donde el mercader y entrégale la grava"
- rewards:
- '0':
- type: item
- id: 337
- amount: 64
- take: False
- Chaman:
- texts:
- description: Aquí hay una lista de cosas que necesito. Si se la llevas a Jed, te las dará y si me las traes a mi te daré una recompensa.
- completion: El chamán te da una Semilla de Melón. <br> <14>-=== Misión Actualizada ===-<br><8>Chamán:<15> Necesito que mates un cerdo y me traigas su carne.
- acceptance: <15>Seguro, no hay problema.<br><14>-=== Misión Aceptada ===-<br><6>- Jed vive en las afueras de la ciudadela Gorkil, cerca de la granja de caña.
- repeats: -1
- objectives:
- '0':
- '0':
- type: move location
- location:
- x: -761
- y: 72
- z: 1050
- world: world
- amount: 5
- message: <14>*El chamán te pasa la lista. En esta dice:*<br><15> - 1 Perla de Ender<br> - 1 Libro<br> - 4 Panes.
- rewards:
- '0':
- type: item
- id: 339
- amount: 1
- take: false
- '1':
- '0':
- type: delivery
- npcdestination: 42
- materialid: 339
- amount: 0
- finishhere: false
- message: <8>Tú:<15> Hola Jed, aquí esta la lista de compras del chamán.<br><14>*Jed toma la lista, la mira y te la devuelve.*<br><8>Jed:<15> Lamentablemente, no tengo lo necesario para el pan, tráeme 12 unidades de trigo y lo haré.
- '2':
- '0':
- type: delivery
- npcdestination: 42
- materialid: 296
- amount: 12
- finishhere: false
- message: <8>Tú:<15> Aquí esta el trigo que necesitas.<br><8>Jed:<15> Vuelve más tarde y tendré el pan horneado.
- '3':
- '0':
- type: delivery
- npcdestination: 42
- materialid: 339
- amount: 1
- finishhere: false
- message: <8>Jed:<15> Okay, aquí tienes. Todo lo que el chamán ordeno.
- rewards:
- '0':
- type: item
- id: 368
- amount: 1
- take: false
- '1':
- type: item
- id: 340
- amount: 1
- take: false
- '2':
- type: item
- id: 297
- amount: 4
- take: false
- '4':
- '0':
- type: delivery
- npcdestination: 41
- materialid: 368
- amount: 1
- finishhere: false
- message: <14>*Le entregas la Perla de Ender al chamán.*
- '1':
- type: delivery
- npcdestination: 41
- materialid: 340
- amount: 1
- finishhere: false
- message: <14>*Le entregas 1 Libro al chamán.*
- '2':
- type: delivery
- npcdestination: 41
- materialid: 297
- amount: 4
- finishhere: true
- message: <14>*Le entregas 4 Panes al chamán.*
- rewards:
- '0':
- type: item
- id: 362
- amount: 1
- take: false
- '1':
- type: quest
- quest: Pig
- Pig:
- texts:
- description:
- completion: <8>Chamán:<15> Gracias.<br><14>*El chamán te da una Semilla de Melón.
- acceptance: <8>Tú:<15>Seguro, Puedo matar un cerdo.
- repeats: -1
- objectives:
- '0':
- '0':
- type: hunt
- amount: 1
- string: 'pig'
- message: <15> Oh sí! Ese cerdo no tenía opción.
- '1':
- type: collect
- amount: 1
- materialid: 319
- message: <15> Debo llevarle esta carne a el chamán!
- rewards:
- '1':
- '0':
- type: delivery
- npcdestination: 41
- amount: 1
- materialid: 319
- message: <15>El sabor de la victoria. <br>
- rewards:
- '0':
- type: item
- id: 362
- amount: 1
- take: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement