alberta.txt 13 KB

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