Initial Commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using KitchenData;
|
||||
using KitchenLib.Customs;
|
||||
|
||||
namespace Easter2025.Customs.Generics
|
||||
{
|
||||
public abstract class GenericDecorationAppliance : CustomAppliance
|
||||
{
|
||||
public override bool IsPurchasable => false;
|
||||
public override ShoppingTags ShoppingTags => ShoppingTags.Decoration;
|
||||
public override PriceTier PriceTier => PriceTier.Free;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using Easter2025.Utilies;
|
||||
using KitchenData;
|
||||
using KitchenLib.Customs;
|
||||
|
||||
namespace Easter2025.Customs.Generics
|
||||
{
|
||||
public abstract class GenericPlatedDish : CustomItemGroup
|
||||
{
|
||||
public override Item DisposesTo => GDOReferences.Plate;
|
||||
public override Item DirtiesTo => GDOReferences.PlateDirty;
|
||||
public override bool CanContainSide => true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using KitchenData;
|
||||
using KitchenLib.Customs;
|
||||
using KitchenLib.Utils;
|
||||
|
||||
namespace Easter2025.Customs.Generics
|
||||
{
|
||||
public abstract class GenericProvider : CustomAppliance
|
||||
{
|
||||
public abstract Item ProvidedItem { get; }
|
||||
|
||||
public override List<IApplianceProperty> Properties => new()
|
||||
{
|
||||
KitchenPropertiesUtils.GetUnlimitedCItemProvider(ProvidedItem.ID)
|
||||
};
|
||||
|
||||
public override bool SellOnlyAsDuplicate => true;
|
||||
public override bool IsPurchasable => true;
|
||||
public override PriceTier PriceTier => PriceTier.Medium;
|
||||
public override ShoppingTags ShoppingTags => ShoppingTags.Cooking | ShoppingTags.Misc;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using Kitchen;
|
||||
using KitchenData;
|
||||
using KitchenLib.Customs;
|
||||
|
||||
namespace Easter2025.Customs.Generics
|
||||
{
|
||||
public abstract class GenericSceneAppliance : CustomAppliance
|
||||
{
|
||||
public override List<IApplianceProperty> Properties => new List<IApplianceProperty>
|
||||
{
|
||||
new CImmovable(),
|
||||
new CStatic()
|
||||
};
|
||||
|
||||
public override bool IsNonInteractive => true;
|
||||
public override bool IsPurchasable => false;
|
||||
public override bool PreventSale => false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using KitchenData;
|
||||
using KitchenLib.Customs;
|
||||
|
||||
namespace Easter2025.Customs.Generics
|
||||
{
|
||||
public abstract class GenericStackableItem : CustomItem
|
||||
{
|
||||
public override ItemStorage ItemStorageFlags => ItemStorage.StackableFood;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using KitchenData;
|
||||
using KitchenLib.Customs;
|
||||
|
||||
namespace Easter2025.Customs.Generics
|
||||
{
|
||||
public abstract class GenericStackableItemGroup : CustomItemGroup
|
||||
{
|
||||
public override ItemStorage ItemStorageFlags => ItemStorage.StackableFood;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user