@Override
	public String getStat(String code)
	{
		if(CMLib.coffeeMaker().getGenItemCodeNum(code)>=0)
			return CMLib.coffeeMaker().getGenItemStat(this,code);
		switch(getCodeNum(code))
		{
		case 0:
			return ID();
		case 1:
			return "" + hasALock();
		case 2:
			return "" + hasADoor();
		case 3:
			return "" + capacity();
		case 4:
			return "" + containTypes();
		case 5:
			return "" + openDelayTicks();
		case 6:
			return "" + defaultsClosed();
		case 7:
			return "" + defaultsLocked();
		default:
			return CMProps.getStatCodeExtensionValue(getStatCodes(), xtraValues, code);
		}
	}