Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.84 KB | None | 0 0
  1. name: La ville aux deux Faces
  2. description:
  3. - '&7La ville aux deux Faces'
  4. max_concurrent_instances: -1
  5. max_concurrent_instances_queue: false
  6. min_players: 1
  7. max_players: 1
  8. max_completions: 1
  9. time_limit: 0
  10. cooldown: DISABLED
  11. actionbar: '&a{quest} &7- Objectif: &a{detailed_progression}'
  12. send_status_message: true
  13. send_objective_update_message: true
  14. world_whitelist: []
  15. permission: quests.take
  16. saving: SERVER_EPHEMERIAL
  17. gps_enable: true
  18. gui:
  19.   item_available:
  20.     type: WRITABLE_BOOK
  21.     name: '&a{name} &a- Disponible'
  22.     lore:
  23.    - '&7{description}'
  24.     - '&bClic Droit pour suivre la quête.'
  25.   item_progress:
  26.     type: FILLED_MAP
  27.     name: '&6{name} &6- Progression'
  28.     lore:
  29.    - '&7{description}'
  30.     - '{detailed_progression}'
  31.   item_cooldown:
  32.     type: CLOCK
  33.     name: '&8{name} &8- Cooldown'
  34.     lore:
  35.    - '&7{description}'
  36.     - '&7Vous choisissez de vous appeler {variable:example_nickname}. Bien.'
  37.     - '&7&lVous avez terminé cette quête {completions} temps{plural}.'
  38.     - '&7&l{cooldown} restant avant que vous puissiez recommencer cette quête.'
  39.   item_completed:
  40.     type: ENCHANTED_BOOK
  41.     name: '&8{name} &8- Complété'
  42.     lore:
  43.    - '&7{description}'
  44.     - '&7Vous choisissez de vous appeler {variable:example_nickname}. Bien.'
  45.     - '&7&lVous avez terminé cette quête {completions} temps{plural}.'
  46.   item_unavailable:
  47.     type: ENCHANTING_TABLE
  48.     name: '&8{name} &8- Indisponible'
  49.     lore:
  50.    - '&7{description}'
  51.     - '&cCette quête n''est pas disponible pour vous.'
  52.     - '&c{detailed_errors}'
  53. start_conditions:
  54.   conditions:
  55.     '1':
  56.       type: QUEST_COMPLETED
  57.       quest: q96
  58.       amount: '1'
  59.       only_for_role: 'true'
  60.       take_after_check: true
  61.       error_message: '&3&o&l INFO &r&7| &3Vous n''avez pas fini la quête précédente
  62.         !'
  63. branches:
  64.   1_start:
  65.     name: La ville aux deux Faces
  66.     starts_directly: true
  67.     starts_at: 0_START
  68.     objects:
  69.       0_START:
  70.         type: SERVER_COMMANDS_PERFORM
  71.         commands:
  72.        - playsound ac.environment.quests voice {player} ~ ~ ~ 10000.0
  73.         execution_type: AS_SERVER
  74.         for_leader_only: 'true'
  75.         goto: OBJECT 0_objectif_event1
  76.       0_objectif_event1:
  77.         type: SERVER_ACTION_LIST
  78.         actions:
  79.        - MESSAGE &5&o&l Eltar &r&7| &fMerim&6 est en deux parties, la surface et
  80.           sa mine. Vous allez devoir atteindre la &cZone de Stockage Nord&6 et y voler
  81.           de la &cTNT&6 pour arrêter la flotte de Guerre. Passez par les mines via
  82.           l'&cascenseur Ouest&6, la &cZone de Stockage Nord&6 est bloquée de l'extérieur
  83.           suite à un accident.
  84.         goto: OBJECT 1_objectif
  85.       1_objectif:
  86.         type: PLAYER_WALK
  87.         walk_type: WALK_TO
  88.         location:
  89.           base: Averall,1296.0,116.0,-1208.0,0.0,0.0
  90.           near: 6
  91.         goto: OBJECT 1_objectif_event1
  92.       1_objectif_event1:
  93.         type: SERVER_ACTION_LIST
  94.         actions:
  95.        - MESSAGE &3&o&l INFO &r&7| &3Vous avez obtenue la &cTNT&3, retournez voir
  96.           &cEltar&3.
  97.         goto: OBJECT 2_objectif
  98.       2_objectif:
  99.         type: PLAYER_CITIZENS_NPC_INTERACT
  100.         npc: 520
  101.         amount: 1
  102.         goto: OBJECT 2_objectif_event1
  103.       2_objectif_event1:
  104.         type: SERVER_ACTION_LIST
  105.         actions:
  106.        - MESSAGE &5&o&l Eltar &r&7| &6Mon ami vous revoilà! Votre travail est une
  107.           réussite. Mangez un peu mais faites vites, nous devons délivré &cAldeina&6
  108.           avant qu'elle ne soit marrier de force a ce &fNoble&6 de Hyrle. Le &fNoble&6
  109.           est actuellement avec le roi pour les préparatifs.
  110.         goto: QUEST_SUCCESS
  111.   1_cancel:
  112.     name: Mort
  113.     starts_directly: true
  114.     starts_at: 0_cancel
  115.     objects:
  116.       0_cancel:
  117.         type: PLAYER_WALK
  118.         walk_type: WALK_TO
  119.         location:
  120.           base: Mort,-14,40,-2
  121.           near: 15
  122.         goto: QUEST_FAIL
  123. success_objects:
  124.   '1':
  125.     type: SERVER_COMMANDS_PERFORM
  126.     commands:
  127.    - playsound ac.environment.questf voice {player} ~ ~ ~ 10000.0
  128.     - mm items give {player} porc1 4
  129.     execution_type: AS_SERVER
  130.     for_leader_only: 'true'
  131.   '2':
  132.     type: SERVER_MONEY_CHANGE
  133.     for_leader_only: 'false'
  134.     operation: ADD
  135.     value: ''
  136.   '3':
  137.     type: SERVER_TITLE_SEND
  138.     title:
  139.       duration: '50'
  140.       fade_in: '5'
  141.       fade_out: '5'
  142.       subtitle: ''
  143.       title: ''
  144.   '4':
  145.     type: SERVER_JOURNAL_ENTRY_REMOVE
  146.     entry_id: j96
  147.   '5':
  148.     type: SERVER_JOURNAL_ENTRY_ADD
  149.     entry_id: j97
  150.     entry_title: Quête fini :&f La ville aux deux Faces
  151.     entry_detail: '&rPour la suite allez voir &fEltar &rà la capitale de Drakier,
  152.       Merim.'
  153. fail_objects:
  154.   '1':
  155.     type: SERVER_TITLE_SEND
  156.     title:
  157.       duration: '50'
  158.       fade_in: '5'
  159.       fade_out: '5'
  160.       subtitle: retourner la prendre
  161.       title: Quête échoué
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement