warvulture
This commit is contained in:
parent
1d66b00374
commit
1c4b20bb06
13 changed files with 1671 additions and 142 deletions
|
|
@ -90,6 +90,13 @@ namespace RacesOfValheim
|
|||
CreateFoodItems();
|
||||
AswidBloodRefinery.Register();
|
||||
|
||||
// Registered HERE and not lazily from the maintain tick: this method runs on
|
||||
// PrefabManager.OnVanillaPrefabsAvailable, which is the one moment Jotunn will take a
|
||||
// new item into ObjectDB. Registered later, the prefab is built and logged and looks
|
||||
// entirely healthy - and then nobody can spawn it, which is exactly how the first
|
||||
// version of the claws failed: two empty hands and a log full of success.
|
||||
AswidClaws.Instance.EnsureRegistered();
|
||||
|
||||
GameObject geirrhafa = Jotunn.Managers.PrefabManager.Cache.GetPrefab<GameObject>("Fenring_Cultist_Hildir");
|
||||
if (geirrhafa != null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue