Item - KitchenMods/KitchenLib GitHub Wiki

GameDataObject - Item

What is an Item?

...

What overrides can I use?

Item Overrides

GameObject Prefab                                               // This is the GameObject used for this Item's visual.
List<Item.ItemProcess> Processes                                // These are the Processes attached to this Item.
List<IItemProperty> Properties                                  // These are the Properties attached to this Item.
float ExtraTimeGranted                                          // This is how much extra time is provided when a customer asks for this Item.
ItemValue ItemValue                                             // This is how much money is earned from serving this Item.
Item DirtiesTo                                                  // This is the result Item provided once a customer has finished eating.
List<Item> MayRequestExtraItems                                 // 
int MaxOrderSharers                                             // This is how many customers this Item will serve.
Item SplitSubItem                                               // This is what this Item can split to.
int SplitCount                                                  // This is how many times this Item can be split.
float SplitSpeed                                                // This is how fast you can split this Item.
List<Item> SplitDepletedItems                                   // These are the Items left after you've split all the Items out.
bool AllowSplitMerging                                          // When TRUE : SplitSubItem can be returned back to this Item.
bool PreventExplicitSplit                                       //
bool SplitByComponents                                          // When TRUE : This Item will split based on the components in the ItemGroup (Only works for ItemGroups)
Item SplitByComponentsHolder                                    //
bool SplitByCopying                                             //
Item RefuseSplitWith                                            //
Item DisposesTo                                                 // This is the result Item provided when used on a bin.
bool IsIndisposable                                             // When TRUE : This Item can't be used on a bin.
ItemCategory ItemCategory                                       //
ItemStorage ItemStorageFlags                                    //
Appliance DedicatedProvider                                     // This is the Appliance used to provide this Item.
ToolAttachPoint HoldPose                                        // This decides the pose of the player when this Item is held.
bool IsMergableSide                                             // When TRUE : this Item can be merged as a side to an ItemGroup.
Item ExtendedDirtItem                                           //

GameDataObject Overrides

int ID                                                          // This is the unique identifier for this GameDataObject. This should not be changed.

KitchenLib Overrides

string UniqueNameID                                             // This is used to generate a hashed ID.
int BaseGameDataObjectID                                        // This is used to use another GameDataObject's values as a base for this GameDataObject.
string ColourBlindTag                                           // This string used for ColourBlind labels.
⚠️ **GitHub.com Fallback** ⚠️