public void setTypeAttributes(int type){
		switch(type){
		case 0:
			
			potion = x.getSubImage(1, 0);
			addImage(potion);
			setZHeightFromIsoImage(potion);
			setPosition(wPosition);
			
			name = "healing";
			healing_amount = 10;
			shield_amount = 0;
			speed_increase = 0;
			duration = 0;
			used = false;
			picked_up = false;
			
			break;
			
		case 1: 
			potion = x.getSubImage(5, 1);

			addImage(potion);
			setZHeightFromIsoImage(potion);
			setPosition(wPosition);
			
			name = "strength";
			healing_amount = 0;
			shield_amount = 10;
			attack_increase = 10;
			speed_increase = 0;
			duration = 15;
			used = false;
			picked_up = false;
			break;
			
		case 3:
			
			potion = x.getSubImage(2, 2);

			addImage(potion);
			setZHeightFromIsoImage(potion);
			setPosition(wPosition);
			
			name = "energy";
			healing_amount = 0;
			shield_amount = 0;
			attack_increase = 0;
			speed_increase = 2;
			duration = 15;
			used = false;
			picked_up = false;
			break;
			
		default:
			break;
		}
	}