public int GetResourceRequirements(String type, String resource)
        {
            if (String.IsNullOrEmpty(type) || String.IsNullOrEmpty(resource))
            {
                return(0);
            }

            EntityCost cost = GetEntityCost(type);

            if (cost != null)
            {
                return(cost.GetCost(resource));
            }

            UnityEngine.Debug.LogWarning("Resource requirement not defined: " + type);
            return(0);
        }