Component types
Container
A Maker who carries everything will tire. A Container is a place to set the load down.
What it is
A Container is a chest, crate or storeroom with room of its own. A player taps it and opens a storage panel. In that panel they move items between their backpack and the Container.
You can place a Container in a scene, or let players build it themselves.
Use it for
- A crate in a cellar that players fill with spare goods.
- A locker that opens only when the player has a key.
- A storeroom players build with their own materials.
- A chest the player can pick up and carry once it is empty.
Actions it can have
| Action | What it does here |
|---|---|
| Open | Opens the storage panel. You can add things it needs first, such as a key. |
| Build | Lets players build it from the Build Menu, paying its cost. A built Container appears in the scene, not in the backpack. |
One more exists for advanced setups. It is listed under the hood below.
Setting it up
- Play your game, open the game menu and choose Edit this Game.
- In Add Components, click + Create Component and pick Container.
- Fill in Name and Description Shown Player.
- Set Capacity (units of space). It starts at 20. This is required.
- Tick Players can pick this up and carry it only if players should be able to take it with them. It is off by default.
- Click CREATE, then drag it from the palette onto the scene.
To let players build it, drag it onto the Build Menu panel in Edit Mode, then set its cost in the property window.
In Vespera: the Outpost Storeroom Play it
The Outpost Storeroom holds 40 units of space. It is built from the Build tab of Maren's Stall for 3 Timber and 4 Iron Nails. The build is instant and gives the player 10 XP.
It appears in the Last Outpost, in a spot the game's author reserved for it, at the lower middle of the scene. When it first opens, the panel reads 0 of 40.
Good to know
- Capacity is space, not slots. An ordinary item takes 1 unit. A Container of 12 holds 12 ordinary items, and a big item can take more.
- Building does not need room in the bag. A built Container goes into the place, so the player's backpack limit does not stop it.
- Taking one needs it empty. A player can only pick up a Container that holds nothing.
- It remembers where it stood. When a player drops a Container they carried, it goes back to its last spot in the scene.
- Where a built one lands. If you reserved a spot for it by placing it with a starting count of 0, it appears there. Otherwise it lands where the player dropped it, or waits in the Unplaced Items tray.
Under the hood
- A Container can also carry an action that reacts when it is acquired. A built Container is given to the place, not to the player, so that is where the reaction happens.
- A Container is always one of a kind. Building a second one makes a second Container, never a stack.
- A Container with a capacity of 0 opens nothing: the storage panel does not appear.