added natives GetResourcesTotal, GetResourcesExpended, GetResourcesAmount