debug: F8 dumps the build ghost and the placement ray (temporary)

This commit is contained in:
kanym 2026-10-17 16:11:16 +02:00
commit edc7fd33b7
2 changed files with 72 additions and 0 deletions

View file

@ -69,6 +69,8 @@ namespace RacesOfValheim
// Not a race: a perk two races share (Skadi and Trol build inside troll caves), so it
// gets its own component rather than living inside either one's Update.
gameObject.AddComponent<RaceCaveBuilding>();
// TEMPORARY DEBUG: F8 dumps the build ghost (Trol War Totem ghost investigation).
gameObject.AddComponent<PlacementGhostDebug>();
PrefabManager.OnVanillaPrefabsAvailable += CreateAllModAssets;
CommandManager.Instance.AddConsoleCommand(new ResetRaceCommand());
CommandManager.Instance.AddConsoleCommand(new CheckProgressionCommand());