Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Set the name of the NPC. This will be displayed on the top of the panel.
- NPC.name = "Surveillant"
- -- This is the function that gets called when the player presses <E> on the NPC.
- function NPC:onStart()
- -- self:addText(<text>) adds text that comes from the NPC.
- self:addText("Que veut tu esclave ?")
- -- self:addOption(<text>, <callback>) is a button that you can pick and it will
- -- run the callback function.
- self:addOption("Je veux devenir un sith !", function()
- -- This code is inside a function that gets ran after pressing the option.
- self:addText("Et bien, pour devenir Acolyte tu devra trouver mon apprenti, il t'enseignera des choses utiles. Il se trouve dans les tombeaux")
- -- self:addLeave(<leave text>) adds a button that closes the dialogue.
- self:addLeave("Merci (ferme la conversation)")
- end)
- -- You can have as many options as you need.
- self:addOption("Parlez moi mieux !", function()
- self:addText("Est-tu sûr de ce que tu dit cloporte ?!")
- self:addOption("Oui !", function()
- self:send("Ignite", 15)
- -- Add a leave.
- self:addLeave("Ouch!")
- end)
- self:addLeave("Non excusez moi (ferme la conversation)")
- end)
- self:addOption("J'ai fini ma formation", function()
- self:addText("Et bien récite moi le code sith alors")
- self:addOption("La paix est un mensonge, il n'y a que la passion", function()
- self:addText("Bien, continue")
- self:addOption("Par la passion je domine", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par la passion j'ai la puissance", function()
- self:addText("Bien, continue")
- end)
- self:addOption("Par la puissance j'ai le pouvoir", function()
- self:addText("Bien, continue")
- end)
- self:addOption("Par la victoire je brise mes chaines", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par la victoire je me libère", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par le pouvoir j'ai la victoire", function()
- self:addText("Bien, continue")
- end)
- self:addOption("Par la victoire je brise ta mère", function()
- self:addText("COMMENT OSE TU MISERABLE, TU VA MOURRIR POUR CELA !")
- self:send("Ignite", 10)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par la victoire je brise mes chaînes", function()
- self:addText("Une dernière pour la route")
- self:addOption("La force me libèrera")
- self:addText("Bien, tu à bien révisé")
- end)
- self:addOption("Que dois-je faire maintenant ?", function()
- self:addText("Tu doit aller tuer 6 Tuk'ata dans la vallée des morts, quand ce sera fait tu ira voir Spindrall dans les tombeaux")
- self:addLeave("Bien, merci Surveillant")
- self:addLeave("Ouais c'est ça....")
- self:send("Ignite", 2)
- end)
- self:addOption("La libération me tuera", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("La mort me libèrera", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par la victoire je brise mes ennemis", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par le pouvoir j'ai la puissance", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par la puissance j'ai la victoire", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("Par la passion je brûle", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- end)
- self:addOption("La paix est la vérité, il n'y a que les sentiments", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- self:addOption("La paix n'existe pas, il n'y a que la passion", function()
- self:addText("C'EST FAUX, RETOURNE APPRENDRE")
- self:send("Ignite", 5)
- self:addLeave("Excusez moi !")
- end)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement