private boolean riotGen(){ //Riots are generated randomly, scaled by the current happiness level and military
		Random riotlevel = new Random();
		int riot = (int) Math.abs(Math.round(riotlevel.nextGaussian()*100/happy/Empous.Gov.getStat("military")));
		if(riot>=1){
//			System.out.println("Your citizens are rioting!!");
			for(int a=1;a<=4;a++){
				switch(a){
				case 1: Empous.Com.setBuildLevel(Empous.Com.getBuildLevel()-riot*2*Empous.Com.getBuildRate());
						break;
				case 2: Empous.Res.setBuildLevel(Empous.Res.getBuildLevel()-riot*2*Empous.Res.getBuildRate());
						break;
				case 3: Empous.Ind.setBuildLevel(Empous.Ind.getBuildLevel()-riot*2*Empous.Ind.getBuildRate());
						break;
				case 4: Empous.LM.setBuildLevel(Empous.LM.getBuildLevel()-riot*2*Empous.LM.getBuildRate());
						break;
				}
			}
			return true;
		}
		return false;
	}