
;----------------
; CREDITS section

+CREDITS
Knights of Camelot

Story by Lammy
Skins by Various Skinners
Other Art by Dan Samuel and Various
Music supplied by SquareSoft
	
Programming by Synthetic Reality
Contact us on the web at:
http://www.synthetic-reality.com
-CREDITS


;
;--------------
; STORY Section

+STORY
:S 200
:C 255,255,0
|Knights of Camelot
:S 75
:C 255,255,255
|~~~
|by Lammy
|Additional development by Mythical Assassin, Red(Medusa), Rune, Birlinger, Dave, Kingof Bandits, Link, Zero
|Skins by Link, Batty and Various
|Music by various
|~~~ 
:S 100
:C 204,153,0
Camelot flourished in all its beauty, sat high in the hills, awatch over the lands below.
But trouble was brewing as outsiders wanted there own piece of this lush and serene kingdom.
Despite Arthur and the Knights of The Round table, there was call for more knights to join in arms to rid the threat over Camelot.
:F Arial Italic
:C 255,0,0
This where you my fair kinsmen enter the realm of CAMELOT...
-STORY

;---------------------
; TERRAINS Section
	0,		"No Hindrance",		0
	1,		"Lava",				10
	2,		"Electricity",		10
	3,		"",					0
	4,		"Deep Water",		0
	5,		"Clouds",			0
	6,		"Forest",					0
	7,		"",					0
	8,		"Healing",			-10
	9,		"Impassable",		0
-TERRAINS



;---------------------
; EQUIP names section

+EQUIP
;	arg0	arg1
;	ID		Name

  	0,		"Helmet"
 	1,		"Armor"
 	10,		"Boots"
 	11,		"Shield"
 	12,		"Ring"
 	13,		"Amulet
-EQUIP



;--------------------
; THEMES section
				you get a sound you like.

+THEMES
;	arg0	arg1		arg2			arg3 - N
;	ID		name		loopSound		seconds=sound
	20,		cavedrip,	campfire1,		10=drip1,10=bird1,10=splash1
;
-THEMES
+MAPS
#include maps.txt
-MAPS
+TOKENS
#include tokens.txt
-TOKENS


;---------------------
; ELEMENTS Section
+ELEMENTS
	0,		"Holy"		
	1,		"Water"			
	2,		"Nature"			
	3,		"Earth"			
	4,		"Dark"		
	5,		"Fire"		
	6,		"Spirit"		
	7,		"Air"	
;
-ELEMENTS

;-----------------------
; HANDS section

+HANDS
;  
; arg0			arg1		arg2			arg3
;  ID			Name		Range			SoundFX
;
	0,		"Sword",	30,			"sword1.wav"
	1,		"Staff",	20,			"staff.wav"
	2,		"Bow",		100,		"sword8.wav"
	3,		"Music",	50,			"chirp4.wav"
	4,		"Fist",		20,			"fist.wav"
	5,		"Dart",		80,			"dart.wav"
	6,		"Book",		70,			"chant6.wav"
	7,		"Spirit",	90,			"crow1.wav"
-HANDS

+ITEMS
#include items.txt
-ITEMS
+SPELLS
#include spells.txt
-SPELLS
+MONSTERS
#include monsters.txt
-MONSTERS
+GROUPS
#include groups.txt
-GROUPS
+LEVELS
#include levels.txt
-LEVELS


;-------------------
; Individual Scenes (each needs a unique scene number)

+SCENES
SCENE 0	 interior8.jpeg, WELL, Entrance to Camelot, 2
       #include proxbeta.txt	
       
MUSIC "title.mid"
	THEME	1

; Then we define ACTOR #1 (The Blind Sage) using frame 32 of the MONSTERS skin "joshMiscelleneous.bmp"
; The actor begins at location (0, 60) which is in the  bottom left of the screen
	ACTOR	1,	"Lammy", "Arthurs Knight", 32, 50, 80

; Now we select actor 1 as the current actor
	SEL		1

; Now we set the POSE of the current actor (actor #1) using the 3-frame form.  This is 
; pretty boring since we use the same frame for all 3 choices (frame 32).  Normally you would
; use 3 different frames.  The game will automatically cycle between the first two frames
; with roughly equal probability.  The third frame will be used only briefly now and then (so
; it should be the "blinking eye" or "lashing tongue" or something else you only want to see now and
; then, while the first two frames would be the shifting between feet, or breathing, effect.
	POSE	32,32,32

; Now we start actor one walking towards (50,60) which is directly to the right of where he started.
; He will walk at a 'standard speed'
	MOVE	1,	50, 50

; Now we wait one second to let his motion be apparent to the player
	WAIT	1.0

; Now we have him talk.  Note the use of the ' command to make the chat bubble appear over the "Current" actor.
; I hardly ever do that anymore, since it is so easy to use "1:blah" instead.
	' Welcome to the Well of Souls, traveler.

; Now we have him move back to the left a bit.  The chat bubble is still over his head.  Since we waiting only
; one second after the first move command, we don't really know how far he made it before we changed direction.
; anyway, now he is moving "up" a little, relative to his previous destination.
	MOVE	1,	45, 60

; Now we have him deliver his second line of dialog, which replaces the previous chat bubble.  Usually chat bubbles
; pop automatically to make room for the next one, with each bubble remaining long enough to be read (so short
; sentences pop faster than long ones.
	' Welcome kinsmen, pull up a pew, lol. Anyway, i can help you make a new soul..... or, reload a saved soul.

; And this actor is a bit fidgety, so he moves again.  Let's watch him move and chat.. move and chat for a bit.
	MOVE	1,	30, 70
	' When your ready, select your soul and then incarnate into Camelot.
	MOVE	1,	40, 75
	' You already know this but if not, your a noob an should be playing something else, lol, just fucking with ya. Notice the buttons along the bottom of your screen.  Point to a button to see its name.
	' Press the NEW button to create a new soul, and select its skin and abilities.
	MOVE	1,	25, 70
	' Press the RESTORE button to select an old soul, and resume its struggle.
	MOVE	1,	35, 65
	' Press the INCARNATE button to enter the physical world again.
	MOVE	1,	30, 70
	' Press the MAP button to see what other souls roam the world.
	MOVE	1,	40, 77
	' Press the HAUNT button to spy invisibly over another incarnated soul.
	MOVE	1,	20, 70
	' Chill here for as long as you like, see you in Camelot.

; OK, he finally shut up.  We don't have anything else to accomplish in this scene, so we need to end it using the
; END command.  It ends the scene.
END

; Tada, a scene!  Please note that some player actions are blocked until the scene finishes.  For example, you can't
; cast a spell, use a weapon, or toss an item until the scene finishes.

;--------------
; SCENE 1 must be primary CAMP scene
;
SCENE 1
        #include proxbeta.txt	
	THEME
;	MUSIC   a.mid
    IF I1277, @HasI1277
    
 ACTOR	8, "Fire", danNoFloat, 4, 50, 95
      SELECT 1
	POSE	4,4,4,
; Check is this is a PK Attack (uses CAMP scene, not FIGHT scene, oddly enough)

	COMPARE #<num.isPKAttack>, 1
	IF= @pk
	COMPARE #<num.isPKAttack>, 2
	IF= @pk	

; Not a PK Attack, check if it is in Macguyver castle

	COMPARE #<num.mapNum>, 2
	IF=	@inCastle
	SET sceneLock, 0
	ACTOR	9, "Lock", danNoFloat, 6, 95, 10

; Not Macguyver castle, so we're done.  It's just a regular camp with no special stuff
 
	END
@eventHostGive
	SET qscccheck, "0"
	COMPARE #<qscccheck>, "0"
	IF< @S11
	IF> @S11
	SET qscccheck, "1"
	COMPARE #<qscccheck>, "1"
	IF< @S11
	IF> @S11

	IF C21, @S11

	IF= @respillsC
	COMPARE #<item.id>, "42"
 	IF= @respillsD
	END
;
; It *is* a PK Attack, so we set up some special rules to make it 'honorable'
;
@pk
	; Set map flags: 32768 (no nasty spells) + 8192 (no tickets) + 4096 (no Heal)
	FLAGS	45056

	; Lock the room
	LOCK 1

	; Announce to the players that this is a special place
	N: PK Attack! 
	N: Locked Camp! 	N: No Healing, Stunning, or Tickets!

	; we have to END or they can't fight
	END

@eventPkAttackDone

	; maybe someday this event will work, and we can unlock the camp as soon as 
	; only one side is left standing

	LOCK 0
	FLAGS 0
	END


; We *are* in macguyver castle, so we have the little lock icon in the upper right,
; and can manually lock/unlock the camp.. to discusss our secret plans!
;
@inCastle
	; we get a little lock icon while in macguyver castle camps.
	SET sceneLock, 0
	ACTOR	9, "Lock", danNoFloat, 6, 95, 10
END

; The scene host has clicked on the little lock icon

@eventActorClick9
	COMPARE #<sceneLock>, 0
	IF= @lockScene
	LOCK 0
	SET sceneLock, 0
	SEL 9
	POSE	6
	END
@lockScene
	LOCK 1
	SET sceneLock, 1
	SEL 9
	POSE	5 
	END
    
    

@eventActorClick8
	MENU "Light Fire=@flamerz","Cook Food=@Cf","Cancel=@end"
END
@flamerz
SELECT 8
POSE 1,2,3
N: You light a fire,
END

@Cf
IF I44, @HasI44
IF I47, @HasI47
	H: I dont have anything to cook.
END
@HasI44
	IF R30, @burnt
	H: /a puts a stick threw the lobster.
	1: ssssssssssss
	H: Its done.
	GIVE I45
    TAKE I44
END
@Burnt
	H: /a puts a stick threw the lobster.
	1: ssssssssssss
	H: Damn.
	GIVE I46
    TAKE I44
END
@HasI47
	IF R30, @burnt1
	H: /a puts a stick threw the swordfish.
	1: ssssssssssss
	H: Its done.
	GIVE I48
    TAKE I47
END
@Burnt1
	H: /a puts a stick threw the swordfish.
	1: ssssssssssss
	H: Damn.
	GIVE I49
    TAKE I47
END
	

@cancel
END
COMPARE #<item.id>, "42"
	IF= @respillsD
END
@respillsD
	HOST_GIVE L1
	HOST_GIVE H#<num.hostMaxHP>
	HOST_GIVE M#<num.hostMaxMP>
END
 IF I1277, @HasI1277

END
@HasI1277
GOTO LINK 4,0
END
 ;--------------
; SCENE 2 must be primary FIGHT scene (for automatic fights)
;
SCENE 2
	THEME
 	IF T400 @random
	IF T906 @nomoremerlin	IF C12,  @rob
	FIGHT
end
@random      
    IF R10, @visit
	IF R50 @nomoremerlin
	FIGHT
    
    
	END
@rob
    FIGHT
    IF R30, @rob1
END
@rob1
    GIVE G100
	N: You robbed some gold from the enemy....
	END
 

@visit
	LOCK 1
	N: You receive help from a Merlin.
	FIGHT2 *,*,*,-71
	WAIT 3.0
	GOTO SCENE 1
end
@nomoremerlin
	FIGHT
end

;--------------
SCENE 3, "Cygne"
	THEME 8
	FX 1
	MUSIC a.mid
	ACTOR 1, "Lord Lamius", "Lammys Squall Personal -" 5, 25, 90
	POSE 32, 32, 32
	SEL 1
	MOVE 1, 15, 80
    IF T3, @deadbear

IF T1, @continue
	' Greetings %2. Your journey begins here, a journey most perilous and full of monsters and evil knights
	' Your gonna be travelling with other Knights so it is important that you don't snert
	' Do you agree to be lawful and un-snertish (type yes or no).
	ASK 30
	IF yes, @yes
	' Oh well your loss. you sadden me
	' I cannot bring my self to speak to such and ill mannered %3.
	' Go on, Piss off, get out of my sight!!!!
	MOVE 1, -30, 80
	END

@yes
	' Good desicion %2.
	' Push the shop button and get your self suited to go
	GIVE T1
	GOTO @continue

@continue
	IF ALIVE, @skip1
	' Shit dude, you got  owned. Hold on, let me put you back on your perch
	WAIT 4.0
	SOUND "thunder1.wav"
	WAIT1.0

@skip1
	MOVE 1, 10, 75
	GIVE L1
	GIVE H9999
	GIVE M9999
	IF I99, @skipticket

@skipticket
	OFFER2 0,10
	' Now go kick some Arse, Show what a true Knight you are.
	IF T3, @skipquest
	IF -#0, @skipquest
     	1: Hey, %2, I have your first quest...
	1: Merlin sent word of a bear in the caverns to the West.
    	1: He has requested that you slay the bear and retrieve his Orb..
	1: There will be a nice reward in it for you.
	1: Now go %L, your journey begins!
   	Give T2

@skipquest
	IF V10, @skip2
	' Visit Jacob in the town of Alderly Edge if you are in need of a lesson or two!!!

@skip2
	END
@eventActorGive1
1: Thank you Giving me that
1: Here you can have this gold
GIVE G4000
END

@eventHostGive
1: Thank you Giving me that
1: Here you can have this gold
GIVE G4000
END

;Here when the character attacks Actor 1 it acts accordingly after the label  as in Taking 1000 Gold 9999 HP 9999 MP
@eventActorAttack1
1: What do you think you are doing
1: I am your master
1: You dare hit me
1: You will have to pay
TAKE G1000
TAKE H9999
TAKE M9999
N: PWNED
END

;Same thing as Attack but if the character casts a spell
@eventActorSpell1
1: How dare you touch your lord like that 
1: You must be punished
TAKE G1000
TAKE H9999
TAKE M9999
END

@deadbear
IF T5, @skip1
1: Well done, I see you retreived the orb, it will come in handy at a later lvl.
Give T5
END  

 ;--------------
; SCENE 4 Generic Casino
 ;
SCENE 4		aztec
	THEME	0
	MUSIC	findream_V1_2.mid
	ACTOR	1,	"Barker", "Suiyin", 2, 25, 90
	SEL		1
	MOVE	1,	15, 80
	GAME	1
	' I've been working on a new invention, i call it The Slot Roller", please feel free to test it for me.
	' You may earn yourself some gold!
    ' Also, if you need money, you can get jobs in Fabul Forest and Blue John Mines.
    ' Visit Casino Town if you fancy relaxing and spending some gold
    GIVE T63
    GIVE T66
    END
    



;---------
; general armor shop

SCENE 5 interior11
	THEME	0
	MUSIC	findream_V1_2.mid
	ACTOR	1,	"Angel", "M_K's angel", 17, 25, 90
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,30,10, 0,30,11, 0,30,21
	' Finest armor in the kingdom!
END
@eventActorGive1
	IF  C51, @traderskill
	IF  -C51, @endfi
@traderskill
SET itemsell, #<item.id>
SET itemcost, #<item.price>
MUL itemcost, "6"
DIV itemcost, "4"
DIV itemcost, "2"
SET itemcostn,#<item.price>
DIV itemcostn, "2"
COMPARE #<item.price>,#<itemcost>
IF< 	@banfi	
	1: Ah a #<item.name>, normally I would give you #<itemcostn> GP for it, but since you are a %C51 I will give you #<itemcost> GP.
	HOST_GIVE G#<itemcost>
	END
@endfi
	1: You are not a Merchant, but hey, thanks for the item.
	END
;---------
; general weapons shop

SCENE 6 interior11
	THEME	0
	MUSIC	findream_V1_2.mid
	ACTOR	1,	"Boggert", "k", 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,30,12, 0,30,13,
	' Finest weapons in the Kingdom!
END
@eventActorGive1
	IF  C51, @traderskill
	IF  -C51, @endfi
@traderskill
SET itemsell, #<item.id>
SET itemcost, #<item.price>
MUL itemcost, "6"
DIV itemcost, "4"
DIV itemcost, "2"
SET itemcostn,#<item.price>
DIV itemcostn, "2"
COMPARE #<item.price>,#<itemcost>
IF< 	@banfi	
	1: Ah a #<item.name>, normally I would give you #<itemcostn> GP for it, but since you are a %C51 I will give you #<itemcost> GP.
	HOST_GIVE G#<itemcost>
	END
@endfi	1: You are not a Merchant, but hey, thanks for the item.
	END


;---------
; general baubles shop
 SCENE 7 interior11
	THEME	0
	MUSIC	findream_V1_2.mid
	ACTOR	1,	"Baldrick", "M_K's Butthead skin", 24, 25, 90
	POSE	24,25
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,30,22, 0,30,23
	' Finest rings and amulets in the kingdom!
END

@eventActorGive1
	IF  C51, @traderskill
	IF  -C51, @endfi
@traderskill
SET itemsell, #<item.id>
SET itemcost, #<item.price>
MUL itemcost, "6"
DIV itemcost, "4"
DIV itemcost, "2"
SET itemcostn,#<item.price>
DIV itemcostn, "2"
COMPARE #<item.price>,#<itemcost>
IF< 	@banfi	
	1: Ah a #<item.name>, normally I would give you #<itemcostn> GP for it, but since you are a %C51 I will give you #<itemcost> GP.
	HOST_GIVE G#<itemcost>
	END
@endfi
	1: You are not a Merchant, but hey, thanks for the item.
	END

;---------
; item/potion shop
;
SCENE 8 interior11
	THEME	0
	MUSIC	findream_V1_2.mid
	ACTOR	1,	"Charley", "SFZ3_Cody", 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,30,0

	' Note our new items for sale.
END
@eventActorGive1
	IF  C51, @traderskill
	IF  -C51, @endfi
@traderskill
SET itemsell, #<item.id>
SET itemcost, #<item.price>
MUL itemcost, "6"
DIV itemcost, "4"
DIV itemcost, "2"
SET itemcostn,#<item.price>
DIV itemcostn, "2"
COMPARE #<item.price>,#<itemcost>
IF< 	@banfi	
	1: Ah a #<item.name>, normally I would give you #<itemcostn> GP for it, but since you are a %C51 I will give you #<itemcost> GP.
	HOST_GIVE G#<itemcost>
	END
@endfi
	1: You are not a Merchant, but hey, thanks for the item.
	END

;---------
; seed shop
;
SCENE 9 interior11 	THEME	0
	MUSIC	findream_V1_2.mid
	ACTOR	1,	"Abe", joshRoyalty, 11, 25, 90
	POSE	11,4
	SEL		1 	MOVE	1,	15, 80
	OFFER	8,20,21,22,23,25
	' Please peruse my wares for the experienced adventurer.
END
@eventActorGive1
	IF  C51, @traderskill
	IF  -C51, @endfi
@traderskill
SET itemsell, #<item.id>
SET itemcost, #<item.price>
MUL itemcost, "6"
DIV itemcost, "4"
DIV itemcost, "2"
SET itemcostn,#<item.price>
DIV itemcostn, "2"
COMPARE #<item.price>,#<itemcost>
IF< 	@banfi	
	1: Ah a #<item.name>, normally I would give you #<itemcostn> GP for it, but since you are a %C51 I will give you #<itemcost> GP.
	HOST_GIVE G#<itemcost>
	END
@endfi
	1: You are not a Merchant, but hey, thanks for the item.
	END


Scene 55               interior8
        Theme 20
        Music "ff10-Battle_Theme.midi"
        Actor 1, "King Arthur", "mountedmercenary"5, 25, 90
        POSE 32,32,32
        IF T802, @notyet
        1:Hello, my name is King Arthur as you should well know.
        1:Would you like to here a story of how i first discovered the legendary Excalibur? I am wishing to share the story of my finding to you all.
        ASK 20
        IF No, @saidNo
        1:Well one day I was riding my trusty steed around to scout out the lands of my future realm.
        1: I soon found what is now called the Island of the Lady.
        1:Now this legendary Women from Avalon was looking looking for a knight of great skill, in my case a king, me, to hold the swrod called Excalibur.
        1:On this day of September 10, 527, I was put to the test menatlly and pgysically by "The Lady of the Lake."
        1:After I finaly defeated and completed the many tasks she put in front of me, she felt that i was compatible for the sword.
        1:I then was asked to go through a hesteric ceremony that the Avalonians set up for the Crowning of the King
        1:This included a dance around a fire, a massive hunt for the One Deer, and last to make an oath to stand beside Avalon as long as i live.
        1:With this done, she finally entrusted with me the Sword of Excalibur that will forever and always remain my choice of weapon in battle.
        1:So if you ever here about the Lady of the Lake, think of her as a fair and wise being and not an evil figure to Christianity.
        1:Well i have some other matters to attend to today, thank you for listening and be sure to pass the knowledge down from generation to generation.        1:I give all knights a good blessing and all peasants a thanks for the hard work.
        1:Take these boots, they will give you passage to and from Camelot.
        GIVE I190
        GIVE T802
        1:Good day to you all.
        END


    @saidNo
    
        1:Then come back anytime i am available to here about the story of a lifetime.
        1:I wish you a good day
END

@notyet     
       1:Come back when the Lady has judged you!!!
END
   

 
    
;--------- SCENE 89 shop,	SCENE,	"Shop",	0,	0
	THEME	0
	MUSIC	shop.mid
	ACTOR	1,	"John", clerk, 1, 25, 90
	POSE	1,	2,	3
	SELECT	1
; since I'm so lazy, I'll just make this a healing/rez point as well as a shop.
	IF DEAD, @resurrect_in_shop
	GOTO @sell_items
END

@sell_items
	GIVE H10000
	GIVE M10000
; set the lowest level equipment at 5 levels lower than the player
	SET lowLevel, #<num.hostLevel>
	SUB lowLevel, "5"
; set the highest level equipment at 5 levels higher than the player
	SET highLevel, #<num.hostLevel>
	ADD highLevel, "5"
; set the weapon class
	SET weaponClass, #<num.hostClass>
	ADD weaponClass, "11"
; now sell the stuff
	OFFER2	#<lowLevel>,#<highLevel>,#<weaponClass>,		#<lowLevel>,#<highLevel>,10,		#<lowLevel>,#<highLevel>,11,		#<lowLevel>,#<highLevel>,20,		#<lowLevel>,#<highLevel>,21,		#<lowLevel>,#<highLevel>,22,		#<lowLevel>,#<highLevel>,23
	1: Hello, %2. I am Daniel, son of John, the  wandering merchant.
	1: So, what can I do for ya? Would you like to purchase?
END

@resurrect_in_shop
; now resurrect them and take them to the shop
	1: I don't sell to dead people...so I'll have to resurrect you.
	GIVE L1
	GIVE H10000
	GIVE M10000
	GOTO @sell_items
END

SCENE 10 greek2, SCENE, "Muddy Waters", 0, 0

	ACTOR	1,	"King",		joshRoyalty, 1, 50, 70
	POSE	1,26
	ACTOR	2,	"Queen",		joshRoyalty, 3, 25, 65
	POSE	3,8
	ACTOR	3,	"Pshycic",			joshRoyalty, 5, 75, 65
	POSE	5,13
	SEL		1

	IF T21, @hasT21
	GIVE	T21
	3: I Sense A Horribly Dark Aura In The forest to the south Please Help Me
	WAIT	3
	2: Oh yes, he's worried sick over it
	WAIT	3
	1: Please you must help us. Head to the cave of Trees in the forest?
        H: Why should I help, you are causing nothing but shit throughout Camelot.!
        WAIT    3
        H: I should run you through and remove your head where you stand
	1: %0 I will owe you a great debt. The many lifes you will save.
        H: Ok, but the reward better be just.
        END

@hasT21
	IF T22, @hasT22
    IF T23, @end
	1: Are you braindead, go to the Forest and seek the Cave of Trees.
	WAIT	3
	2: Didn't you hear him?
        H: Heey, Lady Muck, you dont tell me what to do. Keep your knickers on.
	END

@hasT22
    GIVE T23
	1: Thankyou %2. You have saved many lives, that of Arthurs people aswell..
	WAIT	3
	2: Yes, Thank you
	WAIT	3
	3: Thank You, Thank You!
        H: Fine hand over my reward then our paths end until i come for your head.
        1: Very well, take these Multi Orbs.
        GIVE I8.2
        END

@end
     1: Please, preparations for war are not complete.
	
END

scene 71          trail1
        Theme 20
        Music "Gagazat_Mt.midi"
        Actor 1, "Wonderer", "- -}Bitten Evil lin{- -", 32, 32, 32
        1:Down the road there is a guy you might want to see to earn some money.
        1:All you need to do is rid some evil from this world and you can reap a reward.
        1:But i am jus a wanderer, believe me or not, you can check anyways.
        Give T95
        WAIT 3
        GOTO EXIT
        END 



scene 72          waterfall2
        Theme 20
        Music "This_is_Your_Story.midi"
        Actor 2, "Mapmaker", "Rasputin-by Cynthia", 32, 32, 32
        IF T95, @yes
        2:I am just here on business of my own, dont pay any heed to me.
        WAIT 5
        GOTO EXIT
        END

   @yes

        2:Hello, I am a Mapmaker named Jerard.
        2:I have come from distant lands to find someone who will destroy a monster of which i hear so much about at home.
        2:Are you interested in such feats to overcome?
        ASK 20
        IF Yes, @saidYes
        2:Then I will wait for some other knight to come and claim the challenge.
        2:Come back if you have a change in heart.
        WAIT 5
        GOTO EXIT
        END 
 
   @saidYes

        2:Then you will have to beat a monster that is a compadible apponent to you and if you shall fail, you may have retries.
        2:In order for you to succeed,you will need quicness and strength. And at least two other Hero with you.
        2:Search Dark city of Cheshire for the monsters dwelling.
        GIVE T96
        WAIT 5
        GOTO EXIT
        END

   @done

        IF T97, @yes2 
        2:You have to beat the monster of which i speak o before you can return to me for a reward.
        WAIT 7
        GOTO EXIT 

   @yes2
        IF T1011, @fin
        2:I thank you so much for accomplishing something that every other has failed to do.
        2:For your great deed, i shall award you with...
        WAIT 3
        2:Mined gold.
        GIVE I92.5
        GIVE T1011
        2:You can sell this at shops for some currency. 
        2:I hope this will repay you for the salvation of this world.
        WAIT 7
        GOTO EXIT
        END
  
@fin
        2: I have nothing for you yet.
END
scene 73       bgOilFire
        Theme 20
        Music "17-Enemy_Attack.midi"
        Actor 3, "Dragon of Fear", flameWyrm, 17, 10, 80
        IF T96, @yes1
        3:Leave me before I decide to smolder you with my fiery breath.
        WAIT 5
        GOTO EXIT
        END

    @yes1

        3:Well, Well, Well. Do i have other victims to dispose of so cruely as the others?
        3:I see I do. Well, for your sake, you better put up a fight fit for a Knight of great stature.
        3:Lets first see how well you do against one of my better apprentices.
        MOVE 3, -50, 50
        FIGHT 47
        MOVE 3, 10, 80
        3:You have beaten him, I see you are now a worth opponent.
        3:See if you can beat me in person whilst I am much stronger than the weakling you fought last.
        MOVE 3, -50, 50
        FIGHT 301
        MOVE 3, 10, 80
        3:AHHH, I see you are a superior to me, I honorably bow down to you and accept my defeat.
        3:You have showed me great humility and I am in your debt for that.
        3:To repay some of my debt, i shall give you some loot i took from a fallen victim of mine.
        3:He was a great warrior and he faught gallantly, i hope this helm serves you well in you journeys.
        3:Here and now I give you the Raven Crown.
        GIVE I246
        GIVE T97
        3:If you go back to the Mapmaker who told you of my trechury, he will thank you for keeping me at bay.
        WAIT 5
        GOTO EXIT
        END

;---------
SCENE 16, tree, "Wyrm Cavern"

	IF	T22, @hasT22
	ACTOR	1,	"Karamoor",		flameWyrm,	1,	20,	70
	POSE	1,4,2
	SEL		1
	1: Come on, your just in time for my evening meal!
	1: Lame arse knight. Just a warning before you die, bring a party.
	MOVE	1, -50,50
	WAIT	5.0
	FIGHT	300
	IF	WIN	@heWon
	MOVE	1, 20,60
	1: Argh, I prefer my meals alive, go on, be gone!

	END

@heWon
	GIVE	T22
	1: Urghhhhhhhhh, beat whilst still in my youth.
	N: You remove the Dragons head and Find an exquisite piece of Armour.
        GIVE I2001
        END

@hasT22
; the cave is empty now
	END

END


;---------
SCENE 110 scene11, SCENE, "Bears Cavern"

	IF	T3, @hasT3
	ACTOR	1,	"Big Bear",		Bigbear,	1,	20,	70
	POSE	1,4,2
	SEL		1
	1: I see you have come for the Orb, you'll be my dinner before you get them jerk off.!
	1:
	MOVE	1, -50,50
	WAIT	5.0
	FIGHT	256
 	IF	WIN	@heWon
	MOVE	1, 20,60
	1: I warned you, im not such a koala bear am I, lol!

	END

@heWon
	MOVE	1, 30,80
	GIVE    I8
    GIVE    T3
	1: Dude, You need not of hit so hard!  You win!  Here, Take the dam Orb!
END
@hasT3
; the cave is empty now
	END	
   
END

;---------

SCENE 13 scene13, SCENE, "Gates To Castle"
	ACTOR	1,	"Zanf",		josh56,	1,	40,	70
	POSE	1,3,2
	SEL		1
 	IF	T13, @hasT13
	1: Your just a little shit, come back when your ready!
    SOUND "notoneofus.wav"
	END

@hasT13
	IF	T15, @hasT15
	GIVE T14

 	1: Wanna get into the castle hey?  Arghh, None shall pass me!  Har har!
	H: Move aside or i'll cut your throat you vermin!
        1: Men, teach this pussy a lesson!
	FIGHT	111,112,111,113
	IF	WIN,	@heWon
	1: Waste of space. Death becomes you!  Har Har!
	END

@heWon
	GIVE	I190
	GIVE	T15
	1: Here, you can pass, and you can have this useless bit off kit i took from a knight!
	1: I was getting blisters anyway!
	END

@hasT15
	1:Passage to you sir!
	WAIT 1.0
    GOTO LINK 0,13

END

;---------
SCENE 14 scene14,FIGHT,"Shores of lake Shinka"
	THEME	0
	FIGHT	5,4,4,3,2,1
END
;---------

;---------
WAITRESS

SCENE 901
	IF T700
	WAIT 1
	ACTOR	1,	"Jasmine",			"AerisGainsborough",    305,40,90

	1: Hi! i'm %0,....can i take your order?
	ASK 30
	IF -yes, @later
	PARTY EXIT
	OFFER 20,21,22,23,25
	' enjoy
end
@exit
	EXIT
end
@later
	
	ACTOR	1,	"Jasmine",			"AerisGainsborough",    305,40,90
	' ok sweetie, i'll come back later. dont get sunburn.
	MOVE 1,-5,90
	WAIT 3
	GOTO @piss
	
end
@piss
	MOVE 1,40,90
	WAIT 1
	' ready to take your order now?
	ASK 30
	IF -yes, @piss2
	PARTY EXIT
	OFFER 20,21,22,23,25
	' enjoy
end
@piss2
	ACTOR	1,	"Jasmine",			"AerisGainsborough",    305,40,90
	' ok %1, you starting to piss me of you %3 
	' Call Me!
	MOVE 1,-5,90
	WAIT 3
	GOTO @rpiss
end
@rpiss
	MOVE 1,40,90
	WAIT 1 	' ready now you %3?
	ASK 30
	IF -yes, @later2
	PARTY EXIT
	OFFER 20,21,22,23,25
	' enjoy
end
@later2
	ACTOR	1,	"Jasmine",			"AerisGainsborough",    305,40,90	
	' don't call me, i'll call you , you %3,
	WAIT 2
	' hope you get sunburn, you little %3
	MOVE 1,-5,90
	WAIT 3
	GOTO @piss
	
end

;---------
SCENE 17
	THEME
	IF	T400, @Offer
	IF DEAD, @dead
	ACTOR	1,	"Merlin",   "- Atsumori 2003 Amakusa -",	5,	25,	90
	POSE	1,4,2
    IF -T399, @boo
	H: Hi, are you Merlin?.
	H: I'm %1, on a journey to join Arthurs Knights.  	' Hello, %1,..i'm Kerlin,
	' Yes, I know of your journey, and i know it aint gonna be easy.
	' you have to beat me on my test...Prepare yourself..!
	MOVE 1,-30,80
	WAIT	2
	FIGHT	72
	IF WIN,	@heWon
@dead
	WAIT 2
	ACTOR	1,	"Merlin",		 "- Atsumori 2003 Amakusa -",	302,	-5,90
	MOVE 1,20,80
	1: Ha ha ha!  and they say you're our only hope.!
	' guess even the Brass make mistakes...hahaha....
END
@heWon
	MOVE	1, 30,80
	GIVE	T400
	OFFER2	0,10
	OFFER2	5,15
	OFFER2	10,20
	OFFER2	15,25
	OFFER2	20,30
	OFFER2	25,35

	1: Well done %1!  You win!  you are worthy..
	1: I will be keeping an eye on your progress..
    1: Take this sheild, surely you will need it in later battles.
        GIVE T400
        GIVE I191
        N: Dont be fooled by the ease in which you won!
	
	END

@Offer
	IF DEAD, @dead
	ACTOR	1,	"Merlin",   "- Atsumori 2003 Amakusa -",	5,	25,	90
	POSE	1,4,2
	' Be careful, i am not a doctor %3, 	' ..Hahahaaa..... 	
    OFFER2	0,10
	OFFER2	5,15
	OFFER2	10,20
	OFFER2	15,25
	OFFER2	20,30
	OFFER2	25,35

	END
@boo
    1:Go away, i am meditating!
END
;---------
SCENE	91	wetMesa2, SCENE, "Mesa Island"
	THEME	1
	MUSIC	x.mid
	
	ACTOR	1,	"Lammy", "Arthurs Knight", 32, 32, 32
	POSE	32,32,32
	SELECT	1	
	IF DEAD,@dead
        

        GIVE T50
        1: If you are viewing this scene, you have been a naughty hero.
        N: A snert, cheat, or an annoyance.
        1: Well, hopefully, you have learnt your lesson.
        1: If you want this soul back in the world of Camelot, and you dont commit any other rule breakers,
        1: Then, im one of the admins or myself from the soul list.
        1: The Downside to being sent to Hell is your only escape is a token that disables some features in Camelot.
        1: This includes Bank ban
        N: Can be fixed if you are wrongly here or you redeem yourself.
        1: And other features that you will find for yourself.        1: Whilst in this map, you can not be heard in the world so dont try talking to admin through chat box.
        1: Well. Please follow the rules in future coz id hate to have to ban you completely.
        N: Your name will be added to a name shame on Knights of Camelot Homepage. 
        TAKE I1277
END

@dead
         GIVE L1
         GIVE H5000          GIVE M5000
End

;---------

S
;---------Scene 41                Runes8
        Theme 6               
        Music "17-Enemy_Attack.midi"        Actor 1,"Knight", mountedknight, 17, 10, 80
        IF T56, @done
       
        
        1:Hello, my name is Sir Pademore. 
        1:I was wondering if you could do me a favor. 
        1:Could you destroying a pest that wont stop tormenting me in my sleep?!
        (answer yes or no)
        Ask 20
        IF YES, @saidYes
        1:Then leave me alone and let me weep in peace!!
        END

   @saidYes
        
        I
       
        1:Ok, he is located somehwere to the East of Camelot Plains in a place called Sacred
        Lake.
        1:You better take these boots to get through the forest to the sacred lake.
        GIVE I709
        1:Come back when you have defeated the beast.
        GIVE T55
        END
@done
        IF T57, @fin
        1:You have destroyed the Visious Beast and have freed us all from his
        terror.
        1:I reward you with Avril's Blade, a fine sword of your stature.
        GIVE T57
        GIVE I320
        END
@fin
        1: Thankyou %2 but I have nothing else for you!
END
;---------
scene 42               Stones8
        Theme 4
        Music "Decisive_Battle.midi"
        Actor 2,"Beast of Torment", KumataShiningPhoenix, 9, 32, 32   
IF T56, @done
        2:Have you come to take me down like all the rest that have
        failed?(answer yes or no)
        Ask 20
        If YES, @saidYes
        2:Then leave me be for I have more chaos to inflict!!
        END

    @saidYes


        2:Then fight me in my true form!!!
        MoVE 2, -50, 50
        FIGHT 209
        Move 2, 0, 80
        2:You have beaten me and shown me true humility, i will stop tormenting
        forever
        2:Take this Amulet, for when the times comes, you will need all the help you can get..
        GIVE I193
        GIVE T56
        END

@done
     2:Please leave me, i sworn to remain peaceful!!
END


      
WAIT 3
GOTO EXIT
END
;---------
;
SCENE 233 shop SCENE, "Pokegatchi Pen"
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Rebecca", joshTownsFolk, 24, 25, 90
	POSE	24,25,4
	MOVE	1,	15, 80
	OFFER 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009
END
;


;-------------------------
; We'll put the rest of the scenes into separate files and use the #include command
; so they are effectively here inside the +SCENES region of the quest file.

#include bank.txt
#include Gsbank.txt
#include Castle Breech.txt
#include scene100.txt
#include scene101.txt
#include scene102.txt
#include pshops.txt
#include QuestScenes200.txt
#include Test Scene.txt
#include QuestScenes.90.txt
#include qspotions.txt
#include horse.txt
#include shops2.txt
#include Ladyofthelake.txt
#include lumber.txt
#include mining.txt
#include bridge.txt
#include Lancelots.txt
#include mas.txt
#include coliseum.txt
#include SirKay.txt
#include mage quest.txt
#include Dock.txt
#include trophies.txt
#include tokens.txt
#include QuestwyrmArmy.txt
#include ocean1..txt
#include Dragons.txt
#include Dragon Isle.txt
#include ban3.txt
#include simon.txt
#include QuestScenes200.txt
#include QuestScenes1000.txt
#include QuestScenes18x.txt
-SCENES
; Now we are at the extreme end of the file
;
; Note: You should add a comment to the end of the file, since otherwise an old bug might rise
; up and smite you!


