Advertisement
Guest User

Untitled

a guest
Oct 17th, 2015
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.76 KB | None | 0 0
  1. Main
  2. {
  3. questname "Training Expert"
  4. version 1.0
  5. }
  6. state Begin
  7. {
  8. desc "Talk to Trainer"
  9. action AddNpcText(35, "Hello [name], I am a training expert. i can train you very well if you want. Choose your training level!!");
  10.  
  11. action AddNpcInput(35,1,"Level 1 - 10");
  12. action AddNpcInput(35,2,"Level 11 - 20");
  13. action AddNpcInput(35,3,"Level 21 - 30");
  14. action AddNpcInput(35,4,"Level 31 - 50");
  15. action AddNpcInput(35,5,"Level 51 - 100");
  16.  
  17. rule InputNpc(1) goto Level10
  18. rule InputNpc(2) goto Level20
  19. rule InputNpc(3) goto Level30
  20. rule InputNpc(4) goto Level50
  21. rule InputNpc(5) goto Level100
  22. }
  23. state Reset
  24. {
  25. action Reset();
  26. }
  27. state Level10
  28. {
  29. desc "Level 1 - 10 Npcs Selection"
  30. action AddNpcText(35, "Hmm i see, you want to take training for level 1 - 10. Okay then, choose Npcs on which you want training.");
  31.  
  32. action AddNpcInput(35,1,"Sheep");
  33. action AddNpcInput(35,2,"Fox");
  34. action AddNpcInput(35,3,"Mushroom");
  35. action AddNpcInput(35,4,"Drunken Pirate");
  36. action AddNpcInput(35,5,"Home");
  37.  
  38. rule InputNpc(1) goto Sheep
  39. rule InputNpc(2) goto Fox
  40. rule InputNpc(3) goto Mushroom
  41. rule InputNpc(4) goto Pirate
  42. rule InputNpc(5) goto Begin
  43. }
  44. state Sheep
  45. {
  46. desc "Select your amount"
  47. action AddNpcText(35, "Now choose npc amount which you want to kill.");
  48.  
  49. action AddNpcInput(35,1,"Sheep 20");
  50. action AddNpcInput(35,2,"Sheep 50");
  51. action AddNpcInput(35,3,"Back");
  52.  
  53. rule InputNpc(1) goto Sheep20
  54. rule InputNpc(2) goto Sheep50
  55. rule InputNpc(3) goto Level10
  56. }
  57. state Fox
  58. {
  59. desc "Select your amount"
  60. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  61.  
  62. action AddNpcInput(35,1,"Fox 20");
  63. action AddNpcInput(35,2,"Fox 50");
  64. action AddNpcInput(35,3,"Back");
  65.  
  66. rule InputNpc(1) goto Fox20
  67. rule InputNpc(2) goto Fox50
  68. rule InputNpc(3) goto Level10
  69. }
  70. state Mushroom
  71. {
  72. desc "Select your amount"
  73. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  74.  
  75. action AddNpcInput(35,1,"Mushroom 20");
  76. action AddNpcInput(35,2,"Mushroom 50");
  77. action AddNpcInput(35,3,"Back");
  78.  
  79. rule InputNpc(1) goto Mush20
  80. rule InputNpc(2) goto Mush50
  81. rule InputNpc(3) goto Level10
  82. }
  83. state Pirate
  84. {
  85. desc "Select your amount"
  86. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  87.  
  88. action AddNpcInput(35,1,"Pirate 20");
  89. action AddNpcInput(35,2,"Pirate 50");
  90. action AddNpcInput(35,3,"Back");
  91.  
  92. rule InputNpc(1) goto Pirate20
  93. rule InputNpc(2) goto Pirate50
  94. rule InputNpc(3) goto Level10
  95. }
  96. state Sheep20
  97. {
  98. desc "Kill 20 Sheeps"
  99. action AddNpcText(35, "Okay then Kill 20 sheeps, Reward - Small sword and 2k Exp");
  100.  
  101. rule KilledNpcs(170,20) goto KilledS20
  102. }
  103. state KilledS20
  104. {
  105. desc "Return to the Trainer"
  106. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  107. rule TalkedToNpc(35) goto SR20
  108. }
  109. state SR20
  110. {
  111. action ShowHint("You have got 2k EXP, small sword and a title");
  112. action SetTitle("Sheep Hunter <Beginner>");
  113. action GiveItem(27,1);
  114. action GiveExp(2000);
  115. action Reset();
  116. }
  117. state Sheep50
  118. {
  119. desc "Kill 50 Sheeps"
  120. action AddNpcText(35, "Okay then Kill 50 sheeps, Reward - Normal Sword and 5k Exp.");
  121.  
  122. rule KilledNpcs(170,50) goto KilledS50
  123. }
  124. state KilledS50
  125. {
  126. desc "Return to the Trainer"
  127. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  128. rule TalkedToNpc(35) goto SR50
  129. }
  130. state SR50
  131. {
  132. action ShowHint("You have got 5k EXP, Normal Sword and a title");
  133. action SetTitle("Sheep Hunter <Elite>");
  134. action GiveItem(207,1);
  135. action GiveExp(5000);
  136. action Reset();
  137. }
  138. state Fox20
  139. {
  140. desc "Kill 20 Foxes"
  141. action AddNpcText(35, "Okay then Kill 20 foxes, Reward - 2 Golden Rings and 2k Exp.");
  142.  
  143. rule KilledNpcs(5,20) goto KilledF20
  144. }
  145. state KilledF20
  146. {
  147. desc "Return to the Trainer"
  148. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  149. rule TalkedToNpc(35) goto FR20
  150. }
  151. state FR20
  152. {
  153. action ShowHint("You have got 2k EXP, two golden rings and a title");
  154. action SetTitle("Fox Hunter <Beginner>");
  155. action GiveItem(42,2);
  156. action GiveExp(2000);
  157. action Reset();
  158. }
  159. state Fox50
  160. {
  161. desc "Kill 50 Foxes"
  162. action AddNpcText(35, "Okay then Kill 50 foxes, Reward - 2 Golden Elf Braclets and 5k Exp.");
  163.  
  164. rule KilledNpcs(5,50) goto KilledF50
  165. }
  166. state KilledF50
  167. {
  168. desc "Return to the Trainer"
  169. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  170. rule TalkedToNpc(35) goto FR50
  171. }
  172. state FR50
  173. {
  174. action ShowHint("You have got 5k EXP, 2 golden elf braclets and a title");
  175. action SetTitle("Fox Hunter <Elite>");
  176. action GiveItem(40,2);
  177. action GiveExp(5000);
  178. action Reset();
  179. }
  180. state Mush20
  181. {
  182. desc "Kill 20 Mushrooms"
  183. action AddNpcText(35, "Okay then Kill 20 Mushrooms, Reward - 5 Mushrooms and 2k Exp");
  184.  
  185. rule KilledNpcs(97,20) goto KilledM20
  186. }
  187. state KilledM20
  188. {
  189. desc "Return to the Trainer"
  190. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  191. rule TalkedToNpc(35) goto MR20
  192. }
  193. state MR20
  194. {
  195. action ShowHint("You have got 2k EXP, five mushrooms and a title");
  196. action SetTitle("Mushroom Hunter <Beginner>");
  197. action GiveItem(358,5);
  198. action GiveExp(2000);
  199. action Reset();
  200. }
  201. state Mush50
  202. {
  203. desc "Kill 50 Mushrooms"
  204. action AddNpcText(35, "Okay then Kill 50 mushrooms, Reward - 15 Mushrooms and 5k Exp.");
  205.  
  206. rule KilledNpcs(97,50) goto KilledM50
  207. }
  208. state KilledM50
  209. {
  210. desc "Return to the Trainer"
  211. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  212. rule TalkedToNpc(35) goto MR50
  213. }
  214. state MR50
  215. {
  216. action ShowHint("You have got 5k EXP, Fifteen mushrooms and a title");
  217. action SetTitle("Mushroom Hunter <Elite>");
  218. action GiveItem(358,15);
  219. action GiveExp(5000);
  220. action Reset();
  221. }
  222. state Pirate20
  223. {
  224. desc "Kill 20 Pirates"
  225. action AddNpcText(35, "Okay then Kill 20 pirates, Reward - 2000 Golds and 2k Exp.");
  226.  
  227. rule KilledNpcs(127,20) goto KilledP20
  228. }
  229. state KilledP20
  230. {
  231. desc "Return to the Trainer"
  232. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  233. rule TalkedToNpc(35) goto PR20
  234. }
  235. state PR20
  236. {
  237. action ShowHint("You have got 2k EXP,2000 golds and a title");
  238. action SetTitle("Pirate Hunter <Beginner>");
  239. action GiveItem(1,2000);
  240. action GiveExp(2000);
  241. action Reset();
  242. }
  243. state Pirate50
  244. {
  245. desc "Kill 50 Pirates"
  246. action AddNpcText(35, "Okay then Kill 50 pirates, 10000 Golds and 5k Exp.");
  247.  
  248. rule KilledNpcs(127,50) goto KilledP50
  249. }
  250. state KilledP50
  251. {
  252. desc "Return to the Trainer"
  253. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  254. rule TalkedToNpc(35) goto PR50
  255. }
  256. state PR50
  257. {
  258. action ShowHint("You have got 5k EXP, 10000 golds and a title");
  259. action SetTitle("Pirate Hunter <Elite>");
  260. action GiveItem(1,10000);
  261. action GiveExp(5000);
  262. action Reset();
  263. }
  264. state Level20
  265. {
  266. desc "Level 11 - 20 Npcs Selection"
  267. action AddNpcText(35, "Hmm i see, you want to take training for level 11 - 20. Okay then, choose Npcs on which you want training.");
  268.  
  269. action AddNpcInput(35,1,"Biter");
  270. action AddNpcInput(35,2,"Phoenix");
  271. action AddNpcInput(35,3,"Optica");
  272. action AddNpcInput(35,4,"Angry Vine");
  273. action AddNpcInput(35,5,"Home");
  274.  
  275. rule InputNpc(1) goto Biter
  276. rule InputNpc(2) goto Phoenix
  277. rule InputNpc(3) goto Optica
  278. rule InputNpc(4) goto Vine
  279. rule InputNpc(5) goto Begin
  280. }
  281. state Biter
  282. {
  283. desc "Select your amount"
  284. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  285.  
  286. action AddNpcInput(35,1,"Biter 20");
  287. action AddNpcInput(35,2,"Biter 50");
  288. action AddNpcInput(35,3,"Biter100");
  289. action AddNpcInput(35,4,"Back");
  290.  
  291. rule InputNpc(1) goto Biter20
  292. rule InputNpc(2) goto Biter50
  293. rule InputNpc(3) goto Biter100
  294. rule InputNpc(4) goto Level20
  295. }
  296. state Phoenix
  297. {
  298. desc "Select your amount"
  299. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  300.  
  301. action AddNpcInput(35,1,"Phoenix 20");
  302. action AddNpcInput(35,2,"Phoenix 50");
  303. action AddNpcInput(35,3,"Back");
  304.  
  305. rule InputNpc(1) goto Phoenix20
  306. rule InputNpc(2) goto Phoenix50
  307. rule InputNpc(3) goto Level20
  308. }
  309. state Optica
  310. {
  311. desc "Select your amount"
  312. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  313.  
  314. action AddNpcInput(35,1,"Optica 20");
  315. action AddNpcInput(35,2,"Optica 50");
  316. action AddNpcInput(35,3,"Back");
  317.  
  318. rule InputNpc(1) goto Optica20
  319. rule InputNpc(2) goto Optica50
  320. rule InputNpc(3) goto Level20
  321. }
  322. state Vine
  323. {
  324. desc "Select your amount"
  325. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  326.  
  327. action AddNpcInput(35,1,"Vine 20");
  328. action AddNpcInput(35,2,"Vine 50");
  329. action AddNpcInput(35,3,"Vine 100");
  330. action AddNpcInput(35,4,"Back");
  331.  
  332. rule InputNpc(1) goto Vine20
  333. rule InputNpc(2) goto Vine50
  334. rule InputNpc(3) goto Vine100
  335. rule InputNpc(4) goto Level20
  336. }
  337. state Biter20
  338. {
  339. desc "Kill 20 Biters"
  340. action AddNpcText(35, "Okay then Kill 20 biters, Reward - 5 Green Blobs and 5k Exp.");
  341.  
  342. rule KilledNpcs(171,20) goto KilledB20
  343. }
  344. state KilledB20
  345. {
  346. desc "Return to the Trainer"
  347. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  348. rule TalkedToNpc(35) goto BR20
  349. }
  350. state BR20
  351. {
  352. action ShowHint("You have got 5k EXP, 5 green blobs and a title");
  353. action SetTitle("Biter Hunter <Warrior>");
  354. action GiveItem(307,5);
  355. action GiveExp(5000);
  356. action Reset();
  357. }
  358. state Biter50
  359. {
  360. desc "Kill 50 Biters"
  361. action AddNpcText(35, "Okay then Kill 50 biters, Reward - 10 Green Blobs and 10k Exp.");
  362.  
  363. rule KilledNpcs(171,50) goto KilledB50
  364. }
  365. state KilledB50
  366. {
  367. desc "Return to the Trainer"
  368. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  369. rule TalkedToNpc(35) goto BR50
  370. }
  371. state BR50
  372. {
  373. action ShowHint("You have got 10k EXP, 10 green blob and a title");
  374. action SetTitle("Biter Hunter <Elite Warrior>");
  375. action GiveItem(307,10);
  376. action GiveExp(10000);
  377. action Reset();
  378. }
  379. state Biter100
  380. {
  381. desc "Kill 100 Biters"
  382. action AddNpcText(35, "Okay then Kill 100 biters, Reward - Biter Egg and 15k Exp.");
  383.  
  384. rule KilledNpcs(171,100) goto KilledB100
  385. }
  386. state KilledB100
  387. {
  388. desc "Return to the Trainer"
  389. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  390. rule TalkedToNpc(35) goto BR100
  391. }
  392. state BR100
  393. {
  394. action ShowHint("You have got 15k EXP, Biter Egg and a title");
  395. action SetTitle("Biter Hunter <Crusader>");
  396. action GiveItem(570,1);
  397. action GiveExp(15000);
  398. action Reset();
  399. }
  400. state Phoenix20
  401. {
  402. desc "Kill 20 Phoenix"
  403. action AddNpcText(35, "Okay then Kill 20 Phoenix, Reward - 5k Exp and Bazar.");
  404.  
  405. rule KilledNpcs(216,20) goto KilledPH20
  406. }
  407. state KilledPH20
  408. {
  409. desc "Return to the Trainer"
  410. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  411. rule TalkedToNpc(35) goto PHR20
  412. }
  413. state PHR20
  414. {
  415. action ShowHint("You have got 5k EXP, bazar and a title");
  416. action SetTitle("Phoenix Hunter <Warrior>");
  417. action GiveItem(455,1);
  418. action GiveExp(5000);
  419. action Reset();
  420. }
  421. state Phoenix50
  422. {
  423. desc "Kill 50 Phoenix"
  424. action AddNpcText(35, "Okay then Kill 50 phoenix, Reward - 10k Exp and Phoenix Egg");
  425.  
  426. rule KilledNpcs(216,50) goto KilledPH50
  427. }
  428. state KilledPH50
  429. {
  430. desc "Return to the Trainer"
  431. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  432. rule TalkedToNpc(35) goto PHR50
  433. }
  434. state PHR50
  435. {
  436. action ShowHint("You have got 10k EXP, Phoenix Egg and a title");
  437. action SetTitle("Phoenix Hunter <Elite Warrior>");
  438. action GiveItem(597,1);
  439. action GiveExp(10000);
  440. action Reset();
  441. }
  442. state Optica20
  443. {
  444. desc "Kill 20 Optica"
  445. action AddNpcText(35, "Okay then Kill 20 Optica, Reward - Optica Egg and 5k Exp");
  446.  
  447. rule KilledNpcs(131,20) goto KilledO20
  448. }
  449. state KilledO20
  450. {
  451. desc "Return to the Trainer"
  452. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  453. rule TalkedToNpc(35) goto OR20
  454. }
  455. state OR20
  456. {
  457. action ShowHint("You have got 5k EXP, Optica Egg and a title");
  458. action SetTitle("Optica Hunter <Warrior>");
  459. action GiveItem(553,1);
  460. action GiveExp(5000);
  461. action Reset();
  462. }
  463. state Optica50
  464. {
  465. desc "Kill 50 Optica"
  466. action AddNpcText(35, "Okay then Kill 50 optica, Reward - Gnoll Egg and 7k Exp.");
  467.  
  468. rule KilledNpcs(131,50) goto KilledO50
  469. }
  470. state KilledO50
  471. {
  472. desc "Return to the Trainer"
  473. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  474. rule TalkedToNpc(35) goto OR50
  475. }
  476. state OR50
  477. {
  478. action ShowHint("You have got 7k EXP, Gnoll Egg and a title");
  479. action SetTitle("Optica Hunter <Elite Warrior>");
  480. action GiveItem(575,1);
  481. action GiveExp(7000);
  482. action Reset();
  483. }
  484. state Vine20
  485. {
  486. desc "Kill 20 Angry Vines"
  487. action AddNpcText(35, "Okay then Kill 20 vines, Reward - 5 Vine tentacles and 7k Exp.");
  488.  
  489. rule KilledNpcs(137,20) goto KilledV20
  490. }
  491. state KilledV20
  492. {
  493. desc "Return to the Trainer"
  494. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  495. rule TalkedToNpc(35) goto VR20
  496. }
  497. state VR20
  498. {
  499. action ShowHint("You have got 7k EXP,5 Vine Tentacles and a title");
  500. action SetTitle("Angry Vine Hunter <Warrior>");
  501. action GiveItem(403,5);
  502. action GiveExp(7000);
  503. action Reset();
  504. }
  505. state Vine50
  506. {
  507. desc "Kill 50 Angry Vines"
  508. action AddNpcText(35, "Okay then Kill 50 Angry Vines, Reward - Angry Vine Egg and 10k Exp.");
  509.  
  510. rule KilledNpcs(137,50) goto KilledV50
  511. }
  512. state KilledV50
  513. {
  514. desc "Return to the Trainer"
  515. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  516. rule TalkedToNpc(35) goto VR50
  517. }
  518. state VR50
  519. {
  520. action ShowHint("You have got 10k EXP, Angry Vine Egg and a title");
  521. action SetTitle("Angry Vine Hunter <Elite Warrior>");
  522. action GiveItem(559,1);
  523. action GiveExp(10000);
  524. action Reset();
  525. }
  526. state Vine100
  527. {
  528. desc "Kill 100 Angry Vines"
  529. action AddNpcText(35, "Okay then Kill 100 Angry Vines, Reward - Elegant Hat and 20k Exp.");
  530.  
  531. rule KilledNpcs(137,100) goto KilledV100
  532. }
  533. state KilledV100
  534. {
  535. desc "Return to the Trainer"
  536. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  537. rule TalkedToNpc(35) goto VR100
  538. }
  539. state VR100
  540. {
  541. action ShowHint("You have got 20k EXP, Elegant Hat and a title");
  542. action SetTitle("Angry Vine Hunter <Crusader>");
  543. action GiveItem(359,1);
  544. action GiveExp(20000);
  545. action Reset();
  546. }
  547. state Level30
  548. {
  549. desc "Level 21 - 30 Npcs Selection"
  550. action AddNpcText(35, "Hmm i see, you want to take training for level 21 - 30. Okay then, choose Npcs on which you want training.");
  551.  
  552. action AddNpcInput(35,1,"Swamp Monster");
  553. action AddNpcInput(35,2,"The Reaper");
  554. action AddNpcInput(35,3,"The Octopus");
  555. action AddNpcInput(35,4,"Dark Magicians");
  556. action AddNpcInput(35,5,"Home");
  557.  
  558. rule InputNpc(1) goto Swamp
  559. rule InputNpc(2) goto Reaper
  560. rule InputNpc(3) goto Octopus
  561. rule InputNpc(4) goto Dark
  562. rule InputNpc(5) goto Begin
  563. }
  564. state Swamp
  565. {
  566. desc "Select your amount"
  567. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  568.  
  569. action AddNpcInput(35,1,"Swamp Monster 20");
  570. action AddNpcInput(35,2,"Swamp Monster 50");
  571. action AddNpcInput(35,3,"Back");
  572.  
  573. rule InputNpc(1) goto Swamp20
  574. rule InputNpc(2) goto Swamp50
  575. rule InputNpc(3) goto Level30
  576. }
  577. state Reaper
  578. {
  579. desc "Select your amount"
  580. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  581.  
  582. action AddNpcInput(35,1,"Reaper 20");
  583. action AddNpcInput(35,2,"Reaper 50");
  584. action AddNpcInput(35,3,"Back");
  585.  
  586. rule InputNpc(1) goto Reaper20
  587. rule InputNpc(2) goto Reaper50
  588. rule InputNpc(3) goto Level30
  589. }
  590. state Octopus
  591. {
  592. desc "Select your amount"
  593. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  594.  
  595. action AddNpcInput(35,1,"Octopus 20");
  596. action AddNpcInput(35,2,"Octopus 50");
  597. action AddNpcInput(35,3,"Back");
  598.  
  599. rule InputNpc(1) goto Octopus20
  600. rule InputNpc(2) goto Octopus50
  601. rule InputNpc(3) goto Level30
  602. }
  603. state Dark
  604. {
  605. desc "Select your amount"
  606. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  607.  
  608. action AddNpcInput(35,1,"Dark Magician 20");
  609. action AddNpcInput(35,2,"Dark Magician 50");
  610. action AddNpcInput(35,3,"Back");
  611.  
  612. rule InputNpc(1) goto Dark20
  613. rule InputNpc(2) goto Dark50
  614. rule InputNpc(3) goto Level30
  615. }
  616. state Swamp20
  617. {
  618. desc "Kill 20 Swamp Monsters"
  619. action AddNpcText(35, "Okay then Kill 20 swamp monsters, Reward - 6k Exp and 5 Monster Flesh.");
  620.  
  621. rule KilledNpcs(139,20) goto KilledSM20
  622. }
  623. state KilledSM20
  624. {
  625. desc "Return to the Trainer"
  626. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  627. rule TalkedToNpc(35) goto SMR20
  628. }
  629. state SMR20
  630. {
  631. action ShowHint("You have got 6k EXP, 5 Monster Flesh and a title");
  632. action SetTitle("Swampy Land");
  633. action GiveItem(405,5);
  634. action GiveExp(6000);
  635. action Reset();
  636. }
  637. state Swamp50
  638. {
  639. desc "Kill 50 Swamp Monsters"
  640. action AddNpcText(35, "Okay then Kill 50 swamp monsters, Reward - 2 Swamp Monster Egg and 15k Exp.");
  641.  
  642. rule KilledNpcs(139,50) goto KilledSM50
  643. }
  644. state KilledSM50
  645. {
  646. desc "Return to the Trainer"
  647. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  648. rule TalkedToNpc(35) goto SMR50
  649. }
  650. state SMR50
  651. {
  652. action ShowHint("You have got 15k EXP, 2 Swamp Monster Egg and a title");
  653. action SetTitle("Owner of Swamp");
  654. action GiveItem(561,2);
  655. action GiveExp(15000);
  656. action Reset();
  657. }
  658. state Reaper20
  659. {
  660. desc "Kill 20 Reapers"
  661. action AddNpcText(35, "Okay then Kill 20 Reapers, Reward - 8k Exp and 5000 Golds.");
  662.  
  663. rule KilledNpcs(9,20) goto KilledR20
  664. }
  665. state KilledR20
  666. {
  667. desc "Return to the Trainer"
  668. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  669. rule TalkedToNpc(35) goto RR20
  670. }
  671. state RR20
  672. {
  673. action ShowHint("You have got 8k EXP, 5000 golds and a title");
  674. action SetTitle("The Deadly Kid");
  675. action GiveItem(1,5000);
  676. action GiveExp(8000);
  677. action Reset();
  678. }
  679. state Reaper50
  680. {
  681. desc "Kill 50 Reapers"
  682. action AddNpcText(35, "Okay then Kill 50 Reapers, Reward - Reaper Egg and 20k Exp.");
  683.  
  684. rule KilledNpcs(9,50) goto KilledR50
  685. }
  686. state KilledR50
  687. {
  688. desc "Return to the Trainer"
  689. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  690. rule TalkedToNpc(35) goto RR50
  691. }
  692. state RR50
  693. {
  694. action ShowHint("You have got 20k EXP, Reaper Egg and a title");
  695. action SetTitle("Soul of Reaper");
  696. action GiveItem(495,1);
  697. action GiveExp(20000);
  698. action Reset();
  699. }
  700. state Octopus20
  701. {
  702. desc "Kill 20 Octopus"
  703. action AddNpcText(35, "Okay then Kill 20 Octopus, Reward - Bow +1 and 6k Exp.");
  704.  
  705. rule KilledNpcs(118,20) goto KilledOC20
  706. }
  707. state KilledOC20
  708. {
  709. desc "Return to the Trainer"
  710. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  711. rule TalkedToNpc(35) goto OCR20
  712. }
  713. state OCR20
  714. {
  715. action ShowHint("You have got 6k EXP, Bow +1 and a title");
  716. action SetTitle("Ocean Navigator");
  717. action GiveItem(496,1);
  718. action GiveExp(6000);
  719. action Reset();
  720. }
  721. state Octopus50
  722. {
  723. desc "Kill 50 Octopus"
  724. action AddNpcText(35, "Okay then Kill 50 octopus, Reward - Octopus Egg and 15k Exp.");
  725.  
  726. rule KilledNpcs(118,50) goto KilledOC50
  727. }
  728. state KilledOC50
  729. {
  730. desc "Return to the Trainer"
  731. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  732. rule TalkedToNpc(35) goto OCR50
  733. }
  734. state OCR50
  735. {
  736. action ShowHint("You have got 15k EXP, Octopus Egg and a title");
  737. action SetTitle("Atlantis Owner ");
  738. action GiveItem(543,1);
  739. action GiveExp(15000);
  740. action Reset();
  741. }
  742. state Dark20
  743. {
  744. desc "Kill 20 Dark Magicians"
  745. action AddNpcText(35, "Okay then Kill 20 Dark Magicians, Reward - Turtle Costume and 5k Exp.");
  746.  
  747. rule KilledNpcs(207,20) goto KilledD20
  748. }
  749. state KilledD20
  750. {
  751. desc "Return to the Trainer"
  752. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  753. rule TalkedToNpc(35) goto GenderDr
  754. }
  755. state DR20
  756. {
  757. action ShowHint("You have got 5k EXP, Turtle Costume and a title");
  758. action SetTitle("The Dark Magician");
  759. action GiveItem(733,1);
  760. action GiveExp(5000);
  761. action Reset();
  762. }
  763. state Dark50
  764. {
  765. desc "Kill 50 Dark Magicians"
  766. action AddNpcText(35, "Okay then Kill 50 Dark Magicians, Reward - Lens Of Truth and 12k Exp.");
  767.  
  768. rule KilledNpcs(207,50) goto KilledD50
  769. }
  770. state KilledD50
  771. {
  772. desc "Return to the Trainer"
  773. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  774. rule TalkedToNpc(35) goto DR50
  775. }
  776. state DR50
  777. {
  778. action ShowHint("You have got 12k EXP, Lens of Truth and a title");
  779. action SetTitle("Lord of Darkness");
  780. action GiveItem(421,1);
  781. action GiveExp(12000);
  782. action Reset();
  783. }
  784. State GenderDr
  785. {
  786. rule IsGender(1) goto DR20
  787. rule IsGender(0) goto FemaleDM
  788. }
  789. State FemaleDM
  790. {
  791. action ShowHint("You have got 12k EXP, Turtle Costume and a title");
  792. action SetTitle("Lord of Darkness");
  793. action GiveItem(676,1);
  794. action GiveExp(12000);
  795. action Reset();
  796. }
  797. state Level50
  798. {
  799. desc "Level 31 - 50 Npcs Selection"
  800. action AddNpcText(35, "Hmm i see, you want to take training for level 31 - 50. Okay then, choose Npcs on which you want training.");
  801.  
  802. action AddNpcInput(35,1,"Gnome Rider");
  803. action AddNpcInput(35,2,"Dragon");
  804. action AddNpcInput(35,3,"The Ancient Wraith");
  805. action AddNpcInput(35,4,"Unicorns");
  806. action AddNpcInput(35,5,"Home");
  807.  
  808. rule InputNpc(1) goto Gnome
  809. rule InputNpc(2) goto Dragon
  810. rule InputNpc(3) goto Wraith
  811. rule InputNpc(4) goto Unicorn
  812. rule InputNpc(5) goto Begin
  813. }
  814. state Gnome
  815. {
  816. desc "Select your amount"
  817. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  818.  
  819. action AddNpcInput(35,1,"Gnome Rider 20");
  820. action AddNpcInput(35,2,"Gnome Rider 50");
  821. action AddNpcInput(35,3,"Back");
  822.  
  823. rule InputNpc(1) goto Gnome20
  824. rule InputNpc(2) goto Gnome50
  825. rule InputNpc(3) goto Level50
  826. }
  827. state Dragon
  828. {
  829. desc "Select your amount"
  830. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  831.  
  832. action AddNpcInput(35,1,"Dragon 20");
  833. action AddNpcInput(35,2,"Dragon 50");
  834. action AddNpcInput(35,3,"Back");
  835.  
  836. rule InputNpc(1) goto Dragon20
  837. rule InputNpc(2) goto Dragon50
  838. rule InputNpc(3) goto Level50
  839. }
  840. state Wraith
  841. {
  842. desc "Select your amount"
  843. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  844.  
  845. action AddNpcInput(35,1,"Ancient Wraith 20");
  846. action AddNpcInput(35,2,"Ancient Wraith 50");
  847. action AddNpcInput(35,3,"Back");
  848.  
  849. rule InputNpc(1) goto Wraith20
  850. rule InputNpc(2) goto Wraith50
  851. rule InputNpc(3) goto Level50
  852. }
  853. state Unicorn
  854. {
  855. desc "Select your amount"
  856. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  857.  
  858. action AddNpcInput(35,1,"Unicorn 20");
  859. action AddNpcInput(35,2,"Unicorn 50");
  860. action AddNpcInput(35,3,"Unicorn 100");
  861. action AddNpcInput(35,4,"Back");
  862.  
  863. rule InputNpc(1) goto Unicorn20
  864. rule InputNpc(2) goto Unicorn50
  865. rule InputNpc(3) goto Unicorn100
  866. rule InputNpc(4) goto Level50
  867. }
  868. state Gnome20
  869. {
  870. desc "Kill 20 Gnome Riders"
  871. action AddNpcText(35, "Okay then Kill 20 Gnome Riders of new desert, Reward - 10k Exp");
  872.  
  873. rule KilledNpcs(410,20) goto KilledG20
  874. }
  875. state KilledG20
  876. {
  877. desc "Return to the Trainer"
  878. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  879. rule TalkedToNpc(35) goto GR20
  880. }
  881. state GR20
  882. {
  883. action ShowHint("You have got 10k EXP and a title");
  884. action SetTitle("Barren Land");
  885. action GiveExp(10000);
  886. action Reset();
  887. }
  888. state Gnome50
  889. {
  890. desc "Kill 50 Gnome Riders"
  891. action AddNpcText(35, "Okay then Kill 50 Gnome Riders of new desert, Reward - 25k Exp");
  892.  
  893. rule KilledNpcs(410,50) goto KilledG50
  894. }
  895. state KilledG50
  896. {
  897. desc "Return to the Trainer"
  898. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  899. rule TalkedToNpc(35) goto GR50
  900. }
  901. state GR50
  902. {
  903. action ShowHint("You have got 25k EXP and a title");
  904. action SetTitle("Thrusty Desert");
  905. action GiveExp(25000);
  906. action Reset();
  907. }
  908. state Dragon20
  909. {
  910. desc "Kill 20 Dragons"
  911. action AddNpcText(35, "Okay then Kill 20 Dragons, Reward - Saw and 15k Exp.");
  912.  
  913. rule KilledNpcs(225,20) goto KilledDG20
  914. }
  915. state KilledDG20
  916. {
  917. desc "Return to the Trainer"
  918. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  919. rule TalkedToNpc(35) goto DGR20
  920. }
  921. state DGR20
  922. {
  923. action ShowHint("You have got 15k EXP, saw and a title");
  924. action SetTitle("Dragoon GO!!!");
  925. action GiveItem(456,1);
  926. action GiveExp(15000);
  927. action Reset();
  928. }
  929. state Dragon50
  930. {
  931. desc "Kill 50 Dragons"
  932. action AddNpcText(35, "Okay then Kill 50 Dragons, Reward - 25k Exp and Dragon Egg.");
  933.  
  934. rule KilledNpcs(225,50) goto KilledDG50
  935. }
  936. state KilledDG50
  937. {
  938. desc "Return to the Trainer"
  939. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  940. rule TalkedToNpc(35) goto DGR50
  941. }
  942. state DGR50
  943. {
  944. action ShowHint("You have got 25k EXP, Dragon Egg and a title");
  945. action SetTitle("Lord Dragoon");
  946. action GiveItem(605,1);
  947. action GiveExp(25000);
  948. action Reset();
  949. }
  950. state Wraith20
  951. {
  952. desc "Kill 20 Ancient Wraith"
  953. action AddNpcText(35, "Okay then Kill 20 Ancient Wraith, Reward - Scav Bow and 15k Exp.");
  954.  
  955. rule KilledNpcs(255,20) goto KilledAW20
  956. }
  957. state KilledAW20
  958. {
  959. desc "Return to the Trainer"
  960. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  961. rule TalkedToNpc(35) goto AWR20
  962. }
  963. state AWR20
  964. {
  965. action ShowHint("You have got 15k EXP, Scav Bow and a title");
  966. action SetTitle("Hailey Ghost");
  967. action GiveItem(457,1);
  968. action GiveExp(15000);
  969. action Reset();
  970. }
  971. state Wraith50
  972. {
  973. desc "Kill 50 Ancient Wraith"
  974. action AddNpcText(35, "Okay then Kill 50 Ancient Wraith, Reward - Ancient Wraith Egg and 25k Exp.");
  975.  
  976. rule KilledNpcs(255,50) goto KilledAW50
  977. }
  978. state KilledAW50
  979. {
  980. desc "Return to the Trainer"
  981. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  982. rule TalkedToNpc(35) goto AWR50
  983. }
  984. state AWR50
  985. {
  986. action ShowHint("You have got 25k EXP, Aw Egg and a title");
  987. action SetTitle("Ancient Ghost");
  988. action GiveItem(625,1);
  989. action GiveExp(25000);
  990. action Reset();
  991. }
  992. state Unicorn20
  993. {
  994. desc "Kill 20 Unicorns"
  995. action AddNpcText(35, "Okay then Kill 20 Unicorns, Reward - 20k Exp");
  996.  
  997. rule KilledNpcs(409,20) goto KilledU20
  998. }
  999. state KilledU20
  1000. {
  1001. desc "Return to the Trainer"
  1002. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  1003. rule TalkedToNpc(35) goto UR20
  1004. }
  1005. state UR20
  1006. {
  1007. action ShowHint("You have got 20k EXP and a title");
  1008. action SetTitle("The Avalanche");
  1009. action GiveExp(20000);
  1010. action Reset();
  1011. }
  1012. state Unicorn50
  1013. {
  1014. desc "Kill 50 Unicorns"
  1015. action AddNpcText(35, "Okay then Kill 50 Unicorns, Reward - 20k Exp and Ice Hammer");
  1016.  
  1017. rule KilledNpcs(409,50) goto KilledU50
  1018. }
  1019. state KilledU50
  1020. {
  1021. desc "Return to the Trainer"
  1022. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  1023. rule TalkedToNpc(35) goto UR50
  1024. }
  1025. state UR50
  1026. {
  1027. action ShowHint("You have got 20k EXP, Ice Hammer and a title");
  1028. action SetTitle("Eternal Blizzard");
  1029. action GiveItem(731,1);
  1030. action GiveExp(20000);
  1031. action Reset();
  1032. }
  1033. state Unicorn100
  1034. {
  1035. desc "Kill 100 Unicorns"
  1036. action AddNpcText(35, "Okay then Kill 100 Unicorns, Reward - 50k Exp and Unicorn Egg");
  1037.  
  1038. rule KilledNpcs(409,100) goto KilledU100
  1039. }
  1040. state KilledU100
  1041. {
  1042. desc "Return to the Trainer"
  1043. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  1044. rule TalkedToNpc(35) goto UR100
  1045. }
  1046. state UR100
  1047. {
  1048. action ShowHint("You have got 50k EXP, Unicorn Egg and a title");
  1049. action SetTitle("Harder than Ice Berg");
  1050. action GiveItem(740,1);
  1051. action GiveExp(50000);
  1052. action Reset();
  1053. }
  1054. state Level100
  1055. {
  1056. desc "Level 51 - 100 Npcs Selection"
  1057. action AddNpcText(35, "Hmm i see, you want to take training for level 51 - 100. Okay then, choose Npcs on which you want training.");
  1058.  
  1059. action AddNpcInput(35,1,"Apozen Overlord");
  1060. action AddNpcInput(35,2,"Devil");
  1061. action AddNpcInput(35,3,"Home");
  1062.  
  1063. rule InputNpc(1) goto Apozen
  1064. rule InputNpc(2) goto Devil
  1065. rule InputNpc(3) goto Begin
  1066. }
  1067. state Apozen
  1068. {
  1069. desc "Select your amount"
  1070. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  1071.  
  1072. action AddNpcInput(35,1,"Apozen 10");
  1073. action AddNpcInput(35,2,"Back");
  1074.  
  1075. rule InputNpc(1) goto Apozen10
  1076. rule InputNpc(2) goto Level100
  1077. }
  1078. state Devil
  1079. {
  1080. desc "Select your amount"
  1081. action AddNpcText(35, "Thank you very much, Now choose npc amount which you want to kill.");
  1082.  
  1083. action AddNpcInput(35,1,"Devil 10");
  1084. action AddNpcInput(35,2,"Back");
  1085.  
  1086. rule InputNpc(1) goto Devil10
  1087. rule InputNpc(2) goto Level100
  1088. }
  1089. state Apozen10
  1090. {
  1091. desc "Kill 10 Apozen Overlord"
  1092. action AddNpcText(35, "Okay then Kill 10 Apozen Overlord, Reward - 15k Exp and Devil Costume.");
  1093.  
  1094. rule KilledNpcs(257,10) goto KilledA10
  1095. }
  1096. state KilledA10
  1097. {
  1098. desc "Return to the Trainer"
  1099. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  1100. rule TalkedToNpc(35) goto Gender
  1101. }
  1102. state Gender
  1103. {
  1104. action AddNpcText(33, "Checking......... your gender.......!!!!!");
  1105. rule IsGender(0) goto Female
  1106. rule IsGender(1) goto Male
  1107. }
  1108. state Female
  1109. {
  1110. action ShowHint("You have got 15k EXP, Devil Costume and a title");
  1111. action SetTitle("Executioner Lady");
  1112. action GiveItem(199,1);
  1113. action GiveExp(15000);
  1114. action Reset();
  1115. }
  1116. state Male
  1117. {
  1118. action ShowHint("You have got 15k EXP, Devil Costume and a title");
  1119. action SetTitle("Lord Divine");
  1120. action GiveItem(200,1);
  1121. action GiveExp(15000);
  1122. action Reset();
  1123. }
  1124. state Devil10
  1125. {
  1126. desc "Kill 10 Devils"
  1127. action AddNpcText(35, "Okay then Kill 10 Devils of New Desert, Reward - 20k Exp and Devil Whip.");
  1128.  
  1129. rule KilledNpcs(413,10) goto KilledDevil
  1130. }
  1131. state KilledDevil
  1132. {
  1133. desc "Return to the Trainer"
  1134. action AddNpcText(35, "Wow, Congratulations!! Here''s your reward [name]");
  1135. rule TalkedToNpc(35) goto DevilR
  1136. }
  1137. state DevilR
  1138. {
  1139. action ShowHint("You have got 20k EXP, Devil Whip and a title");
  1140. action SetTitle("Devil (^_^)");
  1141. action GiveItem(726,1);
  1142. action GiveExp(20000);
  1143. action Reset();
  1144. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement