How were Rajput princely states rich if the region is dry and arid?

I've always wondered how were the Rajput princely states in Rajasthan able to afford lavish lifestyle and build massive forts if the revenue was limited.