--***********************************************************
--**                    ROBERT JOHNSON                     **
--***********************************************************

seasonProps = {}

-- month properties
seasonProps.monthTemp = {};
seasonProps.monthTemp[1] = {};
seasonProps.monthTemp[1].min = -6;
seasonProps.monthTemp[1].max = 14;
seasonProps.monthTemp[1].dawn = 13;
seasonProps.monthTemp[1].dusk = 2;
seasonProps.monthTemp[1].moonTime = 20;
seasonProps.monthTemp[1].sunTime = 9;
seasonProps.monthTemp[1].weather = {};
table.insert(seasonProps.monthTemp[1].weather, {chance=40, name="normal"});
table.insert(seasonProps.monthTemp[1].weather, {chance=85, name="cloud"});
table.insert(seasonProps.monthTemp[1].weather, {chance=100, name="rain"});
seasonProps.monthTemp[2] = {};
seasonProps.monthTemp[2].min = -3;
seasonProps.monthTemp[2].max = 17;
-- dawn sup�rieur = soleil se l�ve plus tard
-- dusk sup�rieur = soleil couche plus tard
-- dawn � 9 : lev� � 8h
-- dusk � 6 : couch� � 22h
seasonProps.monthTemp[2].dawn = 13;
seasonProps.monthTemp[2].dusk = 2;
seasonProps.monthTemp[2].moonTime = 19;
seasonProps.monthTemp[2].sunTime = 9;
seasonProps.monthTemp[2].weather = {};
table.insert(seasonProps.monthTemp[2].weather, {chance=25, name="normal"});
table.insert(seasonProps.monthTemp[2].weather, {chance=50, name="sunny"});
table.insert(seasonProps.monthTemp[2].weather, {chance=75, name="cloud"});
table.insert(seasonProps.monthTemp[2].weather, {chance=100, name="rain"});
seasonProps.monthTemp[3] = {};
seasonProps.monthTemp[3].min = 1;
seasonProps.monthTemp[3].max = 24;
seasonProps.monthTemp[3].dawn = 13;
seasonProps.monthTemp[3].dusk = 3;
seasonProps.monthTemp[3].moonTime = 20;
seasonProps.monthTemp[3].sunTime = 8;
seasonProps.monthTemp[3].weather = {};
table.insert(seasonProps.monthTemp[3].weather, {chance=50, name="normal"});
table.insert(seasonProps.monthTemp[3].weather, {chance=80, name="cloud"});
table.insert(seasonProps.monthTemp[3].weather, {chance=100, name="rain"});
seasonProps.monthTemp[4] = {};
seasonProps.monthTemp[4].min = 8;
seasonProps.monthTemp[4].max = 23;
seasonProps.monthTemp[4].dawn = 12;
seasonProps.monthTemp[4].dusk = 4;
seasonProps.monthTemp[4].moonTime = 20;
seasonProps.monthTemp[4].sunTime = 8;
seasonProps.monthTemp[4].weather = {};
table.insert(seasonProps.monthTemp[4].weather, {chance=40, name="normal"});
table.insert(seasonProps.monthTemp[4].weather, {chance=65, name="sunny"});
table.insert(seasonProps.monthTemp[4].weather, {chance=85, name="cloud"});
table.insert(seasonProps.monthTemp[4].weather, {chance=100, name="rain"});
seasonProps.monthTemp[5] = {};
seasonProps.monthTemp[5].min = 16;
seasonProps.monthTemp[5].max = 28;
seasonProps.monthTemp[5].dawn = 12;
seasonProps.monthTemp[5].dusk = 5;
seasonProps.monthTemp[5].moonTime = 20;
seasonProps.monthTemp[5].sunTime = 8;
seasonProps.monthTemp[5].weather = {};
table.insert(seasonProps.monthTemp[5].weather, {chance=50, name="normal"});
table.insert(seasonProps.monthTemp[5].weather, {chance=70, name="sunny"});
table.insert(seasonProps.monthTemp[5].weather, {chance=90, name="cloud"});
table.insert(seasonProps.monthTemp[5].weather, {chance=100, name="rain"});
seasonProps.monthTemp[6] = {};
seasonProps.monthTemp[6].min = 16;
seasonProps.monthTemp[6].max = 33;
seasonProps.monthTemp[6].dawn = 10;
seasonProps.monthTemp[6].dusk = 5;
seasonProps.monthTemp[6].moonTime = 21;
seasonProps.monthTemp[6].sunTime = 8;
seasonProps.monthTemp[6].weather = {};
table.insert(seasonProps.monthTemp[6].weather, {chance=50, name="normal"});
table.insert(seasonProps.monthTemp[6].weather, {chance=75, name="sunny"});
table.insert(seasonProps.monthTemp[6].weather, {chance=90, name="cloud"});
table.insert(seasonProps.monthTemp[6].weather, {chance=100, name="rain"});
seasonProps.monthTemp[7] = {};
seasonProps.monthTemp[7].min = 26;
seasonProps.monthTemp[7].max = 34;
seasonProps.monthTemp[7].max = 36;
seasonProps.monthTemp[7].dawn = 9;
seasonProps.monthTemp[7].dusk = 6;
seasonProps.monthTemp[7].moonTime = 21;
seasonProps.monthTemp[7].sunTime = 7;
seasonProps.monthTemp[7].weather = {};
table.insert(seasonProps.monthTemp[7].weather, {chance=50, name="normal"});
table.insert(seasonProps.monthTemp[7].weather, {chance=80, name="sunny"});
table.insert(seasonProps.monthTemp[7].weather, {chance=95, name="cloud"});
table.insert(seasonProps.monthTemp[7].weather, {chance=100, name="rain"});
seasonProps.monthTemp[8] = {};
seasonProps.monthTemp[8].min = 22;
seasonProps.monthTemp[8].max = 29;
seasonProps.monthTemp[8].dawn = 10;
seasonProps.monthTemp[8].dusk = 6;
seasonProps.monthTemp[8].moonTime = 21;
seasonProps.monthTemp[8].sunTime = 8;
seasonProps.monthTemp[8].weather = {};
table.insert(seasonProps.monthTemp[8].weather, {chance=40, name="normal"});
table.insert(seasonProps.monthTemp[8].weather, {chance=60, name="sunny"});
table.insert(seasonProps.monthTemp[8].weather, {chance=93, name="cloud"});
table.insert(seasonProps.monthTemp[8].weather, {chance=100, name="rain"});
seasonProps.monthTemp[9] = {};
seasonProps.monthTemp[9].min = 13;
seasonProps.monthTemp[9].max = 28;
seasonProps.monthTemp[9].dawn = 11;
seasonProps.monthTemp[9].dusk = 5;
seasonProps.monthTemp[9].moonTime = 21;
seasonProps.monthTemp[9].sunTime = 8;
seasonProps.monthTemp[9].weather = {};
table.insert(seasonProps.monthTemp[9].weather, {chance=50, name="normal"});
table.insert(seasonProps.monthTemp[9].weather, {chance=60, name="sunny"});
table.insert(seasonProps.monthTemp[9].weather, {chance=87, name="cloud"});
table.insert(seasonProps.monthTemp[9].weather, {chance=100, name="rain"});
seasonProps.monthTemp[10] = {};
seasonProps.monthTemp[10].min = 6;
seasonProps.monthTemp[10].max = 22;
seasonProps.monthTemp[10].dawn = 12;
seasonProps.monthTemp[10].dusk = 4;
seasonProps.monthTemp[10].moonTime = 21;
seasonProps.monthTemp[10].sunTime = 8;
seasonProps.monthTemp[10].weather = {};
table.insert(seasonProps.monthTemp[10].weather, {chance=50, name="normal"});
table.insert(seasonProps.monthTemp[10].weather, {chance=55, name="sunny"});
table.insert(seasonProps.monthTemp[10].weather, {chance=85, name="cloud"});
table.insert(seasonProps.monthTemp[10].weather, {chance=100, name="rain"});
seasonProps.monthTemp[11] = {};
seasonProps.monthTemp[11].min = 4;
seasonProps.monthTemp[11].max = 20;
seasonProps.monthTemp[11].dawn = 13;
seasonProps.monthTemp[11].dusk = 2;
seasonProps.monthTemp[11].moonTime = 20;
seasonProps.monthTemp[11].sunTime = 8;
seasonProps.monthTemp[11].weather = {};
table.insert(seasonProps.monthTemp[11].weather, {chance=40, name="normal"});
table.insert(seasonProps.monthTemp[11].weather, {chance=45, name="sunny"});
table.insert(seasonProps.monthTemp[11].weather, {chance=80, name="cloud"});
table.insert(seasonProps.monthTemp[11].weather, {chance=100, name="rain"});
seasonProps.monthTemp[12] = {};
seasonProps.monthTemp[12].min = -1;
seasonProps.monthTemp[12].max = 14;
seasonProps.monthTemp[12].dawn = 14;
seasonProps.monthTemp[12].dusk = 2;
seasonProps.monthTemp[12].moonTime = 20;
seasonProps.monthTemp[12].sunTime = 9;
seasonProps.monthTemp[12].weather = {};
table.insert(seasonProps.monthTemp[12].weather, {chance=60, name="normal"});
table.insert(seasonProps.monthTemp[12].weather, {chance=80, name="cloud"});
table.insert(seasonProps.monthTemp[12].weather, {chance=100, name="rain"});

-- weather properties
seasonProps.weather = {};
seasonProps.weather["normal"] = {};
seasonProps.weather["normal"].ambientMin = 0.90;
seasonProps.weather["normal"].ambientMax = 0.90;
seasonProps.weather["normal"].view = 24;
seasonProps.weather["normal"].temp = 0;
seasonProps.weather["sunny"] = {};
seasonProps.weather["sunny"].ambientMin = 0.95;
seasonProps.weather["sunny"].ambientMax = 0.95;
seasonProps.weather["sunny"].view = 24;
seasonProps.weather["sunny"].temp = 1.3;
seasonProps.weather["cloud"] = {};
seasonProps.weather["cloud"].ambientMin = 0.85;
seasonProps.weather["cloud"].ambientMax = 0.85;
seasonProps.weather["cloud"].view = 20;
seasonProps.weather["cloud"].temp = -1;
seasonProps.weather["rain"] = {};
seasonProps.weather["rain"].ambientMin = 0.8;
seasonProps.weather["rain"].ambientMax = 0.8;
seasonProps.weather["rain"].view = 19;
seasonProps.weather["rain"].temp = -1.8;
