Initial Commit

This commit is contained in:
Lachlan Leone
2024-01-20 20:00:35 +11:00
commit d78ae93c97
70 changed files with 3212 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
using System.Collections.Generic;
using KitchenLib.Utils;
using Pets.Components.Properties;
using Pets.Customs.Types;
using Pets.Enums;
using Pets.Interfaces;
using Unity.Collections;
using UnityEngine;
namespace Pets.Customs
{
public class Elephant : CustomPet
{
public override string UniqueNameID => "Elephant";
public override GameObject Prefab => Mod.Bundle.LoadAsset<GameObject>("Elephant").AssignMaterialsByNames();
public override GameObject IconPrefab => Mod.Bundle.LoadAsset<GameObject>("ElephantIcon").AssignMaterialsByNames();
public override PetState DefaultState => PetState.Follow;
public override List<IPetProperty> Properties { get; protected set; } = new List<IPetProperty>()
{
new CActivities
{
Activities = new FixedListInt64
{
(int)PetState.Follow,
(int)PetState.Eat
}
},
new CRoamNearOwner(),
new CStandBackFromFood
{
Distance = 0.75f
}
};
}
}