The totem borrowed its look from the GoblinTotem item, whose root holds a ParticleSystem while the mesh sits in its attach child. Player.SetupPlacementGhost switches off every GameObject with a ParticleSystem, so it took the root and the mesh with it: the F8 dump showed TotemModel/model/attach/model active=False on the ghost. The Yagluth head (TrophyGoblinKing) is built the same way. Both now borrow the item's attach child, which is the mesh itself. ModelBorrow switches the copy on, since an item's attach is stored inactive in its prefab. |
||
|---|---|---|
| .. | ||
| TMPDebug.cs | ||
| TrolClearFoodPatch.cs | ||
| TrolConfig.cs | ||
| TrolDamagePatches.cs | ||
| TrolExtraFoodUI.cs | ||
| TrolFarmingPatches.cs | ||
| TrolFoodManager.cs | ||
| TrolFoodPatches.cs | ||
| TrolGammelLog.cs | ||
| TrolLogWeapon.cs | ||
| TrolPatches.cs | ||
| TrolRace.cs | ||
| TrolRegenPatches.cs | ||
| TrolSkillPatches.cs | ||
| TrolStatusEffects.cs | ||
| TrolTotem.cs | ||
| TrolTotemBehaviour.cs | ||
| TrolTotemStore.cs | ||
| TrolTrueFormBehavior.cs | ||
| TrolTrueFormModel.cs | ||