Advertisement
Guest User

Untitled

a guest
Aug 8th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.71 KB | None | 0 0
  1. Main
  2. {
  3. questname "Butchering Carcass"
  4. version 1.0
  5. }
  6. state Begin
  7. {
  8. desc "Learning the Ropes"
  9. action AddNpcChat ( 36 , "Click me to learn butchery!");
  10. action AddNpcText ( 36 , "Hey newbie! When it\'s done right, you can extract massive amounts of material from animal carcass. Would you like to learn the ropes of butchery?");
  11. action AddNpcInput ( 36 , 1 , "Yes, please!");
  12. action AddNpcInput ( 36 , 2 , "No I am good." );
  13. rule InputNpc ( 1 ) goto Learning
  14. rule InputNpc ( 2 ) goto Nevermind
  15. }
  16. state Nevermind
  17. {
  18. desc "Letting go of the Ropes"
  19. action AddNpcText ( 36 , "Alrighty then, your loss! Come back to me if you are ever interested.");
  20. rule TalkedToNpc ( 36 ) goto Begin
  21. }
  22. state Learning
  23. {
  24. desc "Butcher Credits"
  25. action GiveItem(502, 1);
  26. action ShowHint("You received Butcher Credit!")
  27. action AddNpcText ( 36 , "Butcher Credits are used to increase your yields. With 1-9 butcher credits, you can only extract a limited amount of material from animal carcass. You can either earn 1 credit every time you butcher carcass, or you can do certain quests that may reward you with these credits.");
  28. action AddNpcText ( 36 , "I am one butcher of many. The 3 carcasses I can butcher are Sheep, Butterflies, and Foxes. ");
  29. action AddNpcInput ( 36 , 1 , "I\'ve learned enough");
  30. action AddNpcInput ( 36 , 2 , "I want to learn more" );
  31. rule InputNpc ( 1 ) goto MainMenu
  32. rule InputNpc ( 2 ) goto LearnMore
  33. }
  34. state LearnMore
  35. {
  36. desc "Learning the Ropes"
  37. action AddNpcText ( 36 , "There are butchers like me all over the world that you can talk to, and they all butcher 3 different carcasses. Every time you come to me with carcass to butcher, you will earn 1 Butcher Credit. Per 10 Butcher Credits, you will gain a new skill level in Butchery! Per skill level, you will be able to extract new and more materials from animal carcass!");
  38. action AddNpcText ( 36 , "For example: with 1 butcher credit, you will be able to extract 4 bones and 2 wool from a sheep, or 4 bones and 2 fox fur from a fox.");
  39. action AddNpcInput ( 36 , 1 , "I understand!");
  40. rule InputNpc ( 1 ) goto MainMenu
  41. }
  42. state MainMenu
  43. {
  44. desc "Options for Butchery"
  45. action AddNpcText ( 36 , "How can I help you?");
  46. action AddNpcInput ( 36 , 1 , "Butcher Sheep Carcass");
  47. action AddNpcInput ( 36 , 2 , "Butcher Butterfly Carcass" );
  48. action AddNpcInput ( 36 , 3 , "Butcher Fox Carcass" );
  49. rule InputNpc ( 1 ) goto Sheep
  50. rule InputNpc ( 2 ) goto Butterfly
  51. rule InputNpc ( 3 ) goto Fox
  52. }
  53. state NotEnough
  54. {
  55. desc "Butcher Level 5"
  56. action AddNpcText ( 36 , "It seems you don\'t have as much as you claimed. Come back to me when you have the required amount for a successful butchery.");
  57. rule TalkedToNpc ( 36 ) goto MainMenu
  58. }
  59. state ButcherLeveling
  60. {
  61. desc "Butcher Credits"
  62. action GiveItem(502, 1);
  63. action ShowHint("You earned 1 Butcher Credit!");
  64. action AddNpcText ( 36 , "Good job! Per 10 Butcher Credits you earn, you will level up your Butchery skill!");
  65. rule TalkedToNpc ( 36 ) goto MainMenu
  66. }
  67.  
  68. state Sheep
  69. {
  70. desc "Butchering Sheep"
  71. if GotItems(502, 1) goto Sheep1
  72. else if GotItems(502,10) goto Sheep2
  73. else if GotItems(502,20) goto Sheep3
  74. else if GotItems(502,30) goto Sheep4
  75. else if GotItems(502,40) goto Sheep5
  76. else if GotItems(502,50) goto Sheep6
  77.  
  78. else goto MainMenu
  79. }
  80. state Butterfly
  81. {
  82. desc "Butchering Butterfly"
  83. if GotItems(502, 1) goto Butterfly1
  84. else if GotItems(502, 10) goto Butterfly2
  85. else if GotItems(502, 20) goto Butterfly3
  86. else if GotItems(502, 30) goto Butterfly4
  87. else if GotItems(502, 40) goto Butterfly5
  88. else if GotItems(502, 50) goto Butterfly6
  89.  
  90. else goto MainMenu
  91. }
  92. state Fox
  93. {
  94. desc "Butchering Fox"
  95. if GotItems(502, 1) goto Fox1
  96. else if GotItems(502, 10) goto Fox2
  97. else if GotItems(502, 20) goto Fox3
  98. else if GotItems(502, 30) goto Fox4
  99. else if GotItems(502, 40) goto Fox5
  100. else if GotItems(502, 50) goto Fox6
  101.  
  102. else goto MainMenu
  103. }
  104.  
  105. state Sheep1
  106. {
  107. desc "Butcher Level 1"
  108. action AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
  109.  
  110. action AddNpcInput ( 36 , 1 , "10 sheep carcass");
  111. action AddNpcInput ( 36 , 2 , "20 sheep carcass" );
  112. rule InputNpc ( 1 ) goto tensheep0
  113. rule InputNpc ( 2 ) goto twentysheep0
  114. }
  115. state Sheep2
  116. {
  117. desc "Butcher Level 2"
  118. action AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
  119.  
  120. action AddNpcInput ( 36 , 1 , "10 sheep carcass");
  121. action AddNpcInput ( 36 , 2 , "20 sheep carcass" );
  122. rule InputNpc ( 1 ) goto tensheep1
  123. rule InputNpc ( 2 ) goto twentysheep1
  124. }
  125. state Sheep3
  126. {
  127. desc "Butcher Level 3"
  128. action AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
  129.  
  130. action AddNpcInput ( 36 , 1 , "10 sheep carcass");
  131. action AddNpcInput ( 36 , 2 , "20 sheep carcass" );
  132. rule InputNpc ( 1 ) goto tensheep2
  133. rule InputNpc ( 2 ) goto twentysheep2
  134. }
  135. state Sheep4
  136. {
  137. desc "Butcher Level 4"
  138. action AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
  139.  
  140. action AddNpcInput ( 36 , 1 , "10 sheep carcass");
  141. action AddNpcInput ( 36 , 2 , "20 sheep carcass" );
  142. rule InputNpc ( 1 ) goto tensheep3
  143. rule InputNpc ( 2 ) goto twentysheep3
  144. }
  145. state Sheep5
  146. {
  147. desc "Butcher Level 5"
  148. action AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
  149.  
  150. action AddNpcInput ( 36 , 1 , "10 sheep carcass");
  151. action AddNpcInput ( 36 , 2 , "20 sheep carcass" );
  152. rule InputNpc ( 1 ) goto tensheep4
  153. rule InputNpc ( 2 ) goto twentysheep4
  154. }
  155. state Sheep6
  156. {
  157. desc "Butcher Level 6"
  158. action AddNpcText ( 36 , "How much sheep carcass would you like to butcher?");
  159.  
  160. action AddNpcInput ( 36 , 1 , "10 sheep carcass");
  161. action AddNpcInput ( 36 , 2 , "20 sheep carcass" );
  162. rule InputNpc ( 1 ) goto tensheep5
  163. rule InputNpc ( 2 ) goto twentysheep5
  164. }
  165.  
  166. state tensheep0
  167. {
  168. desc "Butcher Level 0"
  169.  
  170. if GotItems(489, 10) goto Givetensheep
  171. else goto NotEnough
  172. }
  173. state twentysheep0
  174. {
  175. desc "Butcher Level 0"
  176.  
  177. if GotItems(489, 20) goto Givetwentysheep
  178. else goto NotEnough
  179. }
  180.  
  181. state tensheep1
  182. {
  183. desc "Butcher Level 1"
  184.  
  185. if GotItems(489, 10) goto Give11Sheep
  186. else goto NotEnough
  187. }
  188. state twentysheep1
  189. {
  190. desc "Butcher Level 1"
  191.  
  192. if GotItems(489, 20) goto Give21Sheep
  193. else goto NotEnough
  194. }
  195.  
  196. state tensheep2
  197. {
  198. desc "Butcher Level 2"
  199.  
  200. if GotItems(489, 10) goto Give12Sheep
  201. else goto NotEnough
  202. }
  203. state twentysheep2
  204. {
  205. desc "Butcher Level 2"
  206.  
  207. if GotItems(489, 20) goto Give22Sheep
  208. else goto NotEnough
  209. }
  210.  
  211. state tensheep3
  212. {
  213. desc "Butcher Level 3"
  214.  
  215. if GotItems(489, 10) goto Give13Sheep
  216. else goto NotEnough
  217. }
  218. state twentysheep3
  219. {
  220. desc "Butcher Level 3"
  221.  
  222. if GotItems(489, 20) goto Give23Sheep
  223. else goto NotEnough
  224. }
  225.  
  226. state tensheep4
  227. {
  228. desc "Butcher Level 4"
  229.  
  230. if GotItems(489, 10) goto Give14Sheep
  231. else goto NotEnough
  232. }
  233. state twentysheep4
  234. {
  235. desc "Butcher Level 4"
  236.  
  237. if GotItems(489, 20) goto Give24Sheep
  238. else goto NotEnough
  239. }
  240.  
  241. state tensheep5
  242. {
  243. desc "Butcher Level 5"
  244.  
  245. if GotItems(489, 10) goto Give15Sheep
  246. else goto NotEnough
  247. }
  248. state twentysheep5
  249. {
  250. desc "Butcher Level 5"
  251.  
  252. if GotItems(489, 20) goto Give25Sheep
  253. else goto NotEnough
  254. }
  255.  
  256. state givetensheep
  257. {
  258. desc "Butcher Level 0"
  259. action RemoveItem(489, 10);
  260. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  261. action GiveItem(488, 7);
  262. action GiveItem(490, 4);
  263. action ShowHint("You successfully extracted material from the carcass.");
  264. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  265. }
  266. state givetwentysheep
  267. {
  268. desc "Butcher Level 0"
  269. action RemoveItem(489, 20);
  270. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  271. action GiveItem(488, 14);
  272. action GiveItem(490, 8);
  273. action ShowHint("You successfully extracted material from the carcass.");
  274. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  275. }
  276.  
  277. state give11sheep
  278. {
  279. desc "Butcher Level 1"
  280. action RemoveItem(489, 10);
  281. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  282. action GiveItem(488, 12);
  283. action GiveItem(490, 9);
  284. action ShowHint("You successfully extracted material from the carcass.");
  285. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  286. }
  287. state give21sheep
  288. {
  289. desc "Butcher Level 1"
  290. action RemoveItem(489, 20);
  291. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  292. action GiveItem(488, 24);
  293. action GiveItem(490, 18);
  294. action ShowHint("You successfully extracted material from the carcass.");
  295. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  296. }
  297.  
  298. state give12sheep
  299. {
  300. desc "Butcher Level 2"
  301. action RemoveItem(489, 10);
  302. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  303. action GiveItem(488, 17);
  304. action GiveItem(490, 14);
  305. action ShowHint("You successfully extracted material from the carcass.");
  306. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  307. }
  308. state give22sheep
  309. {
  310. desc "Butcher Level 2"
  311. action RemoveItem(489, 20);
  312. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  313. action GiveItem(488, 34);
  314. action GiveItem(490, 24);
  315. action ShowHint("You successfully extracted material from the carcass.");
  316. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  317. }
  318.  
  319. state give13sheep
  320. {
  321. desc "Butcher Level 3"
  322. action RemoveItem(489, 10);
  323. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  324. action GiveItem(488, 22);
  325. action GiveItem(490, 19);
  326. action ShowHint("You successfully extracted material from the carcass.");
  327. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  328. }
  329. state give23sheep
  330. {
  331. desc "Butcher Level 3"
  332. action RemoveItem(489, 20);
  333. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  334. action GiveItem(488, 44);
  335. action GiveItem(490, 38);
  336. action ShowHint("You successfully extracted material from the carcass.");
  337. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  338. }
  339.  
  340. state give14sheep
  341. {
  342. desc "Butcher Level 4"
  343. action RemoveItem(489, 10);
  344. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  345. action GiveItem(488, 27);
  346. action GiveItem(490, 24);
  347. action ShowHint("You successfully extracted material from the carcass.");
  348. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  349. }
  350. state give24sheep
  351. {
  352. desc "Butcher Level 4"
  353. action RemoveItem(489, 20);
  354. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  355. action GiveItem(488, 54);
  356. action GiveItem(490, 48);
  357. action ShowHint("You successfully extracted material from the carcass.");
  358. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  359. }
  360.  
  361. state give15sheep
  362. {
  363. desc "Butcher Level 5"
  364. action RemoveItem(489, 10);
  365. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  366. action GiveItem(488, 32);
  367. action GiveItem(490, 29);
  368. action ShowHint("You successfully extracted material from the carcass.");
  369. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  370. }
  371. state give25sheep
  372. {
  373. desc "Butcher Level 5"
  374. action RemoveItem(489, 20);
  375. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  376. action GiveItem(488, 64);
  377. action GiveItem(490, 58);
  378. action ShowHint("You successfully extracted material from the carcass.");
  379. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  380. }
  381.  
  382. state butterfly1
  383. {
  384. desc "Butcher Level 0"
  385. action AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
  386.  
  387. action AddNpcInput ( 36 , 1 , "10 butterfly carcass");
  388. action AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
  389. rule InputNpc ( 1 ) goto tenbutterfly0
  390. rule InputNpc ( 2 ) goto twentybutterfly0
  391. }
  392. state butterfly2
  393. {
  394. desc "Butcher Level 1"
  395. action AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
  396.  
  397. action AddNpcInput ( 36 , 1 , "10 butterfly carcass");
  398. action AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
  399. rule InputNpc ( 1 ) goto tenbutterfly1
  400. rule InputNpc ( 2 ) goto twentybutterfly1
  401. }
  402. state butterfly3
  403. {
  404. desc "Butcher Level 2"
  405. action AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
  406.  
  407. action AddNpcInput ( 36 , 1 , "10 butterfly carcass");
  408. action AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
  409. rule InputNpc ( 1 ) goto tenbutterfly2
  410. rule InputNpc ( 2 ) goto twentybutterfly2
  411. }
  412. state butterfly4
  413. {
  414. desc "Butcher Level 3"
  415. action AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
  416.  
  417. action AddNpcInput ( 36 , 1 , "10 butterfly carcass");
  418. action AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
  419. rule InputNpc ( 1 ) goto tenbutterfly3
  420. rule InputNpc ( 2 ) goto twentybutterfly3
  421. }
  422. state butterfly5
  423. {
  424. desc "Butcher Level 4"
  425. action AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
  426.  
  427. action AddNpcInput ( 36 , 1 , "10 butterfly carcass");
  428. action AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
  429. rule InputNpc ( 1 ) goto tenbutterfly4
  430. rule InputNpc ( 2 ) goto twentybutterfly4
  431. }
  432. state butterfly6
  433. {
  434. desc "Butcher Level 5"
  435. action AddNpcText ( 36 , "How much butterfly carcass would you like to butcher?");
  436.  
  437. action AddNpcInput ( 36 , 1 , "10 butterfly carcass");
  438. action AddNpcInput ( 36 , 2 , "20 butterfly carcass" );
  439. rule InputNpc ( 1 ) goto tenbutterfly5
  440. rule InputNpc ( 2 ) goto twentybutterfly5
  441. }
  442.  
  443. state tenbutterfly0
  444. {
  445. desc "Butcher Level 0"
  446.  
  447. if GotItems(491, 10) goto Givetenbutterfly
  448. else goto NotEnough
  449. }
  450. state twentybutterfly0
  451. {
  452. desc "Butcher Level 0"
  453.  
  454. if GotItems(491, 20) goto Givetwentybutterfly
  455. else goto NotEnough
  456. }
  457.  
  458. state tenbutterfly1
  459. {
  460. desc "Butcher Level 1"
  461.  
  462. if GotItems(491, 10) goto Give11butterfly
  463. else goto NotEnough
  464. }
  465. state twentybutterfly1
  466. {
  467. desc "Butcher Level 1"
  468.  
  469. if GotItems(491, 20) goto Give21butterfly
  470. else goto NotEnough
  471. }
  472.  
  473. state tenbutterfly2
  474. {
  475. desc "Butcher Level 2"
  476.  
  477. if GotItems(491, 10) goto Give12butterfly
  478. else goto NotEnough
  479. }
  480. state twentybutterfly2
  481. {
  482. desc "Butcher Level 2"
  483.  
  484. if GotItems(491, 20) goto Give22butterfly
  485. else goto NotEnough
  486. }
  487.  
  488. state tenbutterfly3
  489. {
  490. desc "Butcher Level 3"
  491.  
  492. if GotItems(491, 10) goto Give13butterfly
  493. else goto NotEnough
  494. }
  495. state twentybutterfly3
  496. {
  497. desc "Butcher Level 3"
  498.  
  499. if GotItems(491, 20) goto Give23butterfly
  500. else goto NotEnough
  501. }
  502.  
  503. state tenbutterfly4
  504. {
  505. desc "Butcher Level 4"
  506.  
  507. if GotItems(491, 10) goto Give14butterfly
  508. else goto NotEnough
  509. }
  510. state twentybutterfly4
  511. {
  512. desc "Butcher Level 4"
  513.  
  514. if GotItems(491, 20) goto Give24butterfly
  515. else goto NotEnough
  516. }
  517.  
  518. state tenbutterfly5
  519. {
  520. desc "Butcher Level 5"
  521.  
  522. if GotItems(491, 10) goto Give15butterfly
  523. else goto NotEnough
  524. }
  525. state twentybutterfly5
  526. {
  527. desc "Butcher Level 5"
  528.  
  529. if GotItems(491, 20) goto Give25butterfly
  530. else goto NotEnough
  531. }
  532.  
  533. state givetenbutterfly
  534. {
  535. desc "Butcher Level 0"
  536. action RemoveItem(491, 10);
  537. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  538. action GiveItem(504, 7);
  539. action GiveItem(492, 4);
  540. action ShowHint("You successfully extracted material from the carcass.");
  541. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  542. }
  543. state givetwentybutterfly
  544. {
  545. desc "Butcher Level 0"
  546. action RemoveItem(491, 20);
  547. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  548. action GiveItem(504, 14);
  549. action GiveItem(492, 8);
  550. action ShowHint("You successfully extracted material from the carcass.");
  551. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  552. }
  553.  
  554. state give11butterfly
  555. {
  556. desc "Butcher Level 1"
  557. action RemoveItem(491, 10);
  558. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  559. action GiveItem(504, 12);
  560. action GiveItem(492, 9);
  561. action ShowHint("You successfully extracted material from the carcass.");
  562. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  563. }
  564. state give21butterfly
  565. {
  566. desc "Butcher Level 1"
  567. action RemoveItem(491, 20);
  568. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  569. action GiveItem(504, 24);
  570. action GiveItem(492, 18);
  571. action ShowHint("You successfully extracted material from the carcass.");
  572. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  573. }
  574.  
  575. state give12butterfly
  576. {
  577. desc "Butcher Level 2"
  578. action RemoveItem(491, 10);
  579. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  580. action GiveItem(504, 17);
  581. action GiveItem(492, 14);
  582. action ShowHint("You successfully extracted material from the carcass.");
  583. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  584. }
  585. state give22butterfly
  586. {
  587. desc "Butcher Level 2"
  588. action RemoveItem(491, 20);
  589. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  590. action GiveItem(504, 34);
  591. action GiveItem(492, 24);
  592. action ShowHint("You successfully extracted material from the carcass.");
  593. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  594. }
  595.  
  596. state give13butterfly
  597. {
  598. desc "Butcher Level 3"
  599. action RemoveItem(491, 10);
  600. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  601. action GiveItem(504, 22);
  602. action GiveItem(492, 19);
  603. action GiveItem(505, 12);
  604. action ShowHint("You successfully extracted material from the carcass.");
  605. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  606. }
  607. state give23butterfly
  608. {
  609. desc "Butcher Level 3"
  610. action RemoveItem(491, 20);
  611. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  612. action GiveItem(504, 44);
  613. action GiveItem(492, 38);
  614. action GiveItem(505, 24);
  615. action ShowHint("You successfully extracted material from the carcass.");
  616. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  617. }
  618.  
  619. state give14butterfly
  620. {
  621. desc "Butcher Level 4"
  622. action RemoveItem(491, 10);
  623. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  624. action GiveItem(504, 27);
  625. action GiveItem(492, 24);
  626. action GiveItem(505, 17);
  627. action ShowHint("You successfully extracted material from the carcass.");
  628. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  629. }
  630. state give24butterfly
  631. {
  632. desc "Butcher Level 4"
  633. action RemoveItem(491, 20);
  634. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  635. action GiveItem(504, 54);
  636. action GiveItem(492, 48);
  637. action GiveItem(505, 34);
  638. action ShowHint("You successfully extracted material from the carcass.");
  639. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  640. }
  641.  
  642. state give15butterfly
  643. {
  644. desc "Butcher Level 5"
  645. action RemoveItem(491, 10);
  646. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  647. action GiveItem(504, 32);
  648. action GiveItem(492, 29);
  649. action GiveItem(505, 22);
  650. action ShowHint("You successfully extracted material from the carcass.");
  651. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  652. }
  653. state give25butterfly
  654. {
  655. desc "Butcher Level 5"
  656. action RemoveItem(491, 20);
  657. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  658. action GiveItem(504, 64);
  659. action GiveItem(492, 58);
  660. action GiveItem(505, 44);
  661. action ShowHint("You successfully extracted material from the carcass.");
  662. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  663. }
  664.  
  665. state fox1
  666. {
  667. desc "Butcher Level 0"
  668. action AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
  669.  
  670. action AddNpcInput ( 36 , 1 , "10 fox carcass");
  671. action AddNpcInput ( 36 , 2 , "20 fox carcass" );
  672. rule InputNpc ( 1 ) goto tenfox0
  673. rule InputNpc ( 2 ) goto twentyfox0
  674. }
  675. state fox2
  676. {
  677. desc "Butcher Level 1"
  678. action AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
  679.  
  680. action AddNpcInput ( 36 , 1 , "10 fox carcass");
  681. action AddNpcInput ( 36 , 2 , "20 fox carcass" );
  682. rule InputNpc ( 1 ) goto tenfox1
  683. rule InputNpc ( 2 ) goto twentyfox1
  684. }
  685. state fox3
  686. {
  687. desc "Butcher Level 2"
  688. action AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
  689.  
  690. action AddNpcInput ( 36 , 1 , "10 fox carcass");
  691. action AddNpcInput ( 36 , 2 , "20 fox carcass" );
  692. rule InputNpc ( 1 ) goto tenfox2
  693. rule InputNpc ( 2 ) goto twentyfox2
  694. }
  695. state fox4
  696. {
  697. desc "Butcher Level 3"
  698. action AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
  699.  
  700. action AddNpcInput ( 36 , 1 , "10 fox carcass");
  701. action AddNpcInput ( 36 , 2 , "20 fox carcass" );
  702. rule InputNpc ( 1 ) goto tenfox3
  703. rule InputNpc ( 2 ) goto twentyfox3
  704. }
  705. state fox5
  706. {
  707. desc "Butcher Level 4"
  708. action AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
  709.  
  710. action AddNpcInput ( 36 , 1 , "10 fox carcass");
  711. action AddNpcInput ( 36 , 2 , "20 fox carcass" );
  712. rule InputNpc ( 1 ) goto tenfox4
  713. rule InputNpc ( 2 ) goto twentyfox4
  714. }
  715. state fox6
  716. {
  717. desc "Butcher Level 5"
  718. action AddNpcText ( 36 , "How much fox carcass would you like to butcher?");
  719.  
  720. action AddNpcInput ( 36 , 1 , "10 fox carcass");
  721. action AddNpcInput ( 36 , 2 , "20 fox carcass" );
  722. rule InputNpc ( 1 ) goto tenfox5
  723. rule InputNpc ( 2 ) goto twentyfox5
  724. }
  725.  
  726. state tenfox0
  727. {
  728. desc "Butcher Level 0"
  729.  
  730. if GotItems(493, 10) goto Givetenfox
  731. else goto NotEnough
  732. }
  733. state twentyfox0
  734. {
  735. desc "Butcher Level 0"
  736.  
  737. if GotItems(493, 20) goto Givetwentyfox
  738. else goto NotEnough
  739. }
  740.  
  741. state tenfox1
  742. {
  743. desc "Butcher Level 1"
  744.  
  745. if GotItems(493, 10) goto Give11fox
  746. else goto NotEnough
  747. }
  748. state twentyfox1
  749. {
  750. desc "Butcher Level 1"
  751.  
  752. if GotItems(493, 20) goto Give21fox
  753. else goto NotEnough
  754. }
  755.  
  756. state tenfox2
  757. {
  758. desc "Butcher Level 2"
  759.  
  760. if GotItems(493, 10) goto Give12fox
  761. else goto NotEnough
  762. }
  763. state twentyfox2
  764. {
  765. desc "Butcher Level 2"
  766.  
  767. if GotItems(493, 20) goto Give22fox
  768. else goto NotEnough
  769. }
  770.  
  771. state tenfox3
  772. {
  773. desc "Butcher Level 3"
  774.  
  775. if GotItems(493, 10) goto Give13fox
  776. else goto NotEnough
  777. }
  778. state twentyfox3
  779. {
  780. desc "Butcher Level 3"
  781.  
  782. if GotItems(493, 20) goto Give23fox
  783. else goto NotEnough
  784. }
  785.  
  786. state tenfox4
  787. {
  788. desc "Butcher Level 4"
  789.  
  790. if GotItems(493, 10) goto Give14fox
  791. else goto NotEnough
  792. }
  793. state twentyfox4
  794. {
  795. desc "Butcher Level 4"
  796.  
  797. if GotItems(493, 20) goto Give24fox
  798. else goto NotEnough
  799. }
  800.  
  801. state tenfox5
  802. {
  803. desc "Butcher Level 5"
  804.  
  805. if GotItems(493, 10) goto Give15fox
  806. else goto NotEnough
  807. }
  808. state twentyfox5
  809. {
  810. desc "Butcher Level 5"
  811.  
  812. if GotItems(493, 20) goto Give25fox
  813. else goto NotEnough
  814. }
  815.  
  816. state givetenfox
  817. {
  818. desc "Butcher Level 0"
  819. action RemoveItem(493, 10);
  820. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  821. action GiveItem(494, 7);
  822. action GiveItem(252, 4);
  823. action ShowHint("You successfully extracted material from the carcass.");
  824. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  825. }
  826. state givetwentyfox
  827. {
  828. desc "Butcher Level 0"
  829. action RemoveItem(493, 20);
  830. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  831. action GiveItem(494, 14);
  832. action GiveItem(252, 8);
  833. action ShowHint("You successfully extracted material from the carcass.");
  834. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  835. }
  836.  
  837. state give11fox
  838. {
  839. desc "Butcher Level 1"
  840. action RemoveItem(493, 10);
  841. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  842. action GiveItem(494, 12);
  843. action GiveItem(252, 9);
  844. action ShowHint("You successfully extracted material from the carcass.");
  845. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  846. }
  847. state give21fox
  848. {
  849. desc "Butcher Level 1"
  850. action RemoveItem(493, 20);
  851. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  852. action GiveItem(494, 24);
  853. action GiveItem(252, 18);
  854. action ShowHint("You successfully extracted material from the carcass.");
  855. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  856. }
  857.  
  858. state give12fox
  859. {
  860. desc "Butcher Level 2"
  861. action RemoveItem(493, 10);
  862. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  863. action GiveItem(494, 17);
  864. action GiveItem(252, 14);
  865. action ShowHint("You successfully extracted material from the carcass.");
  866. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  867. }
  868. state give22fox
  869. {
  870. desc "Butcher Level 2"
  871. action RemoveItem(493, 20);
  872. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  873. action GiveItem(494, 34);
  874. action GiveItem(252, 24);
  875. action ShowHint("You successfully extracted material from the carcass.");
  876. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  877. }
  878.  
  879. state give13fox
  880. {
  881. desc "Butcher Level 3"
  882. action RemoveItem(493, 10);
  883. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  884. action GiveItem(494, 22);
  885. action GiveItem(252, 19);
  886. action GiveItem(506, 12);
  887. action ShowHint("You successfully extracted material from the carcass.");
  888. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  889. }
  890. state give23fox
  891. {
  892. desc "Butcher Level 3"
  893. action RemoveItem(493, 20);
  894. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  895. action GiveItem(494, 44);
  896. action GiveItem(252, 38);
  897. action GiveItem(506, 24);
  898. action ShowHint("You successfully extracted material from the carcass.");
  899. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  900. }
  901.  
  902. state give14fox
  903. {
  904. desc "Butcher Level 4"
  905. action RemoveItem(493, 10);
  906. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  907. action GiveItem(494, 27);
  908. action GiveItem(252, 24);
  909. action GiveItem(506, 17);
  910. action ShowHint("You successfully extracted material from the carcass.");
  911. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  912. }
  913. state give24fox
  914. {
  915. desc "Butcher Level 4"
  916. action RemoveItem(493, 20);
  917. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  918. action GiveItem(494, 54);
  919. action GiveItem(252, 48);
  920. action GiveItem(506, 34);
  921. action ShowHint("You successfully extracted material from the carcass.");
  922. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  923. }
  924.  
  925. state give15fox
  926. {
  927. desc "Butcher Level 5"
  928. action RemoveItem(493, 10);
  929. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  930. action GiveItem(494, 32);
  931. action GiveItem(252, 29);
  932. action GiveItem(506, 22);
  933. action ShowHint("You successfully extracted material from the carcass.");
  934. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  935. }
  936. state give25fox
  937. {
  938. desc "Butcher Level 5"
  939. action RemoveItem(493, 20);
  940. action AddNpcText ( 36 , "*Puts the carcass on the table, and starts cutting*");
  941. action GiveItem(494, 64);
  942. action GiveItem(252, 58);
  943. action GiveItem(506, 44);
  944. action ShowHint("You successfully extracted material from the carcass.");
  945. rule TalkedToNpc ( 36 ) goto ButcherLeveling
  946. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement