RepairBoxModule
A static class in Root.Township, Alta.Console.Commands.
Console module repair-box: spawns a repair box at a player that takes up to three item inputs and produces a chosen prefab. Server and play mode only; on simple servers needs debug_features.
- Listed in Console, logging and analytics
- Attributes
ServerOnly,PlayOnly,Module,NonSimpleServer
Methods
| Member | What it is |
|---|---|
static IEnumerable<HashedItemInfo> ListItems() | repair-box list-items: lists items whose prefab can be spawned by command. |
static NetworkEntityInfo SpawnBox(Player player, Item item1, uint count1, NetworkPrefab output) | Spawns a repair box (prefab hash 3458) at the player, sets its input items and counts and its output prefab, and returns the entity. Output spawns 5 units forward unless given. |
static NetworkEntityInfo SpawnBox(Player player, Item item1, uint count1, Item item2, uint count2, NetworkPrefab output) | Spawns a repair box (prefab hash 3458) at the player, sets its input items and counts and its output prefab, and returns the entity. Output spawns 5 units forward unless given. |
static NetworkEntityInfo SpawnBox(Player player, Item item1, uint count1, Item item2, uint count2, Item item3, uint count3, NetworkPrefab output) | Spawns a repair box (prefab hash 3458) at the player, sets its input items and counts and its output prefab, and returns the entity. Output spawns 5 units forward unless given. |
static NetworkEntityInfo SpawnBox(Player player, Item item1, uint count1, Item item2, uint count2, Item item3, uint count3, NetworkPrefab output, Vector3 localSpawnPosition) | Spawns a repair box (prefab hash 3458) at the player, sets its input items and counts and its output prefab, and returns the entity. Output spawns 5 units forward unless given. |