alberta.txt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. //===== rAthena Script =======================================
  2. //= Alberta Town
  3. //===== By: ==================================================
  4. //= DZeroX
  5. //===== Current Version: =====================================
  6. //= 1.5
  7. //===== Compatible With: =====================================
  8. //= rAthena 1.0
  9. //===== Description: =========================================
  10. //= Town-specific Alberta NPCs
  11. //===== Additional Comments: =================================
  12. //= 1.0 Converted from Aegis 10.4 [DZeroX]
  13. //= 1.1 Optimized, missing next, REMOVED .GATs! again [Lupus]
  14. //= 1.2 Implemented progression fixes provided by $ephiroth. [L0ne_W0lf]
  15. //= 1.2b More pregression clean up provided by Barron-Monster. [L0ne_W0lf]
  16. //= 1.3 Removed npc "Tourist#al" as it's a quest NPC. [L0ne_W0lf]
  17. //= 1.4 Removed "Fastidious Old Man" duplicate. [L0ne_W0lf]
  18. //= 1.5 Updated to match AEGIS script. [Kisuka]
  19. //============================================================
  20. alberta,97,51,0 script Fabian 84,{
  21. mes "[Fabian]";
  22. mes "Man... When you travel all around the world, you'll hear of some crazy things.";
  23. next;
  24. mes "[Fabian]";
  25. mes "Once, I heard that there are Cards which contain the power of monsters. If someone happens to get their hands on a card, they'll be able to use that monster's power.";
  26. next;
  27. mes "[Fabian]";
  28. mes "I'm guessing it's some sort of fad or scam, where they make you collect all the cards or whatever. I mean, how can a card really hold the power of a monster?!";
  29. next;
  30. mes "[Fabian]";
  31. mes "Seriously...";
  32. close;
  33. }
  34. alberta,53,39,0 script Steiner 100,{
  35. mes "[Steiner]";
  36. mes "Oh...!";
  37. mes "Welcome to Alberta,";
  38. mes "young adventurer!";
  39. next;
  40. mes "[Steiner]";
  41. mes "Pardon me if I seem distracted. I'm milling about, trying to make a plan. You see, I hear that there is a store in Geffen that sells armor that is resistant to magic.";
  42. next;
  43. mes "[Steiner]";
  44. mes "If I buy a lot of them in bulk, and then resell them here for a higher price...";
  45. close;
  46. }
  47. alberta,20,183,0 script Chad 49,{
  48. mes "[Chad]";
  49. mes "People say the legendary weapon Gungnir never misses its target. I wonder if it's possibly true...";
  50. next;
  51. mes "[Chad]";
  52. mes "People also say that babies are assembled by the storks before delivery, girls dig guys who act like jerks, and that Santa Claus exists! But only in Lutie.";
  53. next;
  54. mes "[Chad]";
  55. mes "I wonder...";
  56. mes "If any of that";
  57. mes "is possibly";
  58. mes "true...";
  59. close;
  60. }
  61. alberta,131,139,2 script Drunken Old Man 54,{
  62. mes "[Deagle]";
  63. mes "^666666*Hiccup*^000000";
  64. mes "Wh-what are you";
  65. mes "staring at? Get lost!!";
  66. next;
  67. switch(select("Say nothing.","Leave him alone.")) {
  68. case 1:
  69. mes "[Deagle]";
  70. mes "Hahahaha ^666666*hiccup*^000000... You've got some nerve. I may look worthless now, but I used to be a sailor on the 'Going Mary.'";
  71. next;
  72. switch(select("Never heard of it.","Really? No kidding!")) {
  73. case 1:
  74. mes "[Deagle]";
  75. mes "Never heard of it?! Everybody knows th'notorious pirate ship 'Going Mary!' ^666666*Hiccup~*^000000";
  76. next;
  77. mes "[Deagle]";
  78. mes "Ah~ The ol'days. If only... If only we hadn't run into that STORM...^666666*hiccup*^000000";
  79. next;
  80. mes "[Deagle]";
  81. mes "AH~ Captain. I miss our cap'n more than anything... No foe survived before cap'n's sword.";
  82. close;
  83. case 2:
  84. mes "[Deagle]";
  85. mes "That's right! NOBODY meshes with the crew of the 'Going Mary!' And nobody can beat out cap'n in a sword fight!";
  86. next;
  87. mes "[Deagle]";
  88. mes "CAPTAIN~!!! ^666666*HICCUP~*^000000 He would swing his sword like this, then... THEN!!";
  89. next;
  90. mes "[Deagle]";
  91. mes "The bastard the captain was fighting, and anyone of his friends near him, were surrounded in flame!";
  92. next;
  93. mes "[Deagle]";
  94. mes "Man, that sword must have had some sort of mysterious power, or the captain was just that good...!";
  95. next;
  96. mes "[Deagle]";
  97. mes "Phew~~ ^666666*Sob* *Sob...*^000000 God, I miss everyone! Now I'm depressed! Please, go away now.";
  98. close;
  99. }
  100. case 2:
  101. mes "[Deagle]";
  102. mes "That's right!";
  103. mes "Go AWAY~";
  104. close;
  105. }
  106. }
  107. alberta,58,80,2 script Shakir 99,{
  108. mes "[Shakir]";
  109. if (rand(2)) {
  110. mes "We Merchants have our own negotiating skill when we sell goods. This skill can get us more money than when other people sell goods.";
  111. next;
  112. mes "[Shakir]";
  113. mes "It's more than just yelling 'You'll have to give more money please!' You need to have charisma, and master rhetoric!";
  114. next;
  115. mes "[Shakir]";
  116. mes "We can get up to 24 % more zeny with this incredible skill. But remember to train hard to acquire it!!";
  117. } else {
  118. mes "We Merchants can";
  119. mes "open roadside stands";
  120. mes "to do business.";
  121. next;
  122. mes "[Shakir]";
  123. mes "With the Discount skill, we can buy goods really cheap from the stores in towns and load them into the cart we rent.";
  124. next;
  125. mes "[Shakir]";
  126. mes "Then afterwards, we can travel anywhere, and sells our goods to make a profit!";
  127. next;
  128. mes "[Shakir]";
  129. mes "This way, business is more convenient and safe. Don't fall asleep, although it's too easy to do that.";
  130. }
  131. close;
  132. }
  133. alberta,62,156,2 script Sonya 102,{
  134. mes "[Sonya]";
  135. switch(rand(3)){
  136. case 0:
  137. mes "Hey, you know, this one time I was walking through the forest and I saw this little green stem moving around.";
  138. next;
  139. mes "[Sonya]";
  140. mes "I went to see what it was and when I went to touch it. The stem actually slapped my hand!";
  141. next;
  142. mes "[Sonya]";
  143. mes "It startled me, so I jumped back a bit and then I realized it wasn't a stem, but a very small animal.";
  144. next;
  145. mes "[Sonya]";
  146. mes "I was lucky I didn't upset it. Even the smallest animal can be dangerous if angered.";
  147. close;
  148. case 1:
  149. mes "You know those lazy looking bears that live in the forest on the way to Payon?";
  150. next;
  151. mes "[Sonya]";
  152. mes "Just for fun, I threw a rock at it and all of sudden it rushed at me! I was sooooo scared, I started to run away, then BAM!!!";
  153. next;
  154. mes "[Sonya]";
  155. mes "It ran into a low tree branch and knocked itself out! I swear, I'll never provoke an animal for fun again!";
  156. close;
  157. case 2:
  158. mes "I once saw a pack of wolves take on one of those huge, lazy bears!";
  159. next;
  160. mes "[Sonya]";
  161. mes "Wolves are much more cooperative than they may seem. If one of them is attacked, then any nearby wolves will run to help.";
  162. next;
  163. mes "[Sonya]";
  164. mes "I'd think twice if you ever want to fight one when others of its kind are around. Be careful: don't get ganged up on!";
  165. close;
  166. }
  167. }
  168. alberta,93,174,2 script Grandmother Alma 103,{
  169. mes "[Grandmother Alma]";
  170. mes "Some time ago,";
  171. mes "a derelict ship";
  172. mes "drifted into";
  173. mes "Alberta harbour.";
  174. next;
  175. mes "[Grandmother Alma]";
  176. mes "Hoping to save any survivors, some of the townspeople ventured into the ship. However, they all ran out terrified, saying that corpses were walking around inside the ship.";
  177. next;
  178. mes "[Grandmother Alma]";
  179. mes "The ship was also packed with dangerous marine organisms, and they couldn't get inside, even if they wanted to.";
  180. next;
  181. mes "[Grandmother Alma]";
  182. mes "We couldn't do anything about that ominous looking ship, and just left it as it was. Nowadays, exploration teams try to enter that ship and wipe out its monsters.";
  183. next;
  184. mes "[Grandmother Alma]";
  185. mes "So it might be a good experience for a young person like yourself to be a recruit. But, it's still not worth risking your life if you're not strong enough.";
  186. close;
  187. }
  188. alberta,189,151,5 script Fisk 100,{
  189. mes "[Fisk]";
  190. mes "Ahoy mate,";
  191. mes "where'd ya";
  192. mes "wanna go?";
  193. next;
  194. switch(select("Sunken Ship -> 250 zeny.","Izlude Marina -> 500 zeny.","Never mind.")) {
  195. case 1:
  196. if (Zeny < 250) {
  197. mes "[Fisk]";
  198. mes "Hey now, don't try to cheat me! I said 250 zeny!";
  199. close;
  200. }
  201. set Zeny,Zeny - 250;
  202. warp "alb2trea",43,53;
  203. end;
  204. case 2:
  205. if (Zeny < 500) {
  206. mes "[Fisk]";
  207. mes "Ain't no way yer getting there without the 500 zeny first!";
  208. close;
  209. }
  210. set Zeny,Zeny - 500;
  211. warp "izlude",176,182;
  212. end;
  213. case 3:
  214. mes "[Fisk]";
  215. mes "Alright...";
  216. mes "Landlubber.";
  217. close;
  218. }
  219. }
  220. alb2trea,39,50,6 script Fisk#a2t 100,{
  221. mes "[Fisk]";
  222. mes "So you wanna head back to the mainland in Alberta, eh?";
  223. next;
  224. if(select("Yes please.","I changed my mind.")==1)
  225. warp "alberta",192,169;
  226. close;
  227. }
  228. alberta,195,151,2 script Paul 86,{
  229. mes "[Paul]";
  230. mes "Good day~";
  231. mes "Would you like";
  232. mes "to join the";
  233. mes "exploration team";
  234. mes "of the Sunken Ship?";
  235. next;
  236. mes "[Paul]";
  237. mes "Oh! Before you join, I must warn you. If you're not that strong, you may not want to go.";
  238. next;
  239. mes "[Paul]";
  240. mes "So, want";
  241. mes "to sign up?";
  242. mes "The admission";
  243. mes "fee is only";
  244. mes "200 Zeny.";
  245. next;
  246. switch(select("Sign me up!","Uh, no thanks.")) {
  247. case 1:
  248. if (Zeny < 200) {
  249. mes "[Paul]";
  250. mes "It seems you don't have the money, my friend. But please come back when you're able to pay.";
  251. close;
  252. } else {
  253. set Zeny,Zeny - 200;
  254. warp "alb2trea",62,69;
  255. close;
  256. }
  257. case 2:
  258. mes "[Paul]";
  259. mes "Alright, well...";
  260. mes "I'll be around";
  261. mes "if you change";
  262. mes "your mind.";
  263. close;
  264. }
  265. }
  266. alberta,190,173,4 script Phelix 85,{
  267. set .@weight,MaxWeight-Weight;
  268. mes "[Phelix]";
  269. if ((.@weight) < 10000) {
  270. mes "Wait a moment!!";
  271. mes "You have brought too many things!";
  272. mes "You cannot accept any more items!";
  273. mes "Please reduce the amount of items,";
  274. mes "then come see me again.";
  275. close;
  276. }
  277. if (@event_zelopy == 0) {
  278. mes "The hell are you doing here?";
  279. mes "There is nothing you can get for free on this ship, if you want somethin', work for it!!";
  280. next;
  281. mes "[Phelix]";
  282. mes "Hmm, so why don't you bring me 10 jellopies and I will give 1 potion. How's that sound?";
  283. mes "Or if that's too hard for your pansy ass, 3 jellopies for 1 Carrot.";
  284. next;
  285. mes "[Phelix]";
  286. mes "If you're interested in my offer, get me the stuff I mentioned.";
  287. set @event_zelopy,1;
  288. close;
  289. } else {
  290. mes "Hmm.. you want to exchange jellopies for Red Potions or some Carrots eh? Well.. which one?";
  291. next;
  292. switch(select("Red Potions please.","Carrots please.")) {
  293. case 1:
  294. mes "[Phelix]";
  295. mes "Alright...";
  296. mes "Let's see";
  297. mes "what'cha got...";
  298. next;
  299. mes "[Phelix]";
  300. if (countitem(909) < 10) {
  301. mes "Hey! Weren't you listening?. I said 10 jellopies for 1 Red Potion.. are ya deaf?";
  302. close;
  303. } else {
  304. set .@max,countitem(909)/10;
  305. mes "Hmm, not bad...";
  306. mes "How many potions";
  307. mes "do you want to get?";
  308. next;
  309. switch(select("As many as I can, please.","I want this many.","Never mind, I like my jellopy.")) {
  310. case 1:
  311. delitem 909,.@max*10; // Jellopy
  312. getitem 501,.@max; // Red_Potion
  313. break;
  314. case 2:
  315. mes "[Phelix]";
  316. mes "I'm not giving you more then 100 at a time so don't bother, OK? If you don't want any, just say '0'.";
  317. mes "Right now, the most you can get is " + .@max + " but remember, 100 at most, you want to break my back?.";
  318. input .@amount;
  319. next;
  320. mes "[Phelix]";
  321. if (.@amount <= 0) {
  322. mes "Much obliged, come again anytime.";
  323. close;
  324. }
  325. if (.@amount > 100) {
  326. mes "Hey, what'd I say? 100 at a time at most, you're trying to kill me aren't you!";
  327. close;
  328. }
  329. if (countitem(909) < .@amount*10) {
  330. mes "Hmm, it looks like you don't have enough. Go get more jellopies if you want anything else from me.";
  331. close;
  332. }
  333. delitem 909,.@amount*10; // Jellopy
  334. getitem 501,.@amount; // Red_Potion
  335. break;
  336. case 3:
  337. mes "[Phelix]";
  338. mes "No problem,";
  339. mes "see you next time.";
  340. close;
  341. }
  342. mes "[Phelix]";
  343. mes "There you go! As I promised. Don't go suckin' them all down at once.";
  344. close;
  345. }
  346. case 2:
  347. mes "[Phelix]";
  348. mes "Alright, let's see what ya got...";
  349. next;
  350. mes "[Phelix]";
  351. if (countitem(909) < 3) {
  352. mes "Hmm, look pansy ass, I said 3 jellopies for 1 Carrot.. got it?";
  353. close;
  354. } else {
  355. set .@max,countitem(909)/3;
  356. mes "Not too bad pansy...";
  357. mes "How many do you want?";
  358. next;
  359. switch(select("As many as I can get, please","I want this many.","Never mind, I like my jellopy.")) {
  360. case 1:
  361. delitem 909,.@max*3; // Jellopy
  362. getitem 515,.@max; // Carrot
  363. break;
  364. case 2:
  365. mes "[Phelix]";
  366. mes "Right I'm not giving you more then 100 at a time so don't bother, okay? If you don't want any, just say '0'.";
  367. input .@amount;
  368. next;
  369. mes "[Phelix]";
  370. if (.@amount == 0) {
  371. mes "Alright then, see you next time.";
  372. close;
  373. }
  374. if (.@amount > 100) {
  375. mes "Hey pansy ass, I said 100 at most, no more then that! I'm not going to break my back for the likes of you!";
  376. close;
  377. }
  378. if (countitem(909) < .@amount*10) {
  379. mes "Seems you don't have enough. Go get some more if you want anything else.";
  380. close;
  381. }
  382. delitem 909,.@amount*3; // Jellopy
  383. getitem 515,.@amount; // Carrot
  384. break;
  385. case 3:
  386. mes "[Phelix]";
  387. mes "Catch'ya later.";
  388. close;
  389. }
  390. mes "[Phelix]";
  391. mes "There you go~! As I promised. Try not to stuff yer face.";
  392. close;
  393. }
  394. }
  395. }
  396. }