novice_exchange.txt 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. prontera.gat,123,102,5 script Merchant#1 85,{
  2. if(Weight*100/MaxWeight >= 90){
  3. mes "[Merchant]";
  4. mes "You will exceed your weight limit if you exchange for the Red Potions.";
  5. close;
  6. }
  7. setarray @need,935,914,909;
  8. setarray @amount,5,10,10;
  9. mes "[Merchant]";
  10. mes "Good day!";
  11. mes "Do you have any collection items such as "+getitemname(@need[0])+"s or "+getitemname(@need[1])+"s ?";
  12. mes "...how about Jellopies ?..";
  13. mes "Oh, yeah, I need those for";
  14. mes "something.";
  15. next;
  16. mes "[Merchant]";
  17. mes "Of course I am not asking you to give those for free!";
  18. mes "How about...if I give you 1 Red";
  19. mes "Potion for "+@amount[0]+" "+getitemname(@need[0])+"s or "+@amount[1]+" "+getitemname(@need[1])+"s???";
  20. mes "or "+@amount[2]+" Jelopies ???";
  21. next;
  22. switch (select("Sure!","Think you're ripping me off...","No,thanks")) {
  23. case 1:
  24. mes "[Merchant]";
  25. mes "So which item do you bring me ?";
  26. mes ""+getitemname(@need[0])+"s? "+getitemname(@need[1])+"s ?";
  27. mes "Or Jellopies?";
  28. next;
  29. set @i,select(""+getitemname(@need[0])+"",""+getitemname(@need[1])+"",""+getitemname(@need[2])+"","Cancel")-1;
  30. if(@i==3) {
  31. mes "[Merchant]";
  32. mes "Sure, no problem.";
  33. close;
  34. }
  35. set @have,countitem(@need[@i]);
  36. if(@have < @amount[@i]) {
  37. mes "[Merchant]";
  38. if(@i > 0)
  39. mes "Hey, where are all those";
  40. mes getitemname(@need[@i])+"s you promised?";
  41. mes "Give me "+getitemname(@need[@i])+"s !";
  42. close;
  43. }
  44. mes "[Merchant]";
  45. mes "Okay, let me take a look at the stuff you brought";
  46. next;
  47. set @max,@have / @amount[@i];
  48. mes "[Merchant]";
  49. mes "You have total "+@have+" "+getitemname(@need[@i])+"s...";
  50. mes "I can give you";
  51. mes "total "+@max+" Red Potion for those.";
  52. next;
  53. mes "[Merchant]";
  54. mes "What do you say? Deal?";
  55. next;
  56. if(select("Deal.","No deal.")==2) {
  57. mes "[Merchant]";
  58. mes "Bah~ whatever.";
  59. mes "Bah!";
  60. close;
  61. }
  62. mes "[Merchant]";
  63. mes "You know the exact number of Red Potions";
  64. mes "you can receive for "+getitemname(@need[@i])+"s, don't you?";
  65. next;
  66. mes "[Merchant]";
  67. mes "You can get Red Potions";
  68. mes "from minimum 1 to maximum 100 at once.";
  69. mes "If you change your mind, enter '0'";
  70. mes "to cancel.";
  71. while(1) {
  72. next;
  73. input @val;
  74. if(@val<0 || @val>100) {
  75. mes "[Merchant]";
  76. mes "Uh oh, the number you entered";
  77. mes "seemed incorrect.";
  78. mes "You'd better check how many red";
  79. mes "potions you can get.";
  80. continue;
  81. }
  82. break;
  83. }
  84. if(@val == 0) {
  85. mes "[Merchant]";
  86. mes "What...how the hell did you even";
  87. mes "bother to talk to me?";
  88. mes "Leave, I don't deal with whimsical";
  89. mes "people.";
  90. close;
  91. }
  92. if(@val > @max) {
  93. mes "[Merchant]";
  94. mes "Uh oh, the number you entered";
  95. mes "seemed incorrect.";
  96. mes "You'd better check how many red";
  97. mes "potions you can get.";
  98. close;
  99. }
  100. delitem @need[@i],@amount[@i]*@val;
  101. getitem 501,@val;
  102. mes "[Merchant]";
  103. mes "There you go!";
  104. mes "Check the numbers again.";
  105. mes "Thanks, it was a good deal.";
  106. close;
  107. case 2:
  108. mes "[Merchant]";
  109. mes "Did you say I am ripping you off?!";
  110. mes "You got to know how ignorant that comment was!";
  111. mes "When you check the price of each item,";
  112. mes "I am doing a losing business.";
  113. mes "If you don't want to do then, fine!";
  114. close;
  115. case 3:
  116. mes "[Merchant]";
  117. mes "Hah, no problem.";
  118. mes "Bah!";
  119. close;
  120. }
  121. }
  122. geffen.gat,173,88,5 script Merchant#2 85,{
  123. if(Weight*100/MaxWeight >= 90){
  124. mes "[Merchant]";
  125. mes "You will exceed your weight limit if you exchange for the Red Potions.";
  126. close;
  127. }
  128. setarray @need,935,915,909;
  129. setarray @amount,5,6,10;
  130. mes "[Merchant]";
  131. mes "Good day!";
  132. mes "Do you have any collection items such as "+getitemname(@need[0])+"s or "+getitemname(@need[1])+"s?";
  133. mes "...how about Jellopies?..";
  134. mes "Oh, yeah, I need those for";
  135. mes "something.";
  136. next;
  137. mes "[Merchant]";
  138. mes "Of course I am not asking you to give those for free!";
  139. mes "How about...if I give you 1 Red";
  140. mes "Potion for "+@amount[0]+" "+getitemname(@need[0])+"s or "+@amount[1]+" "+getitemname(@need[1])+"s ???";
  141. mes "or "+@amount[2]+" Jellopies ???";
  142. next;
  143. switch (select("Sure!","Think you're ripping me off...","No,thanks")) {
  144. case 1:
  145. mes "[Merchant]";
  146. mes "So which item do you bring me ?";
  147. mes ""+getitemname(@need[0])+"s ? "+getitemname(@need[1])+"s ?";
  148. mes "Or Jellopies ?";
  149. next;
  150. set @i,select(""+getitemname(@need[0])+"",""+getitemname(@need[1])+"",""+getitemname(@need[2])+"","Cancel")-1;
  151. if(@i==3) {
  152. mes "[Merchant]";
  153. mes "Sure, no problem.";
  154. close;
  155. }
  156. set @have,countitem(@need[@i]);
  157. if(@have < @amount[@i]) {
  158. mes "[Merchant]";
  159. if(@i > 0)
  160. mes "Hey, where are all those";
  161. mes getitemname(@need[@i])+"s you promised?";
  162. mes "Give me "+getitemname(@need[@i])+"s!";
  163. close;
  164. }
  165. mes "[Merchant]";
  166. mes "Okay, let me take a look at the stuff you brought";
  167. next;
  168. set @max,@have / @amount[@i];
  169. mes "[Merchant]";
  170. mes "You have total "+@have+" "+getitemname(@need[@i])+"s...";
  171. mes "I can give you";
  172. mes "total "+@max+" Red Potion for those.";
  173. next;
  174. mes "[Merchant]";
  175. mes "What do you say? Deal?";
  176. next;
  177. if(select("Deal.","No deal.")==2) {
  178. mes "[Merchant]";
  179. mes "Bah~ whatever.";
  180. mes "Bah!";
  181. close;
  182. }
  183. mes "[Merchant]";
  184. mes "You know the exact number of Red Potions";
  185. mes "you can receive for "+getitemname(@need[@i])+"s,don't you?";
  186. next;
  187. mes "[Merchant]";
  188. mes "You can get Red Potions";
  189. mes "from minimum 1 to maximum 100 at once.";
  190. mes "If you change your mind, enter '0'";
  191. mes "to cancel.";
  192. while(1) {
  193. next;
  194. input @val;
  195. if(@val<0 || @val>100) {
  196. mes "[Merchant]";
  197. mes "Uh oh, the number you entered";
  198. mes "seemed incorrect.";
  199. mes "You'd better check how many red";
  200. mes "potions you can get.";
  201. continue;
  202. }
  203. break;
  204. }
  205. if(@val == 0) {
  206. mes "[Merchant]";
  207. mes "What...how the hell did you even";
  208. mes "bother to talk to me?";
  209. mes "Leave, I don't deal with whimsical";
  210. mes "people.";
  211. close;
  212. }
  213. if(@val > @max) {
  214. mes "[Merchant]";
  215. mes "Uh oh, the number you entered";
  216. mes "seemed incorrect.";
  217. mes "You'd better check how many red";
  218. mes "potions you can get.";
  219. close;
  220. }
  221. delitem @need[@i],@amount[@i]*@val;
  222. getitem 501,@val;
  223. mes "[Merchant]";
  224. mes "There you go!";
  225. mes "Check the numbers again.";
  226. mes "Thanks, it was a good deal.";
  227. close;
  228. case 2:
  229. mes "[Merchant]";
  230. mes "Did you say I am ripping you off?!";
  231. mes "You got to know how ignorant that comment was!";
  232. mes "When you check the price of each item,";
  233. mes "I am doing a losing business.";
  234. mes "If you don't want to do then, fine!";
  235. close;
  236. case 3:
  237. mes "[Merchant]";
  238. mes "Hah, no problem.";
  239. mes "Bah!";
  240. close;
  241. }
  242. }
  243. morocc.gat,180,259,3 script Merchant#3 85,{
  244. if(Weight*100/MaxWeight >= 90){
  245. mes "[Merchant]";
  246. mes "You will exceed your weight limit if you exchange for the Red Potions.";
  247. close;
  248. }
  249. setarray @need,935,916,909;
  250. setarray @amount,5,7,10;
  251. mes "[Merchant]";
  252. mes "Good day!";
  253. mes "Do you have any collection items such as "+getitemname(@need[0])+"s or "+getitemname(@need[1])+"s ?";
  254. mes "...how about Jellopies?..";
  255. mes "Oh, yeah, I need those for";
  256. mes "something.";
  257. next;
  258. mes "[Merchant]";
  259. mes "Of course I am not asking you to give those for free!";
  260. mes "How about...if I give you 1 Red";
  261. mes "Potion for "+@amount[0]+" "+getitemname(@need[0])+"s or "+@amount[1]+" "+getitemname(@need[1])+"s ???";
  262. mes "or "+@amount[2]+" Jellopies???";
  263. next;
  264. switch (select("Sure!","Think you're ripping me off...","No,thanks")) {
  265. case 1:
  266. mes "[Merchant]";
  267. mes "So which item do you bring me ?";
  268. mes ""+getitemname(@need[0])+"s? "+getitemname(@need[1])+"s ?";
  269. mes "Or Jellopies?";
  270. next;
  271. set @i,select(""+getitemname(@need[0])+"",""+getitemname(@need[1])+"",""+getitemname(@need[2])+"","Cancel")-1;
  272. if(@i==3) {
  273. mes "[Merchant]";
  274. mes "Sure, no problem.";
  275. close;
  276. }
  277. set @have,countitem(@need[@i]);
  278. if(@have < @amount[@i]) {
  279. mes "[Merchant]";
  280. if(@i > 0)
  281. mes "Hey, where are all those";
  282. mes getitemname(@need[@i])+"s you promised?";
  283. mes "Give me "+getitemname(@need[@i])+"s!";
  284. close;
  285. }
  286. mes "[Merchant]";
  287. mes "Okay, let me take a look at the stuff you brought";
  288. next;
  289. set @max,@have / @amount[@i];
  290. mes "[Merchant]";
  291. mes "You have total "+@have+" "+getitemname(@need[@i])+"s...";
  292. mes "I can give you";
  293. mes "total" +@max+ "Red Potion for those.";
  294. next;
  295. mes "[Merchant]";
  296. mes "What do you say? Deal?";
  297. next;
  298. if(select("Deal.","No deal.")==2) {
  299. mes "[Merchant]";
  300. mes "Bah~ whatever.";
  301. mes "Bah!";
  302. close;
  303. }
  304. mes "[Merchant]";
  305. mes "You know the exact number of Red Potions";
  306. mes "you can receive for "+getitemname(@need[@i])+"s,don't you?";
  307. next;
  308. mes "[Merchant]";
  309. mes "You can get Red Potions";
  310. mes "from minimum 1 to maximum 100 at once.";
  311. mes "If you change your mind, enter '0'";
  312. mes "to cancel.";
  313. while(1) {
  314. next;
  315. input @val;
  316. if(@val<0 || @val>100) {
  317. mes "[Merchant]";
  318. mes "Uh oh, the number you entered";
  319. mes "seemed incorrect.";
  320. mes "You'd better check how many red";
  321. mes "potions you can get.";
  322. continue;
  323. }
  324. break;
  325. }
  326. if(@val == 0) {
  327. mes "[Merchant]";
  328. mes "What...how the hell did you even";
  329. mes "bother to talk to me?";
  330. mes "Leave, I don't deal with whimsical";
  331. mes "people.";
  332. close;
  333. }
  334. if(@val > @max) {
  335. mes "[Merchant]";
  336. mes "Uh oh, the number you entered";
  337. mes "seemed incorrect.";
  338. mes "You'd better check how many red";
  339. mes "potions you can get.";
  340. close;
  341. }
  342. delitem @need[@i],@amount[@i]*@val;
  343. getitem 501,@val;
  344. mes "[Merchant]";
  345. mes "There you go!";
  346. mes "Check the numbers again.";
  347. mes "Thanks, it was a good deal.";
  348. close;
  349. case 2:
  350. mes "[Merchant]";
  351. mes "Did you say I am ripping you off?!";
  352. mes "You got to know how ignorant that comment was!";
  353. mes "When you check the price of each item,";
  354. mes "I am doing a losing business.";
  355. mes "If you don't want to do then, fine!";
  356. close;
  357. case 3:
  358. mes "[Merchant]";
  359. mes "Hah, no problem.";
  360. mes "Bah!";
  361. close;
  362. }
  363. }
  364. aldebaran.gat,152,63,5 script Merchant#4 85,{
  365. if(Weight*100/MaxWeight >= 90){
  366. mes "[Merchant]";
  367. mes "You will exceed your weight limit if you exchange for the Red Potions.";
  368. close;
  369. }
  370. setarray @need,955,916,909;
  371. setarray @amount,1,7,10;
  372. mes "[Merchant]";
  373. mes "Good day!";
  374. mes "Do you have any collection items such as "+getitemname(@need[0])+"s or "+getitemname(@need[1])+"s ?";
  375. mes "...how about Jellopies?..";
  376. mes "Oh, yeah, I need those for";
  377. mes "something.";
  378. next;
  379. mes "[Merchant]";
  380. mes "Of course I am not asking you to give those for free!";
  381. mes "How about...if I give you 1 Red";
  382. mes "Potion for "+ @amount[0]+" "+getitemname(@need[0])+"s or "+@amount[1]+" "+getitemname(@need[1])+"s ???";
  383. mes "or "+@amount[2]+" Jellopies ???";
  384. next;
  385. switch (select("Sure!","Think you're ripping me off...","No,thanks")) {
  386. case 1:
  387. mes "[Merchant]";
  388. mes "So which item do you bring me ?";
  389. mes ""+getitemname(@need[0])+"s ? "+getitemname(@need[1])+"s ?";
  390. mes "Or Jellopies ?";
  391. next;
  392. set @i,select(""+getitemname(@need[0])+"",""+getitemname(@need[1])+"",""+getitemname(@need[2])+"","Cancel")-1;
  393. if(@i==3) {
  394. mes "[Merchant]";
  395. mes "Sure, no problem.";
  396. close;
  397. }
  398. set @have,countitem(@need[@i]);
  399. if(@have < @amount[@i]) {
  400. mes "[Merchant]";
  401. if(@i > 0)
  402. mes "Hey, where are all those";
  403. mes getitemname(@need[@i])+"s you promised?";
  404. mes "Give me "+getitemname(@need[@i])+"s!";
  405. close;
  406. }
  407. mes "[Merchant]";
  408. mes "Okay, let me take a look at the stuff you brought";
  409. next;
  410. set @max,@have / @amount[@i];
  411. mes "[Merchant]";
  412. mes "You have total "+@have+" "+getitemname(@need[@i])+"s...";
  413. mes "I can give you";
  414. mes "total "+@max+" Red Potion for those.";
  415. next;
  416. mes "[Merchant]";
  417. mes "What do you say? Deal?";
  418. next;
  419. if(select("Deal.","No deal.")==2) {
  420. mes "[Merchant]";
  421. mes "Bah~ whatever.";
  422. mes "Bah!";
  423. close;
  424. }
  425. mes "[Merchant]";
  426. mes "You know the exact number of Red Potions";
  427. mes "you can receive for "+getitemname(@need[@i])+"s,don't you?";
  428. next;
  429. mes "[Merchant]";
  430. mes "You can get Red Potions";
  431. mes "from minimum 1 to maximum 100 at once.";
  432. mes "If you change your mind, enter '0'";
  433. mes "to cancel.";
  434. while(1) {
  435. next;
  436. input @val;
  437. if(@val<0 || @val>100) {
  438. mes "[Merchant]";
  439. mes "Uh oh, the number you entered";
  440. mes "seemed incorrect.";
  441. mes "You'd better check how many red";
  442. mes "potions you can get.";
  443. continue;
  444. }
  445. break;
  446. }
  447. if(@val == 0) {
  448. mes "[Merchant]";
  449. mes "What...how the hell did you even";
  450. mes "bother to talk to me?";
  451. mes "Leave, I don't deal with whimsical";
  452. mes "people.";
  453. close;
  454. }
  455. if(@val > @max) {
  456. mes "[Merchant]";
  457. mes "Uh oh, the number you entered";
  458. mes "seemed incorrect.";
  459. mes "You'd better check how many red";
  460. mes "potions you can get.";
  461. close;
  462. }
  463. delitem @need[@i],@amount[@i]*@val;
  464. getitem 501,@val;
  465. mes "[Merchant]";
  466. mes "There you go!";
  467. mes "Check the numbers again.";
  468. mes "Thanks, it was a good deal.";
  469. close;
  470. case 2:
  471. mes "[Merchant]";
  472. mes "Did you say I am ripping you off?!";
  473. mes "You got to know how ignorant that comment was!";
  474. mes "When you check the price of each item,";
  475. mes "I am doing a losing business.";
  476. mes "If you don't want to do then, fine!";
  477. close;
  478. case 3:
  479. mes "[Merchant]";
  480. mes "Hah, no problem.";
  481. mes "Bah!";
  482. close;
  483. }
  484. }
  485. payon.gat,200,134,5 script Merchant#5 85,{
  486. if(Weight*100/MaxWeight >= 90){
  487. mes "[Merchant]";
  488. mes "You will exceed your weight limit if you exchange for the Red Potions.";
  489. close;
  490. }
  491. setarray @need,902,909;
  492. setarray @amount,6,10;
  493. mes "[Merchant]";
  494. mes "Good day!";
  495. mes "Do you have any collection items such as "+getitemname(@need[0])+"s ?";
  496. mes "...how about Jellopies?..";
  497. mes "Oh, yeah, I need those for";
  498. mes "something.";
  499. next;
  500. mes "[Merchant]";
  501. mes "Of course I am not asking you to give those for free!";
  502. mes "How about...if I give you 1 Red";
  503. mes "Potion for "+@amount[0]+" "+getitemname(@need[0])+"s or "+@amount[1]+" "+getitemname(@need[1])+"s???";
  504. next;
  505. switch (select("Sure!","Think you're ripping me off...","No,thanks")) {
  506. case 1:
  507. mes "[Merchant]";
  508. mes "So which item do you bring me ?";
  509. mes ""+getitemname(@need[0])+"s? Or "+getitemname(@need[1])+" ?";
  510. next;
  511. set @i,select(""+getitemname(@need[0])+"",""+getitemname(@need[1])+"","Cancel")-1;
  512. if(@i==2) {
  513. mes "[Merchant]";
  514. mes "Sure, no problem.";
  515. close;
  516. }
  517. set @have,countitem(@need[@i]);
  518. if(@have < @amount[@i]) {
  519. mes "[Merchant]";
  520. if(@i > 0)
  521. mes "Hey, where are all those";
  522. mes getitemname(@need[@i])+"s you promised?";
  523. mes "Give me "+getitemname(@need[@i])+"s!";
  524. close;
  525. }
  526. mes "[Merchant]";
  527. mes "Okay, let me take a look at the stuff you brought";
  528. next;
  529. set @max,@have / @amount[@i];
  530. mes "[Merchant]";
  531. mes "You have total "+@have+" "+getitemname(@need[@i])+"s...";
  532. mes "I can give you";
  533. mes "total "+@max+" Red Potion for those.";
  534. next;
  535. mes "[Merchant]";
  536. mes "What do you say? Deal?";
  537. next;
  538. if(select("Deal.","No deal.")==2) {
  539. mes "[Merchant]";
  540. mes "Bah~ whatever.";
  541. mes "Bah!";
  542. close;
  543. }
  544. mes "[Merchant]";
  545. mes "You know the exact number of Red Potions";
  546. mes "you can receive for "+getitemname(@need[@i])+"s,don't you?";
  547. next;
  548. mes "[Merchant]";
  549. mes "You can get Red Potions";
  550. mes "from minimum 1 to maximum 100 at once.";
  551. mes "If you change your mind, enter '0'";
  552. mes "to cancel.";
  553. while(1) {
  554. next;
  555. input @val;
  556. if(@val<0 || @val>100) {
  557. mes "[Merchant]";
  558. mes "Uh oh, the number you entered";
  559. mes "seemed incorrect.";
  560. mes "You'd better check how many red";
  561. mes "potions you can get.";
  562. continue;
  563. }
  564. break;
  565. }
  566. if(@val == 0) {
  567. mes "[Merchant]";
  568. mes "What...how the hell did you even";
  569. mes "bother to talk to me?";
  570. mes "Leave, I don't deal with whimsical";
  571. mes "people.";
  572. close;
  573. }
  574. if(@val > @max) {
  575. mes "[Merchant]";
  576. mes "Uh oh, the number you entered";
  577. mes "seemed incorrect.";
  578. mes "You'd better check how many red";
  579. mes "potions you can get.";
  580. close;
  581. }
  582. delitem @need[@i],@amount[@i]*@val;
  583. getitem 501,@val;
  584. mes "[Merchant]";
  585. mes "There you go!";
  586. mes "Check the numbers again.";
  587. mes "Thanks, it was a good deal.";
  588. close;
  589. case 2:
  590. mes "[Merchant]";
  591. mes "Did you say I am ripping you off?!";
  592. mes "You got to know how ignorant that comment was!";
  593. mes "When you check the price of each item,";
  594. mes "I am doing a losing business.";
  595. mes "If you don't want to do then, fine!";
  596. close;
  597. case 3:
  598. mes "[Merchant]";
  599. mes "Hah, no problem.";
  600. mes "Bah!";
  601. close;
  602. }
  603. }