Initial Commit
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
using CustomSettingsAndLayouts;
|
||||
using System.Collections.Generic;
|
||||
using Easter2025.Customs.RestaurantSettings.Decorators;
|
||||
using Easter2025.Utilies;
|
||||
using Kitchen;
|
||||
using KitchenData;
|
||||
using KitchenLib.Customs;
|
||||
using KitchenLib.References;
|
||||
using KitchenLib.Utils;
|
||||
using TwitchLib.Api.Helix.Models.Entitlements.GetDropsEntitlements;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Easter2025.Customs.RestaurantSettings
|
||||
{
|
||||
public class Easter2025Setting : CustomRestaurantSetting
|
||||
{
|
||||
public override string UniqueNameID => "Easter2025Setting";
|
||||
public override WeatherMode WeatherMode => WeatherMode.None;
|
||||
|
||||
public override List<IDecorationConfiguration> Decorators => new List<IDecorationConfiguration>
|
||||
{
|
||||
new EasterDecorator.DecorationsConfiguration
|
||||
{
|
||||
Cobblestone = GDOReferences.EggCobblestone,
|
||||
Ground = GDOReferences.EasterGround,
|
||||
BorderSpacing = 1,
|
||||
Scatters = new List<EasterDecorator.DecorationsConfiguration.Scatter>
|
||||
{
|
||||
new()
|
||||
{
|
||||
Appliance = GDOReferences.EasterTree,
|
||||
Probability = 0.05f
|
||||
},
|
||||
new()
|
||||
{
|
||||
Appliance = GDOReferences.EggPile,
|
||||
Probability = 0.05f
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
public override UnlockPack UnlockPack { get; protected set; }
|
||||
|
||||
public override Unlock StartingUnlock => GDOReferences.DishPlasticEggs;
|
||||
public override GameObject Prefab => Mod.Bundle.LoadAsset<GameObject>("EasterSettingSnowglobe").AssignMaterialsByNames();
|
||||
public override bool AlwaysLight => true;
|
||||
|
||||
public override List<(Locale, BasicInfo)> InfoList => CenteralLang.RestaurantSettings.Easter2025Setting;
|
||||
|
||||
|
||||
public override void OnRegister(RestaurantSetting gameDataObject)
|
||||
{
|
||||
base.OnRegister(gameDataObject);
|
||||
Registry.GrantCustomSetting(gameDataObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user