//
010-2,34,38,0|script|Dimond|165
{
mes "[Dimond]";
mes "\"Welcome to Dimond's Cove!\"";
mes "";
mes "\"Talk to the waitress to get some Food.\"";
mes "";
mes "\"We also have shops on the 2nd Floor,";
mes "and an inn on the 3rd Floor.\"";
close;
}
010-2,35,35,0|script|Shannon|193
{
set @month, 1;
set @start_day, 24;
set @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
goto L_no_event;
if (FLAGS & FLAG_HAS_BOWLER_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;
getitem "BowlerHat", 1;
set FLAGS, FLAGS | FLAG_HAS_BOWLER_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 "\"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$, "","","","","","";
set @C_steak, 676;
set @C_chickenleg, 562;
set @C_redapple, 535;
set @C_greenapple, 719;
set @C_beer, 539;
// counter of available answers
set @choices_nr, 0;
if (countitem("Steak") == 0)
goto L_nosteaks;
set @choice_idx[@choices_nr], @C_steak;
set @choice$[@choices_nr], "Offer him a steak.";
set @choices_nr, @choices_nr + 1;
goto L_nosteaks;
L_nosteaks:
if (countitem("ChickenLeg") == 0)
goto L_nochickenleg;
set @choice_idx[@choices_nr], @C_chickenleg;
set @choice$[@choices_nr], "Offer him a chicken leg.";
set @choices_nr, @choices_nr + 1;
goto L_nochickenleg;
L_nochickenleg:
if (countitem("RedApple") == 0)
goto L_noredapple;
set @choice_idx[@choices_nr], @C_redapple;
set @choice$[@choices_nr], "Offer him a red apple.";
set @choices_nr, @choices_nr + 1;
goto L_noredapple;
L_noredapple:
if (countitem("GreenApple") == 0)
goto L_nogreenapple;
set @choice_idx[@choices_nr], @C_greenapple;
set @choice$[@choices_nr], "Offer him a green apple.";
set @choices_nr, @choices_nr + 1;
goto L_nogreenapple;
L_nogreenapple:
if (countitem("Beer") == 0)
goto L_nobeer;
set @choice_idx[@choices_nr], @C_beer;
set @choice$[@choices_nr], "Offer him a beer.";
set @choices_nr, @choices_nr + 1;
goto L_nobeer;
L_nobeer:
set @choice_idx[@choices_nr], @C_nevermind;
set @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:
set @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;
}
010-2,27,30,0|script|Bar Rules|400
{
mes "Dimonds Cove Bar Rules";
next;
mes "No excessive drinking!";
mes "If your sprite starts to stagger we will ask you to leave.";
next;
mes "No offensive chat.";
mes "This is a nice establishment.";
mes "Crude and offensive behavior will be reported to TMW GM's.";
next;
mes "Please be respectful of others.";
mes "Not everyone has the same experience and should all be treated";
mes "with equal respect.";
next;
mes "Thank You,";
mes "Dimonds Cove Management";
close;
}
010-2,71,38,0|script|Store Policy#1|400
{
mes "All sales are final.";
mes "Returns are subject to a 50% re-stocking fee.";
close;
}
010-2,77,38,0|script|Store Policy#2|400
{
mes "All sales are final.";
mes "Returns are subject to a 50% re-stocking fee.";
close;
}
010-2,36,30,0|script|Directions|400
{
mes "This way to the Dimonds Cove Inn.";
mes "Five star accommodation for the weary traveler!";
close;
}
010-2,80,32,0|script|Dimonds Cove 1|400
{
mes "The Story of Dimonds Cove";
next;
mes "One day Dimond D. Stone dreamed of her own restaurant.";
mes "Dimond sold her food alone in this spot for some time,";
mes "longing for the day she would have a building.";
mes "She met an adventurer named Merlin outside of the";
mes "desert mines one day.";
next;
mes "They became friends and Dimond told Merlin about her idea.";
mes "Merlin was a accomplished carpenter and wanted to make a new";
mes "place in the world. He told Dimond that he would make her";
mes "restaurant for her. He gathered the tools and after much";
mes "hard work, Dimonds Cove was built.";
next;
mes "(See Dimonds Cove 2)";
close;
}
010-2,85,32,0|script|Dimonds Cove 2|400
{
mes "List of Events at Dimonds Cove";
mes "January 2008 - Construction of Dimonds Cove.";
close;
}
010-2,71,30,0|script|Inn|400
{
mes "Welcome to the Dimonds Cove Inn";
mes "Rooms are 200 gp a night.";
mes "Plese check in with Basil.";
close;
}
010-2,24,27,0|shop|Bartender|112,Beer:*1,IronPotion:*1,ConcentrationPotion:*1
010-2,32,34,0|shop|Waitress|139,CherryCake:*1,RoastedMaggot:*1,OrangeCupcake:*1,ChickenLeg:*1,Steak:*1
010-2,85,41,0|shop|Blacksmith|146,ForestBow:*1,SilverArrow:*2,IronArrow:*1,Arrow:*1,LeatherShield:*1
010-2,65,41,0|shop|General Store#dimond|137,CottonShorts:*1,FancyHat:*1,SilkHeadband:*1,CottonSkirt:*1,Boots:*1,CottonBoots:*1
010-2,75,68,0|script|Basil|107
{
set @npcname$, "Basil the Inn Keeper";
set @cost, 200;
callfunc "Inn";
end;
}