WackyCommandModule
A static class in Root.Township, Alta.Console.Commands.
Console module wacky: odd fix-up and debug commands the code itself calls "not necessarily safe/functional", such as replacing broken entities, mass destroys and cleaning offline player saves. Play mode only.
- Listed in Console, logging and analytics
- Nested types
ChunkData,ChunkLootData,LootData - Attributes
PlayOnly,Module
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
static async Task<string> OWLoot() | Server: wacky ow-loot force-loads a hardcoded list of overworld chunks and adds loot modules back to chests found at hardcoded positions. |
13 private and internal methods
| Member | What it is |
|---|---|
private static void ChiselDeck() | Server: wacky chisel-deck respawns the chiselling deck from its prefab and destroys the old one. |
private static async Task CleanPlayerBody(UserInfoAccess player) | Server: wacky cleanplayerbody clears the cosmetic and state data in an offline player's save. |
private static async Task CleanPlayerState(UserInfoAccess player) | Server: wacky cleanplayerstate clears the state data in an offline player's save. |
private static void Destroy(uint id) | Server: wacky destroy destroys an entity by ID if it is an unparented prefab root. |
private static void DestroyAll(NetworkPrefab prefab) | Server: wacky destroyall destroys every instance of a prefab in the scene. |
private static void DestroyBase(NetworkPrefab prefab, Chunk[] chunks = null) | Server: wacky destroy-free destroys instances of a prefab with no chunking parent, in all loaded objects or only the given chunks. |
private static void InputScale(float scale) | Client: wacky inputscale sets the local player's InputScaler scale. |
private static void Replace() | Server: wacky replace (by ID) or wacky replace-selected respawns an entity from its prefab at the same spot and destroys the old one. |
private static void Replace(uint id) | Server: wacky replace (by ID) or wacky replace-selected respawns an entity from its prefab at the same spot and destroys the old one. |
private static void ReplaceEntity(NetworkEntity entity) | Respawns a prefab root entity fresh (without generating) at its position and rotation, then destroys the original. |
private static void Setvolume(float local, float remote) | Client: wacky setvolume sets local and remote volume through ScaledLerpFollow.SetVolume. |
private static void Smelter() | Server: wacky smelter respawns the smelter in place under the mould rack's restrictor, undocks its contents and destroys the old one. |
private static void UnveilMap(Player player) | Server: wacky marcopolo discovers every piece of every map for a player. |