;
; Copyright 1999-2000 (c) Synthetic Reality Co.
; http://www.synthetic-reality.com
; All Rights Reserved


; Note to players:  Don't read this until you have finished playing the world, as this
; cannot possibly enhance your experience and will no doubt rob you of small pleasures.



;----------------
; CREDITS section
; This is the script file for the world 'Evergreen'
; Here is where you should make an effort to compliment anyone who
; contributed to your world.  These credits are not yet automatically
; shown, but will be someday...

+CREDITS
Evergreen

Story by Seawitch
Skins by Josh Worts
Other Art by Dan Samuel
Screw-ups and modifications by Seawitch and Dragondancer.
Most music by Dan Samuel, with the help of JAMMER(r)
	
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
|CALEDON
:S 75
:C 255,255,255
|~~~
|by Seawich
|Skins by Josh Worts
|Screw-ups and modifications
|by Seawitch & Dragondancer.
|Music by Jammer and ahadikeen@aol.com
|~~~ 
:S 100
:C 204,153,0
Caledon was once a peaceful land ruled over by benevolent witches. Now an evil warlock holds sway and all is awry.
Only someone both clever and brave can hope to restore the land to its former glory
:F Arial Italic
:C 255,0,0
You have just volunteered to try - or die in the attempt!
-STORY



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



;---------------------
; EQUIP names section
;
; This section is completely optional.  You only need it if you want to have different
; names for the standard equipment classes.
;
;
;

+EQUIP
;	arg0	arg1
;	ID		Name

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




;--------------------
; MAPS section

+MAPS

;
; The actual map definitions are in this file, which is created by the New World Wizard:
;
#include maps.txt

-MAPS


;--------------------
; been defined.

+TOKENS
; Quest 1, Elven Boots
	2,"Townsfolk told you of the plight of their witch."
	3,"You kill the worm and get the key."
	4,"You found tower and freed witch"

; Quest 2, Morrigans Leaf
	5,"You meet Morrigan the wizard."
	6,"You talk to Osgood
	7,"Morrigan sends you to get leaf for his pipe.
	8,"You defeat monster and get leaf."
	9,"You get hemp ladder from morrigan.
	10,"You free the witch."
	
; Quest3, Lost Pet/sea boots
	11,"You are asked to help Glumryl find his lost pet.
	12,"You buy small cage from Lion Tamer."
	13,"You buy large cage from Lion Tamer."
	14."You buy extra small cage from Lion Tamer."
	15,"You give cage to Glumryl
	16,"You free the witch."
	17,"You learn the warlock's name."

; Quest4, Julian's Fleas
	29,"You dealt with flea infestation."
	30,"You received reward."
	31"You dealt with spider infestation infestation."
	32"You received reward."
	33"You dealt with jumping fleas."
	34"You received reward."

; Quest5, Enchanted Pearl
	18,"You meet the weeping witch.
	19,"You learn of the witches plight.
	20,"You kill sea monster1."
	21,"You kill se monster2."
	22,"You kill sea monster3."
	23,"You find the pearl of Frozen Tears.
	24,"You break the enchantment on the witch.

; Quest6, Sleeping Princess/Stun
	25,"You find a sleeping Princess."
	26,"The nursemaid tells you about apricots"
	27,"You buy apricot."
	28,"You wake Princess."

; Quest8, Dwarven Hammer
	35," You find the frozen witch."
	36," You learn of the Dwarven Hammer."
	37," You seek out the runaway Dwarven smith."
	38," You receive dwarven hammer."
	39," The Ice Witch removes seal from dwarf tunnel."

; Quest9, Mirror Maze
	41,"You speak to the fortune teller"!
	42,"You get the password to the Underworld."

; Quest 10, Ultimate Arena
	40,"You defeat the Elementals"
	41,"You learn of the Battlemaster's secret"
	42,"You enter the Realms of Chaos

; Quest12, Thief's quest
	200,"You are introduced to Emil.

; Quest14, Skull City
	43,"You enter the underworld"
	44,"You remove the exit monsters."
	45,"You get the broomstick"

; Quest15, Tower of Doom

	100,"You win!!!!"

; Quest 18, Wolf quest
	180, " You offer wolf emblem to Ripper"
	
	
-TOKENS


;---------------------
; ELEMENTS Section
;
+ELEMENTS
;	arg0	arg1				
;
	0,		"Joy"		
	1,		"Valour"			
	2,		"Prejudice"			
	3,		"Light"			
	4,		"Despair"		
	5,		"Cowardice"		
	6,		"Empathy"		
	7,		"Dark"		
-ELEMENTS

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

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


+ITEMS

; The actual item definitions, and documentation, are in this file:
#include items.txt

-ITEMS


+SPELLS

; actual spell definitions, and documentation, are in this file:
#include spells.txt

-SPELLS


+MONSTERS

; actual monster definitions, and documentation, are in this file:
#include monsters.txt

-MONSTERS


+GROUPS

; actual groups, and documentation, are in this file
#include groups.txt

-GROUPS


+LEVELS

; actual character classes, levels, and documentation are in this file
#include levels.txt

-LEVELS



;-------------------
; Individual Scenes (each needs a unique scene number)
;
; Reserved Scene numbers are:
;
;   0	Well of Souls (primary well for your main map)
;   1   General CAMP scene (inherits jpeg, theme from closest link)
;   2   General FIGHT scene (inherits jpeg, theme, and monster level from closest link)


+SCENES
;--------------
; SCENE 0 must be primary well of souls
;
; It is only used for switching souls (saved games), not for general ressurection and recharge
;
SCENE 0		temple, WELL, "Well of Souls", 2, 7
	THEME	1
;	MUSIC	"noSuchSong"
	ACTOR	1,	"Life Lord", smum1
	SEL		1
	POSE	32,32,32
	MOVE	1,	50, 60
	WAIT	1.0
	' Welcome to the Well of Souls, traveler.
	MOVE	1,	45, 60
	' I can help you create a new soul, or restore a treasured one.
	MOVE	1,	30, 70
	' When you are ready, select your soul and then incarnate into Caledon.
	MOVE	1,	40, 75
	' 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
	' You may rest here safely, for as long as you like.
END

;--------------
; SCENE 1 must be primary CAMP scene
;
SCENE 1
	THEME
;	MUSIC   (no music in camp scene, just theme)
END

;--------------
; SCENE 2 must be primary FIGHT scene (for automatic fights)
;
SCENE 2
	THEME
;	MUSIC  mortal.mid
	FIGHT

END
;--------------
; SCENE 3 (this is the evergreen starting scene on the main map, where you can return to be healed)
;
SCENE 3		aztec
	THEME	0
;	MUSIC	waltz2.mid
	ACTOR	1,	"Life Lord", smum1
	POSE	5, 5, 13
	SEL		1
	MOVE	1,	15, 80

	IF T99, @continue
	' Greetings, new soul. You are about to embark upon an amazing voyage of discovery.
	' When sharing your journey with other souls, it is important that you obey the golden rule.
	' You must never kill other questers below level 20.
	' Do you agree to this? (type YES or NO)
	ASK 30
	IF -YES, @saidNo
	' Thank you, my child.  You shall never regret your decision.
	' Push the SHOP button when it appears.  You might find better equipment is available for you as your level increases.
	GIVE T99
	GOTO @continue
@saidNo
	' It is a sorry state that the world has fallen into.  You sadden me.
	' I cannot bring myself to give sustenance to such a renegade as you.
	' Begone!
	MOVE	1, -30, 80
	END

@continue

	IF ALIVE, @skip1
	' OOPS!
	' You seem to have had an accident!
	' Let me help you.
	WAIT    4.0
	SOUND	"thunder1.wav"
	WAIT	1.0
