Advertisement
Guest User

Untitled

a guest
Apr 19th, 2011
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. ## Quest Engine Ancient Wraith remake by Apollo
  2. ## This script is intended to emulate the Ancient Wraith Quest from Endless Online
  3.  
  4. Main
  5. {
  6. questname "Ancient Wraith"
  7. version 1.0
  8. }
  9.  
  10. State Begin
  11. {
  12. desc "Talk to Wraith Guardian"
  13. action AddNpcText( 26 , "nooww man shall passsshh how daree you awake mee yewww incepttt , only thohhhss whooo are sssstrhhhn may have thee keyyy.." );
  14.  
  15. action AddNpcInput( 26 , 1 , "Ask for the key" );
  16. action AddNpcInput( 26, 2, "Get out of here" );
  17.  
  18. rule InputNpc ( 1 ) goto KillReaper
  19. rule InputNpc ( 2 ) goto Reset
  20.  
  21. }
  22.  
  23. State KillReaper
  24. {
  25. desc "Kill the Reaper"
  26. action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill the reaperrr" );
  27.  
  28. action AddNpcInput( 26, 1, "Take the test" );
  29. action AddNpcInput( 26, 2, "Give up" );
  30.  
  31. rule KilledNpcs( 9 , 1 ) goto ReaperDead
  32.  
  33. }
  34.  
  35. State ReaperDead
  36. {
  37. desc "Return to the Wraith Guardian"
  38. action ShowHint("Return to the Wraith Guardian");
  39. action AddNpcText( 26, "Isss nothinggg you slimmeee, nowwhh you ssshall do another tassssk" );
  40.  
  41. rule TalkedToNpc( 26 ) goto KillNinjaLeader
  42. }
  43.  
  44. State KillNinjaLeader
  45. {
  46. desc "Kill the Anundo Leader"
  47.  
  48. action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill the ninja leahhderr" );
  49.  
  50. action AddNpcInput( 26, 1, "Take the test" );
  51. action AddNpcInput( 26, 2, "Give up" );
  52.  
  53. rule KilledNpcs( 120 , 1 ) goto NinjaLeaderDead
  54.  
  55. }
  56.  
  57. State NinjaLeaderDead
  58. {
  59. desc "Return to the Wraith Guardian"
  60. action ShowHint("Return to the Wraith Guardian");
  61. action AddNpcText( 26, "Reaperrr deadd, annundo leadhhrrr deaddd.. but yewww still humannn and therrforrr shalll nott passshh.." );
  62.  
  63. rule TalkedToNpc( 26 ) goto KillOctopus
  64. }
  65.  
  66. State KillOctopus
  67. {
  68. desc "Kill the Octopus"
  69. action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill the gainhht octopusss" );
  70.  
  71. action AddNpcInput( 26, 1, "Take the test" );
  72. action AddNpcInput( 26, 2, "Give up" );
  73.  
  74. rule KilledNpcs( 118 , 1 ) goto OctopusDead
  75.  
  76. }
  77.  
  78. State OctopusDead
  79. {
  80. desc "Return to the Wraith Guardian"
  81. action ShowHint("Return to the Wraith Guardian");
  82. action AddNpcText( 26, "Reaperrr deadd, annundo leadhhrrr deaddd and octooo ashwooo deaddddddd.. youwwh shall do another tassssk" );
  83.  
  84. rule TalkedToNpc( 26 ) goto KillApozen
  85. }
  86.  
  87. State KillApozen
  88. {
  89. desc "Kill Apozen"
  90. action AddNpcText( 26 , "Provee you are woorrrthh ittt.. Kill apozzzeehhnn lorddd off evihll" );
  91.  
  92. action AddNpcInput( 26, 1, "Take the test" );
  93. action AddNpcInput( 26, 2, "Give up" );
  94.  
  95. rule KilledNpcs( 142 , 1 ) goto ApozenDead
  96.  
  97. }
  98.  
  99. State ApozenDead
  100. {
  101. desc "Return to the Wraith Guardian"
  102. action ShowHint("Return to the Wraith Guardian");
  103. action AddNpcText( 26, "Wehll wehlll, yewww sneaky incompetent humann, yewww neverrrr gett thisss keyyy sssssww..." );
  104.  
  105. rule TalkedToNpc( 26 ) goto GetPiggies
  106. }
  107.  
  108. State GetPiggies
  109. {
  110. desc "Find piglets"
  111. action AddNpcText( 26, "Bringhhh me 100 pigletssss sohh we can offerrrr it too the evilll spiritthhhs" );
  112.  
  113. rule GotItems(483,100) goto GotPiggies
  114. }
  115.  
  116. State GotPiggies
  117. {
  118. desc "Give piglets to guardian"
  119. action ShowHint("Return to the Wraith Guardian");
  120. action AddNpcText( 26, "Giveeehh meee nowhh.." );
  121. action AddNpcInput(26,1, "Give the 100 piglets");
  122. action AddNpcInput(26,2, "No, sorry no deal.");
  123.  
  124.  
  125. rule InputNpc( 1 ) goto GetSnakeTeeth
  126. }
  127.  
  128. State GetSnakeTeeth
  129. {
  130. desc "Find snake teeth"
  131. action Quake(2, map);
  132. action RemoveItem(483,100);
  133. action AddNpcText( 26, "Bringhhh me 100 snake teeethh sohh we can offerrrr it too the evilll spiritthhhs" );
  134.  
  135. rule GotItems(253,100) goto GotSnakeTeeth
  136. }
  137.  
  138. State GotSnakeTeeth
  139. {
  140. desc "Give snake teeth to guardian"
  141. action ShowHint("Return to the Wraith Guardian");
  142. action AddNpcText( 26, "Giveeehh meee your teeethh.." );
  143. action AddNpcInput(26,1, "Give 100 snake teeth");
  144. action AddNpcInput(26,2, "No, sorry no deal.");
  145.  
  146.  
  147. rule TalkedToNpc( 26 ) goto GetTenbaBags
  148. }
  149.  
  150. State GetTenbaBags
  151. {
  152. desc "Find tenba bags"
  153. action Quake(2, map);
  154. action RemoveItem(253,100);
  155. action AddNpcText( 26, "Bringhhh me 100 tenba baggss to offhherr.." );
  156.  
  157. rule GotItems(477,100) goto GotTenbaBags
  158. }
  159.  
  160. State GotTenbaBags
  161. {
  162. desc "Give tenba bags to guardian"
  163. action ShowHint("Return to the Wraith Guardian");
  164. action AddNpcText( 26, "Giveeehh meee baggggs yeww sssssww incompetent humannn.." );
  165. action AddNpcInput(26,1, "Give 100 tenba bags");
  166. action AddNpcInput(26,2, "No, sorry no deal");
  167.  
  168.  
  169. rule TalkedToNpc( 26 ) goto GetImpStings
  170. }
  171.  
  172. State GetImpStings
  173. {
  174. desc "Find imp stings"
  175. action Quake(2, map);
  176. action AddNpcText( 26, "Bringhhh me 100 imppp stingggsss yeww humannn" );
  177. action RemoveItem(477,100);
  178.  
  179. rule GotItems(400,100) goto GotImpStings
  180. }
  181.  
  182. State GotImpStings
  183. {
  184. desc "Give imp stings to guardian"
  185. action ShowHint("Return to the Wraith Guardian");
  186. action AddNpcText( 26, "Giveeehh meee thaa stringssss youu wurmmm.." );
  187. action AddNpcInput(26,1, "Give 100 imp strings");
  188. action AddNpcInput(26,2, "No, sorry no deal.");
  189.  
  190.  
  191. rule TalkedToNpc( 26 ) goto GetWurmHeads
  192. }
  193.  
  194. State GetWurmHeads
  195. {
  196. desc "Find Wurm Heads"
  197. action Quake(2, map);
  198. action AddNpcText( 26, "Bringhhh me sssssww 100 wurm heads to offhherr.." );
  199. action RemoveItem(400,100);
  200.  
  201. rule GotItems(321,100) goto GotWurmHeads
  202. }
  203.  
  204. State GotWurmHeads
  205. {
  206. desc "Give wurm heads to guardian"
  207. action ShowHint("Return to the Wraith Guardian");
  208. action AddNpcText( 26, "Giveeehh meee wurm headdsss yeww pathetic human.." );
  209. action AddNpcInput(26,1, "Give 100 wurm heads");
  210. action AddNpcInput(26,2, "No, sorry no deal");
  211.  
  212.  
  213. rule TalkedToNpc( 26 ) goto GetDragonWings
  214. }
  215.  
  216. State GetDragonWings
  217. {
  218. desc "Find dragon wings"
  219. action Quake(2, map);
  220. action AddNpcText( 26, "Bringhhh me sssssww 10 dragon wingggss to offhherr.." );
  221. action RemoveItem(321,100);
  222. rule GotItems(470,10) goto GotDragonWings
  223. }
  224.  
  225. State GotDragonWings
  226. {
  227. desc "Give dragon wings to guardian"
  228. action ShowHint("Return to the Wraith Guardian");
  229. action AddNpcText( 26, "The wingssss, givvveee!" );
  230. action AddNpcInput(26,1, "Give 10 dragon wings");
  231. action AddNpcInput(26,2, "No, sorry no deal.");
  232.  
  233. rule TalkedToNpc( 26 ) goto KillPlayers
  234. }
  235.  
  236. State KillPlayers
  237. {
  238. desc "PK 500 humans!"
  239. action Quake(2, map);
  240. action AddNpcText( 26, "Yewww wurmmm broughhttt me all thissss itemmmm. iT sss time for the lasssst test offf evill.");
  241. action AddNpcText( 26, "Slaughter 500 humannssssss and get my keyyyy");
  242.  
  243. rule KilledPlayers( 1 ) goto WraithDialog
  244. }
  245.  
  246. State WraithDialog
  247. {
  248. desc "Talk to the wraith guardian"
  249. action Quake(4, world);
  250. action ShowHint("Return to the Wraith Guardian");
  251. action AddNpcText( 26, "Yewww proven to be evillll, herrsss the keyyyy.." );
  252.  
  253. rule TalkedToNpc( 26 ) goto Reward
  254. }
  255.  
  256. State Reward
  257. {
  258. action GiveItem( 242, 1 );
  259. action GiveExp( 10000 );
  260. action ShowHint("You gained 10.000 exp and a key!");
  261. action PlaySound(18);
  262. action End();
  263. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement