LostFarm.txt 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473
  1. //===== rAthena Script =======================================
  2. //= Lost Farm in Time
  3. //===== Description: =========================================
  4. //= [Walkthrough Conversion]
  5. //= Episode 17.2 Lost Farm in Time
  6. //===== Changelog: ===========================================
  7. //= 1.0 Initial release [crazyarashi]
  8. //= 1.1 Optimizations and cleanup [Everade]
  9. //= 1.2 Cleanup [Capuche]
  10. //============================================================
  11. ba_maison,311,206,3 script Luina#greeen 4_EP17_BASIC_B,{
  12. if (checkweight(1000103,20) == 0) {
  13. mes "- You cannot proceed with the quest because you have too many items. -";
  14. close;
  15. }
  16. if (BaseLevel < 150) {
  17. mes "[Cotton]";
  18. mes "Well, you look to weak to work. I don't think you can do it right now.";
  19. next;
  20. mes "- This quest is for level 150 or higher -";
  21. close;
  22. }
  23. if (ep17_2_main < 9) {
  24. mes "- I've met eyes with the automatic doll in front of the farming facility. -";
  25. next;
  26. mes "- The doll looked at me up and down, and turn its head. -";
  27. close;
  28. }
  29. if (isbegin_quest(8586) == 0) {
  30. mes "- I've met eyes with the automatic doll in front of the farming facility. -";
  31. next;
  32. mes "[Automatic Doll]";
  33. mes "Heart rate, blood pressure, and body temperature is all normal.";
  34. mes "Breathing is normal. Eyes stability normal.";
  35. mes "Checking registration information...";
  36. next;
  37. mes "- The doll looked at me up and down, and as if she look satisfied. -";
  38. next;
  39. mes "[Automatic Doll]";
  40. mes "Hello, " + strcharinfo(0) + "?";
  41. mes "Did you come to see farming facility?";
  42. npctalk "Meow.", "Kitty#greeen", bc_self;
  43. next;
  44. if (select( "Huh.", "No." ) == 2) {
  45. mes "[Automatic Doll]";
  46. mes "This is the farming facility, where Kitty and the others live.";
  47. mes "Just talk to me, if you're interested.";
  48. mes "I will explain everything to you.";
  49. close;
  50. }
  51. mes "[Automatic Doll]";
  52. mes "Kitty, hold still for a minute. Good boy~";
  53. mes "I am in charge of the farm facility here.";
  54. mes "I fix the plants, give it fertilizer and feed kitty here and his friends.";
  55. npctalk "Purr.", "Kitty#greeen", bc_self;
  56. next;
  57. mes "[Automatic Doll]";
  58. mes "The ingredients for the dessert that comes out from the cafeteria is harvested here.";
  59. mes "Ehem.";
  60. next;
  61. mes "[Automatic Doll]";
  62. mes "There have been a lot of guests lately, so we've been given more orders to harvest.";
  63. mes "My colleague from an another job has just been assigned to this place, but she's a little clumsy.";
  64. mes "It's easy to get a good harvest when everyone listens.";
  65. next;
  66. select( "You're talkative." );
  67. mes "[Luina]";
  68. mes "Oh, I forgot that I should introduce myself first, if I wanted to talk to a guest for a long time.";
  69. mes "My name is Luina.";
  70. next;
  71. mes "[Luina]";
  72. mes "Kitty here is a plant called a Pitaya. It's an improved ancient species that lived somewhere on this island.";
  73. mes "I don't know if it's weird, but I'm not a Pitaya, but I'm good at listening.";
  74. next;
  75. mes "- Luina stroked the Pitaya. -";
  76. npctalk "Purr.", "Kitty#greeen", bc_self;
  77. next;
  78. mes "[Luina]";
  79. mes "My master told me, I should name cute little things.";
  80. mes "Kitty, Butterfly, Happy, and so on.";
  81. mes "Pitaya is a small and cute creature, so I gave them a name.";
  82. next;
  83. mes "[Luina]";
  84. mes "Kitty is the cutest, the pitaya over here is Kitty.";
  85. next;
  86. mes "[Luina]";
  87. mes "So...";
  88. mes "Are you here to cut off some tails?";
  89. next;
  90. select( "Tail?", "I don't have a tail." );
  91. mes "[Luina]";
  92. mes "You're here to cut off some tails, aren't you?";
  93. mes "Oh, I've made a mistake.";
  94. mes "Hold on for a while. I'll process the explanation.";
  95. setquest 8586;
  96. close;
  97. }
  98. if (isbegin_quest(8586) == 1) {
  99. mes "[Luina]";
  100. mes "If you look at Kitty right now, He doesn't have roots, right?";
  101. mes "It absorbs moisture from the air and photosyntheses it even without the roots.";
  102. mes "Just some fertilizer... and some foods.";
  103. next;
  104. mes "[Luina]";
  105. mes "When you plant the seeds, they grow out of the ground, but I've never seen a multiple sprout before.";
  106. next;
  107. mes "[Luina]";
  108. mes "For the tail, You just grab the Pitaya, stroke it like this, and let them go.";
  109. next;
  110. mes "- Luina held the Pitaya, demo to on how to pull the tail and put it down. -";
  111. next;
  112. mes "[Luina]";
  113. mes "No, no. I didn't pull it.";
  114. mes "The harvested tail is not necessarily enough to eat.";
  115. mes "You have to take the loss into account.";
  116. npctalk "Cluck...!", "Kitty#greeen", bc_self;
  117. next;
  118. mes "[Luina]";
  119. mes "You need to remove the seeds and the skin, but it's not difficult.";
  120. mes "After processing it, the harvested Pitaya tail goes up to the table.";
  121. next;
  122. mes "[Luina]";
  123. mes "Harvesting is actually a bit difficult, so my colleague, 'Silk', will guide you.";
  124. mes "You can enter even without a harvest. I'll just let you in here without a guide.";
  125. next;
  126. mes "[Luina]";
  127. mes "If you're free, talk to 'Cotton' here, she's the play manager, and she'll let you know what to do.";
  128. mes "I know it's a little hard for you, but... if you lend us a hand, we will properly compensate you.";
  129. npctalk "Cotton : I wish it's a little higher...", "Cotton#172_lost_0", bc_self;
  130. next;
  131. mes "[Luina]";
  132. mes "Now that you've heard the instructions, you can enter now.";
  133. mes "You can just go in if you want to look around.";
  134. next;
  135. mes "[Luina]";
  136. mes "We talked about Cotton's job first, but it's actually the harvest that's more urgent.";
  137. mes "If you're confident in your combat skills, I'd like you to help with the harvest.";
  138. mes "I wish you can help me with the harvest...";
  139. mes "We have to feed Boss Kitty also.";
  140. next;
  141. select( "Boss Kitty?" );
  142. mes "[Luina]";
  143. mes "I just call him that, He is a little different from the other, it's hiding in a place that's hard to see.";
  144. mes "If you want to see him around, you'll have to sprink the food and make it a little noisy around the farm.";
  145. next;
  146. mes "[Luina]";
  147. mes "I'm the one in charge of the harvest, so please talk to me anytime you want!";
  148. completequest 8586;
  149. next;
  150. mes "[Luina]";
  151. mes "Let's talk about the details when you want to help.";
  152. close;
  153. }
  154. if (isbegin_quest(8589) == 1) {
  155. mes "[Luina]";
  156. mes "Did the younglings came to play with you?";
  157. mes "That's strange... I heard you very well.";
  158. mes "... what? Even Silk?";
  159. mes "What happened?";
  160. next;
  161. select( "She is pretending to be a cat." );
  162. emotion ET_FRET, getnpcid(0,"Kitty#greeen");
  163. mes "[Kitty]";
  164. mes "Cluck.";
  165. next;
  166. mes "-- The cat hid behind Luina before she reached it. --";
  167. next;
  168. mes "[Luina]";
  169. mes "What...";
  170. next;
  171. mes "[Luina]";
  172. mes "Maybe... just maybe?";
  173. mes "It's listening to me?";
  174. next;
  175. select( "I guess." );
  176. mes "[Luina]";
  177. mes "Kitty.";
  178. npctalk "*Growl*", "Kitty#greeen", bc_self;
  179. next;
  180. mes "[Luina]";
  181. mes "...";
  182. mes "Is this what the guests would say as 'embarassed'?";
  183. npctalk "*Croak*", "Kitty#greeen", bc_self;
  184. next;
  185. mes "- When Luina reached out her hand to the cat, it put it's heads up to her hand. -";
  186. next;
  187. mes "- Luina's face became complex with a satisfied expression while petting the cat. -";
  188. next;
  189. mes "[Luina]";
  190. mes "Hmm...";
  191. mes "Won't the guest will be able to befriend meow someday?";
  192. next;
  193. mes "[Luina]";
  194. mes "Wouldn't it be great if we continued playing with them like this?";
  195. npctalk "*Croak*", "Kitty#greeen", bc_self;
  196. next;
  197. mes "[Luina]";
  198. mes "Yes! Please help Silk again tomorrow as well.";
  199. mes "Then, one day... You'll be able to befriend all of the Pitayas!";
  200. mes "Here... it's a token of promise.";
  201. completequest 8589;
  202. getitem 1000103,20;
  203. getexp 3094009,0;
  204. next;
  205. mes "[Luina]";
  206. mes "Probably.";
  207. npctalk "Quack Quack.", "Kitty#greeen", bc_self;
  208. next;
  209. mes "- The cat cried with a high pitch sound as if it's excited. -";
  210. next;
  211. }
  212. switch( checkquest(8587,PLAYTIME) ) {
  213. case -1:
  214. break;
  215. case 0:
  216. case 1:
  217. mes "[Luina]";
  218. mes "We have completed the necessary harvest for today.";
  219. mes "We will resume our harvest again by dawn. Come back by then.";
  220. close;
  221. case 2:
  222. mes "[Luina]";
  223. mes "^0000FFOur struggle with the Pitaya seems like a long time ago.^000000";
  224. mes "^0000FFI now have the courage again to go back into the farming facility again.^000000";
  225. erasequest 8587;
  226. close;
  227. }
  228. .@party_id = getcharid(1);
  229. if (.@party_id < 1) {
  230. mes "^FF0000You must organize for atleast one person or join a party to enter.^000000";
  231. close;
  232. }
  233. .@md_name$ = "Farm Lost in Time";
  234. setarray .@item[0],1000093,1000094,1000095,1000096,1000097,1000098;
  235. for ( .@i = 0; .@i < 6; ++.@i ) {
  236. if (countitem(.@item[.@i]) > 0) {
  237. .@count = 1;
  238. delitem .@item[.@i], countitem(.@item[.@i]);
  239. }
  240. }
  241. if (.@count > 0) {
  242. mes "[Luina]";
  243. mes "!? What happened? You have a broken tail.";
  244. mes "I'll take care of that, please.";
  245. mes "Thank you.... After the next harvest experience, be sure to deliver it to Silk and come out.";
  246. next;
  247. }
  248. mes "[Luina]";
  249. mes "Hello, " + strcharinfo(0) + ".";
  250. mes "Are you going to enter the farming facility today?";
  251. next;
  252. switch( select( (is_party_leader() ? "Create " + .@md_name$ : ""), "Enter the dungeon.", "Cancel" ) ) {
  253. case 1:
  254. if (instance_create(.@md_name$) == -3)
  255. dispbottom "The reservation of the instance '" + .@md_name$ + "' has failed due to an active instance.";
  256. mes "[Luina]";
  257. mes "Please wait for a moment~";
  258. mes "I'll prepare the food for today.";
  259. close;
  260. case 2:
  261. if (instance_enter(.@md_name$) != IE_OK) {
  262. mes "^FF0000The memorial dungeon hasn't been created yet.^000000";
  263. close;
  264. }
  265. setquest 8587;
  266. if (isbegin_quest(8588) > 0)
  267. erasequest 8588;
  268. setquest 8588;
  269. mapannounce "ba_maison", "" + strcharinfo(0) + " of the party, " + .@party_name$ + ", is entering the " + .@md_name$ + ".", bc_map, "0x00FF99";
  270. end;
  271. case 3:
  272. end;
  273. }
  274. end;
  275. OnInit:
  276. questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(8587,PLAYTIME) == -1" ); // condition on ep17_2_main not required
  277. questinfo( QTYPE_QUEST, QMARK_YELLOW, "checkquest(8587,PLAYTIME) == 2" );
  278. end;
  279. }
  280. 1@lost,1,1,0 script #lost_farm_control -1,{
  281. end;
  282. OnInstanceInit:
  283. 'lost_farm = 0;
  284. deletearray 'banghae;
  285. 'map_lost$ = instance_mapname("1@lost");
  286. end;
  287. }
  288. 1@lost,161,40,0 script #startline HIDDEN_WARP_NPC,5,5,{
  289. end;
  290. OnTouch:
  291. if (!is_party_leader())
  292. end;
  293. disablenpc();
  294. 'lost_farm = 0;
  295. enablenpc instance_npcname("Wooden Box#01");
  296. npctalk "Oh! Guest! Over here!!", instance_npcname("Wooden Box#01");
  297. end;
  298. }
  299. 1@lost,163,47,3 script(DISABLED) Wooden Box#01 4_WOODBOX,{
  300. if (!is_party_leader()) {
  301. mes "[Silk]";
  302. mes "I'll talk to the leader of the guests!";
  303. mes "Please bring the leader here!";
  304. close;
  305. }
  306. if ('lost_farm == 0) {
  307. mes "[Silk]";
  308. mes "Welcome to the breeding ground! I'm silk the one in charge of collecting!";
  309. npctalk "Silk : Welcome to the breeding ground! I'm silk the one in charge of collecting!";
  310. next;
  311. mes "[Silk]";
  312. mes "Eeek... Save me!";
  313. npctalk "Silk : Eeek... Save me!";
  314. close2;
  315. if ('lost_farm == 0) {
  316. 'lost_farm = 1;
  317. donpcevent instance_npcname("Wooden Box#01") + "::OnStart";
  318. }
  319. end;
  320. }
  321. npctalk "Silk : Calm down the Pitayas!";
  322. end;
  323. OnStart:
  324. sleep 1000;
  325. .@event$ = instance_npcname("Wooden Box#01") + "::OnMobDead";
  326. monster 'map_lost$,155,43,"King Eyes",20660,1, .@event$;
  327. monster 'map_lost$,154,50,"Happy",20664,1, .@event$;
  328. monster 'map_lost$,158,49,"Toto",20661,1, .@event$;
  329. monster 'map_lost$,162,48,"Lightning",20662,1, .@event$;
  330. monster 'map_lost$,168,49,"Cutie",20660,1, .@event$;
  331. monster 'map_lost$,170,45,"Woody",20663,1, .@event$;
  332. monster 'map_lost$,165,42,"Rusk",20664,1, .@event$;
  333. end;
  334. OnMobDead:
  335. if (mobcount('map_lost$, instance_npcname("Wooden Box#01") + "::OnMobDead") == 0) {
  336. 'lost_farm = 2;
  337. disablenpc();
  338. enablenpc instance_npcname("Silk#01");
  339. sleep 1000;
  340. npctalk "Silk : !!", instance_npcname("Silk#01");
  341. }
  342. end;
  343. }
  344. 1@lost,163,47,3 script(DISABLED) Silk#01 4_EP17_BASKET,{
  345. if (!is_party_leader()) {
  346. mes "[Silk]";
  347. mes "I'll talk to the leader of the guests!";
  348. mes "Please bring the leader here!";
  349. close;
  350. }
  351. if ('lost_farm != 2)
  352. end;
  353. mes "[Silk]";
  354. mes "Thank you for saving my life! According to Luina, the Pitaya are a gentle creature!";
  355. npctalk "Silk : Thank you for saving my life! According to Luina, the Pitaya are a gentle creature!";
  356. next;
  357. mes "[Silk]";
  358. mes "You've seen it too! I'm scared!";
  359. npctalk "Silk : You've seen it too! I'm scared!";
  360. next;
  361. mes "[Silk]";
  362. mes "Feed and hug for five minutes each? How do I pet them, when they keep showing their teeth?";
  363. npctalk "Silk : Feed and hug for five minutes each? How do I pet them, when they keep showing their teeth?";
  364. next;
  365. mes "[Silk]";
  366. mes "What else should be done in 5 minutes!";
  367. npctalk "Silk : What else should be done in 5 minutes!";
  368. next;
  369. mes "[Silk]";
  370. mes "...";
  371. npctalk "Silk : ...";
  372. next;
  373. mes "[Silk]";
  374. mes "Dear guest...";
  375. npctalk "Silk : Dear guest...";
  376. next;
  377. mes "[Silk]";
  378. mes "I understand why Luina asked for more worker because she couldn't harvest quickly herself.";
  379. npctalk "Silk : I understand why Luina asked for more worker because she couldn't harvest quickly herself.";
  380. next;
  381. mes "[Silk]";
  382. mes "But it would be faster to hold it and play with it just like you did, rather than petting it for 5 minutes.";
  383. npctalk "Silk : But it would be faster to hold it and play with it just like you did, rather than petting it for 5 minutes.";
  384. next;
  385. mes "[Silk]";
  386. mes "... though I can't hold onto it.";
  387. npctalk "Silk : ... though I can't hold onto it.";
  388. next;
  389. mes "[Silk]";
  390. mes "Let's move on to the next habitat, it's around here. Ready? Here we go!";
  391. npctalk "Silk : Let's move on to the next habitat, it's around here. Ready? Here we go!";
  392. close2;
  393. if ('lost_farm == 2) {
  394. 'lost_farm = 3;
  395. disablenpc();
  396. enablenpc instance_npcname("Silk#02");
  397. instance_warpall 'map_lost$,218,149,instance_id();
  398. }
  399. end;
  400. }
  401. 1@lost,214,146,3 script(DISABLED) Silk#02 4_EP17_BASKET,{
  402. if (!is_party_leader()) {
  403. mes "[Silk]";
  404. mes "I'll talk to the leader of the guests!";
  405. mes "Please bring the leader here!";
  406. close;
  407. }
  408. if ('lost_farm == 3) {
  409. mes "[Silk]";
  410. mes "This facility... As you can see, this is a convenient breeding ground for our scaled friends.";
  411. npctalk "Silk : This facility... As you can see, this is a convenient breeding ground for our scaled friends.";
  412. next;
  413. mes "[Silk]";
  414. mes "Whether it's plants or animals. The temperature and humidity are always constant.";
  415. npctalk "Silk : Whether it's plants or animals. The temperature and humidity are always constant.";
  416. next;
  417. mes "[Silk]";
  418. mes "I heard it's not pleasant for people, how about breathing?";
  419. npctalk "Silk : I heard it's not pleasant for people, how about breathing?";
  420. next;
  421. mes "[Silk]";
  422. mes "Now I'm going to sprinkle some food here, too. Let's get this over with. I'll go hide...";
  423. npctalk "Silk : Now I'm going to sprinkle some food here, too. Let's get this over with... I'll go hide.";
  424. next;
  425. mes "[Silk]";
  426. mes "Hey... Guys, it's time for bars and rice~";
  427. npctalk "Silk : Hey... Guys, it's time for bars and rice~";
  428. close2;
  429. if ('lost_farm == 3) {
  430. 'lost_farm = 4;
  431. npctalk "Silk : I've sprinkled the food already, they'll show up soon!";
  432. disablenpc();
  433. donpcevent instance_npcname("Wooden Box#02") + "::OnStart";
  434. }
  435. end;
  436. }
  437. if ('lost_farm == 4) {
  438. mes "[Silk]";
  439. mes "Haa, haa... I was so scared...";
  440. npctalk "Silk : Haa, haa... I was so scared...";
  441. next;
  442. mes "[" + strcharinfo(0) + "]";
  443. mes "Are you sure that you're not playing right now?";
  444. unittalk getcharid(3), "" + strcharinfo(0) + " : Are you sure that you're not playing right now?";
  445. next;
  446. mes "[Silk]";
  447. mes "I think it's right for them. I told you before, they'll only produce tails if they're in a good mood.";
  448. npctalk "Silk : I think it's right for them. I told you before, they'll only produce tails if they're in a good mood.";
  449. next;
  450. mes "[Silk]";
  451. mes "By the way, shall we move on to the next location...? We're not done yet, so...";
  452. npctalk "Silk : By the way, shall we move on to the next location...? We're not done yet, so...";
  453. next;
  454. mes "[Silk]";
  455. mes "The next one is a playground with rocks and sand. When I harvest, I'll have to shake off the sand first...";
  456. npctalk "Silk : The next one is a playground with rocks and sand. When I harvest, I'll have to shake off the sand first...";
  457. close2;
  458. if ('lost_farm == 4) {
  459. 'lost_farm = 5;
  460. disablenpc();
  461. enablenpc instance_npcname("Silk#03");
  462. instance_warpall 'map_lost$,86,101,instance_id();
  463. }
  464. end;
  465. }
  466. end;
  467. }
  468. 1@lost,214,146,3 script(DISABLED) Wooden Box#02 4_WOODBOX,{
  469. npctalk "Silk : Save me! I'm going to get eaten by the Pitayas!";
  470. end;
  471. OnStart:
  472. enablenpc();
  473. sleep 1000;
  474. .@event$ = instance_npcname("Wooden Box#02") + "::OnMobDead";
  475. monster 'map_lost$,210,148,"Lucy",20662,1, .@event$;
  476. monster 'map_lost$,208,153,"Elizabeth",20660,1, .@event$;
  477. monster 'map_lost$,215,151,"Dorothy",20664,1, .@event$;
  478. monster 'map_lost$,216,151,"Clara",20661,1, .@event$;
  479. monster 'map_lost$,211,143,"Coco",20662,1, .@event$;
  480. monster 'map_lost$,211,144,"Cloud",20663,1, .@event$;
  481. monster 'map_lost$,216,151,"Harmony",20660,1, .@event$;
  482. sleep 3000;
  483. npctalk "Silk : He~, Help me~~~~";
  484. sleep 3000;
  485. npctalk "Silk : Save the automatic doll~~~~~";
  486. end;
  487. OnMobDead:
  488. .@count = mobcount('map_lost$, instance_npcname("Wooden Box#02") + "::OnMobDead");
  489. if (.@count == 0) {
  490. 'lost_farm = 4;
  491. disablenpc();
  492. enablenpc instance_npcname("Silk#02");
  493. npctalk "Silk : ...Is it over?", instance_npcname("Silk#02");
  494. end;
  495. }
  496. npctalk "Silk : There " + (.@count == 1 ? "is" : "are") + " " + .@count + " left!";
  497. end;
  498. }
  499. 1@lost,91,92,3 script(DISABLED) Silk#03 4_EP17_BASKET,{
  500. if (!is_party_leader()) {
  501. mes "[Silk]";
  502. mes "I'll talk to the leader of the guests!";
  503. mes "Please bring the leader here!";
  504. close;
  505. }
  506. if ('lost_farm == 5) {
  507. mes "[Silk]";
  508. mes "Don't mind my location...";
  509. npctalk "Silk : Don't mind my location...";
  510. next;
  511. mes "[Silk]";
  512. mes "Even if it's right to come over to play, at least not with me.";
  513. npctalk "Silk : Even if it's right to come over to play, at least not with me.";
  514. next;
  515. mes "[Silk]";
  516. mes "But I think they should be playing with you! That's right!";
  517. npctalk "Silk : But I think they should be playing with you! That's right!";
  518. next;
  519. mes "[Silk]";
  520. mes "Anyway, help me with the next harvest! Hey, guys~ It's time to eat~~";
  521. npctalk "Silk : Anyway, help me with the next harvest! Hey, guys~ It's time to eat~~";
  522. close2;
  523. if ('lost_farm == 5) {
  524. 'lost_farm = 6;
  525. npctalk "Silk : I've spread the food, so they'll show up soon!";
  526. disablenpc();
  527. donpcevent instance_npcname("Wooden Box#03") + "::OnStart";
  528. }
  529. end;
  530. }
  531. if ('lost_farm == 7) {
  532. mes "[Silk]";
  533. mes "Woo...";
  534. npctalk "Silk : Woo...";
  535. next;
  536. mes "[Silk]";
  537. mes "You and I... are covered in sand...";
  538. npctalk "Silk : You and I... are covered in sand...";
  539. next;
  540. mes "[Silk]";
  541. mes "Oh, I'm waterproof and dustproof, my core is fine.";
  542. npctalk "Silk : Oh, I'm waterproof and dustproof, my core is fine.";
  543. next;
  544. mes "[Silk]";
  545. mes "Am I angry? to the guest? no...";
  546. npctalk "Silk : Am I angry? to the guest? no...";
  547. next;
  548. mes "[Silk]";
  549. mes "The automatic doll... can I be angry? ...Hmmm...";
  550. npctalk "Silk : The automatic doll... can I be angry? ...Hmmm...";
  551. next;
  552. mes "[Silk]";
  553. mes "...not now, but I feel like I can... hmmm.";
  554. npctalk "Silk : ...not now, but I feel like I can... hmmm.";
  555. next;
  556. mes "[Silk]";
  557. mes "Next is the playground with an oasis-like pool. Let us go...";
  558. npctalk "Silk : Next is the playground with an oasis-like pool. Let us go...";
  559. close2;
  560. if ('lost_farm == 7) {
  561. 'lost_farm = 8;
  562. disablenpc();
  563. enablenpc instance_npcname("Silk#04");
  564. instance_warpall 'map_lost$,226,256,instance_id();
  565. }
  566. end;
  567. }
  568. end;
  569. }
  570. 1@lost,91,92,3 script(DISABLED) Wooden Box#03 4_WOODBOX,{
  571. npctalk "Silk : Kyaaah!";
  572. end;
  573. OnStart:
  574. enablenpc();
  575. sleep 1000;
  576. .@event$ = instance_npcname("Wooden Box#03") + "::OnMobDead";
  577. monster 'map_lost$,81,103,"Lotti",20661,1, .@event$;
  578. monster 'map_lost$,81,99,"Sally",20660,1, .@event$;
  579. monster 'map_lost$,82,95,"Glory",20662,1, .@event$;
  580. monster 'map_lost$,91,108,"Connie",20664,1, .@event$;
  581. monster 'map_lost$,92,105,"Boris",20661,1, .@event$;
  582. monster 'map_lost$,92,99,"Rony",20664,1, .@event$;
  583. monster 'map_lost$,89,94,"Mikey",20663,1, .@event$;
  584. sleep 3000;
  585. npctalk "Silk : Oh, don't come here~~~";
  586. sleep 3000;
  587. npctalk "Silk : Not me, not meeee~~~";
  588. end;
  589. OnMobDead:
  590. .@count = mobcount('map_lost$, instance_npcname("Wooden Box#03") + "::OnMobDead");
  591. if (.@count == 0) {
  592. 'lost_farm = 7;
  593. disablenpc();
  594. enablenpc instance_npcname("Silk#03");
  595. end;
  596. }
  597. npctalk "Silk : There " + (.@count == 1 ? "is" : "are") + " " + .@count + " left!";
  598. end;
  599. }
  600. 1@lost,232,257,3 script(DISABLED) Silk#04 4_EP17_BASKET,{
  601. if (!is_party_leader()) {
  602. mes "[Silk]";
  603. mes "I'll talk to the leader of the guests!";
  604. mes "Please bring the leader here!";
  605. close;
  606. }
  607. if ('lost_farm == 8) {
  608. mes "[Silk]";
  609. mes "Again, don't worry about my location...";
  610. npctalk "Silk : Again, don't worry about my location...";
  611. next;
  612. mes "[Silk]";
  613. mes "What do you think? I think you're doing good for a first timer.";
  614. npctalk "Silk : What do you think? I think you're doing good for a first timer.";
  615. next;
  616. mes "[Silk]";
  617. mes "As expected, you have a talent for this! I was right!";
  618. npctalk "Silk : As expected, you have a talent for this! I was right!";
  619. next;
  620. mes "[Silk]";
  621. mes "Do you think an automatic doll can flatter people? I only told the truth.";
  622. npctalk "Silk : Do you think an automatic doll can flatter people? I only told the truth.";
  623. next;
  624. mes "[Silk]";
  625. mes "Let's look at your talent and spread the food! Guys~~ It's time to eat~~~";
  626. npctalk "Silk : Let's look at your talent and spread the food! Guys~~ It's time to eat~~~";
  627. close2;
  628. if ('lost_farm == 8) {
  629. 'lost_farm = 9;
  630. disablenpc();
  631. donpcevent instance_npcname("Wooden Box#04") + "::OnStart";
  632. }
  633. end;
  634. }
  635. if ('lost_farm == 10) {
  636. mes "[Silk]";
  637. mes "...";
  638. npctalk "Silk : ...";
  639. next;
  640. mes "[" + strcharinfo(0) + "]";
  641. mes "Are you okay?";
  642. unittalk getcharid(3), "" + strcharinfo(0) + " : Are you okay?";
  643. next;
  644. mes "[Silk]";
  645. mes "I think it's a little different from geting used to a guest and getting used to this kind of work.";
  646. npctalk "Silk : I think it's a little different from geting used to a guest and getting used to this kind of work";
  647. next;
  648. mes "[Silk]";
  649. mes "Let's move on to the next location!";
  650. npctalk "Silk : Let's move on to the next location!";
  651. next;
  652. mes "[" + strcharinfo(0) + "]";
  653. mes "Is there another one?";
  654. unittalk getcharid(3), "" + strcharinfo(0) + " : Is there another one?";
  655. next;
  656. mes "[Silk]";
  657. mes "It may have been a small greenhouse from the outside, but it's an illusion. Look at the ceiling... It's really high, right?";
  658. npctalk "Silk : It may have been a small greenhouse from the outside, but it's an illusion. Look at the ceiling... It's really high, right?";
  659. next;
  660. mes "[Silk]";
  661. mes "There is a reason why I always guide guests.";
  662. npctalk "Silk : There is a reason why I always guide guests.";
  663. next;
  664. mes "[Silk]";
  665. mes "Next up is near the entrance, but according to Luina's information, it's a sleepy area. You think it's about to wake up?";
  666. npctalk "Silk : Next up is near the entrance, but according to Luina's information, it's a sleepy area. You think he's about to wake up?";
  667. close2;
  668. if ('lost_farm == 10) {
  669. 'lost_farm = 11;
  670. disablenpc();
  671. enablenpc instance_npcname("Silk#05");
  672. instance_warpall 'map_lost$,242,117,instance_id();
  673. }
  674. end;
  675. }
  676. end;
  677. }
  678. 1@lost,232,257,3 script(DISABLED) Wooden Box#04 4_WOODBOX,{
  679. npctalk "Silk : Don't come! Don't come!";
  680. end;
  681. OnStart:
  682. enablenpc();
  683. npctalk "Silk : Hey, guys~ Not me~";
  684. sleep 1000;
  685. .@event$ = instance_npcname("Wooden Box#04") + "::OnMobDead";
  686. monster 'map_lost$,227,261,"Rudolf",20664,1, .@event$;
  687. monster 'map_lost$,223,262,"Daisy",20663,1, .@event$;
  688. monster 'map_lost$,217,260,"Adonis",20660,1, .@event$;
  689. monster 'map_lost$,216,252,"Bingo",20662,1, .@event$;
  690. monster 'map_lost$,223,253,"Molly",20663,1, .@event$;
  691. monster 'map_lost$,228,247,"Sammy",20661,1, .@event$;
  692. monster 'map_lost$,234,253,"Joy",20662,1, .@event$;
  693. sleep 3000;
  694. npctalk "Silk : Don't come! Don't comeee!";
  695. sleep 3000;
  696. npctalk "Silk : Don't come this waaaaaay!";
  697. end;
  698. OnMobDead:
  699. .@count = mobcount('map_lost$, instance_npcname("Wooden Box#04") + "::OnMobDead");
  700. if (.@count == 0) {
  701. 'lost_farm = 10;
  702. disablenpc();
  703. enablenpc instance_npcname("Silk#04");
  704. npctalk "Silk : ...Oh, my...", instance_npcname("Silk#04");
  705. end;
  706. }
  707. npctalk "Silk : There " + (.@count == 1 ? "is" : "are") + " " + .@count + " left!";
  708. end;
  709. }
  710. 1@lost,247,119,3 script(DISABLED) Silk#05 4_EP17_BASKET,{
  711. if (!is_party_leader()) {
  712. mes "[Silk]";
  713. mes "I'll talk to the leader of the guests!";
  714. mes "Please bring the leader here!";
  715. close;
  716. }
  717. if ('lost_farm == 11) {
  718. mes "[Silk]";
  719. mes "Deep breaths... Deep Breaths...";
  720. npctalk "Silk : Deep breaths... Deep Breaths...";
  721. next;
  722. mes "[Silk]";
  723. mes "What? Does an automatic doll breathe deeply? Wouldn't you want to catch a breath if you can't control your mind?";
  724. npctalk "Silk : What? Does an automatic doll breathe deeply? Wouldn't you want to catch a breath if you can't control your mind?";
  725. next;
  726. mes "[Silk]";
  727. mes "Not with lungs, but... Come to think of it, how does Pitaya make a sounds?";
  728. npctalk "Silk : Not with lungs, but... Come to think of it, how does Pitaya make a sounds?";
  729. next;
  730. mes "[Silk]";
  731. mes "...I don't want to be afraid.";
  732. npctalk "Silk : ...I don't want to be afraid.";
  733. next;
  734. mes "[Silk]";
  735. mes "So let's move on... The Pitayas here are sleepyheads, so the responses may be a little different. Now, guys...Come here...";
  736. npctalk "Silk : So let's move on... The Pitayas here are sleepyheads, so the responses may be a little different. Now, guys...Come here...";
  737. close2;
  738. if ('lost_farm == 11) {
  739. 'lost_farm = 12;
  740. disablenpc();
  741. donpcevent instance_npcname("Wooden Box#05") + "::OnStart";
  742. }
  743. end;
  744. }
  745. if ('lost_farm == 13) {
  746. mes "[Silk]";
  747. mes "Phew...";
  748. npctalk "Silk : Phew...";
  749. next;
  750. mes "[" + strcharinfo(0) + "]";
  751. mes "Are you okay?";
  752. unittalk getcharid(3), "" + strcharinfo(0) + " : Are you okay?";
  753. next;
  754. mes "[Silk]";
  755. mes "Do 'Cats' bite you?";
  756. next;
  757. mes "[" + strcharinfo(0) + "]";
  758. mes "I think so.";
  759. unittalk getcharid(3), "" + strcharinfo(0) + " : I think so.";
  760. next;
  761. mes "[Silk]";
  762. mes "Is there a condition that requires you to bite people to be cute?";
  763. npctalk "Silk : Is there a condition that requires you to bite people to be cute?";
  764. next;
  765. mes "[Silk]";
  766. mes "As expected... Joy comes with a price.";
  767. npctalk "Silk : As expected... Joy comes with a price.";
  768. next;
  769. mes "[Silk]";
  770. mes "To enjoy it's cuteness, I'm ready to give my arms and legs...!";
  771. npctalk "Silk : To enjoy it's cuteness, I'm ready to give my arms and legs...!";
  772. next;
  773. mes "[Silk]";
  774. mes "I saw the guests again. I respect you. Oh, of course, it was admirable from the beginning.";
  775. npctalk "Silk : I saw the guests again. I respect you. Oh, of course, it was admirable from the beginning.";
  776. next;
  777. mes "[Silk]";
  778. mes "Does an automatic doll make jokes? Oh, you're pretty good at joking. I always mean it.";
  779. npctalk "Silk : Does an automatic doll make jokes? Oh, you're pretty good at joking. I always mean it.";
  780. next;
  781. mes "[Silk]";
  782. mes "Do we still have something to harvest? I'm sorry about that, too. Let's move to the next section.";
  783. npctalk "Silk : Do we still have something to harvest? I'm sorry about that, too. Let's move to the next section.";
  784. close2;
  785. if ('lost_farm == 13) {
  786. 'lost_farm = 14;
  787. disablenpc();
  788. enablenpc instance_npcname("Silk#06");
  789. instance_warpall 'map_lost$,116,165,instance_id();
  790. }
  791. end;
  792. }
  793. end;
  794. }
  795. 1@lost,247,119,3 script(DISABLED) Wooden Box#05 4_WOODBOX,{
  796. npctalk "Silk : Save the automatic doll!";
  797. end;
  798. OnStart:
  799. enablenpc();
  800. npctalk "Silk : ...";
  801. sleep 1000;
  802. .@event$ = instance_npcname("Wooden Box#05") + "::OnMobDead";
  803. monster 'map_lost$,248,115,"Dough",20664,1, .@event$;
  804. monster 'map_lost$,247,110,"Roro",20663,1, .@event$;
  805. monster 'map_lost$,246,120,"Jasmine",20661,1, .@event$;
  806. monster 'map_lost$,243,124,"Melody",20660,1, .@event$;
  807. monster 'map_lost$,247,120,"Misty",20664,1, .@event$;
  808. monster 'map_lost$,244,115,"Sandy",20662,1, .@event$;
  809. monster 'map_lost$,243,116,"Bonnie",20661,1, .@event$;
  810. sleep 3000;
  811. npctalk "Silk : .....";
  812. sleep 3000;
  813. npctalk "Silk : ........... what's the difference!";
  814. end;
  815. OnMobDead:
  816. .@count = mobcount('map_lost$, instance_npcname("Wooden Box#05") + "::OnMobDead");
  817. if (.@count == 0) {
  818. 'lost_farm = 13;
  819. disablenpc();
  820. enablenpc instance_npcname("Silk#05");
  821. npctalk "Silk : Is it over?!", instance_npcname("Silk#05");
  822. end;
  823. }
  824. npctalk "Silk : There " + (.@count == 1 ? "is" : "are") + " " + .@count + " left!";
  825. end;
  826. }
  827. 1@lost,106,160,3 script(DISABLED) Silk#06 4_EP17_BASKET,{
  828. if (!is_party_leader()) {
  829. mes "[Silk]";
  830. mes "I'll talk to the leader of the guests!";
  831. mes "Please bring the leader here!";
  832. close;
  833. }
  834. if ('lost_farm == 14) {
  835. mes "[Silk]";
  836. mes "I'm worried...";
  837. npctalk "Silk : I'm worried...";
  838. next;
  839. mes "[Silk]";
  840. mes "There's no distinction between us, but how canthey tell us apart?";
  841. npctalk "Silk : There's no distinction between us, but how canthey tell us apart?";
  842. next;
  843. mes "[Silk]";
  844. mes "Do I smell...? Sniff, sniff.";
  845. npctalk "Silk : Do I smell...? Sniff, sniff.";
  846. next;
  847. mes "[Silk]";
  848. mes "By the way... Today's quota is finally over half.";
  849. npctalk "Silk : By the way... Today's quota is finally over half.";
  850. next;
  851. mes "[Silk]";
  852. mes "This is all thanks to your help... Thank you so much.";
  853. npctalk "Silk : This is all thanks to your help... Thank you so much.";
  854. next;
  855. mes "[Silk]";
  856. mes "So let me call the Pitayas around here...";
  857. npctalk "Silk : So let me call the Pitayas around here...";
  858. close2;
  859. if ('lost_farm == 14) {
  860. 'lost_farm = 15;
  861. disablenpc();
  862. donpcevent instance_npcname("Wooden Box#06") + "::OnStart";
  863. }
  864. end;
  865. }
  866. if ('lost_farm == 16) {
  867. mes "[Silk]";
  868. mes "Sigh...";
  869. npctalk "Silk : Sigh...";
  870. next;
  871. mes "[Silk]";
  872. mes "According to Luina's instructions, what's left now is...";
  873. npctalk "Silk : According to Luina's instructions, what's left now is...";
  874. next;
  875. mes "[Silk]";
  876. mes "Only Boss Meow...";
  877. npctalk "Silk : Only Boss Meow...";
  878. next;
  879. mes "[" + strcharinfo(0) + "]";
  880. mes "Boss Meow?";
  881. unittalk getcharid(3), "" + strcharinfo(0) + " : Boss Meow?";
  882. next;
  883. mes "[Silk]";
  884. mes "If the condition of being cute is biting, then boss meow would be cutest and better at biting as much as the others...";
  885. npctalk "Silk : If the condition of being cute is biting, then boss meow would be cutest and better at biting as much as the others..";
  886. next;
  887. mes "[Silk]";
  888. mes "...will bite well...?";
  889. npctalk "Silk : ...it will bite well...?";
  890. next;
  891. mes "[Silk]";
  892. mes "To enjoy it's cuteness, I'm ready to give it not only arms and legs but also my colleagues...!";
  893. npctalk "Silk : To enjoy it's cuteness, I'm ready to give it not only arms and legs but also my colleagues...!";
  894. next;
  895. mes "[Silk]";
  896. mes "How about it... Dear guest?";
  897. npctalk "Silk : How about it... Dear guest?";
  898. next;
  899. mes "[Silk]";
  900. mes "Shall we go?";
  901. npctalk "Silk : Shall we go?";
  902. close2;
  903. if ('lost_farm == 16) {
  904. 'lost_farm = 17;
  905. sleep 3000;
  906. npctalk "Silk : The rose garden is where Boss Meow usually sleeps, is on the second floor.";
  907. sleep 3000;
  908. npctalk "Silk : Let's see, Luina's record... I need to wake up a Big Meow. To get there...";
  909. sleep 3000;
  910. npctalk "Silk : ...so, two Big Meow... Boss Meow and Big Meow have a hierarchy, so they have a specific location for napping before mealtime...";
  911. sleep 3000;
  912. npctalk "Silk: I guess we just have to soothe one to make them clear the way. Well, if you choose one side, I'll go and... I'll feed the other side...";
  913. sleep 3000;
  914. npctalk "Silk : That's okay, I have a good eyesight, so if you get there and give me a signal, I'll take care of it! Now, for the closest one, I'll show you the coordinates on the map...";
  915. enablenpc instance_npcname("#compass01");
  916. viewpointmap 'map_lost$,1,38,253,1,0xFFFF00;
  917. viewpointmap 'map_lost$,1,287,253,2,0xFFFF00;
  918. }
  919. end;
  920. }
  921. if ('lost_farm == 17) {
  922. mes "[Silk]";
  923. mes "You can choose one of the locations on the map and go.";
  924. viewpointmap 'map_lost$,1,38,253,1,0xFFFF00;
  925. viewpointmap 'map_lost$,1,287,253,2,0xFFFF00;
  926. close;
  927. }
  928. end;
  929. }
  930. 1@lost,113,168,0 script(DISABLED) #compass01 HIDDEN_WARP_NPC,30,30,{
  931. end;
  932. OnTouch:
  933. disablenpc();
  934. viewpointmap 'map_lost$,1,38,253,1,0xFFFF00;
  935. viewpointmap 'map_lost$,1,287,253,2,0xFFFF00;
  936. end;
  937. }
  938. 1@lost,106,160,3 script(DISABLED) Wooden Box#06 4_WOODBOX,{
  939. npctalk "Silk : Save me!";
  940. end;
  941. OnStart:
  942. enablenpc();
  943. sleep 1000;
  944. .@event$ = instance_npcname("Wooden Box#06") + "::OnMobDead";
  945. monster 'map_lost$,108,164,"Berry",20661,1, .@event$;
  946. monster 'map_lost$,107,169,"Rain",20660,1, .@event$;
  947. monster 'map_lost$,111,173,"Windy",20663,1, .@event$;
  948. monster 'map_lost$,115,173,"Poppie",20661,1, .@event$;
  949. monster 'map_lost$,119,169,"Lala",20662,1, .@event$;
  950. monster 'map_lost$,111,160,"Sasha",20664,1, .@event$;
  951. monster 'map_lost$,115,161,"Emerald",20660,1, .@event$;
  952. npctalk "Silk : I'm~~~";
  953. sleep 1000;
  954. npctalk "Silk : ...fine~~~~~";
  955. sleep 1000;
  956. npctalk "Silk : Well, I'm telling you~~~~~~~~ Ugh!";
  957. end;
  958. OnMobDead:
  959. .@count = mobcount('map_lost$, instance_npcname("Wooden Box#06") + "::OnMobDead");
  960. if (.@count == 0) {
  961. 'lost_farm = 16;
  962. disablenpc();
  963. enablenpc instance_npcname("Silk#06");
  964. npctalk "Silk : Sigh...", instance_npcname("Silk#06");
  965. end;
  966. }
  967. npctalk "Silk : There " + (.@count == 1 ? "is" : "are") + " " + .@count + " left!";
  968. end;
  969. }
  970. // traps left side
  971. 1@lost,38,257,3 script Big Meow#01 MD_PITAYA_B,{
  972. mes "[Big Meow]";
  973. mes "Purr.";
  974. next;
  975. mes "-- Big meow is taking a nap. --";
  976. close;
  977. }
  978. 1@lost,38,256,0 script #cat01warp HIDDEN_WARP_NPC,4,4,{
  979. end;
  980. OnTouch:
  981. if ('lost_farm == 17) {
  982. 'lost_farm = 18;
  983. npctalk "Big Meow : Grrrrrrr.", instance_npcname("Big Meow#01");
  984. disablenpc instance_npcname("Big Meow#01");
  985. disablenpc instance_npcname("#cat01warp");
  986. disablenpc instance_npcname("#compass01");
  987. disablenpc instance_npcname("Silk#06");
  988. enablenpc instance_npcname("banghae#101");
  989. enablenpc instance_npcname("banghae#102");
  990. enablenpc instance_npcname("banghae#103");
  991. enablenpc instance_npcname("banghae#104");
  992. enablenpc instance_npcname("banghae#105");
  993. donpcevent instance_npcname("Wooden Box#10") + "::OnStart";
  994. monster 'map_lost$,38,257,"Big Meow",20662,1, instance_npcname("Wooden Box#10") + "::OnMobDead";
  995. end;
  996. }
  997. npctalk "Big Meow : *Sneeze*";
  998. warp 'map_lost$,38,226;
  999. end;
  1000. }
  1001. 1@lost,38,265,0 script(DISABLED) banghae#101 HIDDEN_WARP_NPC,5,5,{
  1002. end;
  1003. OnTouch_:
  1004. disablenpc();
  1005. 'banghae[0] = 1;
  1006. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1007. monster 'map_lost$,39,269,"Pearl",20663,1, .@event$;
  1008. monster 'map_lost$,37,269,"Sapphire",20662,1, .@event$;
  1009. monster 'map_lost$,36,264,"Ruby",20660,1, .@event$;
  1010. monster 'map_lost$,38,268,"Diamond",20661,1, .@event$;
  1011. monster 'map_lost$,36,269,"Emerald",20664,1, .@event$;
  1012. end;
  1013. }
  1014. 1@lost,38,296,0 script(DISABLED) banghae#102 HIDDEN_WARP_NPC,5,5,{
  1015. end;
  1016. OnTouch_:
  1017. disablenpc();
  1018. 'banghae[1] = 1;
  1019. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1020. monster 'map_lost$,35,296,"Sardonyx",20660,1, .@event$;
  1021. monster 'map_lost$,40,296,"Opal",20664,1, .@event$;
  1022. monster 'map_lost$,36,294,"Topaz",20662,1, .@event$;
  1023. monster 'map_lost$,38,299,"Zircon",20661,1, .@event$;
  1024. monster 'map_lost$,34,298,"Amethyst",20663,1, .@event$;
  1025. end;
  1026. }
  1027. 1@lost,51,317,0 script(DISABLED) banghae#103 HIDDEN_WARP_NPC,5,5,{
  1028. end;
  1029. OnTouch_:
  1030. disablenpc();
  1031. 'banghae[2] = 1;
  1032. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1033. monster 'map_lost$,48,319,"Aquamarine",20662,1, .@event$;
  1034. monster 'map_lost$,51,319,"Garnet",20660,1, .@event$;
  1035. monster 'map_lost$,45,317,"Iolite",20663,1, .@event$;
  1036. monster 'map_lost$,49,314,"Citrine",20661,1, .@event$;
  1037. monster 'map_lost$,49,320,"Peridot",20664,1, .@event$;
  1038. monster 'map_lost$,39,300,"Sardonyx",20660,1, .@event$;
  1039. monster 'map_lost$,39,300,"Opal",20664,1, .@event$;
  1040. monster 'map_lost$,39,300,"Topaz",20662,1, .@event$;
  1041. monster 'map_lost$,39,300,"Zircon",20661,1, .@event$;
  1042. monster 'map_lost$,39,300,"Amethyst",20663,1, .@event$;
  1043. end;
  1044. }
  1045. 1@lost,92,317,0 script(DISABLED) banghae#104 HIDDEN_WARP_NPC,5,5,{
  1046. end;
  1047. OnTouch_:
  1048. disablenpc();
  1049. 'banghae[3] = 1;
  1050. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1051. monster 'map_lost$,92,318,"Rutile",20660,1, .@event$;
  1052. monster 'map_lost$,95,317,"Aragonite",20662,1, .@event$;
  1053. monster 'map_lost$,91,316,"Amber",20661,1, .@event$;
  1054. monster 'map_lost$,90,315,"Tanzanite",20662,1, .@event$;
  1055. monster 'map_lost$,89,316,"Obsidian",20662,1, .@event$;
  1056. end;
  1057. }
  1058. 1@lost,135,317,0 script(DISABLED) banghae#105 HIDDEN_WARP_NPC,5,5,{
  1059. end;
  1060. OnTouch_:
  1061. disablenpc();
  1062. 'banghae[4] = 1;
  1063. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1064. monster 'map_lost$,139,317,"Onyx",20660,1, .@event$;
  1065. monster 'map_lost$,139,318,"Tanzite",20663,1, .@event$;
  1066. monster 'map_lost$,132,314,"Jasper",20660,1, .@event$;
  1067. monster 'map_lost$,137,313,"Rodonite",20660,1, .@event$;
  1068. monster 'map_lost$,133,319,"Jet",20662,1, .@event$;
  1069. end;
  1070. }
  1071. // traps right side
  1072. 1@lost,286,253,3 duplicate(Big Meow#01) Big Meow#02 MD_PITAYA_Y
  1073. 1@lost,287,253,0 script #cat02warp HIDDEN_WARP_NPC,4,4,{
  1074. end;
  1075. OnTouch:
  1076. if ('lost_farm == 17) {
  1077. 'lost_farm = 18;
  1078. npctalk "Big Meow : Grrrrrrr.", instance_npcname("Big Meow#02");
  1079. disablenpc instance_npcname("Big Meow#02");
  1080. disablenpc instance_npcname("#cat02warp");
  1081. disablenpc instance_npcname("#compass01");
  1082. disablenpc instance_npcname("Silk#06");
  1083. enablenpc instance_npcname("banghae#201");
  1084. enablenpc instance_npcname("banghae#202");
  1085. enablenpc instance_npcname("banghae#203");
  1086. enablenpc instance_npcname("banghae#204");
  1087. enablenpc instance_npcname("banghae#205");
  1088. donpcevent instance_npcname("Wooden Box#10") + "::OnStart";
  1089. monster 'map_lost$,286,253,"Big Meow",20661,1, instance_npcname("Wooden Box#10") + "::OnMobDead";
  1090. end;
  1091. }
  1092. npctalk "Big Meow : *Sneeze*";
  1093. warp 'map_lost$,287,226;
  1094. end;
  1095. }
  1096. 1@lost,286,267,0 script(DISABLED) banghae#201 HIDDEN_WARP_NPC,5,5,{
  1097. end;
  1098. OnTouch_:
  1099. disablenpc();
  1100. 'banghae[0] = 1;
  1101. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1102. monster 'map_lost$,283,265,"Pearl",20663,1, .@event$;
  1103. monster 'map_lost$,287,267,"Sapphire",20662,1, .@event$;
  1104. monster 'map_lost$,288,268,"Ruby",20660,1, .@event$;
  1105. monster 'map_lost$,290,265,"Diamond",20661,1, .@event$;
  1106. monster 'map_lost$,288,262,"Emerald",20664,1, .@event$;
  1107. end;
  1108. }
  1109. 1@lost,287,296,0 script(DISABLED) banghae#202 HIDDEN_WARP_NPC,5,5,{
  1110. end;
  1111. OnTouch_:
  1112. disablenpc();
  1113. 'banghae[1] = 1;
  1114. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1115. monster 'map_lost$,287,299,"Sardonyx",20660,1, .@event$;
  1116. monster 'map_lost$,289,298,"Opal",20664,1, .@event$;
  1117. monster 'map_lost$,284,295,"Topaz",20662,1, .@event$;
  1118. monster 'map_lost$,290,291,"Zircon",20661,1, .@event$;
  1119. monster 'map_lost$,287,293,"Amethyst",20663,1, .@event$;
  1120. end;
  1121. }
  1122. 1@lost,270,317,0 script(DISABLED) banghae#203 HIDDEN_WARP_NPC,5,5,{
  1123. end;
  1124. OnTouch_:
  1125. disablenpc();
  1126. 'banghae[2] = 1;
  1127. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1128. monster 'map_lost$,274,318,"Aquamarine",20662,1, .@event$;
  1129. monster 'map_lost$,272,316,"Garnet",20660,1, .@event$;
  1130. monster 'map_lost$,279,318,"Iolite",20663,1, .@event$;
  1131. monster 'map_lost$,278,316,"Citrine",20661,1, .@event$;
  1132. monster 'map_lost$,275,315,"Peridot",20664,1, .@event$;
  1133. end;
  1134. }
  1135. 1@lost,232,317,0 script(DISABLED) banghae#204 HIDDEN_WARP_NPC,5,5,{
  1136. end;
  1137. OnTouch_:
  1138. disablenpc();
  1139. 'banghae[3] = 1;
  1140. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1141. monster 'map_lost$,236,318,"Rutile",20660,1, .@event$;
  1142. monster 'map_lost$,234,318,"Aragonite",20662,1, .@event$;
  1143. monster 'map_lost$,241,316,"Amber",20661,1, .@event$;
  1144. monster 'map_lost$,241,315,"Tanzanite",20662,1, .@event$;
  1145. monster 'map_lost$,239,315,"Obsidian",20662,1, .@event$;
  1146. end;
  1147. }
  1148. 1@lost,195,317,0 script(DISABLED) banghae#205 HIDDEN_WARP_NPC,5,5,{
  1149. end;
  1150. OnTouch_:
  1151. disablenpc();
  1152. 'banghae[4] = 1;
  1153. .@event$ = instance_npcname("Wooden Box#10") + "::OnMobDead";
  1154. monster 'map_lost$,201,317,"Onyx",20662,1, .@event$;
  1155. monster 'map_lost$,199,315,"Tanzite",20663,1, .@event$;
  1156. monster 'map_lost$,201,314,"Jasper",20660,1, .@event$;
  1157. monster 'map_lost$,202,317,"Rodonite",20660,1, .@event$;
  1158. monster 'map_lost$,202,318,"Jet",20662,1, .@event$;
  1159. end;
  1160. }
  1161. // boss
  1162. 1@lost,161,315,3 script(DISABLED) Wooden Box#10 4_WOODBOX,{
  1163. if ('lost_farm < 19) {
  1164. npctalk "Silk : You must play with all the Pitayas on your way here.";
  1165. end;
  1166. }
  1167. if (!is_party_leader()) {
  1168. mes "[Silk]";
  1169. mes "I'll talk to the leader of the guests!";
  1170. mes "Please bring the leader here!";
  1171. close;
  1172. }
  1173. if ('lost_farm == 19) {
  1174. mes "[Silk]";
  1175. mes ".... come this way.";
  1176. npctalk "Silk : .... come this way.";
  1177. next;
  1178. mes "[Silk]";
  1179. mes "Boss Meow...!";
  1180. npctalk "Silk : Boss Meow...!";
  1181. close2;
  1182. disablenpc();
  1183. enablenpc instance_npcname("Wooden Box#10-1");
  1184. sleep 2000;
  1185. if ('lost_farm == 19) {
  1186. 'lost_farm = 20;
  1187. donpcevent instance_npcname("#1_lost_boss") + "::OnBossSummon";
  1188. }
  1189. end;
  1190. }
  1191. if ('lost_farm == 21) {
  1192. mes "[Silk]";
  1193. mes "Guest... Huh...";
  1194. npctalk "Silk : Guest... Huh...";
  1195. next;
  1196. mes "[Silk]";
  1197. mes "This is... it's not fear, it's more like resentment...";
  1198. npctalk "Silk : This is... it's not fear, it's more like resentment...";
  1199. next;
  1200. mes "[Silk]";
  1201. mes "We are all the same, but I can't do the same job as Luina...";
  1202. npctalk "Silk : We are all the same, but I can't do the same job as Luina...";
  1203. next;
  1204. mes "[" + strcharinfo(0) + "]";
  1205. mes "Come out for now.";
  1206. unittalk getcharid(3), "" + strcharinfo(0) + " : Come out for now.";
  1207. close2;
  1208. disablenpc();
  1209. enablenpc instance_npcname("Silk#10");
  1210. npctalk "Silk : Yah!", instance_npcname("Silk#10");
  1211. end;
  1212. }
  1213. end;
  1214. OnStart:
  1215. enablenpc();
  1216. sleep 3000;
  1217. mapannounce 'map_lost$, "Silk : Ahhhhhhhhhhhh! Save me!!",bc_yellow;
  1218. sleep 3000;
  1219. mapannounce 'map_lost$, "Silk : I was successful!!!!!!",bc_yellow;
  1220. sleep 3000;
  1221. mapannounce 'map_lost$, "Silk : I'll wait in front of the Boss Meow!",bc_yellow;
  1222. end;
  1223. OnMobDead:
  1224. if ('lost_farm != 18 || 'banghae[0] == 0 || 'banghae[1] == 0 || 'banghae[2] == 0 || 'banghae[3] == 0 || 'banghae[4] == 0)
  1225. end;
  1226. if (mobcount('map_lost$, instance_npcname("Wooden Box#10") + "::OnMobDead") == 0) {
  1227. 'lost_farm = 19;
  1228. npctalk "Silk : Shh.";
  1229. }
  1230. end;
  1231. }
  1232. 1@lost,161,315,3 script(DISABLED) Wooden Box#10-1 4_WOODBOX,{
  1233. switch (rand(1,3)) {
  1234. case 1:
  1235. npctalk "Silk : He-Help me~~~~!";
  1236. break;
  1237. case 2:
  1238. npctalk "Silk : Ca-calm Boss Meow down~~~";
  1239. break;
  1240. case 3:
  1241. npctalk "Silk : Here~~ You can have my arm~~";
  1242. break;
  1243. }
  1244. end;
  1245. }
  1246. 1@lost,161,315,3 script(DISABLED) Silk#10 4_EP17_BASKET,{
  1247. if (!is_party_leader() && 'lost_farm < 22) {
  1248. mes "[Silk]";
  1249. mes "I'll talk to the leader of the guests!";
  1250. mes "Please bring the leader here!";
  1251. close;
  1252. }
  1253. if ('lost_farm == 21) {
  1254. mes "[Silk]";
  1255. mes "The parts that make up each one are different, so what can we use this for...?";
  1256. next;
  1257. mes "[Silk]";
  1258. mes "So this is the only way to harvest in the future...?";
  1259. next;
  1260. mes "[Silk]";
  1261. mes "Well, I can't help it! Did the guests have fun?";
  1262. next;
  1263. mes "[" + strcharinfo(0) + "]";
  1264. mes "Did you have fun?";
  1265. unittalk getcharid(3), "" + strcharinfo(0) + " : Did you have fun?";
  1266. next;
  1267. mes "[Silk]";
  1268. mes "Yes! It's over! Isn't work supposed to be fun when it's over?";
  1269. next;
  1270. mes "[Silk]";
  1271. mes "If you give me the Pitaya tail you have collected, today's farm experience is over! Come on, let's go outside!";
  1272. if ('lost_farm == 21)
  1273. 'lost_farm = 22;
  1274. close;
  1275. }
  1276. if (isbegin_quest(8588) == 1) {
  1277. if (checkweight(1000103,8) == 0) { // (custom)
  1278. mes "^008800Wait a sec!!";
  1279. mes "You cannot receive any more items because you're carrying too many items. Please try again after you lighten up.^000000";
  1280. close;
  1281. }
  1282. mes "[Silk]";
  1283. mes "Let's see... How many did you collect?";
  1284. next;
  1285. setarray .@item[0],1000093,1000094,1000095,1000096,1000097;
  1286. for ( .@i = 0; .@i < 5; ++.@i ) {
  1287. if (countitem(.@item[.@i]) > 0) {
  1288. .@count += countitem(.@item[.@i]);
  1289. delitem .@item[.@i], countitem(.@item[.@i]);
  1290. }
  1291. }
  1292. if (.@count >= 20)
  1293. .@reward = 4;
  1294. else
  1295. .@reward = 2;
  1296. if (countitem(1000098) > 0) {
  1297. delitem 1000098, countitem(1000098);
  1298. .@reward += 2;
  1299. }
  1300. mes "[Silk]";
  1301. mes "The total is " + .@count + ".";
  1302. mes "Thank you for your hard work!";
  1303. erasequest 8588;
  1304. getitem 1000103, .@reward;
  1305. next;
  1306. }
  1307. mes "[Silk]";
  1308. mes "So... do you want to go out?";
  1309. next;
  1310. if (select( "Go out.", "Don't go out." ) == 2) {
  1311. mes "[Silk]";
  1312. mes "Are you waiting for your colleagues?";
  1313. mes "I'll wait for you, so please tell me when you want to go out~";
  1314. close;
  1315. }
  1316. if (isbegin_quest(8589) == 0) { // first time entering the instance
  1317. mes "[Silk]";
  1318. mes "Luina... I finished the extension report, please say something to the guest after this!";
  1319. mes "I did a great job... *sob*";
  1320. setquest 8589;
  1321. }
  1322. mes "See you next time!";
  1323. close2;
  1324. warp "ba_maison",308,202;
  1325. end;
  1326. }
  1327. 1@lost,1,1,0 script #1_lost_boss HIDDEN_WARP_NPC,{
  1328. end;
  1329. OnBossSummon:
  1330. monster 'map_lost$,167,318,"Boss Meow",20659,1, instance_npcname("#1_lost_boss") + "::OnBossKill";
  1331. donpcevent instance_npcname("#1_lost_boss") + "::OnSlaveSummon";
  1332. enablenpc instance_npcname("bossbang#301");
  1333. enablenpc instance_npcname("bossbang#302");
  1334. enablenpc instance_npcname("bossbang#401");
  1335. enablenpc instance_npcname("bossbang#402");
  1336. end;
  1337. OnBossKill:
  1338. killmonster 'map_lost$, instance_npcname("#1_lost_boss") + "::OnBossKill";
  1339. if ('lost_farm == 20)
  1340. 'lost_farm = 21;
  1341. disablenpc instance_npcname("Wooden Box#10-1");
  1342. disablenpc instance_npcname("bossbang#301");
  1343. disablenpc instance_npcname("bossbang#302");
  1344. disablenpc instance_npcname("bossbang#401");
  1345. disablenpc instance_npcname("bossbang#402");
  1346. enablenpc instance_npcname("Wooden Box#10");
  1347. end;
  1348. OnSlaveSummon:
  1349. // note: mobs not killed when the boss dies
  1350. monster 'map_lost$,157,316,"Mora",20661,1;
  1351. monster 'map_lost$,167,314,"Max",20664,1;
  1352. monster 'map_lost$,166,319,"Cache",20664,1;
  1353. sleep 3000;
  1354. monster 'map_lost$,172,318,"Sammy",20655,1;
  1355. monster 'map_lost$,172,325,"Lightning",20656,1;
  1356. monster 'map_lost$,169,329,"Daisy",20657,1;
  1357. monster 'map_lost$,156,329,"Rudolf",20658,1;
  1358. monster 'map_lost$,155,318,"Happy",20654,1;
  1359. sleep 3000;
  1360. monster 'map_lost$,156,329,"Joy",20658,1;
  1361. monster 'map_lost$,169,329,"Glory",20657,1;
  1362. monster 'map_lost$,150,323,"King Eyes",20664,1;
  1363. monster 'map_lost$,161,332,"Elizabeth",20656,1;
  1364. sleep 6000;
  1365. monster 'map_lost$,150,320,"Roro",20660,1;
  1366. monster 'map_lost$,152,314,"Toto",20661,1;
  1367. monster 'map_lost$,166,327,"Dough",20664,1;
  1368. monster 'map_lost$,174,318,"Adonis",20660,1;
  1369. monster 'map_lost$,172,313,"Coco",20662,1;
  1370. end;
  1371. }
  1372. 1@lost,135,317,0 script(DISABLED) bossbang#301 HIDDEN_WARP_NPC,5,5,{
  1373. end;
  1374. OnTouch_: // note: mobs not killed when the boss dies
  1375. monster 'map_lost$,135,319,"Onyx",20656,1;
  1376. monster 'map_lost$,135,316,"Tanzanite","G_PITAYA_V",1;
  1377. monster 'map_lost$,131,313,"Jasper","G_PITAYA_R",1;
  1378. monster 'map_lost$,137,315,"Rhodonite","G_PITAYA_R",1;
  1379. monster 'map_lost$,133,319,"Jet",20656,1;
  1380. end;
  1381. }
  1382. 1@lost,129,317,0 script(DISABLED) bossbang#302 HIDDEN_WARP_NPC,5,5,{
  1383. end;
  1384. OnTouch_:
  1385. monster 'map_lost$,129,316,"Rutile","G_PITAYA_R",1;
  1386. monster 'map_lost$,132,317,"Aragonite",20656,1;
  1387. monster 'map_lost$,134,316,"Amber","G_PITAYA_Y",1;
  1388. monster 'map_lost$,130,316,"Joysite",20656,1;
  1389. monster 'map_lost$,131,316,"Obsidian",20656,1;
  1390. end;
  1391. }
  1392. 1@lost,195,317,0 script(DISABLED) bossbang#401 HIDDEN_WARP_NPC,5,5,{
  1393. end;
  1394. OnTouch_:
  1395. monster 'map_lost$,197,313,"Onyx",20656,1;
  1396. monster 'map_lost$,194,315,"Tanzanite","G_PITAYA_V",1;
  1397. monster 'map_lost$,201,313,"Jasper","G_PITAYA_R",1;
  1398. monster 'map_lost$,200,315,"Rhodonite","G_PITAYA_R",1;
  1399. monster 'map_lost$,202,318,"Jet",20656,1;
  1400. end;
  1401. }
  1402. 1@lost,201,317,0 script(DISABLED) bossbang#402 HIDDEN_WARP_NPC,5,5,{
  1403. end;
  1404. OnTouch_:
  1405. monster 'map_lost$,199,316,"Rutile","G_PITAYA_R",1;
  1406. monster 'map_lost$,203,317,"Aragonite",20656,1;
  1407. monster 'map_lost$,204,316,"Amber","G_PITAYA_Y",1;
  1408. monster 'map_lost$,199,315,"Joysite",20656,1;
  1409. monster 'map_lost$,193,315,"Obsidian",20656,1;
  1410. end;
  1411. }