@skip1
	MOVE	1,	10, 75
	GIVE	L1
	GIVE	H5000
	GIVE	M5000 
	
	OFFER	0, 203, 252, 353, 709, 804, 906, 953, 99.
	' Blessings upon you, Soul.
	' You are always welcome here, to rest and recover... 
	' and generally goof off.
    IF T4, @skipQuest

	1: Say, %1, a word of warning......
	1: This is a very dangerous world..
    1: Visit the training area..
	1: to improve your skills...
	1: before setting out on your first quest!

@skipQuest
	
	1:  Visit any well if you have need of medical or spiritual aid.
END





;--------------
; SCENE 4 Generic Casino
;
SCENE 4		aztec
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Barker", joshRoyalty, 2, 25, 90
	SEL		1
	MOVE	1,	15, 80
	GAME	1
	' Try your luck!
	' Our slots pay the most!
END




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

SCENE 5 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Daniel", joshTownsFolk, 17, 25, 90
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,99,10,0,99,11,0,99,20,0,99,21
	' Finest armor in Evergreen!
END

;---------
; general weapons shop

SCENE 6 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Josh", joshTownsfolk, 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,99,12,0,99,13,0,99,14,0,99,15
	' Finest weapons in Evergreen!
END

;---------
; general baubles shop

SCENE 7 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Michelle", petKDH2, 1
	POSE	24,25
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,99,22,0,99,23
	' Finest rings and amulets in Evergreen!
END


;---------
; item/potion shop
;
SCENE 8 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Charley", joshTownsFolk, 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	OFFER2	0,99,0

	' Note our new items for sale.
END

;---------
; seed shop
;
SCENE 9 bwHangar
	THEME	0
	MUSIC	waltz2.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

; oakridge baubles

SCENE 16 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Lucy", joshTownsFolk, 24, 25, 90
	POSE	24,25
	SEL		1
	MOVE	1,	15, 80
	OFFER2	20,35,22,20,35,23
	' Charming gifts for the discerning shopper!
END

;---------
; oakridge weapons shop

SCENE 17 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Josh", joshTownsfolk, 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	OFFER2	20,35,12,20,35,13,20,35,14,20,35,15,20,35,16,20,35,17,20,35,18
	' Modern Technology at it's finest.!
END
; oakridge armoury
SCENE 18 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Daniel", joshTownsFolk, 17, 25, 90
	SEL		1
	MOVE	1,	15, 80
	OFFER2	20,35,10,20,35,11,20,35,20,20,35,21
	' If you want to upgrade have a look here!
END


; oakridge item/potion shop
;
SCENE 19 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Arathos", joshTownsFolk, 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	OFFER	1, 2, 3, 12, 13, 29, 30, 31, 32, 33, 35, 38, 99, 

	' Note our new items for sale.


END
; marshend armoury
;
SCENE 20 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Marshal", joshTownsFolk, 17, 25, 90
	SEL		1
	MOVE	1,	15, 80
	OFFER2	35,50,10,35,50,11,35,50,20,35,50,21
	' Don't let your armour rust in this climate.
END

; marshend baubles
;
SCENE 21 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	" Sunny", petKDrH, 1
	POSE	24,25
	SEL		1
	MOVE	1,	15, 80
	OFFER2	35,50,22,35,50,23
	' Pretty things to brighten up a rainy day!
END

; marshend weapons
;
SCENE 22 bwEuroStreet
	THEME	0
	MUSIC	waltz2.mid
	ACTOR	1,	"Josh", joshTownsfolk, 9, 25, 90
	POSE	9,10
	SEL		1
	MOVE	1,	15, 80
	OFFER2	35,50,12,35,50,13,35,50,14,35,50,15,35,50,16,35,50,17,35,50,18
	' Just buy and beat it!
END

;BUCKET OF ALE
;
SCENE 23 shop
ACTOR 1, "Eggbert", joshTownsfolk, 15



IF T3 @hasT3
	1: Hello Stranger
	1: Any chance of buying me a drink?

ASK 35
IF YES @saidYes
	1:hIc! HiC!
END
	@saidYes

	1: You're not another hero come to save us are you?
	1: There's been a lot of them about recently.
	1: Nah! you don't look like one. 
	1: Far too puny and ill equipped.
	1: You'd be safer to stay here and have another beer.
	1: Your turn to get 'em in!
	
	END


	@hasT3
	1: I MUST ADMIT YOU SURPRISE ME!!!
	1: Maybe you DO stand a chance after all.
	1: You should head east to the Great Forest and see the Willow Witch.
END

;-------------------------

SCENE 32 bgstage
ACTOR	1,	"Jobsworth",		jobsworth,	
	POSE	1
	IF I28, @hasI28
	IF I1012, @hasI1012

	1: STOP!
	1: And just where do you think YOU'RE going?
	1: Where is your pass?
	1: Authorised and counter signed by one of the witches.
	1: Plus birth certificate...Driving Licence...Health certificate..
	1: and I also need a valid e-mail address.
	1: Actually they won't let me ask for an e-mail address, invasion of privacy or some such nonsense.
	
END

@hasI1012
	1: And just where do you think YOU'RE going?
	1: Where is your pass?
	1: Authorised and counter signed by one of the witches.
WAIT3
	1: You don't expect me to be fooled by THAT poor forgery do you?
	1: Get out of here!
WAIT 5
GOTO EXIT
END

@hasI28
	1: And just where do you think YOU'RE going?
	1: Where is your pass?
WAIT 2
	1: How do I know it's not forged?
	1: Anyone could forge the Seawitch's signature.
	1: Tear stains?..What Tear stains?
	1: Ah! THOSE tear stains.
	1: I suppose it must be official and authentic then.
	1: Through you go.
WAIT 3

GOTO LINK 0,36
END	

 
SCENE 37 shop
ACTOR 1, "Eggbert", joshTownsfolk, 19

IF T16 @hasT16
	1: Hello Stranger.
	1: Miserable weather we're having.
	1: Any chance of buying me a drink?
ASK 35
IF YES @saidYes
	1: Frightened to let the moths out your wallet then!
END

@saidYes
	1: Thanks.
	1: Wasn't always as miserable here.
	1: We were a jolly lot.
	1: Had our own circus, fairground and multiple tourist attractions.
	1: Then Marshwitch got sealed up in the tower with no key
	1: I mean how do you open a locked door with no key or keyhole..
	1: I feel depression coming on.. another ale would help...
END

@hasT16
	1: Well hi there %1, good to see you.
	1: Maybe Marshwitch will stop the rain now she's free.
	1: Mind you it used to rain all the time before too.
	1: Ah well I guess I'll just have another ale...
	1: ..you ARE buying aren't you?
End

;-------------------------
;Elven Boots
#include QuestScene1.txt

;-------------------------
;Morrigans leaf
#include QuestScene2.txt

;-------------------------

;Lost pet
#include QuestScene3.txt

;-------------------------
;Julian's fleas

#include QuestScene4.txt

;-------------------------
;  seawitch, 

#include QuestScene5.txt

;-------------------------
; Sleeping princess, 

#include QuestScene6.txt

;-------------------------
; Shops, 

#include QuestScene7.txt

;-------------------------

; Dwarven hammer,

#include QuestScene8.txt

;------------------------
; Mirrormaze, 

#include QuestScene9.txt

;-------------------------
; Arena, 

#include QuestScene10.txt

;-------------------------

; Chaos, 

#include QuestScene11.txt

;-------------------------
; Thief's Quest, 

#include QuestScene12.txt

;-------------------------
;more shops
#include QuestScene13.txt

;-------------------------
;underworld
#include QuestScene14.txt

;-------------------------
;tower of doom
#include QuestScene15.txt

;-------------------------
;rose
#include QuestScene16.txt

;-------------------------
;seer's quest
#include QuestScene17.txt

;-------------------------
;werewolf quest
#include QuestScene18.txt

;-------------------------
;archers quest
#include QuestScene19.txt

;-------------------------
;archers quest
#include QuestScene30.txt

;-------------------------


; Here is the last line of the SCENES section of the quest file.
-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!