🛒 ITEM SYSTEM
The Item System manages all information related to sellable products:
visuals, pricing, stacking, storage rules, and how products appear and behave.
Purpose in Gameplay
It defines how products are displayed, priced, stored, spawned, stacked, and interacted
with by customers, employees, and the player. Nearly every store action, stocking,
selling, scanning, restocking, delivery, depends on the Product System.
Datatables
● DT_Item: Data Table containing all available items in the game.
Open DT_Item
To create a new item for your supermarket, you need to open ShopSimulator-> Item -> "DT_Item". This uses the S_Item structure.
New Item
Click “Add” in the Data Table and then fill in all the information:
Name: The item name that you will find to buy it in the market.
UnitAmount: The quantity included in a unit when you order it from the online store and it appears in the package.
Actor: A direct reference to the actor for that you create this item. This will for example spawn when you sort it to one of the shelves after you buyed it.
Sell Price: This is the price for what you are selling the item. You can adjust this number directly in game when clicking right mouse on the price tag.