Rejunevate now satiates hunger and thirst plus code quality (#456)
* Change Rejunevate to satiate hunger and thirst whenever applicable * More progress * One more before rebase * Shit * Bop obsolete using * Verb will not show on non-applicable objects
This commit is contained in:
committed by
Pieter-Jan Briers
parent
421847e9d3
commit
17b31c417b
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Content.Server.GameObjects.Components.Mobs;
|
||||
using Content.Server.GameObjects.Components.Movement;
|
||||
@@ -164,6 +164,11 @@ namespace Content.Server.GameObjects.Components.Nutrition
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public void ResetFood()
|
||||
{
|
||||
_currentHunger = HungerThresholds[HungerThreshold.Okay];
|
||||
}
|
||||
}
|
||||
|
||||
public enum HungerThreshold
|
||||
|
||||
Reference in New Issue
Block a user