Items
This page contains the item IDs available in StellarDrive.
Items are used when creating building costs for custom parts with ItemCost.
Example:
BuildingCost =
[
ItemCost.Of(ItemIDs.Fuel, 5)
]
The first value is the item identifier (ItemID), and the second value is the required amount.
The StellarModdingAPI provides common item identifiers through the ItemIDs class:
ItemIDs.BuildTool
ItemIDs.RecyclerTool
ItemIDs.MiningLaser
ItemIDs.Fuel
ItemIDs.Iron
ItemIDs.Glass
ItemIDs.ExoticMatter
ItemIDs.Aluminum
Available Items
| ItemID | Name |
|---|---|
| 0 | Build Tool |
| 1 | Recycler Tool |
| 2 | Mining Laser |
| 100 | Fuel |
| 101 | Iron |
| 102 | Glass |
| 103 | Exotic Matter |
| 104 | Aluminum |
Finding Item IDs
The StellarModdingAPI can display all available items and their IDs while the game is running.
Press:
F8
The item list will be printed to the MelonLoader console.
Use the provided ItemIDs values with ItemCost.Of() when creating custom part building costs.