// Test Dialog
block Start
{
        text Can i help you with something?
	var Who are you?
	cmd goto WHOYOU
	var What can you tell me about this place?
	cmd goto place1
	var I need healing.
	cmd goto Heal
	var Forget it.
	cmd quit
}

block WHOYOU
{
	text Who am I? I am Dr. Fung. I am a healer.
	var Pleased to meet you. I need healing.
	cmd goto HEAL
	var Dr. Fung? Do you know Doc Skeev?.
	cmd goto Skeev1
	var Forget it.
	cmd QUIT skeev1
}

block skeev1
{
	text Skeev? Yes! I taught him all he knows! Where is he now?
	var He's living in Broken Hills
	cmd goto Skeev2
}

block skeev2
{
	text He went home, did he. I hope he has found peace there.
	var I think he has. I have more questions.
	cmd goto Start
	var Probably. I have to go. Bye.
	cmd quit
}

block place1
{
	text You have come to the right person. Would you like long history or short?
	var Short.
	cmd goto place2
	var Long.
	cmd goto place3
}

block place2
{
	text Our people landed here on the submarine Shih-huang-ti, when the missiles exploded over the world. With the aid of a cult, we, the Shi, rebuilt San Francisco. That is the short version.
	var How about the long version?
	cmd goto place3
	var Thanks. I have more questions.
	cmd goto start
	var Thanks. Bye.
	cmd quit
}

block place3
{
	text The long version is this: We are here because our people are the descendants of the crew of a nuclear submarine, called the Shih-huang-ti. When the missiles fell in the Great Deluge, the systems aboard the submarine failed and we drifted in the dark for many days. At last, we drifted ashore. We found ourselves near the ruins of San Francisco. Most of the city was devastated in the war. We had to recreate society based on the few survivors who had crept back to the city. We rebuilt with what we could find, and we have scientists and technology the world must envy. We are rebuilding civilization, but not as that horrid Master creature did.
	var I see. I have more questions.
	cmd goto start
	var Thanks. Bye.
	cmd quit
}

block Heal
{
	if #player_need_healing
	{
		text You realy need healing. Hold on. Thats it!
		@heal_player
		var Thank you!... I have questions.
		cmd goto start
		die
	}

	text You are looks very healthly, you dont need healing
	var Oh, nevermind then.
	cmd goto start
}
