> 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/v4-migration-tips/repositories.md).

# Repositories

## 4.0.2

Repositories has gotten better! The followoing Repository Prefabs can be removed from your scenes:

* Conditions Repository
* ItemAttribute Repository
* ItemOjbect Repository
* Loot Box Repository
* Quest Repository
* Stats Repository

A new Scriptable Object, which does NOT need to be in the scene, has been added to replace the "Repository" functionality: `GameModuleRepository`

This will be automatically created in `Assets/Game Module Objects/Resources/` and auto-populated. See the [**Repository**](/magic-pig-games/game-modules-4/important-information/required-prefabs.md) docs for more.

The **Blackboard** prefab, which is still required in scenes, now has a `ModulesHelper` class on it, which handles the `Monobehaviour` aspects that were previously handled by individual repositories.

If you have a custom [**Quest Reward Handler**](/magic-pig-games/game-modules-4/module-documentation/quests/quest-rewards/custom-quest-reward-handler.md), please add it to the **Blackboard** prefab -- it must be on the same object as `ModulesHelper`.

The methods on the previous repositories have been marked obsolete, with references to the replacement methods. Few, if any, errors should occur, until you remove the repository prefabs. They will be removed from **Game Modules 4** in a future update.

## 4.0

There are new repositories for the new modules in Game Modules 4, and all have been moved to a new location: `Assets/InfinityPBR/---Game Modules/_Repository Prefabs`

The **Items Repository** is deprecated, and will be removed in a future update. It has been replaced with the **ItemObject Repository** and **ItemAttribute Repository**.
