Crafting and making
Types in Alta.Crafting, Alta.Blacksmithing, Alta.Carpentry, Alta.Cooking, Alta.Woodcutting and nearby namespaces. 252 types, 75 with a hand-written page.
See the overview for what the columns mean and how this list is made.
Alta.Blacksmithing
Alta.Carpentry
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
BuilderDock | class | NetworkEntityBehaviour, IBuildRendererBakeable, IBuildBakeable | 8 | Farming, woodcutting and carpentry |
BuilderDock.BoolDelegate | delegate | 0 | Callback for BuilderDock.ActiveChanged, passed the dock's new IsActive value. | |
Chiselable | class | MonoBehaviour, IChiselable | 7 | Farming, woodcutting and carpentry |
ChiselableEvent | class | AltaEvent<Chiselable, float, Vector3, Vector3, ChiselableUnityEvent> | 0 | Serializable Alta event carrying a Chiselable, a float and two Vector3 values (probably amount, point and direction), backed by ChiselableUnityEvent. |
ChiselableUnityEvent | class | UnityEvent<Chiselable, float, Vector3, Vector3> | 0 | Unity event type with a Chiselable, a float and two Vector3 arguments, used by ChiselableEvent in the inspector. |
ChiselBlockSize | enum | 4 | Size of a timber block, or the size a chisel cuts: Empty, Small, Medium or Large. | |
ChiselDefinition | class | SimpleHashedGeneralValue<ChiselDefinition>, IPageBasis | 11 | Farming, woodcutting and carpentry: SimpleHashedGeneralValue<ChiselDefinition> under Carpentry/Chisel Definitions: a recipe page for chiselling. |
ChiselDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Carpentry.ScriptableObject<ChiselDefinition> | 0 | Editor menu entry for creating a ChiselDefinition asset. |
ChiselHit | delegate | 0 | Callback for Chiselable.onHit: the damage, hit position and direction, the chisel tool and the collider that was hit. | |
ChiselingFilter | class | MonoBehaviour | 0 | Empty marker component; nothing in the decompiled code references it. |
ChiselingFilterSettings | class | ImpactorFilter | 1 | Impactor filter asset that only lets a hit count when it lands on a ChiselingTool (directly or through attached crafting parts) that is touching a piece, scaled by direction. |
ChiselingTool | class | CraftableImpactDetectorBase | 4 | Farming, woodcutting and carpentry |
ChisellingDeck | class | NetworkEntityBehaviour, ISavableFull<ChisellingDeckSaveData>, ISavable<ChisellingDeckSaveData>, +3 more | 16 | Farming, woodcutting and carpentry: Holds the current TimberBlock (CurrentBlock), the Guide (ChiselDefinition), its size and MaxSize. Resize(ChiselBlockSize) is server only. |
ChisellingDeck.BuilderLevel | class | 2 | Inspector entry on ChisellingDeck that maps a block size to the timber block prefab spawned for it. | |
ChisellingDeckSaveData | class | NewSaveData<ChisellingDeck, ChisellingDeckSaveData> | 7 | Save data for a ChisellingDeck, the carpentry chiselling station. The deck saves its size; its current TimberBlock fills in the rest. |
ChisellingDeckSaveData2 | class | OldSaveData | 7 | Old save data for a ChisellingDeck (version 2); migrates to ChisellingDeckSaveData and drops hasFollowedrecipe. |
DeckClamp | class | MonoBehaviour | 0 | Visual clamp on a chiselling deck that slides along X to the builder, the current block, or its rest position. Both sides, local only. |
IChiselable | interface | 4 | Something a chisel can carve, such as a timber piece. ChiselingTool checks it on hit and sends it the damage. | |
OldChisellingDeckSaveData1 | class | OldSaveData | 6 | Old save data for a ChisellingDeck (version 1); migrates to ChisellingDeckSaveData. |
PieceSaveData | class | 6 | Saved state of one carpentry timber piece: whether it has been hit, how far it is chiselled, and its direction. | |
PrefabSpawnPosition | class | 3 | A prefab and the local position and rotation to spawn it at. Used for the pieces a TimberBlock spawns as its crafted result. | |
RecipePlacer | class | MonoBehaviour, IBuildRendererPostBake, IBuildBakeable | 1 | Farming, woodcutting and carpentry |
TimberBlock | class | NetworkEntityBehaviour | 20 | Farming, woodcutting and carpentry: The block being chiselled, in stages (outer, inner, core). |
TimberBlock.CoreStage | class | Stage | 2 | The last chiselling stage of a TimberBlock. Finishing it releases the crafted result and destroys the block. |
TimberBlock.InnerStage | class | Stage | 1 | The middle chiselling stage of a TimberBlock. Finishing it moves the block on to the core stage. |
TimberBlock.OuterStage | class | Stage | 1 | The first chiselling stage of a TimberBlock. The pieces chiselled off here decide what the block becomes. |
TimberBlock.Stage | abstract class | 13 | One carving stage of a TimberBlock with its own pieces. Subclassed as OuterStage, InnerStage and CoreStage, each moving the block on when all its pieces are done. | |
TimberBlock.StageLevel | enum | 3 | The three carving stages of a timber block in order: outer, inner and core. Finishing one stage starts the next. | |
TimberBlockEvent | delegate | 0 | Callback with a TimberBlock, used for its Done and Modified events and the chiselling deck's block events. | |
TimberBlockSpawner | class | NetworkEntityBehaviour | 10 | Farming, woodcutting and carpentry |
TimberBlockSpawner.ChiselingSizePoint | class | 2 | A stop along the TimberBlockSpawner slider and the largest block size allowed there. Sliding to a smaller stop resizes the deck's block. | |
TimberBlockSpawner.SizedSpawnPoints | struct | 3 | Per block size settings on TimberBlockSpawner: where that size of block spawns and where the builder sits. | |
TimberPiece | class | TimberPieceBase | 13 | Farming, woodcutting and carpentry |
TimberPiece.RotationModel | class | 5 | Works out how a TimberPiece tips over as it is chiselled: the axis it rotates around and how far the pivot edge is from its centre. | |
TimberPieceBase | abstract class | Chiselable | 15 | Base for one chiselable piece of a timber block in carpentry. Starts disabled; a TimberBlock stage enables, saves and syncs its pieces. |
TimberPieceDelegate | delegate | 0 | Callback for a timber piece event. Used for TimberPieceBase.OnChanged and OnDone, which TimberBlock stages hook on the server. | |
TimberPieceGroup | class | TimberPieceBase | 7 | Farming, woodcutting and carpentry |
Alta.Cooking
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
Cookable | class | NetworkEntityBehaviour, ISavable<CookableSaveData>, ISavableSave<CookableSaveData>, +2 more | 21 | Cooking |
CookableCategoryDefinition | class | StewIngredientBase | 3 | Cooking |
CookableCategoryDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Cooking.ScriptableObject<CookableCategoryDefinition> | 0 | Unity editor menu entry (Create, Township, Features, Cooking) for making a new CookableCategoryDefinition asset. |
CookableCollectionDefinition | class | StewIngredientBase | 2 | Cooking |
CookableEvent | class | AltaEvent<Cookable, CookableUnityEvent> | 0 | A serialized event that passes a Cookable, set up in the Inspector. CookingPot uses one for rejected ingredients. |
CookableItem | class | ItemComponent | 3 | Item component for a cooking ingredient: its cooking category, how it looks floating in a liquid and the effects it adds. Read through Cookable and the ingredient recipe pages. |
CookableSaveData | internal class | NewSaveData<Cookable, CookableSaveData> | 2 | Save data for a Cookable (version 1): how far it has cooked and burnt. |
CookableUnityEvent | class | UnityEvent<Cookable> | 0 | Serializable UnityEvent that passes a Cookable, for inspector-wired cooking callbacks. |
CookingGarnish | class | CookableItem | 1 | Cooking |
CookingGarnishComponent | class | NetworkEntityBehaviour, ICookingGarnishMarker | 0 | Cooking |
CookingLiquid | class | NetworkEntityBehaviour | 11 | Cooking: The pot's liquid: its heat point, boiling effects and conversion to stew liquid. |
CookingLiquidVisual | class | LiquidSurfaceVisual | 5 | Liquid surface visual for cooking containers. Moves the surface with fullness, keeps it level, and runs boiling particles and waves from the temperature. |
CookingLiquidVisual.BoilingParticlesStageSetting | struct | 2 | Boiling particle settings for one boil stage of a cooking liquid's surface visual. CookingLiquidVisual keeps an array of them, at least one. | |
CookingLiquidVisualTippingPointController | class | MonoBehaviour | 0 | Component on a cooking liquid visual that sets how far the container can tip before the liquid surface spills, based on how full it is. Visual only. |
CookingLiquidVisualTippingPointController.TippingSettings | class | 3 | Tipping limits for one liquid level of a cooking container. The controller picks the entries either side of the current level and blends them. | |
CookingPoint | class | HeatPoint, IEntityReplaceHandler | 2 | Cooking: The HeatPoint on a cookable. |
CookingPointSettings | class | MonoBehaviour, ICookableSettings | 2 | ICookableSettings component that gives an object its cooking temperatures and whether it can burn. |
CookingPot | class | NetworkEntityBehaviour, ISavableFull<CookingPotSaveData>, ISavable<CookingPotSaveData>, +3 more | 6 | Cooking: Its CookingStage (an enum inside CookingPot) moves through Preparation, WarmingUp, Stewing and StewLocked. Everything below is set up in InitializeAsServer. |
CookingPot.CookingStage | enum | 4 | Where a cooking pot is in making a stew: preparation, warming up, stewing, then locked once the stew is done. | |
CookingPotSaveData | internal class | NewSaveData<CookingPot, CookingPotSaveData> | 1 | Save data for a CookingPot (version 1): its current cooking stage. |
CookingPotVolume | class | MonoBehaviour | 3 | Trigger volume on a cooking pot that tracks which rigidbodies are inside it. CookingPot listens to its events. |
CookingSettings | class | GlobalSettings<CookingSettings> | 18 | Cooking: CookableDecayDuration, MinimumStewingTemperature, DefaultStew, NonRecipeStewPrefab, GlobalStewEffects, MaxNumberOfItemsInStew (the network limit), IsAssumingNoEffectModificationOnMissing and the dissolve effects. |
CookingSettings.Create | class | AltaMenuItemBase.Assets.Create.Global_Settings.ScriptableObject<CookingSettings> | 0 | Unity editor menu entry (Create, Global Settings) for making a new CookingSettings asset. |
CookingStage | class | ItemComponent | 1 | Item component that tags an item with a cooking stage: burnt, cooked, ripe or unripe. |
CookingStage.Stage | enum | 4 | How cooked a food item is: burnt, cooked, ripe or unripe. Held in CookingStage.stage and read by the edible page provider. | |
CookingTemperatureDuration | class | 3 | A temperature and the time food must spend at it, used for the weak, optimal and burning thresholds in CookingTemperatures. | |
CookingTemperatures | class | 4 | Temperature bands and times for cooking food: weak, optimal and burning, plus an instant burn point. | |
FruitNinja | class | NetworkEntityBehaviour | 2 | Cooking: A test spawner (editor Start and Stop buttons) that spawns random itemsToSpawn, faster over time. |
ICookableSettings | internal interface | 2 | Internal settings shared by cookables and cooking points: whether the item can burn and its cooking temperatures. | |
ICookingGarnishMarker | interface | 2 | Marks a garnish that a cooking pot can take in. CookingPot looks for it on items that enter and passes it to the stew; CookingGarnishComponent implements it. | |
IStewIngredient | internal interface | 1 | Internal interface for stew recipe ingredients (StewIngredientBase): checks whether a cookable item counts as this ingredient. | |
LiquidChunkVisuals | class | MonoBehaviour | 2 | Cooking |
LiquidVisualChunkDefinition | class | HashedGeneralValue<LiquidVisualChunkDefinition> | 2 | Cooking |
PotDefinition | class | ScriptableObject | 2 | Cooking |
PotDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Cooking.ScriptableObject<PotDefinition> | 0 | Unity editor menu entry (Create, Township, Features, Cooking) for making a new PotDefinition asset. |
PrimesUtility | static class | 1 | Static table of the first 6542 prime numbers. Nothing else in the server build references it. | |
StewComponent | class | NetworkEntityBehaviour | 14 | Cooking: On a stew entity: tint, effect multipliers, and its own Cookable for the next stage. |
StewContainer | class | LiquidContainer | 0 | A LiquidContainer that holds a reference to its StewComponent. Adds no behaviour of its own in this build. |
StewContentArguments | struct | 5 | What is in a stew, passed to StewRecipe.GetStewEffects to work out the stew's effects. | |
StewIngredientBase | abstract class | ScriptableObject, IStewIngredient | 3 | Base ScriptableObject for a stew recipe ingredient slot, such as a cookable category or collection, that StewRecipe checks given ingredients against. |
StewManager | class | NetworkEntityBehaviour, ISavable<StewManagerSaveData>, ISavableSave<StewManagerSaveData>, +1 more | 12 | Cooking: Next to the pot, saved with it. Holds the stew. |
StewManagerSaveData | internal class | NewSaveData<StewManager, StewManagerSaveData> | 3 | Save data for a StewManager (version 1): the stew's ingredients, garnishes and liquid base. |
StewRecipe | class | HashedGeneralValue<StewRecipe>, IPageBasis, ICraftingIngredientProvider | 12 | Cooking: Assets under Cooking/Stew Recipes. |
Alta.Crafting
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AdditionalOwnedDock | class | PickupDock | 2 | A PickupDock on a crafting part that takes player ownership from the dock its root part sits in. It refuses all docking and interaction while the part has no root. |
ConfirmationCraftingPart | class | CraftingPart, INailable | 3 | Crafting: A part whose join must be confirmed by nailing. |
ConfirmationCraftingPart.ClientSideNailHitSync | struct | 8 | Message a client sends when it hits one of a confirmation crafting part's nails. The server works out the damage and applies the hit. | |
ConnectEvent | delegate | 0 | Delegate for a joint connection between a joint point and the slot it connects to. | |
CraftingChanged | delegate | 0 | Event handler for a crafting part being crafted or decrafted; isLoad is true when it happens while loading. Used by CraftingPart.OnCrafted and OnDecrafted. | |
CraftingOptions | class | 3 | A possible connection between two crafting parts the local player is holding together. It finds free slots that fit the insert, shows glow and guide lines, and requests the craft when the insert part is let go. | |
CraftingPart | class | NetworkEntityBehaviour, IEntityReplaceHandler, IBlockGenericDecrafting | 34 | Crafting: On every part that can join or be joined. Get it with pickup.CraftingPart or GetComponent<CraftingPart>(). |
CraftingPartTracker | class | 4 | Tracks a crafting part inside a GenericAssemblyStation's trigger, with the colliders of it that are inside. | |
CraftingPartType | class | HashedGeneralValue<CraftingPartType> | 0 | Hashed asset naming a kind of crafting part, so parts and recipes can refer to it by type. |
CraftingPartType.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<CraftingPartType> | 0 | Unity editor menu entry (Create, Township, Features, Crafting) for making a new CraftingPartType asset. |
CraftingPieceChiselable | class | Chiselable | 3 | A Chiselable on a generic crafting piece, so chisel hits damage the piece. Only chiselable while the piece can be removed. |
CraftingTester | class | NetworkEntityBehaviour | 1 | Crafting: Dev tool that builds every part combination. |
DecraftingComponent | abstract class | NetworkEntityBehaviour | 5 | Crafting |
DecraftingDeck | class | DecraftingComponent | 2 | Crafting |
DisableLightOnDock | class | MonoBehaviour | 0 | Turns off a platform light on a crafting part when its root pickup is shrunk into a dock that does not allow glowing items, and back on when undocked. |
GenericAssemblyPart | class | MonoBehaviour | 3 | Crafting |
GenericAssemblyStation | class | DecraftingComponent, ISavable<GenericAssemblyStationData>, ISavableSave<GenericAssemblyStationData>, +1 more | 5 | Crafting |
GenericAssemblyStation.AssemblyPosition | enum | 2 | Which way up a part sits on a generic assembly station: Up or Down. | |
GenericAssemblyStationData | class | NewSaveData<GenericAssemblyStation, GenericAssemblyStationData> | 1 | Save data for a GenericAssemblyStation (version 1). |
GenericCraftingComponent | class | NetworkEntityBehaviour, ISerializationCallbackReceiver, IGenericCraftingComponent | 5 | Crafting: A material that can fill a station piece. |
GenericCraftingNail | class | PooledObject | 17 | Crafting |
GenericCraftingPiece | class | PooledObject, INailable | 32 | Crafting |
GenericCraftingPieceDefinition | class | 16 | One ghost piece in a generic crafting recipe: where it sits, its mesh, the item that fills it, its build level and how easily it breaks off. | |
GenericCraftingProject | class | IProject | 6 | The project in progress on a GenericCraftingStation: the recipe's pieces grouped into levels, where each level unlocks once the one before is complete. |
GenericCraftingRecipe | class | SimpleHashedGeneralValue<GenericCraftingRecipe>, IPageBasis, ICraftingIngredientProvider | 11 | Crafting: Get one with GenericCraftingRecipe.All, or by the result with static GenericCraftingRecipe GetRecipe(NetworkPrefab prefab) (the result map is built once, on first use). |
GenericCraftingResult | class | NetworkEntityBehaviour, ISerializationCallbackReceiver, IGenericCraftingComponent, +1 more | 3 | Component on a finished generic-crafting item (one built from pieces on a crafting station). It maps part hashes to their materials, and lets the item be put back on a station to take it apart. Both sides. |
GenericCraftingSettings | class | GlobalSettings<GenericCraftingSettings> | 16 | Global settings for generic crafting (building from ghost pieces and nailing them): piece and nail prefabs, ghost materials and effects. All members are static shortcuts to GenericCraftingSettings.Instance. |
GenericCraftingStation | class | NetworkEntityBehaviour, ISavable<GenericCraftingStationData>, ISavableSave<GenericCraftingStationData>, +1 more | 16 | Crafting: A station in the world. |
GenericCraftingStation.ClientSideNailHitSync | struct | 9 | Message a client sends when it hits a nail on a piece in a generic crafting station's project. The server finds the piece and nail and applies the hit. | |
GenericCraftingStationData | class | NewSaveData<GenericCraftingStation, GenericCraftingStationData> | 2 | Save data for a GenericCraftingStation (version 1): the chosen recipe and the state of its pieces. |
IAffectCrafting | interface | 2 | Something that must be finished before its GenericCraftingComponent can be added to a crafting station, such as a forged model that must be fully forged. | |
IBlockDisassembly | interface | 1 | Lets a component on a crafting part stop the assembly station from taking it apart (for example CraftedDocks). | |
IBlockGenericDecrafting | interface | 1 | Implemented by components that can stop a generic crafting result from being decrafted, such as LiquidContainer (only when empty) and CraftingPart. | |
IGenericCraftingComponent | interface | 3 | Something a generic crafting station accepts when a player drops it in: a recipe result that starts a project, or a component added to one. Implemented by GenericCraftingResult and GenericCraftingComponent. | |
IGetRigidbody | interface | 1 | For components that cache a rigidbody and must refresh it when a crafting part's hierarchy changes. CraftingPart calls it on its children. | |
IJointSlotComponent | interface | 4 | A crafting joint slot or a group of slots, implemented by JointSlot and JointSlotGroup. | |
INailable | interface | 5 | A crafting piece fixed in place by hammering nails, implemented by ConfirmationCraftingPart. Each GenericCraftingNail reports its hits here. | |
IProject | interface | 15 | A recipe in progress on a generic crafting station, built level by level. GenericCraftingProject is the only implementation. | |
IsJointAvailable | delegate | 0 | Event handler on joint points and slot groups. Handlers can set the ref bool to false to mark the joint as unavailable. | |
JointInsert | class | JointPoint | 7 | Crafting |
JointInsertType | class | JointPointType | 0 | Crafting |
JointInsertType.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<JointInsertType> | 0 | Unity editor menu entry (Create, Township, Features, Crafting) for making a new JointInsertType asset. |
JointPoint | abstract class | NetworkEntityBehaviour | 15 | Crafting |
JointPointEvent | class | AltaEvent<JointPoint, JointPointUnityEvent> | 0 | Inspector event that passes a JointPoint. Used for a joint point's connected and disconnected events. |
JointPointType | class | GeneralValue | 0 | Base asset type for joint kinds used in crafting. JointInsertType and JointSlotType derive from it, and JointPoint.GeneralTypes lists them. |
JointPointUnityEvent | class | UnityEvent<JointPoint> | 0 | Serializable UnityEvent that passes a JointPoint. |
JointSlot | class | JointPoint, IJointSlotComponent | 17 | Crafting: On the server, a join also broadcasts an ItemCraftedEvent (part hashes and player) on the game's event bus, for the micro tutorials. |
JointSlotGroup | class | MonoBehaviour, IJointSlotComponent | 5 | Groups several joint slots so only a set number of them (default 1) can be used at once. It counts as used when any child slot is. |
JointSlotType | class | JointPointType | 1 | Crafting |
JointSlotType.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<JointSlotType> | 0 | Unity editor menu entry (Create, Township, Features, Crafting) for making a new JointSlotType asset. |
NailHitquality | enum | 4 | How well a hammer hit landed on a generic-crafting nail: Base, Bad, Good or Done. Picks the nail effect and is sent in NailIdentifier. | |
NailIdentifier | struct | 6 | Identifies one nail on a generic-crafting piece, plus how well it was hit, for sending over the network. | |
NailSettings | class | 17 | Crafting | |
PieceSaveData | class | 4 | Save data for one generic-crafting piece: which piece, whether it's done, its material and how close it is to breaking. | |
PieceStateArgument | struct | 3 | Network argument pairing a crafting piece hash with whether the piece is enabled. | |
SerializedTransform | class | 5 | A saved position, rotation and scale, used for crafting spawn offsets and piece positions. | |
Size | enum | 5 | Size classes for crafting (Ignore, Insignificant, Small, Medium, Large), with values -1, 0, 1, 4 and 10, probably used as weights. No code in the server build reads it. |
Alta.Enchantments
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
DamageMultiplier | class | EnchantmentEffect | 1 | Enchantment effect asset that multiplies the damage of an impact hit. |
DamageMultiplier.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<DamageMultiplier> | 0 | Editor menu entry that creates a DamageMultiplier asset under Township, Features, Crafting. |
DamageMultiplierApplication | class | EnchantmentEffectApplication<DamageMultiplier> | 2 | A DamageMultiplier effect active on one item. When its trigger fires with an ImpactHit, it multiplies the hit's damage (HealthMultiplier). |
DurabilitySaveEnchantment | class | EnchantmentEffect | 1 | Enchantment effect asset that scales how much durability a tool loses on a hit. |
DurabilitySaveEnchantment.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<DurabilitySaveEnchantment> | 0 | Editor menu entry that creates a DurabilitySaveEnchantment asset under Township, Features, Crafting. |
DurabilitySaveEnchantmentApplication | class | EnchantmentEffectApplication<DurabilitySaveEnchantment> | 2 | A DurabilitySaveEnchantment effect active on one item. When its trigger fires with an ImpactHitWithTool, it scales how much durability the tool loses. |
Enchantable | class | NetworkEntityBehaviour, ISavable<EnchantableData>, ISavableSave<EnchantableData>, +1 more | 7 | Other systems: On an item. EnchantmentApplication Add(Enchantment), EnchantmentApplication Get(Enchantment). Adds its initial enchantments on the server at spawn. |
EnchantableData | class | NewSaveData<Enchantable, EnchantableData> | 1 | Save data for an Enchantable (save structure version 1): the enchantments on the item. |
Enchantment | class | HashedGeneralValue<Enchantment> | 1 | An enchantment asset: a list of bindings, each linking triggers to the effects they cause. |
Enchantment.Binding | class | 2 | One rule in an enchantment: a set of triggers tied to the effects they set off. An enchantment holds a list of these in Bindings. | |
Enchantment.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<Enchantment> | 0 | Editor menu entry that creates an Enchantment asset under Township, Features, Crafting. |
EnchantmentApplication | class | 7 | Other systems: An enchantment active on one item. | |
EnchantmentEffect | abstract class | ScriptableObject | 2 | Other systems: What it does: DamageMultiplier (default 1.2x), DurabilitySaveEnchantment (less durability lost). |
EnchantmentEffectApplication<T> | abstract class | IEnchantmentEffectApplication | 6 | Base for an enchantment effect active on one item, holding its EnchantmentEffect settings. Runs when one of its binding's triggers fires and syncs the hit effect to clients. |
EnchantmentTrigger | abstract class | ScriptableObject | 2 | Other systems: When it fires. CreateApplication applies the trigger on the server only. QuickDrawTrigger is one (a fast, effective hit within timeToHit). |
EnchantmentTrigger.EffectType | enum | 3 | Which of a trigger's event sets EnchantmentTrigger.CallEvents fires: charged, executed or cancelled. | |
EnchantmentTriggerApplication<T> | abstract class | IEnchantmentTriggerApplication | 8 | Runtime part of an EnchantmentTrigger on one item: hooks game events when applied and fires Invoked when the trigger condition is met. |
IEnchantmentEffectApplication | interface | 4 | Runtime part of an EnchantmentEffect on one item. Run when the enchantment's trigger fires. | |
IEnchantmentTriggerApplication | interface | 6 | A trigger of an enchantment applied to one enchanted object. It watches for its condition and raises Invoked when it fires. | |
QuickDrawApplication | class | EnchantmentTriggerApplication<QuickDrawTrigger> | 1 | Server-side quick draw trigger on one item: pulling the tool out of a valid dock charges it, and a good enough hit within the time limit fires the enchantment's effects. |
QuickDrawTrigger | class | EnchantmentTrigger | 5 | Enchantment trigger that charges when the item is taken out of a dock and goes off on a good hit within a time limit. |
QuickDrawTrigger.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<QuickDrawTrigger> | 0 | Editor menu entry that creates a QuickDrawTrigger asset under Township, Features, Crafting. |
Alta.Scrapper
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
ApplicationType | enum | 3 | How a scrapper argument applies saved values: one target and value, many targets sharing one value, or many targets with their own values. | |
MeshPlacement | class | NetworkEntityBehaviour, ISavable<MeshPlacementSaveData>, ISavableSave<MeshPlacementSaveData>, +1 more | 3 | Network behaviour that sets a part's mesh, material and local transform from a hashed MeshPlacementData asset, saved with the entity and synced to players when they join. |
MeshPlacementSaveData | internal class | NewSaveData<MeshPlacement, MeshPlacementSaveData> | 1 | Save data (version 1) for MeshPlacement: which placement asset it uses. |
ScrapperArgumentAttribute | class | Attribute | 7 | Marks a scrapper behaviour with the component type and fields it sets, so the scrapper tool can find the behaviour for a given set of changes. Can be used more than once per class. |
Visibility | class | NetworkEntityBehaviour, ISavable<VisibilitySaveData>, ISavableSave<VisibilitySaveData>, +1 more | 3 | Network behaviour that turns a set of mesh renderers on or off from a hashed VisibilityData asset, saved with the entity and synced to players when they join. |
VisibilitySaveData | class | NewSaveData<Visibility, VisibilitySaveData> | 1 | Save data (version 1) for Visibility: which visibility asset it uses. |
Alta.Scrapper.Data
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
MeshPlacementData | class | HashedGeneralValue<MeshPlacementData> | 7 | A saved mesh placement for the Scrapper tool: local transform, mesh and material, with optional texture atlas baking. Build-time data. |
MeshPlacementData.Create | class | AltaMenuItemBase.Assets.Create.Township.Utility.Scrapper.ScriptableObject<MeshPlacementData> | 0 | Editor menu entry for creating a MeshPlacementData asset. |
VisibilityData | class | HashedGeneralValue<VisibilityData> | 2 | A hashed scrapper asset holding one on or off value for mesh renderers. A Visibility component applies it and syncs it by hash. |
VisibilityData.Create | class | AltaMenuItemBase.Assets.Create.Township.Utility.Scrapper.ScriptableObject<VisibilityData> | 0 | Editor menu entry for creating a VisibilityData asset. |
Alta.Trading
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
TaxManager | class | NetworkEntityBehaviour, ISavable<TaxSaveData>, ISavableSave<TaxSaveData>, +1 more | 9 | Trading |
TaxSaveData | class | NewSaveData<TaxManager, TaxSaveData> | 2 | Save data for a TaxManager: whether taxing is running and the time saved for its repeating tax entry. |
TaxSaveData1 | class | OldSaveData | 3 | Old version 1 save data for a TaxManager, with the time in float seconds. Migrates to TaxSaveData. |
TradeConfiguration | class | NetworkEntityBehaviour | 2 | Holds references to a trade vendor's price buttons. In this build it does nothing with them. |
TradeStateManager | class | NetworkEntityBehaviour | 3 | Syncs a trade vendor's status (unoccupied, out of stock, open for sale) to clients and fires an event per status for visuals. The server reads the status from the TradeVendor. |
TradeStatus | enum | 3 | State of a trade vendor: unoccupied (no owner), out of stock, or open for sale. | |
TradeVendor | class | NetworkEntityBehaviour, ISavableFull<TradeVendorSaveData>, ISavable<TradeVendorSaveData>, +4 more | 12 | Trading, Performance: Subscribes to ServerHandler.PlayerJoined and never unsubscribes. A destroyed vendor throws when its owner joins, which stops the handlers after it. |
TradeVendor.StatusChangedHandler | delegate | 0 | Handler for TradeVendor.StatusChanged, called with the vendor's new trade status. | |
TradeVendorSaveData | class | NewSaveData<TradeVendor, TradeVendorSaveData> | 1 | Save data for a TradeVendor (version 2): just the vendor's owner. |
TradeVendorSaveDataOld | class | OldSaveData | 3 | Old version 1 save data for a TradeVendor. Migrates to TradeVendorSaveData, keeping only the owner. |
TradingLogger | static class | 3 | Logging for the trade deck. Sales are raised as the TradeDeckUsed console event. | |
TradingLogger.TradeDeckSale | class | 6 | Console events |
Alta.Woodcutting
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AttachmentEvent | class | AltaEvent<TreeAttachment, UnityAttachmentEvent> | 0 | Serializable event with a TreeAttachment argument, used for a tree attachment's broken event. |
OffsetEvent | class | 2 | Debounced call on a Timeline: runs an action once Offset hasn't been called for a minimum delay. Made with Timeline.CreateOffset. | |
OffsetEventHelper | static class | 1 | Extension method for making an OffsetEvent on a Timeline. | |
PresetTree | class | HashedGeneralValue<PresetTree>, ISerializationCallbackReceiver | 7 | Farming, woodcutting and carpentry |
PresetTree.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<PresetTree> | 0 | Editor menu entry that creates a PresetTree asset under Assets/Create/Township/Features/Woodcutting. |
PresetTree.Step | class | 6 | One piece of a saved preset tree: which tree model to spawn, its rotation, its attachments and which steps hang off its connections. Steps are stored flat in PresetTree with index links. | |
PresetTree.Step.Attachment | class | 4 | A tree attachment saved in a preset step: its prefab hash and its local position, rotation and uniform scale on the piece. | |
TreeAttachment | class | NetworkEntityBehaviour, IBuildRendererBakeable, IBuildBakeable | 12 | Something attached to a tree's node, such as leaves, that can break off. Attached by WoodcutTree; breaking is synced from the server. |
TreeBuilder | class | MonoBehaviour | 2 | Farming, woodcutting and carpentry |
TreeDecay | class | BasicDecay | 1 | Farming, woodcutting and carpentry: A BasicDecay on a tree: once a felled tree has come loose from its spawner (no chunking parent), it decays, but not while it's kinematic or within 120 seconds of its last hit. |
TreeEvent | class | UnityEvent<WoodcutTree> | 0 | Serializable Unity event that passes a WoodcutTree. |
TreeSize | class | PopupScriptableObject | 1 | Farming, woodcutting and carpentry |
TreeSize.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<TreeSize> | 0 | Editor menu entry that creates a TreeSize asset under Assets/Create/Township/Features/Woodcutting. |
TreeSpawner | class | NetworkEntityBehaviour, ISavable<TreeSpawnerSaveData>, ISavableSave<TreeSpawnerSaveData>, +1 more | 3 | Farming, woodcutting and carpentry: A spot in the world that grows a tree. |
TreeSpawnerSaveData | class | NewSaveData<TreeSpawner, TreeSpawnerSaveData> | 1 | Current save data (version 2) for a TreeSpawner. |
TreeSpawnerSaveData1 | class | OldSaveData | 2 | Old version 1 save data for a TreeSpawner, migrated to TreeSpawnerSaveData on load. |
TreeSpecies | class | HashedGeneralValue<TreeSpecies> | 16 | Farming, woodcutting and carpentry: Species asset: physical material, hit effects, Wedge and Stick drop distributions, damage and break multipliers, DropVelocity, leaf materials. |
TreeSpecies.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<TreeSpecies> | 0 | Editor menu entry that creates a TreeSpecies asset under Assets/Create/Township/Features/Woodcutting. |
UnityAttachmentEvent | class | UnityEvent<TreeAttachment> | 0 | Serializable Unity event that passes a TreeAttachment. |
UnityWoodcutTreeModelEvent | class | UnityEvent<WoodcutTreeModel> | 0 | Serializable Unity event that passes a WoodcutTreeModel. |
WoodcutConnection | class | MonoBehaviour | 7 | Marks a joint between two pieces of a choppable tree model: which connection type it is and which woodcut points break it. Sits on a networked tree piece. |
WoodcutConnectionType | class | ScriptableObject | 7 | Asset describing how one piece of a choppable tree joins its parent: how it can be rotated, how many cut points it has and how much damage breaks it. |
WoodcutConnectionType.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<WoodcutConnectionType> | 0 | Editor menu entry that creates a WoodcutConnectionType asset under Assets/Create/Township/Features/Woodcutting. |
WoodcutSettings | class | GlobalSettings<WoodcutSettings> | 1 | Global settings asset for woodcutting, read through WoodcutSettings.Instance. Holds the tree network prefab. |
WoodcutTree | class | NetworkEntityBehaviour, ISavable<WoodcutTreeSaveData>, ISavableSave<WoodcutTreeSaveData>, +1 more | 19 | Farming, woodcutting and carpentry: The tree: a tree of MapNodes (Root), each with a WoodcutTreeModel segment. HealthObject, Rigidbody, TotalSize, Species. Raises Cut. |
WoodcutTree.MapNode | class | 14 | One segment in a WoodcutTree's layout: its model, the connection it hangs from, its children and attachments. Mass and size changes add up into the parent nodes. | |
WoodcutTreeAttachmentBaker | class | WoodcutTreeBakerAccess<TreeAttachment> | 9 | Baker access for tree attachments (leaves and similar): gives the baking code each attachment's meshes, transform and leaf materials. Use the shared Instance. |
WoodcutTreeBaker | class | NetworkEntityBehaviour | 4 | Client component on a woodcut tree that combines its damaged trunk pieces and attachments into baked meshes in the distance LOD group, and updates the baked vertex colours as pieces are chopped. Does nothing on headless servers. |
WoodcutTreeBakerAccess<T> | abstract class | 8 | Adapter the woodcutting tree baker uses to read meshes, materials and LODs from some source type T. Build-time tooling. | |
WoodcutTreeBakingHandler | class | 5 | Static helpers that merge tree node meshes into combined LOD meshes and patch vertex colours in a baked mesh. Used by WoodcutTreeBaker. | |
WoodcutTreeDamagedNodeBaker | class | WoodcutTreeNodeBaker | 6 | Node baker for chopped trunk pieces: one LOD, copies vertex colours, and uses the species' physical material channel A. Use the shared Instance. |
WoodcutTreeEvent | class | AltaEvent<WoodcutTree, TreeEvent> | 0 | Serializable AltaEvent raised with a WoodcutTree, used for a tree's cut and onThump events. |
WoodcutTreeModel | class | NetworkEntityBehaviour | 21 | Farming, woodcutting and carpentry: Takes hits on its WoodcutPoints; when chopped through (PieceChopped, server) it spawns the species' wedge or stick drops at its drop locations and destroys itself. |
WoodcutTreeModelChopped | delegate | 0 | Handler for WoodcutTreeModel.Chopped, called with the tree model that was chopped down. | |
WoodcutTreeModelDamaged | delegate | 0 | Handler for WoodcutTreeModel.TookDamage, called with the tree model and the damage it took. | |
WoodcutTreeModelEvent | class | AltaEvent<WoodcutTreeModel, UnityWoodcutTreeModelEvent> | 0 | Serializable AltaEvent raised with a WoodcutTreeModel, used for WoodcutConnectionType.Broken. |
WoodcutTreeNodeBaker | class | WoodcutTreeBakerAccess<WoodcutTree.MapNode> | 8 | Reads meshes and materials from woodcut tree nodes for the tree baker. Use the shared Instance. Build-time tooling. |
WoodcutTreeNodeBakerLod0Only | class | WoodcutTreeNodeBaker | 3 | Node baker that only bakes LOD 0. Use the shared Instance. |
WoodcutTreeSaveData | internal class | NewSaveData<WoodcutTree, WoodcutTreeSaveData> | 2 | Current save data (version 3) for a WoodcutTree: which preset and species it uses. |
WoodcutTreeSaveData1 | internal class | OldSaveData | 3 | Old version 1 save data for a WoodcutTree, migrated to WoodcutTreeSaveData on load. |
WoodcutTreeSaveData2 | internal class | OldSaveData | 4 | Old version 2 save data for a WoodcutTree, migrated to WoodcutTreeSaveData on load. |