2022-09-06 00:28:23 +10:00
|
|
|
namespace Content.Server.NPC.HTN;
|
|
|
|
|
|
2023-08-02 10:48:56 +10:00
|
|
|
[ImplicitDataDefinitionForInheritors]
|
2023-08-22 18:14:33 -07:00
|
|
|
public abstract partial class HTNTask
|
2022-09-06 00:28:23 +10:00
|
|
|
{
|
2024-07-30 05:18:53 +03:00
|
|
|
/// <summary>
|
|
|
|
|
/// Limit the amount of tasks the planner considers. Exceeding this value sleeps the NPC and throws an exception.
|
|
|
|
|
/// The expected way to hit this limit is with badly written recursive tasks.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public int MaximumTasks = 1000;
|
2022-09-06 00:28:23 +10:00
|
|
|
}
|