Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Bierfkopf
- #Erstellt von F3sti
- #Ostern-2019
- #Projekt: NahrungsQuest
- #-----------------------------------------------------------------------------------------------------------
- #
- #Items:
- #
- Osterscript_2019_NahrungsQuest_Grasbueschel_Item:
- type: item
- material: i@tall_grass
- display name: Grasbündel
- lore:
- - <&d>Schmackhaftes Gras für Esel!
- - Oster-Item 2019
- Osterscript_2019_NahrungsQuest_Aepfel_Item:
- type: item
- material: i@apple
- display name: Apfel
- lore:
- - <&d>Frisch gepflückter Apfel!
- - Oster-Item 2019
- #-----------------------------------------------------------------------------------------------------------
- #
- #Log:
- #
- #-----------------------------------------------------------------------------------------------------------
- #
- #Ferdinand
- #
- Osterscript_2019_NahrungsQuest_Ferdinand:
- type: assignment
- interact scripts:
- - Osterscript_2019_NahrungsQuest_Ferdinand_Interaction
- actions:
- on assignment:
- - trigger name:click toggle:true
- - trigger name:chat toggle:true
- - trigger name:proximity toggle:true radius:3
- - ^execute as_op "npc select <npc.id>"
- - ^execute as_op "npc lookclose"
- - ^execute as_op "npc rename Ferdinand"
- - ^execute as_op "npc skin afesraca"
- Osterscript_2019_NahrungsQuest_Ferdinand_Interaction:
- type: interact
- steps:
- default:
- proximity trigger:
- entry:
- script:
- - chat "<&7> Hallo <player.name>!"
- - wait 0.5
- - chat "<&7> Ich bin <npc.name>."
- - wait 0.5
- - chat "<&7> Sind Esel nicht wunderbare Tiere?"
- - wait 0.5
- - chat "<&7> Also ich kümmere mich immer gerne um die Esel."
- Queststart:
- proximity trigger:
- entry:
- script:
- - chat "<&7> Hallo <player.name>!"
- - wait 0.5
- - chat "<&7>Ich bin <npc.name>, der Stallbursche für die Esel."
- - wait 0.5
- - chat "<&7> Mir fehlen leider noch ein paar Nahrungsmittel für die Esel."
- - wait 0.5
- - chat "<&7> Aber kann hier leider nicht weg."
- - wait 0.5
- - chat "<&7> Könntest du mir helfen, es zu besorgen?"
- - wait 0.5
- - narrate "<&f>Antorte mit <&6>Ja <&f>oder <&6>Nein <&f>."
- chat trigger:
- '1':
- trigger: "<&7>/Ja/, Ich helfe dir die Nahrung zu besorgen."
- script:
- - chat "<&7> Vielen Dank, damit hilfst du mir sehr."
- - wait 0.5
- - chat "<&7> Ich bräuchte noch:"
- - wait 0.5
- - chat "<&7> 5 Grasbündel"
- - chat "<&7> und"
- - chat "<&7> 5 Äpfel"
- - wait 0.5
- - chat "<&7> Falls du unterwegs vergessen solltest, was ich brauche, guck einfach unter <&6>/Questlog <&7>nach."
- - ^flag player 'Ostern2019_Questlog:->:["",{"text":"Stallbursche Ferdinand","color":"gold","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Besorge mir Bitte:"}]}}}]'
- - ^zap QuestStep
- - ^zap QuestStart s@Osterscript_2019_NahrungsQuest_Alfons_Interaction
- - ^zap QuestStart s@Osterscript_2019_NahrungsQuest_Test_Interaction
- '2':
- trigger: "<&7>/Nein/, mir fehlt gerade leider die Zeit dafür!"
- script:
- - chat "<&7>Hmm..."
- - wait 0.5
- - chat "<&7>Naja, kann man nicht ändern."
- - wait 0.5
- - chat "<&7>Vielleicht magst du mir später noch helfen."
- QuestStep:
- proximity trigger:
- entry:
- script:
- - chat "<&7>Na, bist du so vergesslich, dass du vergessen hast, was mir fehlt?"
- - chat "<&7>Oder hast du es unterwegs Verloren?"
- QuestAbgabe:
- proximity trigger:
- entry:
- script:
- - if <player.inventory.contains[i@OsterScript_2019_NahrungsQuest_Äpfel|i@OsterScript_2019_NahrungsQuest_Grasbündel].gty[5]>
- - "<&7>Gib mir bitte die Äpfel und das Gras!"
- - queue clear
- }
- else {
- - ^zap default s@Osterscript_2019_NahrungsQuest_Ferdinand_Interaction
- - ^zap QuestEnde
- - chat "<&7>Vielen Dank. Hier deine Belohnung."
- - ^take
- - ^take
- - equip <npc> hand:egg
- - give OsterScript_2019_Belohnung_Ei qty:1
- - equip <npc> hand:air
- - flag player Ostern2019_QuestEnde_NahrungsQuest
- QuestEnde:
- proximity trigger:
- entry:
- script:
- - chat "<&7>Vielen Dank nochmal!"
- - chat "<&7>Dank dir haben die Esel nun mehr abwechslung beim essen."
- #
- #Alfons
- #
- Osterscript_2019_NahrungsQuest_Alfons:
- type: assignment
- interact scripts:
- - Osterscript_2019_NahrungsQuest_Alfons_Interaction
- actions:
- on assignment:
- - trigger name:click toggle:true
- - trigger name:chat toggle:true
- - trigger name:proximity toggle:true radius:3
- - ^execute as_op "npc select <npc.id>"
- - ^execute as_op "npc lookclose"
- - ^execute as_op "npc rename Alfons"
- # - ^execute as_op "npc skin "
- Osterscript_2019_NahrungsQuest_Alfons_Interaction:
- type: interact
- steps:
- default:
- proximity trigger:
- entry:
- script:
- - chat "<&7>Hallo <player.name>,"
- - wait 0.5
- - chat "<&7>Ich muss noch so viele Äpfel plücken!"
- - wait 0.5
- - chat "<&7>Und hab nur noch so wenig Zeit."
- - wait 0.5
- - chat "<&7>Dann gehe ich mal weiter pfücken."
- QuestStart:
- proximity trigger:
- entry:
- script:
- - chat "<&7>Hallo <player.name>,"
- - wait 0.5
- - chat "<&7>Brauchst du Äpfel?"
- - narrate "<&f>Antorte mit <&6>Ja."
- chat trigger:
- '1':
- trigger: "<&7>/Ja/, ich brauche 10 Äpfel für Ferdinand."
- script:
- - chat "<&7>Dann will ich mal nicht so sein."
- - wait 0.5
- - chat "<&7>Hier hast du, die Äpfel für Ferdinand."
- - equip <npc> hand:apple
- - give i@Osterscript_2019_NahrungsQuest_Aepfel_Item qty:10
- - equip <npc> hand:air
- #
- #<Name>
- #
- Osterscript_2019_NahrungsQuest_Test:
- type: assignment
- interact scripts:
- - Osterscript_2019_NahrungsQuest_Test_Interaction
- actions:
- on assignment:
- - trigger name:click toggle:true
- - trigger name:chat toggle:true
- - trigger name:proximity toggle:true radius:3
- - ^execute as_op "npc select <npc.id>"
- - ^execute as_op "npc lookclose"
- - ^execute as_op "npc rename <Name>"
- # - ^execute as_op "npc skin "
- Osterscript_2019_NahrungsQuest_Test_Interaction:
- type: interact
- steps:
- default:
- proximity trigger:
- entry:
- script:
- - chat "<&7>Hallo <player.name>,"
- - wait 0.5
- # - chat "<&7>"
- QuestStart:
- proximity trigger:
- entry:
- script:
- - chat "<&7>Hallo <player.name>,"
- - wait 0.5
- - chat "<&7>Wie kann ich dir helfen?"
- - narrate "<&f>Antorte mit <&6>Grasbüschel."
- chat trigger:
- '1':
- trigger: "<&7>Ich brauche 5 /Grasbüschel/ für Ferdinand."
- script:
- - chat "<&7>Dann will ich mal nicht so sein."
- - wait 0.5
- - chat "<&7>Hier hast du, die Grasbüschel für Ferdinand."
- - equip <npc> hand:tall_grass
- - give Osterscript_2019_NahrungsQuest_Grasbueschel_Item qty:5
- - equip <npc> hand:air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement