summaryrefslogblamecommitdiff
path: root/npc/017-3/dimonds.txt
blob: 0980d7d32eff992cdabbfc180ac960cc4fc71272 (plain) (tree)
1
2
3
4
5
6
7
8
9
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598







                                            
                          






                                                                                        

                                                                                                           








                                                
                              




















                                                                               
                              




















                                                                                                                         
                              




















                                                                               
                                                  
                                






















































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                      

                                            
                          















                                                                                                
                           
                       















                                                       

  
// TMW2/LoF scripts.
// Authors:
//    TMW-LoF Team
//    Jesusalva
// Description:
//    Dimond's Cove NPCs

017-3,34,38,0	script	Dimond	NPC_DIMOND,{
    showavatar NPC_DIMOND;
    mesn;
    mesq l("Welcome to Dimond's Cove!");
    next;
    mesn;
    mesq l("Please, don't say I got fat. I DON'T WANNA HEAR IT FROM YOU, WAS I CLEAR?");
    next;
    mesn;
    mesq l("Please, enjoy the show! There are some people upstairs, too.");
    //mesq l("Talk to the waitress to get some food. Enjoy the show! And you can sleep on the 3rd Floor.");
    close;

OnInit:
    .sex=G_FEMALE;
    .distance=5;
    end;
}

017-3,40,35,0	script	Phil	NPC_BARD_TRUMP,{
    showavatar NPC_BARD_TRUMP;
    if (season() == SEASON_SPRING)
        goto L_Quest;
    mesn;
    mesq l("We've finally solved the problem with our instruments!");
    next;
    mesn;
    mesq l("Now we can play any songs! Hooray!");
    close;

L_Quest:
    mesn;
    mesq l("All spring it is the same thing... The instruments stop working!");
    close;

OnInit:
    .sex=G_MALE;
    .distance=5;
    end;
}

017-3,40,37,0	script	Jerry	NPC_BARD_DRUMS,{
    showavatar NPC_BARD_DRUMS;
    if (season() == SEASON_SPRING)
        goto L_Quest;
    mesn;
    mesq l("I finally figured out what was wrong. I must thank everyone who help us.");
    next;
    mesn;
    mesq l("I can't believe it took so long to fix... And worse, next spring it'll be the same story all over again...");
    close;

L_Quest:
    mesn;
    mesq l("All spring it is the same thing... The instruments stop working!");
    close;

OnInit:
    .sex=G_MALE;
    .distance=5;
    end;
}

017-3,42,36,0	script	Robert	NPC_BARD_HARPS,{
    showavatar NPC_BARD_HARPS;
    if (season() == SEASON_SPRING)
        goto L_Quest;
    mesn;
    mesq l("We held to our hope and Jerry figured it out.");
    next;
    mesn;
    mesq l("Now we are no longer useless — we can play music again!");
    close;

L_Quest:
    mesn;
    mesq l("All spring it is the same thing... The instruments stop working!");
    close;

OnInit:
    .sex=G_MALE;
    .distance=5;
    end;
}


