textureDir = "level/deliverytruck/textures/";

SetScoreFactor{
	scoreFactor = 0.25
};


randomMapProperties = {
	
	--city properties
	position = {
		
		x = 360,
		y=  200,	
	},
	rows = 5,
	columns = 5,
	initialRow = 0,
	initialColumn = 0,
	finalRow = 4,
	finalColumn = 4,
	--non pasable properties
	nonPassableBlocksNumber = 7,
	--obstacle properties
	obstaclesNumber = 2,
	advancedObstaclesNumber = 0,
	powerSimpleObstacles = 1;
	powerAdvancedObstacles = 3;
	--tea properties
	teaNumber = 2,
	teaAdvancedNumber = 1,
	powerSimpleTeas = 1;
	powerAdvancedTeas = 3;
	
};

truck = {
	
	initialDir = {
		x = 1,
		y = 0,
	
	},
	numTreatments = 0;
	speed = 70;
	startdelay = 1;
	increasespeed = 0.7;
	maxspeed = 100;
	
	
	incrementAngle = 0;
	fallingDelay = 0.1;
	fallingAlphaFactor = 1;
	fallingScaleFactor = 1;
	
	buzzingDelay = 0.05;
	buzzingOffset = 3;
	

};

city = {

	size = {
	
		rows = 5,
		columns = 5,
	},
	position = {
		
		x = 360,
		y= 200,	
	},
	initialBlock = {
		row = 0,
		column = 0,
	
	},
	finalBlock = {
		row = 4,
		column = 0,
	
	},
	nonPassableBlocks={	
		--{row,column}
		{1,1}, {1, 2}, {1, 3},
		{2, 3},{3, 1}, {3, 3}
		},
	blockProperties={
	
		--{x position, y position, texturename, rotation}
		{0, 0,textureDir.."begin",0}, 
		{0, 1,textureDir.."block",0}, 
		{0, 2,textureDir.."block",0},
		{0, 3,textureDir.."block",0},
		{0, 4,textureDir.."block1",0},
		{1, 0,textureDir.."block",0}, 
		{1, 1,textureDir.."block4",0}, 
		{1, 2,textureDir.."block3",0},
		{1, 3,textureDir.."block2",0},
		{1, 4,textureDir.."block",0},
		{2, 0,textureDir.."block",0}, 
		{2, 1,textureDir.."block",0}, 
		{2, 2,textureDir.."block",0},
		{2, 3,textureDir.."block2",0},
		{2, 4,textureDir.."block",0},
		{3, 0,textureDir.."block",0}, 
		{3, 1,textureDir.."block3",0}, 
		{3, 2,textureDir.."block",0},
		{3, 3,textureDir.."block3",0},
		{3, 4,textureDir.."block",0},
		{4, 0,textureDir.."end",0}, 
		{4, 1,textureDir.."block",0}, 
		{4, 2,textureDir.."block",0},
		{4, 3,textureDir.."block",0},
		{4, 4,textureDir.."block",0},
	},	

};



teaPack = {

--~ 	
		
	teaPackProperties = {
		{3,4, textureDir.."teapack",2}, 
		
			
	},
	

};

obstacles = {

	--( row, column, texture, power ) 
	obstaclesProperties = {
		--{2,4, textureDir.."obstacle",5}, 		
		{3,0, textureDir.."obstacle",5}, 
			
	},
		
	
}

