minor bugfix and pad support
This commit is contained in:
parent
ce671e7124
commit
6e87be3c77
21 changed files with 574 additions and 85 deletions
|
|
@ -201,10 +201,21 @@ namespace RacesOfValheim
|
|||
}
|
||||
sb.AppendLine($"Troops: {roster}They follow when you ask, walk home when you let them go, and mend themselves.\n");
|
||||
|
||||
string haulers = state >= SvermConfig.HaulerUnlockState
|
||||
? $", and up to {SvermConfigManagement.Haulers} haulers come out of the nest to carry food back into it"
|
||||
: ", and the haulers who carry food back into it will not hatch until Bonemass falls";
|
||||
sb.AppendLine($"Seeker Workers: free, and always free - no biomass, no egg, and a new one when an old one dies. Two trades that never share hands: up to {SvermConfigManagement.Farmers} farmers come out of the infected beehives to work the ground{haulers}. They are half a Seeker in size, in health and in reach, they take no orders and they never follow - they stay where they were born and defend what stands there.\n");
|
||||
string workers = state >= SvermConfig.HaulerUnlockState
|
||||
? $"up to {SvermConfigManagement.Haulers} come out of the nest"
|
||||
: "none will come out of the nest until Bonemass falls";
|
||||
|
||||
// The sigil by its in-game name, so the page says what the player actually has to put
|
||||
// in the chest rather than a prefab name.
|
||||
string sigil = ButlerConfig.SigilItem.Value;
|
||||
UnityEngine.GameObject sigilPrefab = ObjectDB.instance != null ? ObjectDB.instance.GetItemPrefab(sigil) : null;
|
||||
ItemDrop sigilDrop = sigilPrefab != null ? sigilPrefab.GetComponent<ItemDrop>() : null;
|
||||
if (sigilDrop != null && sigilDrop.m_itemData?.m_shared != null && Localization.instance != null)
|
||||
{
|
||||
sigil = Localization.instance.Localize(sigilDrop.m_itemData.m_shared.m_name);
|
||||
}
|
||||
|
||||
sb.AppendLine($"Seeker Workers: free, and always free - no biomass, no egg, and a new one when an old one dies; {workers}. While they live the nest feeds itself from the chests at its foot, and they keep the forge the way a Bone Smith does: put {sigil} in a chest within {ButlerConfig.WorkRadius.Value:0} meters of the nest's edge and they carry ore and fuel from it to the smelters, kilns and mills around, then bring what comes out back to that chest. They are half a Seeker in size, in health and in bite, they take no orders and they never follow - they fight what comes near, mend what you built, and go back to work.\n");
|
||||
|
||||
sb.AppendLine($"Blister Tick {SvermConfig.TickPrice:0}: buys a slot forever. It runs at what you are fighting and bursts, and the nest grows another one {SvermConfig.TickRespawnSeconds:0} seconds later, free.\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue