treasury.takeResource() HashMap implementation