Skip to content

Inventory Item Money

Dominik Morse edited this page Nov 18, 2023 · 1 revision

Purpose

To provide a static definition specifically for monetary value in the game. It's a specific identifier for money within the inventory system but doesn't need any specific properties beyond what UBaseItem offers.

Properties

None

Functions

None

Given this streamlined approach, the UMoneyItem will simply inherit everything from UBaseItem. When it comes to instances of money in the player's inventory or during trade, the system would simply leverage UInstancedItem, which would be instanced from the UMoneyItem, and manage the quantity of money as with any other item.

This approach allows for maximum flexibility since you can always expand upon the system later if specific game mechanics or features necessitate more complex money-related logic. It's a solid foundation that integrates seamlessly into your existing item system.