"KillQuestAssignment": type: assignment interact scripts: - 10 KillQuest KillQuest: type: interact steps: 1: click trigger: script: - chat "Hello , I need some help!" - wait 1 - chat "I have a problem with zombies killing my cows at night." - wait 1 - chat "Can you help me?" chat trigger: 1: trigger: /Yes/, I will help you! script: - chat "Ok thank you ver much! i need to kill 5 zombies arround my farm tonight" - wait 1 - chat "Hurry they're going to kill my cows if you don't hurry!" - zap step:2 - listen kill type:entity name: zombie qty:5 script:ZombieQuestTask 2: trigger: /No/, I'm too busy. script: - chat "Oh darn, come back if you have some spare time..." 2: click trigger: script: - chat "Hurry up, ! My cows keep dying!!" 3: click trigger: script: - chat "Oh thank goodness, my cows are safe!" - wait 1 - chat "Here is a reward - give money qty:100 - give iron_sword - zap step:4 4: click trigger: script: - chat "Thanks for saving my cows!" ZombieQuestTask: type: Task script: - narrate "You've killed 5 zombies! Return to !" - zap step: 3 script:KillQuest