make mice not eat uranium bananium and pills (#17110)
Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
12
Content.Server/Nutrition/Components/BadFoodComponent.cs
Normal file
12
Content.Server/Nutrition/Components/BadFoodComponent.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Content.Server.Nutrition.EntitySystems;
|
||||
|
||||
namespace Content.Server.Nutrition.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This component prevents NPC mobs like mice from wanting to eat something that is edible but is not exactly food.
|
||||
/// Including but not limited to: uranium, death pills, insulation
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(FoodSystem))]
|
||||
public sealed class BadFoodComponent : Component
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Content.Server.Nutrition.EntitySystems;
|
||||
|
||||
namespace Content.Server.Nutrition.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This component allows NPC mobs to eat food with BadFoodComponent.
|
||||
/// See MobMouseAdmeme for usage.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(FoodSystem))]
|
||||
public sealed class IgnoreBadFoodComponent : Component
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user