The power of an item

At the core of any inventory/shopping system are the individual items themselves. They need to be designed in a way that will not only set each item apart from every other item, but will also ensure that they work together to benefit the player as they travel through your world.

Items generally have their individual properties. Refer to the following table:

Item/property

Description

Slot

Can this only be used in a certain slot for the player or in general?

Stackable

Can items, such as ammo or potions, be stacked on top of each other?

Strength or damage

What is the effect on the player's health? Does it restore the player's health (like with health potions) or damage the player's health (like with poison)?

Defense ...

Get Mastering Unity 2D Game Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.