minor bugfix and pad support
This commit is contained in:
parent
ce671e7124
commit
6e87be3c77
21 changed files with 574 additions and 85 deletions
|
|
@ -444,15 +444,12 @@ namespace RacesOfValheim
|
|||
public static readonly float WorkerHealthFraction = 0.5f;
|
||||
public static readonly float WorkerDamageFraction = 0.5f;
|
||||
|
||||
/// <summary>One out of every infected beehive on this timer, until the pool is full.</summary>
|
||||
/// <summary>One out of the nest on this timer, until the pool is full.</summary>
|
||||
public static readonly float WorkerSpawnInterval = 120f;
|
||||
|
||||
/// <summary>Haulers only start after Bonemass.</summary>
|
||||
public const int HaulerUnlockState = 4;
|
||||
|
||||
/// <summary>Ten metres. Also the radius it keeps in repair.</summary>
|
||||
public static readonly float WorkerLeashRange = 10f;
|
||||
|
||||
/// <summary>How far a worker reaches to mend, and how often it mends one thing.</summary>
|
||||
public static readonly float WorkerRepairRange = 10f;
|
||||
public static readonly float WorkerRepairInterval = 5f;
|
||||
|
|
@ -509,6 +506,18 @@ namespace RacesOfValheim
|
|||
/// <summary>How far a troop wanders from the nest when nobody is leading it.</summary>
|
||||
public static readonly float TroopLeashRange = 12f;
|
||||
|
||||
/// <summary>
|
||||
/// How far from home a troop will fight: the leash on the TARGET, not on the walk.
|
||||
///
|
||||
/// Set on the prefab as both m_alertRange and m_maxChaseDistance, and it has to be. Vanilla
|
||||
/// drops a tame creature's target once the target is further than m_alertRange from its
|
||||
/// patrol point (the nest, pinned by RaisedThrall) - read off MonsterAI.UpdateTarget - and the
|
||||
/// troops used to inherit whatever the Seeker, Gjall and Tick prefabs carry, which is 9999 in
|
||||
/// code. They hunted anything they could see. While a troop FOLLOWS, the patrol point is off
|
||||
/// and the same range is measured from the player instead.
|
||||
/// </summary>
|
||||
public static readonly float TroopAlertRange = 25f;
|
||||
|
||||
/// <summary>How long a troop outlives the nest that hatched it, in seconds.</summary>
|
||||
public static readonly float TroopWitherSeconds = 60f;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue