# TechtreeResource

A TechtreeResource is used to define a cost to unlock a tech node.

1. Let’s create a new techtree resource. For example: Gold

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2FFzNPrGZw4vcLLAqramD8%2Ftechtree_goldResource.png?alt=media&#x26;token=97c38924-921f-4081-aa42-cb9f577c3432" alt=""><figcaption></figcaption></figure></div>

2. Select your techtree and a tech node.
3. In the field Techtree Resource you can now assign the techtree resource and the amount it needs to be able to unlock this tech node.

<div align="left"><figure><img src="https://2348672745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIoqF5QAgQsqxrjmTIKpE%2Fuploads%2FAy2fqCnbfmUs3YoQR0dG%2Ftechtree_assignedResource.png?alt=media&#x26;token=d497a450-9c99-4842-a68e-6d11476d3868" alt=""><figcaption></figcaption></figure></div>
