unified inplaceResourceBase and warResourceBase to simply resourceBase