warvulture
This commit is contained in:
parent
3095198539
commit
1d66b00374
29 changed files with 7236 additions and 4 deletions
|
|
@ -93,6 +93,38 @@ namespace RacesOfValheim
|
|||
__result = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Sverm Race Logic - Hive Pheromones. No progression gate at all, unlike
|
||||
// Aswid's escalating list: an invertebrate is kin from the first minute.
|
||||
//
|
||||
// That absence of a gate is doing real work rather than saving a few lines.
|
||||
// Every invertebrate in the game lives from the Swamp onward, so a gated
|
||||
// version would have handed the race nothing until Bonemass; ungated, a
|
||||
// newborn Sverm walks through leeches and deathsquitoes, which is the whole
|
||||
// of its early game.
|
||||
//
|
||||
// Bonemass is deliberately NOT here. It is a mass of ooze and it would
|
||||
// qualify, but a boss that ignores the player is not a boss.
|
||||
if (p.m_customData.ContainsKey("Race") && p.m_customData["Race"] == SvermConfig.RaceId)
|
||||
{
|
||||
string prefabName = monster.gameObject.name.ToLower();
|
||||
|
||||
// "blob" covers Blob, BlobElite, BlobTar and the Ashlands lava blob
|
||||
// whatever it turns out to be called - which is why the one prefab name
|
||||
// still unconfirmed in the design doc costs nothing here.
|
||||
// "seeker" covers Seeker, SeekerBrood, SeekerBrute and SeekerQueen.
|
||||
bool isKin = prefabName.Contains("blob")
|
||||
|| prefabName.Contains("leech")
|
||||
|| prefabName.Contains("tick")
|
||||
|| prefabName.Contains("deathsquito")
|
||||
|| prefabName.Contains("gjall")
|
||||
|| prefabName.Contains("seeker");
|
||||
|
||||
if (isKin && !prefabName.Contains("bonemass"))
|
||||
{
|
||||
__result = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue