module StandardCharacters
{
	imports
		{
		Base
		}
	
	character Player
		{
		null, Whyte, Shaddo,
		
		PlayerInventory,
		Skin_01,
		Base_Head1,
		Base_Torso,
		Base_Legs,
		Shirt1=Shirt_Blue,
		Trousers1=Trousers_Grey,
		Shoes1,
		}

	inventory PlayerInventory
		{
		Hammer,
		Nails=20,
		}
}

module StandardSetup
{
	imports
		{
		StandardCharacters,
		Base
		}
	
	zone tutArea
		{
		5, 1,
		75, 33
		}

	waypoint BobStart
		{
		41, 23, 1
		}
	
	waypoint TestZombieSpawn
		{
		42, 25, 1
		}

	script LoadCharacterTextures
		{
		LoadTexturePage(zombieFrames);
		LoadTexturePage(characters);
		LoadedCharacters.Set(yes);
		}

	scriptflag LoadedCharacters
		{
		no
		}

	script LoadMapTextures
		{
		LoadTexturePage(tiles1);
		LoadTexturePage(tiles2);
		LoadTexturePage(tiles3);
		LoadTexturePage(tiles4);
		}
	script CreateCharacters
		{
		Player.Actualize(BobStart);
		Player.Face(W);
		}
	trigger OnPreMapLoad
		{
		call LoadMapTextures
		}

	trigger OnPreCharacterCreation
		{
		call LoadCharacterTextures
		}

	trigger OnPostMapLoad
		{	
		call LoadCharacterTextures
		}

	trigger OnPostMapLoad
		{	
		call CreateCharacters
		}


	containeritemdistribution
		{	
		Room					=			tutKitchen1,	
		Containers		=			counter,		
		TinOpener			=			1,				
		Pot						=			1,	
		}

	containeritemdistribution
		{
		Room					=			tutKitchen2,
		Containers		=			counter,
		TinnedSoup		=			3,
		}

	containeritemdistribution
		{
		Room					=			tutorialBathroom,
		Containers		=			medicine,
		Pills					=			1,
		}

	containeritemdistribution
		{
		Room					=			tutorialBedroom,
		Containers		=			wardrobe,
		Sheet					=			1,
		Pillow				=			1,
		}
}
