(307219669) Add some automatic orders.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:08:02 +03:00
parent b51fd32b88
commit 4797f6b0d3
14 changed files with 146 additions and 29 deletions
@@ -315,6 +315,19 @@ namespace Barotrauma.Items.Components
return true;
}
public override void OnItemLoaded()
{
sonar = item.GetComponent<Sonar>();
}
public override bool Select(Character character)
{
if (!CanBeSelected) return false;
user = character;
return true;
}
public override void Update(float deltaTime, Camera cam)
{
networkUpdateTimer -= deltaTime;