Hark: type: assignment actions: on assignment: - trigger name:click state:true - trigger name:chat state:true interact scripts: - 1 npc_killquest_interact cchat: type: format format: "<&6><&l><npc.name> <&7>to you<&c> <&e><text>" npc_killquest_interact: type: interact steps: 1: click trigger: script: - if <player.has_flag[npc_engaged]>: - stop - flag player npc_engaged - if <player.flag[kill_sandghoul_quest_one_count]>:0 - narrate "Come Back when those ghouls are cleared out, Dismissed" - if <player.flag[kill_sandghoul_quest_one_count]>:1 - narrate format:cchat "Great work, I have more for you later, for now take this." - give emerald quantity:25 - flag player kill_sandghoul_quest_one:! - flag player npc_engaged - disengage - stop - narrate format:cchat "Hey your that new recruit right. No? well I could use you anyways,do you think you could go clear out some ghouls in that ruin just behind the barracks." - wait 1s - narrate "[<&o>type <&b><&o>Yes<&f><&o> or <&b><&o>No<&7>]" - disengage - flag player npc_engaged:! chat trigger: 1: trigger: /Yes/ I will do it script: - wait 2s - narrate "Okay thanks, ill see you when its done" format:cchat - wait 2s - narrate "[<&e>Kill 10 Sand Ghouls]" - if <player.has_flag[kill_sandghoul_quest_one]>: - stop - flag player kill_sandghoul_quest_one - flag player kill_sandghoul_quest_one_count 0 2: trigger: /No/ I will not do it script: - if !<player.has_flag[kill_sandghoul_quest_one]>: - stop - random: - narrate format:cchat "Okay Screw off" - narrate format:cchat "I could Really Use your Help" kill_sandghoul_quest_one_world: type: world events: on player kills husk: - flag player kill_sandghoul_quest_one_count:++ - if <player.has_flag[kill_sandghoul_quest_one]>: - wait 2s - narrate "[<&e>Great work return to Cpt.Hark]"