Massive Item Behavior Refactoring
Item behaviors are now separated into more granular units, allowing designers to create more interesting items by combining behaviors
This commit is contained in:
parent
fc94531566
commit
8cd4ea3dc5
40 changed files with 822 additions and 445 deletions
|
|
@ -16,7 +16,8 @@ public class TowingControllerData : ControllerData
|
|||
}
|
||||
}
|
||||
|
||||
public class TowingController : IBehavior, IPersistentBehavior, IController
|
||||
[UpdateOrder(-100)]
|
||||
public class TowingController : IBehavior, IPersistentBehavior, IController, IInitializableBehavior
|
||||
{
|
||||
public TaskType TaskType => TaskType.Tow;
|
||||
public bool Available => _towingTask != Guid.Empty;
|
||||
|
|
@ -149,10 +150,6 @@ public class TowingController : IBehavior, IPersistentBehavior, IController
|
|||
{
|
||||
_locomotion.Objective = _context.WormholePosition(_entity.Zone, _path[0].ZoneID);
|
||||
}
|
||||
|
||||
public void Remove()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class TowingControllerPersistence : PersistentBehaviorData
|
||||
|
|
|
|||
Loading…
Reference in a new issue