Class StorableItemDefinition
Represents an item definition that can be purchased, sold, and stored in inventories. Extends ItemDefinition with economic properties.
public class StorableItemDefinition : ItemDefinition
- Inheritance
-
StorableItemDefinition
- Derived
- Inherited Members
- Extension Methods
Remarks
In Schedule One, all items are StorableItemDefinition or subclasses thereof. The base ItemDefinition class is abstract and not used directly in gameplay.
Properties
BasePurchasePrice
The base purchase price for this item in shops.
public float BasePurchasePrice { get; set; }
Property Value
HasStationItem
Gets whether this item has a StationItem assigned (used by station/minigame tasks, e.g., Chemistry Station).
public bool HasStationItem { get; }
Property Value
IsUnlocked
Gets whether this item is currently unlocked (available for purchase/use).
public bool IsUnlocked { get; }
Property Value
RequiredRank
The required player level to purchase this item, if RequiresLevelToPurchase is true.
public FullRank RequiredRank { get; set; }
Property Value
RequiresLevelToPurchase
Whether purchasing this item requires the player to be at or above a certain level.
public bool RequiresLevelToPurchase { get; set; }
Property Value
ResellMultiplier
The resell multiplier (0.0 to 1.0) that determines how much of the purchase price can be recovered when selling the item.
public float ResellMultiplier { get; set; }
Property Value
StationItemPrefab
Gets the StationItem prefab GameObject for this item, if any.
public GameObject? StationItemPrefab { get; }
Property Value
- GameObject
Remarks
This is primarily used for debugging and tooling. Prefer configuring StationItem via StorableItemDefinitionBuilder.WithStationItem during build/registration.