> For the complete documentation index, see [llms.txt](https://infinitypbr.gitbook.io/magic-pig-games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitypbr.gitbook.io/magic-pig-games/game-modules-4/module-documentation/quests/quest-rewards/create-a-custom-quest-reward/your-quest-reward.md).

# Your Quest Reward

v4.0

Creating a custom Quest Reward which can be easily managed in the Inspector is not that difficult. You will create three scripts, starting with one that inherits from `QuestReward`.

Create a script which looks like this, but name it appropriately for your reward. The class in the image below is called `PointReward` indicating that the quest reward may be provide a change in points, using the [**Stat**](/magic-pig-games/game-modules-4/module-documentation/stats-and-skills/stat.cs.md) module.

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FDQLfNYfimATgG1dA5yCv%2FScreenshot%202023-06-27%20at%2010.27.03%20PM.png?alt=media&amp;token=cca199e6-f17d-4f62-a09b-406e60d8528d" alt=""><figcaption></figcaption></figure>

Change the default filename in the `CreateAssetMenu` line. Then, change the `menuName` path as well. You can choose to put your creation button in the same `Game Modules/Quest Reward/[Name Here]`, or customize the path.

The class inherits from `QuestReward`, so the `GiveReward()` method is required. You will customize this script later. For now, lets finish creating the other two scripts.

## Give Reward

This method is what does the actual work. This is where you will do all the reward giving, whatever that means for the context of the reward and your project.

Refer to the existing `QuestRewards` to see how those have been created.

{% content-ref url="/pages/XGs582GlghbHjar9T1Dr" %}
[Your Quest Reward Editor](/magic-pig-games/game-modules-4/module-documentation/quests/quest-rewards/create-a-custom-quest-reward/your-quest-reward-editor.md)
{% endcontent-ref %}
