;--------------
; SCENE 3 (Inn scenes)
;Actually, this inn stuff dawned upon me when i realized i didnt have a healing place in my world. Mostly i got the inn idea from dream lands, but i took it and made it 30 times better.
;I got the menu idea from World's End. World's End is AWESOME!!!!!!!!11111
SCENE 3, dojo2, SCENE, "Amulet and Sword inn", 0, 0
#include proxbeta.txt
	THEME	6
	ACTOR	1,	"Innkeep", joshTownsfolk2, 32, 65, 45
	ACTOR	2,	"",misc, 7, 25, 55
	FACE 1, 2
	SET innPrice,"70"
	MUL innPrice,"#<num.peopleInScene>"
	1: Welcome to the Stone Inn. Tonight's rate is 70GP per person.
IF DEAD, @rez

@continue
	1: Just right-click the bed for options.


	
END
@eventActorClick2
	MENU "Sleep-70 Coins=@sleep","Cancel=@cancel"
END
@sleep
1: Good night.
Wait 1.0
MUSIC #nochange
BKGND bed.jpg
MOVE 1, -15, 0, 1
	COLOR 1013
	COLOR 2013
	TAKE	G90
	GIVE	L1
	GIVE	H3000
	GIVE	M500
	WAIT	3.0
; I felt i needed pretty music for when the host wakes up. lol
N: HP and MP recovered.
WAIT 4.0
COLOR 2000
COLOR 0 
BKGND dojo2
	MOVE 1, 65, 45, 1
	FACE 1, 2
	1: Thank you for staying at the Stone Inn!
END
@cancel

END

@rez
1: You're dead. Here...
WAIT 1.0
GIVE L1
GOTO @continue
END

@free
1: It appears that you have stayed at the inn #<innCredit> times! You can stay for free tonight!
1: Would you like to stay?
ASK 30
IF YES, @freeStay
1: Ok then. Come back any time!
END

@freeStay
1: Good night.
SUB innCredit, 10
SET loop, 10
Wait 1.0
MUSIC #silence
N: Nightfall approaches...
BKGND bed.jpg
MOVE 1, -15, 0, 1

@fade2
	COLOR 1013
	COLOR 2013
	WAIT      0.2
	SUB loop, 1
	IF> @fade2
	GIVE	L1
	GIVE	H3000
	GIVE	M500
	WAIT	2.0

; I felt i needed pretty music for when the host wakes up. lol
MUSIC inn.mid
N: HP and MP recovered for free.
WAIT 4.0
COLOR 2000
COLOR 0 
BKGND dojo2
MUSIC ac_1300.mid
	MOVE 1, 65, 65, 1
	FACE 1, 2
	1: Thank you for staying at the Amulet and Sword!
	H: You're very welcome.
END

@cred
	COMPARE #<innCredit>, 10
	IF= @free
	IF> @free
	IF< @pay
	SET innCredit, 1
@pay
1: I'm sorry, you don't have enough Inn Credit to stay for free. You only have #<innCredit> Inn Credits.
GOTO @continue
;
;another inn scene. how come in dream lands, they make the beds so tiny? in reality, its waaaaaaay too small, but what the hell. its a game. my beds are better. =) But, its possible the new version of dream lands can kill the hell out of darkwood. =0
;fortunately, on destiny's website, there have been no updates about dream lands since April 2003!! omg!! >:D how lame!! that was over a year ago prior to the typing of this script(oct. 8 2004).
;If you wanna play this crappy, er... *excellent* world, Dream Lands, you can view destiny's webpage at http://www.angelfire.com/rpg2/star_of_dest. Despite all of the blatant misspellings of coming ('comming'), certain grammatical errors, some boss names that should be livened up (Crystal rose guard=====>Guardian of the crystal rose[duhhhhrr]), HORRIBLE maps, most actor graphics are reused from Evergreen, and the quests getting boring after level 30, Its still cool.lol
; I will have all of these shi...I mean cool worlds up on my site in a while, just so i can get my page listed on synthetic reality.
; Forget you read that, everyone, especially you, Uncle Dan!! lol!! joking
SCENE 500, lounge, SCENE, "The Penguin's Inn", 0, 0
#include proxbeta.txt
	SET innPrice, "250"
	MUL innPrice, "#<num.peopleInScene>"
	Theme	6
	ACTOR	1,	"Innkeeper", joshTownsfolk, 9, 53, 64
	ACTOR	2,	"",misc, 8, 18, 95
	SELECT 1
	POSE 9, 10
	FACE 1, 2
	1: Yo. Welcome to the Penguin's Inn. Today's rate is 250 Coins.
IF DEAD, @rez
@continue
	1: Just right-click the bed for options

	END
@eventActorClick2
	MENU "Sleep-250 Coins=@sleep", "Cancel=@cancel"
END
@sleep

SET loop, 10
1: See ya in the mornin'.
Wait 1.0
BKGND bed
N: Nightfall approaches...
MOVE 1, -15, 0, 1
MUSIC	silence.mid

@fade


	COLOR 1013
	COLOR 2013
	WAIT      0.1
	SUB loop, 1
	IF> @fade

	TAKE	G#<innPrice>
	GIVE	H3000
	GIVE	M500
	WAIT	2.0

	MUSIC	inn.mid
	BKGND lounge
	WAIT 4.0
	COLOR 2000
	COLOR 0 
	MUSIC #silence
	MOVE 1, 65, 45, 1
	FACE 1, 2
	1: Did you enjoy your stay at the Penguin's inn?
	H: Yeah. Thanks.
END
@cancel

END
@rez
1: Oh, you're dead... Um, there's kind of a problem...
1: You see...
1: I.. I don't know how to... rez..
H: WHAT?! You're the only innkeeper in Darkwood who CAN'T REZ??
1: Hahahaha!! Gotcha 5ux0r! Here..
GIVE L1
GOTO @continue
END
;
;yet another inn scene that kills the hell out of the other ones in dream lands, lolololol. forget i said that... =D
;personally, making these scenes at 2 am is fun. mostly because i can hallucinate pink elephants and oversized man eating rabbits... but how am i sure if im hallucinating or not??? lol joking
SCENE 501, bazaar, SCENE, "The Illuminated Troll's Inn",0,0
#include proxbeta.txt
	THEME	6
	MUSIC	MOZART.mid
	ACTOR	1,	"Innkeeper",joshTownsfolk2, 9, 55, 70
	ACTOR	2,	"",misc, 9,
	SELECT	1
	POSE	9, 10
	1: Hello #<g.sir>. Welcome to the The Illuminated Troll's Inn.
IF DEAD, @rez
@continue
	WAIT 1.0
	FACE 1, 2
	1: Today's rate is 30 Coins.
	
	END
@eventActorClick1
FACE 1, 2
1: Um, #<g.sir>, the bed is over *there.*
1: So, I would prefer you not clicking me.
END
@eventActorClick2
	MENU "Sleep-30 Coins=@sleep", "'Hi'=@hi", "Cancel=@cancel"
END
@sleep

SET loop, 10
1: See ya in the mornin'.
Wait 1.0

N: Nightfall approaches...
MOVE 1, -15, 0, 1
MUSIC	silence.mid

@fade


	COLOR 1013
	COLOR 2013
	WAIT      0.1
	SUB loop, 1
	IF> @fade

	TAKE	G30
	GIVE	H3000
	GIVE	M500
	WAIT	2.0

	COLOR 2000
	COLOR 0 
	MUSIC	MOZART.mid
	MOVE 1, 55, 70, 1
	FACE 1, 2
;Note to Destiny: It's not 'comming', its COMING!!
	1: Thanks fer coming to The Illuminated Troll's Inn.
	1: And good luck with your quests, #<g.sir>.
	H: Thanks.
END
@cancel

END
@hi
H: Hello.
2: Um, hi.
2: Is it healthy for people to talk to inanimate objects?
H: You're talking back to me.
H: Wait a minute... I've heard this kinda thing before...
H: ...in World's End!!!!
WAIT 0.1
FACE 1, 2
1:*gasp*
1: World's End??
H: Yep. it's a cool world. you should download it some day.
1: Um, weren't you going to go to sleep or something?
H: Oh yeah..
2: ...
END
@rez
1: Hmm.. you're dead...
2: OMG!! HE'S DEAD?!
FACE 1, 0
WAIT 5.0
2: Ok... I didn't say anything... I'm just a bed...
GIVE L1
END
;Another killer inn scene that 0wn20r2 dream lands. lol
;
;
SCENE 502, throne, SCENE, "The Virtuous Troll Inn",0,0
#include proxbeta.txt
	ACTOR	1,"DrUnkEn InNkeEpEr.."joshTownsfolk2, 18, 56, 69
	ACTOR	2,	"",misc, 10,
	1: .../\/\000\/3....219..
	1: Hello..*hic* this..is the...
	1: Virtual...Control...
	1: errm...*hic*..The Virtuous Troll Inn
IF DEAD, @rez
@continue
	1: If you are...*hic*...gonna.. stay,
	1: ..right-click...on..the..bed..*burrrp*
	1: Tonight's rate.....*<insert random vomiting noises here>*
	1: *<more random vomiting noises>*...
	1: Sor..*hic*..sorry. The.. rate's *hic* 50 Coinses....
	1: ZzzZzZzzzz......
	END
@eventActorClick2
	MENU "Sleep-50 Coins=@sleep", "Cancel=@cancel"
END
@sleep

SET loop, 10
1: ...ZzzzzZzzzZzzz...
H: I'll just leave these coins next to him...

Wait 1.0

N: Nightfall approaches...
MUSIC	silence.mid

@fade


	COLOR 1013
	COLOR 2013
	WAIT      0.1
	SUB loop, 1
	IF> @fade

	TAKE	G50
	GIVE	H3000
	GIVE	M500
	WAIT	2.0

	COLOR 2000
	COLOR 0 
	MUSIC	MOZART.mid
	MOVE 1, 56, 69, 1
	FACE 1, 2
	1: Thanks fer staying at the The Virtuous Troll Inn...
	H: Are you all right?
	1: Yeah... just a tad hung over...
END

@rez
1: You're.. *hic*..dead.
1: Rez time...ugghh....
GIVE L1
GOTO @continue
END

@cancel

END

SCENE 503,  japan, SCENE, "The Goblin's Inn"
#include proxbeta.txt
	THEME	6
	ACTOR	1,	"Innkeep", joshTownsfolk3, 32, 65, 65
	ACTOR	2,	"",misc, 7, 25, 70
	FACE 1, 2
	SET innPrice,"120"
	MUL innPrice,"#<num.peopleInScene>"
	1: Welcome to the Goblin's Inn. Tonight's rate is 70GP per person.
IF DEAD, @rez

@continue
	1: Just right-click the bed for options.


	
END
@eventActorClick2
	MENU "Sleep-70 Coins=@sleep", "Use Inn Credits=@cred","Cancel=@cancel"
END
@sleep
1: Good night.
ADD innCredit, 1
SET loop, 10
Wait 1.0
MUSIC #silence
N: Nightfall approaches...
BKGND bed.jpg
MOVE 1, -15, 0, 1


@fade


	COLOR 1013
	COLOR 2013
	WAIT      0.2
	SUB loop, 1
	IF> @fade

	TAKE	G#<innPrice>
	GIVE	L1
	GIVE	H3000
	GIVE	M500
	WAIT	1.0
MUSIC inn.mid
; I felt i needed pretty music for when the host wakes up. lol
MUSIC inn.mid
N: HP and MP recovered.
WAIT 4.0
COLOR 2000
COLOR 0 
BKGND japan
MUSIC scrn_town1.mid
	MOVE 1, 65, 45, 1
	FACE 1, 2
	1: Thank you for staying at the Amulet and Sword!
	H: You're very welcome.
END
@cancel

END

@rez
1: You're dead. Here...
WAIT 1.0
GIVE L1
GOTO @continue
END

@free
1: It appears that you have stayed at the inn #<innCredit> times! You can stay for free tonight!
1: Would you like to stay?
ASK 30
IF YES, @freeStay
1: Ok then. Come back any time!
END

@freeStay
1: Good night.
SUB innCredit, 10
SET loop, 10
Wait 1.0
MUSIC #silence
N: Nightfall approaches...
BKGND bed.jpg
MOVE 1, -15, 0, 1

@fade2
	COLOR 1013
	COLOR 2013
	WAIT      0.2
	SUB loop, 1
	IF> @fade2
	GIVE	L1
	GIVE	H3000
	GIVE	M500
	WAIT	2.0

; I felt i needed pretty music for when the host wakes up. lol
MUSIC inn.mid
N: HP and MP recovered for free.
WAIT 4.0
COLOR 2000
COLOR 0 
BKGND dojo2
MUSIC ac_1300.mid
	MOVE 1, 65, 45, 1
	FACE 1, 2
	1: Thank you for staying at the Goblin's Inn!
	H: You're very welcome.
END

@cred
	COMPARE #<innCredit>, 10
	IF= @free
	IF> @free
	IF< @pay
	SET innCredit, 1
@pay
1: I'm sorry, you don't have enough Inn Credit to stay for free. You only have #<innCredit> Inn Credits.
GOTO @continue
END

	
;<...........................................................................................allyourbasearebelongtousallyourbasearebelongtousallyourbasearebelongtousallyourbasearebelongtousallyourbasearebelongtous............................................................................................. 0\//|\|20r