Untitled
unknown
plain_text
3 years ago
4.6 kB
5
Indexable
-- npc que edité yo: if(msgcontains(msg, "what?")) then npcHandler:say("rek tars, dekklep zurk!!.", cid) elseif(msgcontains(msg, "i dont understand")) then if(player:getStorageValue(200) < 1) then npcHandler:say("C....ann....he...lp...m..e?", cid) npcHandler.topic[cid] = 2 end elseif(msgcontains(msg, "mission") or msgcontains(msg, "report")) then if(player:getStorageValue(200) == 1) then npcHandler:say("No...hu...mn laan..gu..age......., wiz....a....rd c....c....an he.....lp u..s.", cid) npcHandler.topic[cid] = 0 player:setStorageValue(200, 2) player:setStorageValue(12110, 2) -- The Inquisition Questlog- "Ask for Mission" player:setStorageValue(12111, 1) -- The Inquisition Questlog- "Mission 1: Investigate" elseif(player:getStorageValue(200) == 2) then npcHandler:say("u can understand me now?", cid) npcHandler.topic[cid] = 3 --- primera parte que edité segunda parte que edité: elseif(msgcontains(msg, "yes")) then -- continucacíon de primera misión if(npcHandler.topic[cid] == 2) then npcHandler:say("H..eelp.... {mission}.", cid) npcHandler.topic[cid] = 0 player:setStorageValue(200, 1) player:setStorageValue(12110, 1) -- The Inquisition Questlog- "Ask for Mission" elseif(npcHandler.topic[cid] == 3) then if(player:getStorageValue(203) == 1) then npcHandler:say("Indeed, this is exactly what my other sources told me. Of course I knew the outcome of this investigation in advance. This was just a test. ...", cid) npcHandler:say("Well, now that you've proven yourself as useful, you can ask me for another mission. Let's see if you can handle some field duty, too.", cid) npcHandler.topic[cid] = 0 player:setStorageValue(200, 3) player:setStorageValue(12111, 2) -- The Inquisition Questlog- "Mission 1: Investigate" else npcHandler:say("You haven't done your mission yet.", cid) npcHandler.topic[cid] = 0 end ---npc como venía originalmente if(msgcontains(msg, "inquisitor")) then npcHandler:say("The churches of the gods entrusted me with the enormous and responsible task to lead the inquisition. I leave the field work to inquisitors who I recruit from fitting people that cross my way.", cid) elseif(msgcontains(msg, "join")) then if(player:getStorageValue(200) < 1) then npcHandler:say("Do you want to join the inquisition?", cid) npcHandler.topic[cid] = 2 end elseif(msgcontains(msg, "mission") or msgcontains(msg, "report")) then if(player:getStorageValue(200) == 1) then npcHandler:say("Let's see if you are worthy. Take an inquisitor's field guide from the box in the back room. ...", cid) npcHandler:say("Follow the instructions in the guide to talk to the guards that protect the walls and gates of the city and test their loyalty. Then report to me about your {mission}.", cid) npcHandler.topic[cid] = 0 player:setStorageValue(200, 2) player:setStorageValue(12110, 2) -- The Inquisition Questlog- "Ask for Mission" player:setStorageValue(12111, 1) -- The Inquisition Questlog- "Mission 1: Interrogation" elseif(player:getStorageValue(200) == 2) then npcHandler:say("Your current mission is to investigate the reliability of certain guards. Are you done with that mission?", cid) npcHandler.topic[cid] = 3 segunda parte---- elseif(msgcontains(msg, "yes")) then if(npcHandler.topic[cid] == 2) then npcHandler:say("So be it. Now you are a member of the inquisition. You might ask me for a {mission} to raise in my esteem.", cid) npcHandler.topic[cid] = 0 player:setStorageValue(200, 1) player:setStorageValue(12110, 1) -- The Inquisition Questlog- "Ask for Mission" elseif(npcHandler.topic[cid] == 3) then if(player:getStorageValue(201) == 1 and player:getStorageValue(202) == 1 and player:getStorageValue(203) == 1 and player:getStorageValue(204) == 1 and player:getStorageValue(205) == 1) then -- aca están los storages de los guardianes son 5 npcHandler:say("Indeed, this is exactly what my other sources told me. Of course I knew the outcome of this investigation in advance. This was just a test. ...", cid) npcHandler:say("Well, now that you've proven yourself as useful, you can ask me for another mission. Let's see if you can handle some field duty, too.", cid) npcHandler.topic[cid] = 0 player:setStorageValue(200, 3) player:setStorageValue(12111, 7) -- The Inquisition Questlog- "Mission 1: Interrogation" else npcHandler:say("You haven't done your mission yet.", cid) npcHandler.topic[cid] = 0 end
Editor is loading...