017-3,35,35,0	script	Shannon	NPC_LOF_NOBLEMAN,{
    showavatar NPC_LOF_NOBLEMAN;
    mesn;
    mesq l("I'm a traveling poet and admirer of Robert Burns, a bard from the mana world.");
    next;
    mesn;
    mesq l("I wonder if he exists on this world too. Because if he doesn't, I could tell many tales about him!");
    close;
    /*
    @month = 1;
    @start_day = 24;
    @end_day = 26;
    if (gettime(6) != @month) goto L_No_Event;
    if (gettime(5) < @start_day) goto L_No_Event;
    if (gettime(5) > @end_day) goto L_No_Event;
    if (gettimetick(2)-TUT_var < 2*7*86400 ) //player must be created at least 2 weeks ago - WAIT, THAT IS NOT POSSIBLE ON TMW2
        goto L_No_Event;
    if (FLAGS & FLAG_HAS_BOWLER_BURNSDAY && FLAGS & FLAG_HAS_STEAMPUNK_BURNSDAY) goto L_Event_Done;
    getinventorylist;
    if (@inventorylist_count == 100) goto L_Full_Inv;

    mes "[Shannon]";
    mes "\"Welcome to Dimond's Cove.  We are celebrating Robert Burns with supper and poems.  You provide the supper and I'll provide a poem by Robert Burns.  He was otherwise known as 'The Bard' and wrote many poems.  The music of language is what I love most.  The language of poetry.  While his accent is thick, his poems tell stories that stir the soul.  I'll read a poem by him and you can tell me what you think.\"";
    next;
    mes "\"Before I start, it is traditional to eat, drink and be merry, so help from you will be great and keep me reading.\"";
    next;
    mes "\"O thou! whatever title suit thee,--\"";
    mes "\"Auld Hornie, Satan, Nick, or Clootie!\"";
    mes "\"Wha in yon cavern, grim an' sootie,\"";
    mes "\"Clos'd under hatches,\"";
    mes "\"Spairges about the brunstane cootie\"";
    mes "\"To scaud poor wretches!\"";
    callsub S_food_menu;
    mes "\"Hear me, Auld Hangie, for a wee,\"";
    mes "\"An' let poor damned bodies be;\"";
    mes "\"I'm sure sma' pleasure it can gie,\"";
    mes "\"E'en to a deil,\"";
    mes "\"To skelp an' scaud poor dogs like me,\"";
    mes "\"An' hear us squeel!\"";
    callsub S_food_menu;
    mes "\"Great is thy pow'r, an' great thy fame;\"";
    mes "\"Far ken'd an' noted is thy name;\"";
    mes "\"An' tho' yon lowin heugh's thy hame,\"";
    mes "\"Thou travels far;\"";
    mes "\"An' faith! thou's neither lag nor lame,\"";
    mes "\"Nor blate nor scaur.\"";
    callsub S_food_menu;
    mes "\"Whyles, ranging like a roarin lion,\"";
    mes "\"For prey a' holes an' corners tryin;\"";
    mes "\"Whyles, on the strong-wing'd tempest flyin,\"";
    mes "\"Tirlin' the kirks;\"";
    mes "\"Whyles, in the human bosom pryin,\"";
    mes "\"Unseen thou lurks.\"";
    callsub S_food_menu;
    mes "\"I've heard my rev'rend graunie say,\"";
    mes "\"In lanely glens ye like to stray;\"";
    mes "\"Or whare auld ruin'd castles gray\"";
    mes "\"Nod to the moon,\"";
    mes "\"Ye fright the nightly wand'rer's way\"";
    mes "\"Wi' eldritch croon.\"";
    callsub S_food_menu;
    mes "\"When twilight did my graunie summon\"";
    mes "\"To say her pray'rs, douce honest woman!\"";
    mes "\"Aft yont the dike she's heard you bummin,\"";
    mes "\"Wi' eerie drone;\"";
    mes "\"Or, rustlin thro' the boortrees comin,\"";
    mes "\"Wi' heavy groan.\"";
    callsub S_food_menu;
    mes "\"Ae dreary, windy, winter night,\"";
    mes "\"The stars shot down wi' sklentin light,\"";
    mes "\"Wi' you mysel I gat a fright,\"";
    mes "\"Ayont the lough;\"";
    mes "\"Ye like a rash-buss stood in sight,\"";
    mes "\"Wi' waving sugh.\"";
    callsub S_food_menu;
    mes "\"The cudgel in my nieve did shake,\"";
    mes "\"Each bristl'd hair stood like a stake,\"";
    mes "\"When wi' an eldritch, stoor 'Quaick, quaick,'\"";
    mes "\"Amang the springs,\"";
    mes "\"Awa ye squatter'd like a drake,\"";
    mes "\"On whistling wings.\"";
    callsub S_food_menu;
    mes "\"Let warlocks grim an' wither'd hags\"";
    mes "\"Tell how wi' you on ragweed nags\"";
    mes "\"They skim the muirs an' dizzy crags\"";
    mes "\"Wi' wicked speed;\"";
    mes "\"And in kirk-yards renew their leagues,\"";
    mes "\"Owre howket dead.\"";
    callsub S_food_menu;
    mes "\"Thence, countra wives wi' toil an' pain\"";
    mes "\"May plunge an' plunge the kirn in vain;\"";
    mes "\"For oh! the yellow treasure's taen\"";
    mes "\"By witchin skill;\"";
    mes "\"An' dawtet, twal-pint hawkie's gaen\"";
    mes "\"As yell's the bill.\"";
    callsub S_food_menu;
    mes "\"Thence, mystic knots mak great abuse,\"";
    mes "\"On young guidmen, fond, keen, an' croose;\"";
    mes "\"When the best wark-lume i' the house,\"";
    mes "\"By cantraip wit,\"";
    mes "\"Is instant made no worth a louse,\"";
    mes "\"Just at the bit.\"";
    callsub S_food_menu;
    mes "\"When thowes dissolve the snawy hoord,\"";
    mes "\"An' float the jinglin icy-boord,\"";
    mes "\"Then water-kelpies haunt the foord\"";
    mes "\"By your direction,\"";
    mes "\"An' nighted trav'lers are allur'd\"";
    mes "\"To their destruction.\"";
    callsub S_food_menu;
    mes "\"And aft your moss-traversing spunkies\"";
    mes "\"Decoy the wight that late an drunk is:\"";
    mes "\"The bleezin, curst, mischievous monkeys\"";
    mes "\"Delude his eyes,\"";
    mes "\"Till in some miry slough he sunk is,\"";
    mes "\"Ne'er mair to rise.\"";
    callsub S_food_menu;
    mes "\"When Masons' mystic word an grip\"";
    mes "\"In storms an' tempests raise you up,\"";
    mes "\"Some cock or cat your rage maun stop,\"";
    mes "\"Or, strange to tell!\"";
    mes "\"The youngest brither ye wad whip\"";
    mes "\"Aff straught to hell!\"";
    callsub S_food_menu;
    mes "\"Lang syne, in Eden'd bonie yard,\"";
    mes "\"When youthfu' lovers first were pair'd,\"";
    mes "\"An all the soul of love they shar'd,\"";
    mes "\"The raptur'd hour,\"";
    mes "\"Sweet on the fragrant flow'ry swaird,\"";
    mes "\"In shady bow'r;\"";
    callsub S_food_menu;
    mes "\"Then you, ye auld snick-drawin dog!\"";
    mes "\"Ye cam to Paradise incog,\"";
    mes "\"And play'd on man a cursed brogue,\"";
    mes "\"(Black be your fa'!)\"";
    mes "\"An gied the infant warld a shog,\"";
    mes "\"Maist ruin'd a'.\"";
    callsub S_food_menu;
    mes "\"D'ye mind that day, when in a bizz,\"";
    mes "\"Wi' reeket duds an reestet gizz,\"";
    mes "\"Ye did present your smoutie phiz\"";
    mes "\"Mang better folk,\"";
    mes "\"An' sklented on the man of Uz\"";
    mes "\"Your spitefu' joke?\"";
    callsub S_food_menu;
    mes "\"An' how ye gat him i' your thrall,\"";
    mes "\"An' brak him out o' house and hal',\"";
    mes "\"While scabs and blotches did him gall,\"";
    mes "\"Wi' bitter claw,\"";
    mes "\"An' lows'd his ill-tongued, wicked scaul,\"";
    mes "\"Was warst ava?\"";
    callsub S_food_menu;
    mes "\"But a' your doings to rehearse,\"";
    mes "\"Your wily snares an' fechtin fierce,\"";
    mes "\"Sin' that day Michael did you pierce,\"";
    mes "\"Down to this time,\"";
    mes "\"Wad ding a Lallan tongue, or Erse,\"";
    mes "\"In prose or rhyme.\"";
    callsub S_food_menu;
    mes "\"An' now, Auld Cloots, I ken ye're thinkin,\"";
    mes "\"A certain Bardie's rantin, drinkin,\"";
    mes "\"Some luckless hour will send him linkin,\"";
    mes "\"To your black pit;\"";
    mes "\"But faith! he'll turn a corner jinkin,\"";
    mes "\"An' cheat you yet.\"";
    callsub S_food_menu;
    mes "\"But fare you weel, Auld Nickie-ben!\"";
    mes "\"O wad ye tak a thought an' men'!\"";
    mes "\"Ye aiblins might--I dinna ken--\"";
    mes "\"Still hae a stake:\"";
    mes "\"I'm wae to think upo' yon den,\"";
    mes "\"Ev'n for your sake!\"";
    next;
    mes "\"Well, that was the poem.  What do you think of it?\"";
    menu
        "It was a bit long and kind of hard to understand, but thanks for reading.", L_Next;

L_Next:
    mes "[Shannon]";
    mes "\"Well, thanks for coming to the supper.  Also, thanks for helping me make it through the poem.  Here, take this hat.  When you wear it, wear it with the class you showed me today.  Happy Burns' Supper!\"";
    getinventorylist;
    if (@inventorylist_count == 100)
        goto L_Full_Inv;
    if (FLAGS & FLAG_HAS_BOWLER_BURNSDAY) goto L_Get_SteamTopHat;

    getitem "BowlerHat", 1;
    FLAGS = FLAGS | FLAG_HAS_BOWLER_BURNSDAY;
    close;

L_Get_SteamTopHat:
    getitem "SteamTopHat", 1;
    FLAGS = FLAGS | FLAG_HAS_STEAMPUNK_BURNSDAY;
    close;

L_No_Event:
    mes "[Shannon]";
    mes "\"I'm a traveling poet and admirer of Robert Burns.\"";
    close;

L_Event_Done:
    mes "[Shannon]";
    mes "\"Ah, my dear friend. Good to see you again in this remarkable time of the year.\"";
    next;
    mes "\"Welcome to Dimond's Cove.  We are celebrating Robert Burns with supper and poems.  You provide the supper and I'll provide a poem by Robert Burns.  He was otherwise known as 'The Bard' and wrote many poems.  The music of language is I love most.  The language of poetry.  While his accent is thick, his poems tell stories that stir the soul.  I'll read a poem by him and you can tell me what you think.\"";
    next;
    mes "\"O thou! whatever title suit thee,--\"";
    mes "\"Auld Hornie, Satan, Nick, or Clootie!\"";
    mes "\"Wha in yon cavern, grim an' sootie,\"";
    mes "\"Clos'd under hatches,\"";
    mes "\"Spairges about the brunstane cootie\"";
    mes "\"To scaud poor wretches!\"";
    next;
    mes "\"Hear me, Auld Hangie, for a wee,\"";
    mes "\"An' let poor damned bodies be;\"";
    mes "\"I'm sure sma' pleasure it can gie,\"";
    mes "\"E'en to a deil,\"";
    mes "\"To skelp an' scaud poor dogs like me,\"";
    mes "\"An' hear us squeel!\"";
    next;
    mes "\"Great is thy pow'r, an' great thy fame;\"";
    mes "\"Far ken'd an' noted is thy name;\"";
    mes "\"An' tho' yon lowin heugh's thy hame,\"";
    mes "\"Thou travels far;\"";
    mes "\"An' faith! thou's neither lag nor lame,\"";
    mes "\"Nor blate nor scaur.\"";
    next;
    mes "\"Whyles, ranging like a roarin lion,\"";
    mes "\"For prey a' holes an' corners tryin;\"";
    mes "\"Whyles, on the strong-wing'd tempest flyin,\"";
    mes "\"Tirlin' the kirks;\"";
    mes "\"Whyles, in the human bosom pryin,\"";
    mes "\"Unseen thou lurks.\"";
    next;
    mes "\"I've heard my rev'rend graunie say,\"";
    mes "\"In lanely glens ye like to stray;\"";
    mes "\"Or whare auld ruin'd castles gray\"";
    mes "\"Nod to the moon,\"";
    mes "\"Ye fright the nightly wand'rer's way\"";
    mes "\"Wi' eldritch croon.\"";
    next;
    mes "\"When twilight did my graunie summon\"";
    mes "\"To say her pray'rs, douce honest woman!\"";
    mes "\"Aft yont the dike she's heard you bummin,\"";
    mes "\"Wi' eerie drone;\"";
    mes "\"Or, rustlin thro' the boortrees comin,\"";
    mes "\"Wi' heavy groan.\"";
    next;
    mes "\"Ae dreary, windy, winter night,\"";
    mes "\"The stars shot down wi' sklentin light,\"";
    mes "\"Wi' you mysel I gat a fright,\"";
    mes "\"Ayont the lough;\"";
    mes "\"Ye like a rash-buss stood in sight,\"";
    mes "\"Wi' waving sugh.\"";
    next;
    mes "\"The cudgel in my nieve did shake,\"";
    mes "\"Each bristl'd hair stood like a stake,\"";
    mes "\"When wi' an eldritch, stoor 'Quaick, quaick,'\"";
    mes "\"Amang the springs,\"";
    mes "\"Awa ye squatter'd like a drake,\"";
    mes "\"On whistling wings.\"";
    next;
    mes "\"Let warlocks grim an' wither'd hags\"";
    mes "\"Tell how wi' you on ragweed nags\"";
    mes "\"They skim the muirs an' dizzy crags\"";
    mes "\"Wi' wicked speed;\"";
    mes "\"And in kirk-yards renew their leagues,\"";
    mes "\"Owre howket dead.\"";
    next;
    mes "\"Thence, countra wives wi' toil an' pain\"";
    mes "\"May plunge an' plunge the kirn in vain;\"";
    mes "\"For oh! the yellow treasure's taen\"";
    mes "\"By witchin skill;\"";
    mes "\"An' dawtet, twal-pint hawkie's gaen\"";
    mes "\"As yell's the bill.\"";
    next;
    mes "\"Thence, mystic knots mak great abuse,\"";
    mes "\"On young guidmen, fond, keen, an' croose;\"";
    mes "\"When the best wark-lume i' the house,\"";
    mes "\"By cantraip wit,\"";
    mes "\"Is instant made no worth a louse,\"";
    mes "\"Just at the bit.\"";
    next;
    mes "\"When thowes dissolve the snawy hoord,\"";
    mes "\"An' float the jinglin icy-boord,\"";
    mes "\"Then water-kelpies haunt the foord\"";
    mes "\"By your direction,\"";
    mes "\"An' nighted trav'lers are allur'd\"";
    mes "\"To their destruction.\"";
    next;
    mes "\"And aft your moss-traversing spunkies\"";
    mes "\"Decoy the wight that late an drunk is:\"";
    mes "\"The bleezin, curst, mischievous monkeys\"";
    mes "\"Delude his eyes,\"";
    mes "\"Till in some miry slough he sunk is,\"";
    mes "\"Ne'er mair to rise.\"";
    next;
    mes "\"When Masons' mystic word an grip\"";
    mes "\"In storms an' tempests raise you up,\"";
    mes "\"Some cock or cat your rage maun stop,\"";
    mes "\"Or, strange to tell!\"";
    mes "\"The youngest brither ye wad whip\"";
    mes "\"Aff straught to hell!\"";
    next;
    mes "\"Lang syne, in Eden'd bonie yard,\"";
    mes "\"When youthfu' lovers first were pair'd,\"";
    mes "\"An all the soul of love they shar'd,\"";
    mes "\"The raptur'd hour,\"";
    mes "\"Sweet on the fragrant flow'ry swaird,\"";
    mes "\"In shady bow'r;\"";
    next;
    mes "\"Then you, ye auld snick-drawin dog!\"";
    mes "\"Ye cam to Paradise incog,\"";
    mes "\"And play'd on man a cursed brogue,\"";
    mes "\"(Black be your fa'!)\"";
    mes "\"An gied the infant warld a shog,\"";
    mes "\"Maist ruin'd a'.\"";
    next;
    mes "\"D'ye mind that day, when in a bizz,\"";
    mes "\"Wi' reeket duds an reestet gizz,\"";
    mes "\"Ye did present your smoutie phiz\"";
    mes "\"Mang better folk,\"";
    mes "\"An' sklented on the man of Uz\"";
    mes "\"Your spitefu' joke?\"";
    next;
    mes "\"An' how ye gat him i' your thrall,\"";
    mes "\"An' brak him out o' house and hal',\"";
    mes "\"While scabs and blotches did him gall,\"";
    mes "\"Wi' bitter claw,\"";
    mes "\"An' lows'd his ill-tongued, wicked scaul,\"";
    mes "\"Was warst ava?\"";
    next;
    mes "\"But a' your doings to rehearse,\"";
    mes "\"Your wily snares an' fechtin fierce,\"";
    mes "\"Sin' that day Michael did you pierce,\"";
    mes "\"Down to this time,\"";
    mes "\"Wad ding a Lallan tongue, or Erse,\"";
    mes "\"In prose or rhyme.\"";
    next;
    mes "\"An' now, Auld Cloots, I ken ye're thinkin,\"";
    mes "\"A certain Bardie's rantin, drinkin,\"";
    mes "\"Some luckless hour will send him linkin,\"";
    mes "\"To your black pit;\"";
    mes "\"But faith! he'll turn a corner jinkin,\"";
    mes "\"An' cheat you yet.\"";
    next;
    mes "\"But fare you weel, Auld Nickie-ben!\"";
    mes "\"O wad ye tak a thought an' men'!\"";
    mes "\"Ye aiblins might--I dinna ken--\"";
    mes "\"Still hae a stake:\"";
    mes "\"I'm wae to think upo' yon den,\"";
    mes "\"Ev'n for your sake!\"";
    next;
    mes "\"Well, that was the poem.  What do you think of it?\"";
    menu
        "It was a bit long and kind of hard to understand, but thanks for reading.", L_Close;

L_Full_Inv:
    mes "[Shannon]";
    mes "\"On second thought, your possessions seems to be a burden to you.\"";
    next;
    mes "\"Maybe you should turn away from the mundane world and get rid of this burden to change your view to the beauty of poetry.\"";
    close;

S_food_menu:
    setarray @choice_idx, 0,0,0,0,0,0;
    setarray @choice$, "","","","","","";

    @C_steak = 676;
    @C_chickenleg = 562;
    @C_redapple = 535;
    @C_greenapple = 719;
    @C_beer = 539;

    // counter of available answers
    @choices_nr = 0;

    if (countitem("Steak") == 0)
        goto L_Nosteaks;
    @choice_idx[@choices_nr] = @C_steak;
    @choice$[@choices_nr] = "Offer him a steak.";
    @choices_nr = @choices_nr + 1;
    goto L_Nosteaks;

L_Nosteaks:
    if (countitem("ChickenLeg") == 0)
        goto L_Nochickenleg;
    @choice_idx[@choices_nr] = @C_chickenleg;
    @choice$[@choices_nr] = "Offer him a chicken leg.";
    @choices_nr = @choices_nr + 1;
    goto L_Nochickenleg;

L_Nochickenleg:
    if (countitem("RedApple") == 0)
        goto L_Noredapple;
    @choice_idx[@choices_nr] = @C_redapple;
    @choice$[@choices_nr] = "Offer him a red apple.";
    @choices_nr = @choices_nr + 1;
    goto L_Noredapple;

L_Noredapple:
    if (countitem("GreenApple") == 0)
        goto L_Nogreenapple;
    @choice_idx[@choices_nr] = @C_greenapple;
    @choice$[@choices_nr] = "Offer him a green apple.";
    @choices_nr = @choices_nr + 1;
    goto L_Nogreenapple;

L_Nogreenapple:
    if (countitem("Beer") == 0)
        goto L_NoBeer;
    @choice_idx[@choices_nr] = @C_beer;
    @choice$[@choices_nr] = "Offer him a beer.";
    @choices_nr = @choices_nr + 1;
    goto L_NoBeer;

L_NoBeer:
    @choice_idx[@choices_nr] = @C_nevermind;
    @choice$[@choices_nr] = "Leave";

    menu
        @choice$[0],L_MenuItems,
        @choice$[1],L_MenuItems,
        @choice$[2],L_MenuItems,
        @choice$[3],L_MenuItems,
        @choice$[4],L_MenuItems,
        @choice$[5],L_MenuItems,
        @choice$[6],L_MenuItems,
        @choice$[7],L_MenuItems,
        @choice$[8],L_MenuItems,
        @choice$[9],L_MenuItems,
        @choice$[10],L_MenuItems;

L_MenuItems:
    @choose = @menu - 1;
    if (@choice_idx[@choose] == 0)
        goto L_Close;
    if ((countitem("Steak") != 0) && (@choice_idx[@choose] == @C_steak))
        goto L_RmItem;
    if ((countitem("ChickenLeg") != 0) && (@choice_idx[@choose] == @C_chickenleg))
        goto L_RmItem;
    if ((countitem("RedApple") != 0) && (@choice_idx[@choose] == @C_redapple))
        goto L_RmItem;
    if ((countitem("GreenApple") != 0) && (@choice_idx[@choose] == @C_greenapple))
        goto L_RmItem;
    if ((countitem("Beer") != 0) && (@choice_idx[@choose] == @C_beer))
        goto L_RmItem;

    // fallthrough only when player remove the items while in menu, trying to cheat
    // the quest will need to be started again
    mes "\"What you are offering, you do not have.  Do not try to betray me. Come back when you have better morals.\"";
    close;

L_RmItem:
    delitem @choice_idx[@choose], 1;
    return;
*/
L_Close:
    close;

OnInit:
    .sex=G_MALE;
    .distance=5;
    end;
}


017-3,80,32,0	script	Dimonds Cove Story	NPC_NO_SPRITE,{
    mesn l("The Story of Dimonds Cove");
    next;
    mes l("One day Dimond D. Stone dreamed of her own restaurant.");
    mes l("Dimond sold her food alone in this spot for some time,");
    mes l("longing for the day she would have a building.");
    mes l("She met an adventurer named Merlin outside of the");
    mes l("desert mines one day.");
    next;
    mes l("They became friends and Dimond told Merlin about her idea.");
    mes l("Merlin was a accomplished carpenter and wanted to make a new");
    mes l("place in the world. He told Dimond that he would make her");
    mes l("restaurant for her. He gathered the tools and after much");
    mes l("hard work, Dimonds Cove was built.");
    next;
    mes l("At January 2008 - Construction of Dimonds Cove.");
    close;

OnInit:
    .sex=G_OTHER;
    .distance=3;
    end;
}

/*
017-3,71,30,0	script	Inn	NPC400,{
    mes "Welcome to the Dimonds Cove Inn";
    mes "Rooms are 200 gp a night.";
    mes "Plese check in with Basil.";
    close;
}

017-3,24,27,0	shop	Bartender	NPC112,539:87,567:250,568:250

017-3,32,34,0	shop	Waitress	NPC139,519:50,533:55,534:45,562:125,676:100

017-3,85,41,0	shop	Blacksmith	NPC146,545:5000,529:2,603:1000

017-3,65,41,0	shop	General Store#dimond	NPC137,586:500,524:800,544:2000,632:500,528:500,735:500

017-3,75,68,0	script	Basil	NPC_TOMBOY,{
    showavatar NPC_TOMBOY;
    if (!is_night())
        goto L_Day;
    mesn;
    mesq l("For only 100 GP, you can sleep on the beds of the Land Of Fire.");
    if (Zeny < 100)
        close;
    next;
    mesn;
    mesq l("The nanorob-- err, the *magic* will seal all your wounds. You trust Basil, right?");
    next;
    select
        rif(Zeny > 100, l("Yes, please, book me a bed.")),
        l("Uh... I *just* remembered I have something else to do!");
    if (@menu == 2)
        close;
    Zeny=Zeny-100;
    recovery(getcharid(3));
    if (rand(1,3) == 1)
		sc_start SC_POISON, 60000, 0, 10000;
    else
		sc_start SC_ATTHASTE_POTION1, 60000, 5;

    close;

L_Day:
    mesn;
    mesq l("You can't sleep here during daytime!");
    close;

OnInit:
    .sex=G_MALE;
    .distance=5;
    end;
}
*/