Logo
Explore Help
Sign In
juni/crystall-punk-14
1
0
Fork 0
You've already forked crystall-punk-14
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
eaad5cb16df448e10ae06cf0f0c9e623b0ea751e
crystall-punk-14/Content.Server/AI/Utility/BehaviorSets/HungerBehaviorSet.cs

19 lines
495 B
C#
Raw Normal View History

Add utility AI (#806) Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-06-18 22:52:44 +10:00
using Content.Server.AI.Utility.Actions;
using Content.Server.AI.Utility.ExpandableActions.Nutrition;
Massive Namespace Cleanup (#3120) * Engine namespace changes. * Automated remove redundant using statements. * Simplified Graphics namespace. * Apparently the container system stores full type names in the map file.😞 This updates those names. * API Changes to LocalizationManager.LoadCulture. * Update submodule to v0.3.2
2021-02-11 01:13:03 -08:00
using Robust.Shared.GameObjects;
Add utility AI (#806) Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com> Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-06-18 22:52:44 +10:00
namespace Content.Server.AI.Utility.BehaviorSets
{
public sealed class HungerBehaviorSet : BehaviorSet
{
public HungerBehaviorSet(IEntity owner) : base(owner)
{
Actions = new IAiUtility[]
{
new PickUpNearbyFoodExp(),
new UseFoodInInventoryExp(),
};
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 50ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API