"Audoin": type: assignment actions: on assignment: - trigger name:chat toggle:true - trigger name:click toggle:true - trigger name:damage toggle:true - trigger name:proximity toggle:true radius:30 - sit location:-2202,74,-5664,world interact scripts: - 5 Audoin proxi "Audoin proxi": type: interact steps: 1: proximity trigger: entry: script: if == non { - execute as_server "weather World storm 15" - wait 10 - chat "Oooooooh !! " - wait 2 - chat "Moi je ne vais pas plus loin." - wait 2 - chat "Je ne m'approche pas de ce village maudit" - wait 2 - chat "C'est une bande de fou de dieu." - wait 2 - chat "Je ne dépasse jamais ce lac de lave." - wait 2 - chat "Il vous faudra faire le reste du chemin à pied." - wait 2 - chat "Maintenant il faut me payer le voyage. C'est 10 zouds." - narrate "Acceptez vous de payer votre cocher ?" - narrate "Tapez oui ou non ?" } else { - chat "Heu ... le village est dans l'autre direction !" - zap step:2 exit: script: #on dit aurevoir au joueur. - if == oui { - chat "A une prochaine fois, qui sait !" } else if == non { - chat "Tu ne l'emporteras pas au paradis !" } else { - chat "Hey ou tu crois allez comme ça ?" - wait 1 - chat "Attaque ce mauvais payeur Fantôme." - attack npc:n@104 target: - flag premierefois:non - flag payeur:non } - zap step:1 damage trigger: script: # If you hit the NPC, it will run a script further below with some random dialogue to show # their disgust. - ^run "Attaque aubergiste" 2: chat trigger: 1: trigger: /Non/ je prèfère ne pas payer pour un voyage d'une si piètre qualité ! script: - chat "Oh tu vas le regretter." - wait 1 - chat "Allez Fantôme ! Attaque le !! - attack npc:n@104 target: - flag premierefois:non - flag payeur:non - ^zap step:1 2: trigger: /Oui/ bien sur, tout travail mérite salaire ! script: - execute as_server "money take 10" - narrate "Vous avez payé à 10 zouds." - wait 2 - chat "Merci ! Ce fût un plaisir de voyager avec vous." - flag premierefois:non - flag payeur:oui - zap step:1 proximity trigger: exit: script: #on dit aurevoir au joueur. - if == oui { - chat "A une prochaine fois, qui sait !" } else if == non { - chat "Tu ne l'emporteras pas au paradis !" } else { - chat "Hey ou tu crois allez comme ça ?" - wait 1 - chat "Attaque ce mauvais payeur Fantôme." - attack npc:n@104 target: - flag premierefois:non - flag payeur:non } - zap step:1 "Attaque audoin": type: task script: # When you hit (damage) the NPC, they will respond with one of the following lines. - ^random { - chat "Aïïïee ! Pourquoi tu fais ça ? Si je meurt tu vas le regretterer !" - chat "Aaarrggg! Je ne t'ai jamais rien fait ? Ne me retapes pas !" - chat "Ma ..? Mais pourquoi tu me fais ça ? Ça coupe fort. Et ça fait très mal." - chat "Me fais pas mal s'il te plait ! Je ne t'ai jamais rien fait de mal !" - chat "Ouch! Ne fait rien maintenant que regretteras plus tard..." }