Skip to main content

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​

TypeKindBasePublic membersDocumented in, or what it is
BasicMeltingModelclassMeltingModel1Melting model that stores its physical material in its own field, for objects without a PhysicalMaterialPart.
CraftingMeltingAllowedModifierclassMeltingModelModifier2Smelting and forging
DurabilityMeltingYieldModifierclassMeltingModelModifier2Smelting and forging
DynamicQueue<T>class4A circular doubly linked queue of elements that link themselves (IDynamicQueueElement). Recycler uses it to rotate through its output slots.
ForgedModelclassForgedModel<NullColorModelPoint, NullColorModelPoint>, IInterfereWithDocking1Forged metal part with no colour model points: a heat model that is hammered into shape and counts as done once every forged point reaches full progress. A component on forgeable prefabs.
ForgedModel<TB, TA>abstract classHeatModel<ForgedPoint, TB, TA>, ISpawnArguments, IAffectCrafting11A metal piece that's shaped by hammering. Each hit on its forged points adds progress (and heat on the server); when every point is done the piece is complete, gives forging XP along the way and raises an item forged event.
ForgedPointclassMonoBehaviour, IColorModelPoint<ForgedPoint>, IChildSyncable<ForgedPoint, ForgedPointCollectionSaveData.Element>, +1 more12Smelting and forging
ForgedPointCollectionclassChildSyncableCollection<ForgedPoint, ForgedPointCollection, ForgedPointCollectionSaveData, ForgedPointCollectionSaveData.Element>, IEntityReplaceHandler1Smelting and forging
HeatModelclassHeatModel<NullColorModelPoint, NullColorModelPoint, NullColorModelPoint>0Smelting and forging
HeatModel<TG, TB, TA>abstract classColorModel<MetalHeatPoint, TG, TB, TA>0Smelting and forging
IDynamicQueueElement<T>interface2An element of a doubly linked queue that keeps its own Next and Previous links.
MeltingHeatPointclassHeatPoint2Smelting and forging
MeltingModelabstract classNetworkEntityBehaviour13Base for items that can be melted down in a smelter (ingots, forged parts). The smelter checks whether every counted heat point is hot enough, then adds IngotValue of the material.
MeltingModelAlloweddelegate0Filter for MeltingModel.isAllowedFilter. Handlers can set isAllowed to false to stop the model melting.
MeltingModelModifierabstract classScriptableObject2Smelting and forging
MeltingModelPartclassMeltingModel2Melting model that reads and writes its material through a PhysicalMaterialPart on the same object.
MeltingModelYielddelegate0Filter for MeltingModel.yieldMultiplierFilter. Handlers can change multiplier to scale how much the model yields.
MetalHeatPointclassHeatPoint, IColorModelPoint<MetalHeatPoint>4Smelting and forging
MouldRackclassMonoBehaviour1Smelting and forging: Visual rack for moulds.
RecyclerclassNetworkEntityBehaviour, ISavable<RecyclerSaveData>, ISavableSave<RecyclerSaveData>, +1 more4Smelting and forging: Pump its bellows (PumpingMechanism) and it burns fuel from its fuel dock and raises its HeatArea's target temperature.
RecyclerOutputSlotclassMonoBehaviour, IDynamicQueueElement<RecyclerOutputSlot>, IBuildRendererPostBake, +1 more13Smelting and forging: Collects recycled metal per material and spawns the material's source item (SourceMaterialHash) from it.
RecyclerOutputSlot.SaveDataclass3Saved state of one recycler output slot: its index, fill amount and material.
RecyclerSaveDataclassChildSyncableCollectionSaveData<RecyclerSaveData, Recycler, RecyclerOutputSlot.SaveData>0Save data for a Recycler (version 1): the saved state of each of its output slots.
SmelterclassNetworkEntityBehaviour, ISavableFull<SmelterSaveData>, ISavable<SmelterSaveData>, +3 more5Smelting and forging: One per smelter in the world.
SmelterSaveDatainternal classNewSaveData<Smelter, SmelterSaveData>8Save data for a Smelter (version 1): fuel, progress and what it is smelting.
SmelterUnlockManagerclassMonoBehaviour6Smelting and forging
SmelterUpgradesclassHashedGeneralValue<SmelterUpgrades>3Smelting and forging
SmelterUpgrades.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Blacksmithing.ScriptableObject<SmelterUpgrades>0Editor menu entry for creating a SmelterUpgrades asset.
SmeltingRecipeclassHashedGeneralValue<SmeltingRecipe>3Smelting and forging: Recipes are tried in the SmelterUnlockManager's HashSet order, and the first match wins.
SmeltingRecipe.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Blacksmithing.ScriptableObject<SmeltingRecipe>0Editor menu entry for creating a SmeltingRecipe asset.

Alta.Carpentry​

TypeKindBasePublic membersDocumented in, or what it is
BuilderDockclassNetworkEntityBehaviour, IBuildRendererBakeable, IBuildBakeable8Farming, woodcutting and carpentry
BuilderDock.BoolDelegatedelegate0Callback for BuilderDock.ActiveChanged, passed the dock's new IsActive value.
ChiselableclassMonoBehaviour, IChiselable7Farming, woodcutting and carpentry
ChiselableEventclassAltaEvent<Chiselable, float, Vector3, Vector3, ChiselableUnityEvent>0Serializable Alta event carrying a Chiselable, a float and two Vector3 values (probably amount, point and direction), backed by ChiselableUnityEvent.
ChiselableUnityEventclassUnityEvent<Chiselable, float, Vector3, Vector3>0Unity event type with a Chiselable, a float and two Vector3 arguments, used by ChiselableEvent in the inspector.
ChiselBlockSizeenum4Size of a timber block, or the size a chisel cuts: Empty, Small, Medium or Large.
ChiselDefinitionclassSimpleHashedGeneralValue<ChiselDefinition>, IPageBasis11Farming, woodcutting and carpentry: SimpleHashedGeneralValue<ChiselDefinition> under Carpentry/Chisel Definitions: a recipe page for chiselling.
ChiselDefinition.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Carpentry.ScriptableObject<ChiselDefinition>0Editor menu entry for creating a ChiselDefinition asset.
ChiselHitdelegate0Callback for Chiselable.onHit: the damage, hit position and direction, the chisel tool and the collider that was hit.
ChiselingFilterclassMonoBehaviour0Empty marker component; nothing in the decompiled code references it.
ChiselingFilterSettingsclassImpactorFilter1Impactor 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.
ChiselingToolclassCraftableImpactDetectorBase4Farming, woodcutting and carpentry
ChisellingDeckclassNetworkEntityBehaviour, ISavableFull<ChisellingDeckSaveData>, ISavable<ChisellingDeckSaveData>, +3 more16Farming, woodcutting and carpentry: Holds the current TimberBlock (CurrentBlock), the Guide (ChiselDefinition), its size and MaxSize. Resize(ChiselBlockSize) is server only.
ChisellingDeck.BuilderLevelclass2Inspector entry on ChisellingDeck that maps a block size to the timber block prefab spawned for it.
ChisellingDeckSaveDataclassNewSaveData<ChisellingDeck, ChisellingDeckSaveData>7Save data for a ChisellingDeck, the carpentry chiselling station. The deck saves its size; its current TimberBlock fills in the rest.
ChisellingDeckSaveData2classOldSaveData7Old save data for a ChisellingDeck (version 2); migrates to ChisellingDeckSaveData and drops hasFollowedrecipe.
DeckClampclassMonoBehaviour0Visual clamp on a chiselling deck that slides along X to the builder, the current block, or its rest position. Both sides, local only.
IChiselableinterface4Something a chisel can carve, such as a timber piece. ChiselingTool checks it on hit and sends it the damage.
OldChisellingDeckSaveData1classOldSaveData6Old save data for a ChisellingDeck (version 1); migrates to ChisellingDeckSaveData.
PieceSaveDataclass6Saved state of one carpentry timber piece: whether it has been hit, how far it is chiselled, and its direction.
PrefabSpawnPositionclass3A prefab and the local position and rotation to spawn it at. Used for the pieces a TimberBlock spawns as its crafted result.
RecipePlacerclassMonoBehaviour, IBuildRendererPostBake, IBuildBakeable1Farming, woodcutting and carpentry
TimberBlockclassNetworkEntityBehaviour20Farming, woodcutting and carpentry: The block being chiselled, in stages (outer, inner, core).
TimberBlock.CoreStageclassStage2The last chiselling stage of a TimberBlock. Finishing it releases the crafted result and destroys the block.
TimberBlock.InnerStageclassStage1The middle chiselling stage of a TimberBlock. Finishing it moves the block on to the core stage.
TimberBlock.OuterStageclassStage1The first chiselling stage of a TimberBlock. The pieces chiselled off here decide what the block becomes.
TimberBlock.Stageabstract class13One 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.StageLevelenum3The three carving stages of a timber block in order: outer, inner and core. Finishing one stage starts the next.
TimberBlockEventdelegate0Callback with a TimberBlock, used for its Done and Modified events and the chiselling deck's block events.
TimberBlockSpawnerclassNetworkEntityBehaviour10Farming, woodcutting and carpentry
TimberBlockSpawner.ChiselingSizePointclass2A stop along the TimberBlockSpawner slider and the largest block size allowed there. Sliding to a smaller stop resizes the deck's block.
TimberBlockSpawner.SizedSpawnPointsstruct3Per block size settings on TimberBlockSpawner: where that size of block spawns and where the builder sits.
TimberPiececlassTimberPieceBase13Farming, woodcutting and carpentry
TimberPiece.RotationModelclass5Works 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.
TimberPieceBaseabstract classChiselable15Base for one chiselable piece of a timber block in carpentry. Starts disabled; a TimberBlock stage enables, saves and syncs its pieces.
TimberPieceDelegatedelegate0Callback for a timber piece event. Used for TimberPieceBase.OnChanged and OnDone, which TimberBlock stages hook on the server.
TimberPieceGroupclassTimberPieceBase7Farming, woodcutting and carpentry

Alta.Cooking​

TypeKindBasePublic membersDocumented in, or what it is
CookableclassNetworkEntityBehaviour, ISavable<CookableSaveData>, ISavableSave<CookableSaveData>, +2 more21Cooking
CookableCategoryDefinitionclassStewIngredientBase3Cooking
CookableCategoryDefinition.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Cooking.ScriptableObject<CookableCategoryDefinition>0Unity editor menu entry (Create, Township, Features, Cooking) for making a new CookableCategoryDefinition asset.
CookableCollectionDefinitionclassStewIngredientBase2Cooking
CookableEventclassAltaEvent<Cookable, CookableUnityEvent>0A serialized event that passes a Cookable, set up in the Inspector. CookingPot uses one for rejected ingredients.
CookableItemclassItemComponent3Item 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.
CookableSaveDatainternal classNewSaveData<Cookable, CookableSaveData>2Save data for a Cookable (version 1): how far it has cooked and burnt.
CookableUnityEventclassUnityEvent<Cookable>0Serializable UnityEvent that passes a Cookable, for inspector-wired cooking callbacks.
CookingGarnishclassCookableItem1Cooking
CookingGarnishComponentclassNetworkEntityBehaviour, ICookingGarnishMarker0Cooking
CookingLiquidclassNetworkEntityBehaviour11Cooking: The pot's liquid: its heat point, boiling effects and conversion to stew liquid.
CookingLiquidVisualclassLiquidSurfaceVisual5Liquid surface visual for cooking containers. Moves the surface with fullness, keeps it level, and runs boiling particles and waves from the temperature.
CookingLiquidVisual.BoilingParticlesStageSettingstruct2Boiling particle settings for one boil stage of a cooking liquid's surface visual. CookingLiquidVisual keeps an array of them, at least one.
CookingLiquidVisualTippingPointControllerclassMonoBehaviour0Component 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.TippingSettingsclass3Tipping limits for one liquid level of a cooking container. The controller picks the entries either side of the current level and blends them.
CookingPointclassHeatPoint, IEntityReplaceHandler2Cooking: The HeatPoint on a cookable.
CookingPointSettingsclassMonoBehaviour, ICookableSettings2ICookableSettings component that gives an object its cooking temperatures and whether it can burn.
CookingPotclassNetworkEntityBehaviour, ISavableFull<CookingPotSaveData>, ISavable<CookingPotSaveData>, +3 more6Cooking: Its CookingStage (an enum inside CookingPot) moves through Preparation, WarmingUp, Stewing and StewLocked. Everything below is set up in InitializeAsServer.
CookingPot.CookingStageenum4Where a cooking pot is in making a stew: preparation, warming up, stewing, then locked once the stew is done.
CookingPotSaveDatainternal classNewSaveData<CookingPot, CookingPotSaveData>1Save data for a CookingPot (version 1): its current cooking stage.
CookingPotVolumeclassMonoBehaviour3Trigger volume on a cooking pot that tracks which rigidbodies are inside it. CookingPot listens to its events.
CookingSettingsclassGlobalSettings<CookingSettings>18Cooking: CookableDecayDuration, MinimumStewingTemperature, DefaultStew, NonRecipeStewPrefab, GlobalStewEffects, MaxNumberOfItemsInStew (the network limit), IsAssumingNoEffectModificationOnMissing and the dissolve effects.
CookingSettings.CreateclassAltaMenuItemBase.Assets.Create.Global_Settings.ScriptableObject<CookingSettings>0Unity editor menu entry (Create, Global Settings) for making a new CookingSettings asset.
CookingStageclassItemComponent1Item component that tags an item with a cooking stage: burnt, cooked, ripe or unripe.
CookingStage.Stageenum4How cooked a food item is: burnt, cooked, ripe or unripe. Held in CookingStage.stage and read by the edible page provider.
CookingTemperatureDurationclass3A temperature and the time food must spend at it, used for the weak, optimal and burning thresholds in CookingTemperatures.
CookingTemperaturesclass4Temperature bands and times for cooking food: weak, optimal and burning, plus an instant burn point.
FruitNinjaclassNetworkEntityBehaviour2Cooking: A test spawner (editor Start and Stop buttons) that spawns random itemsToSpawn, faster over time.
ICookableSettingsinternal interface2Internal settings shared by cookables and cooking points: whether the item can burn and its cooking temperatures.
ICookingGarnishMarkerinterface2Marks 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.
IStewIngredientinternal interface1Internal interface for stew recipe ingredients (StewIngredientBase): checks whether a cookable item counts as this ingredient.
LiquidChunkVisualsclassMonoBehaviour2Cooking
LiquidVisualChunkDefinitionclassHashedGeneralValue<LiquidVisualChunkDefinition>2Cooking
PotDefinitionclassScriptableObject2Cooking
PotDefinition.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Cooking.ScriptableObject<PotDefinition>0Unity editor menu entry (Create, Township, Features, Cooking) for making a new PotDefinition asset.
PrimesUtilitystatic class1Static table of the first 6542 prime numbers. Nothing else in the server build references it.
StewComponentclassNetworkEntityBehaviour14Cooking: On a stew entity: tint, effect multipliers, and its own Cookable for the next stage.
StewContainerclassLiquidContainer0A LiquidContainer that holds a reference to its StewComponent. Adds no behaviour of its own in this build.
StewContentArgumentsstruct5What is in a stew, passed to StewRecipe.GetStewEffects to work out the stew's effects.
StewIngredientBaseabstract classScriptableObject, IStewIngredient3Base ScriptableObject for a stew recipe ingredient slot, such as a cookable category or collection, that StewRecipe checks given ingredients against.
StewManagerclassNetworkEntityBehaviour, ISavable<StewManagerSaveData>, ISavableSave<StewManagerSaveData>, +1 more12Cooking: Next to the pot, saved with it. Holds the stew.
StewManagerSaveDatainternal classNewSaveData<StewManager, StewManagerSaveData>3Save data for a StewManager (version 1): the stew's ingredients, garnishes and liquid base.
StewRecipeclassHashedGeneralValue<StewRecipe>, IPageBasis, ICraftingIngredientProvider12Cooking: Assets under Cooking/Stew Recipes.

Alta.Crafting​

TypeKindBasePublic membersDocumented in, or what it is
AdditionalOwnedDockclassPickupDock2A 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.
ConfirmationCraftingPartclassCraftingPart, INailable3Crafting: A part whose join must be confirmed by nailing.
ConfirmationCraftingPart.ClientSideNailHitSyncstruct8Message a client sends when it hits one of a confirmation crafting part's nails. The server works out the damage and applies the hit.
ConnectEventdelegate0Delegate for a joint connection between a joint point and the slot it connects to.
CraftingChangeddelegate0Event handler for a crafting part being crafted or decrafted; isLoad is true when it happens while loading. Used by CraftingPart.OnCrafted and OnDecrafted.
CraftingOptionsclass3A 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.
CraftingPartclassNetworkEntityBehaviour, IEntityReplaceHandler, IBlockGenericDecrafting34Crafting: On every part that can join or be joined. Get it with pickup.CraftingPart or GetComponent<CraftingPart>().
CraftingPartTrackerclass4Tracks a crafting part inside a GenericAssemblyStation's trigger, with the colliders of it that are inside.
CraftingPartTypeclassHashedGeneralValue<CraftingPartType>0Hashed asset naming a kind of crafting part, so parts and recipes can refer to it by type.
CraftingPartType.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<CraftingPartType>0Unity editor menu entry (Create, Township, Features, Crafting) for making a new CraftingPartType asset.
CraftingPieceChiselableclassChiselable3A Chiselable on a generic crafting piece, so chisel hits damage the piece. Only chiselable while the piece can be removed.
CraftingTesterclassNetworkEntityBehaviour1Crafting: Dev tool that builds every part combination.
DecraftingComponentabstract classNetworkEntityBehaviour5Crafting
DecraftingDeckclassDecraftingComponent2Crafting
DisableLightOnDockclassMonoBehaviour0Turns 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.
GenericAssemblyPartclassMonoBehaviour3Crafting
GenericAssemblyStationclassDecraftingComponent, ISavable<GenericAssemblyStationData>, ISavableSave<GenericAssemblyStationData>, +1 more5Crafting
GenericAssemblyStation.AssemblyPositionenum2Which way up a part sits on a generic assembly station: Up or Down.
GenericAssemblyStationDataclassNewSaveData<GenericAssemblyStation, GenericAssemblyStationData>1Save data for a GenericAssemblyStation (version 1).
GenericCraftingComponentclassNetworkEntityBehaviour, ISerializationCallbackReceiver, IGenericCraftingComponent5Crafting: A material that can fill a station piece.
GenericCraftingNailclassPooledObject17Crafting
GenericCraftingPiececlassPooledObject, INailable32Crafting
GenericCraftingPieceDefinitionclass16One 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.
GenericCraftingProjectclassIProject6The project in progress on a GenericCraftingStation: the recipe's pieces grouped into levels, where each level unlocks once the one before is complete.
GenericCraftingRecipeclassSimpleHashedGeneralValue<GenericCraftingRecipe>, IPageBasis, ICraftingIngredientProvider11Crafting: Get one with GenericCraftingRecipe.All, or by the result with static GenericCraftingRecipe GetRecipe(NetworkPrefab prefab) (the result map is built once, on first use).
GenericCraftingResultclassNetworkEntityBehaviour, ISerializationCallbackReceiver, IGenericCraftingComponent, +1 more3Component 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.
GenericCraftingSettingsclassGlobalSettings<GenericCraftingSettings>16Global 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.
GenericCraftingStationclassNetworkEntityBehaviour, ISavable<GenericCraftingStationData>, ISavableSave<GenericCraftingStationData>, +1 more16Crafting: A station in the world.
GenericCraftingStation.ClientSideNailHitSyncstruct9Message 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.
GenericCraftingStationDataclassNewSaveData<GenericCraftingStation, GenericCraftingStationData>2Save data for a GenericCraftingStation (version 1): the chosen recipe and the state of its pieces.
IAffectCraftinginterface2Something that must be finished before its GenericCraftingComponent can be added to a crafting station, such as a forged model that must be fully forged.
IBlockDisassemblyinterface1Lets a component on a crafting part stop the assembly station from taking it apart (for example CraftedDocks).
IBlockGenericDecraftinginterface1Implemented by components that can stop a generic crafting result from being decrafted, such as LiquidContainer (only when empty) and CraftingPart.
IGenericCraftingComponentinterface3Something 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.
IGetRigidbodyinterface1For components that cache a rigidbody and must refresh it when a crafting part's hierarchy changes. CraftingPart calls it on its children.
IJointSlotComponentinterface4A crafting joint slot or a group of slots, implemented by JointSlot and JointSlotGroup.
INailableinterface5A crafting piece fixed in place by hammering nails, implemented by ConfirmationCraftingPart. Each GenericCraftingNail reports its hits here.
IProjectinterface15A recipe in progress on a generic crafting station, built level by level. GenericCraftingProject is the only implementation.
IsJointAvailabledelegate0Event handler on joint points and slot groups. Handlers can set the ref bool to false to mark the joint as unavailable.
JointInsertclassJointPoint7Crafting
JointInsertTypeclassJointPointType0Crafting
JointInsertType.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<JointInsertType>0Unity editor menu entry (Create, Township, Features, Crafting) for making a new JointInsertType asset.
JointPointabstract classNetworkEntityBehaviour15Crafting
JointPointEventclassAltaEvent<JointPoint, JointPointUnityEvent>0Inspector event that passes a JointPoint. Used for a joint point's connected and disconnected events.
JointPointTypeclassGeneralValue0Base asset type for joint kinds used in crafting. JointInsertType and JointSlotType derive from it, and JointPoint.GeneralTypes lists them.
JointPointUnityEventclassUnityEvent<JointPoint>0Serializable UnityEvent that passes a JointPoint.
JointSlotclassJointPoint, IJointSlotComponent17Crafting: On the server, a join also broadcasts an ItemCraftedEvent (part hashes and player) on the game's event bus, for the micro tutorials.
JointSlotGroupclassMonoBehaviour, IJointSlotComponent5Groups 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.
JointSlotTypeclassJointPointType1Crafting
JointSlotType.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<JointSlotType>0Unity editor menu entry (Create, Township, Features, Crafting) for making a new JointSlotType asset.
NailHitqualityenum4How well a hammer hit landed on a generic-crafting nail: Base, Bad, Good or Done. Picks the nail effect and is sent in NailIdentifier.
NailIdentifierstruct6Identifies one nail on a generic-crafting piece, plus how well it was hit, for sending over the network.
NailSettingsclass17Crafting
PieceSaveDataclass4Save data for one generic-crafting piece: which piece, whether it's done, its material and how close it is to breaking.
PieceStateArgumentstruct3Network argument pairing a crafting piece hash with whether the piece is enabled.
SerializedTransformclass5A saved position, rotation and scale, used for crafting spawn offsets and piece positions.
Sizeenum5Size 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​

TypeKindBasePublic membersDocumented in, or what it is
DamageMultiplierclassEnchantmentEffect1Enchantment effect asset that multiplies the damage of an impact hit.
DamageMultiplier.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<DamageMultiplier>0Editor menu entry that creates a DamageMultiplier asset under Township, Features, Crafting.
DamageMultiplierApplicationclassEnchantmentEffectApplication<DamageMultiplier>2A DamageMultiplier effect active on one item. When its trigger fires with an ImpactHit, it multiplies the hit's damage (HealthMultiplier).
DurabilitySaveEnchantmentclassEnchantmentEffect1Enchantment effect asset that scales how much durability a tool loses on a hit.
DurabilitySaveEnchantment.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<DurabilitySaveEnchantment>0Editor menu entry that creates a DurabilitySaveEnchantment asset under Township, Features, Crafting.
DurabilitySaveEnchantmentApplicationclassEnchantmentEffectApplication<DurabilitySaveEnchantment>2A DurabilitySaveEnchantment effect active on one item. When its trigger fires with an ImpactHitWithTool, it scales how much durability the tool loses.
EnchantableclassNetworkEntityBehaviour, ISavable<EnchantableData>, ISavableSave<EnchantableData>, +1 more7Other systems: On an item. EnchantmentApplication Add(Enchantment), EnchantmentApplication Get(Enchantment). Adds its initial enchantments on the server at spawn.
EnchantableDataclassNewSaveData<Enchantable, EnchantableData>1Save data for an Enchantable (save structure version 1): the enchantments on the item.
EnchantmentclassHashedGeneralValue<Enchantment>1An enchantment asset: a list of bindings, each linking triggers to the effects they cause.
Enchantment.Bindingclass2One 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.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<Enchantment>0Editor menu entry that creates an Enchantment asset under Township, Features, Crafting.
EnchantmentApplicationclass7Other systems: An enchantment active on one item.
EnchantmentEffectabstract classScriptableObject2Other systems: What it does: DamageMultiplier (default 1.2x), DurabilitySaveEnchantment (less durability lost).
EnchantmentEffectApplication<T>abstract classIEnchantmentEffectApplication6Base 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.
EnchantmentTriggerabstract classScriptableObject2Other systems: When it fires. CreateApplication applies the trigger on the server only. QuickDrawTrigger is one (a fast, effective hit within timeToHit).
EnchantmentTrigger.EffectTypeenum3Which of a trigger's event sets EnchantmentTrigger.CallEvents fires: charged, executed or cancelled.
EnchantmentTriggerApplication<T>abstract classIEnchantmentTriggerApplication8Runtime part of an EnchantmentTrigger on one item: hooks game events when applied and fires Invoked when the trigger condition is met.
IEnchantmentEffectApplicationinterface4Runtime part of an EnchantmentEffect on one item. Run when the enchantment's trigger fires.
IEnchantmentTriggerApplicationinterface6A trigger of an enchantment applied to one enchanted object. It watches for its condition and raises Invoked when it fires.
QuickDrawApplicationclassEnchantmentTriggerApplication<QuickDrawTrigger>1Server-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.
QuickDrawTriggerclassEnchantmentTrigger5Enchantment trigger that charges when the item is taken out of a dock and goes off on a good hit within a time limit.
QuickDrawTrigger.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Crafting.ScriptableObject<QuickDrawTrigger>0Editor menu entry that creates a QuickDrawTrigger asset under Township, Features, Crafting.

Alta.Scrapper​

TypeKindBasePublic membersDocumented in, or what it is
ApplicationTypeenum3How a scrapper argument applies saved values: one target and value, many targets sharing one value, or many targets with their own values.
MeshPlacementclassNetworkEntityBehaviour, ISavable<MeshPlacementSaveData>, ISavableSave<MeshPlacementSaveData>, +1 more3Network 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.
MeshPlacementSaveDatainternal classNewSaveData<MeshPlacement, MeshPlacementSaveData>1Save data (version 1) for MeshPlacement: which placement asset it uses.
ScrapperArgumentAttributeclassAttribute7Marks 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.
VisibilityclassNetworkEntityBehaviour, ISavable<VisibilitySaveData>, ISavableSave<VisibilitySaveData>, +1 more3Network 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.
VisibilitySaveDataclassNewSaveData<Visibility, VisibilitySaveData>1Save data (version 1) for Visibility: which visibility asset it uses.

Alta.Scrapper.Data​

TypeKindBasePublic membersDocumented in, or what it is
MeshPlacementDataclassHashedGeneralValue<MeshPlacementData>7A saved mesh placement for the Scrapper tool: local transform, mesh and material, with optional texture atlas baking. Build-time data.
MeshPlacementData.CreateclassAltaMenuItemBase.Assets.Create.Township.Utility.Scrapper.ScriptableObject<MeshPlacementData>0Editor menu entry for creating a MeshPlacementData asset.
VisibilityDataclassHashedGeneralValue<VisibilityData>2A hashed scrapper asset holding one on or off value for mesh renderers. A Visibility component applies it and syncs it by hash.
VisibilityData.CreateclassAltaMenuItemBase.Assets.Create.Township.Utility.Scrapper.ScriptableObject<VisibilityData>0Editor menu entry for creating a VisibilityData asset.

Alta.Trading​

TypeKindBasePublic membersDocumented in, or what it is
TaxManagerclassNetworkEntityBehaviour, ISavable<TaxSaveData>, ISavableSave<TaxSaveData>, +1 more9Trading
TaxSaveDataclassNewSaveData<TaxManager, TaxSaveData>2Save data for a TaxManager: whether taxing is running and the time saved for its repeating tax entry.
TaxSaveData1classOldSaveData3Old version 1 save data for a TaxManager, with the time in float seconds. Migrates to TaxSaveData.
TradeConfigurationclassNetworkEntityBehaviour2Holds references to a trade vendor's price buttons. In this build it does nothing with them.
TradeStateManagerclassNetworkEntityBehaviour3Syncs 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.
TradeStatusenum3State of a trade vendor: unoccupied (no owner), out of stock, or open for sale.
TradeVendorclassNetworkEntityBehaviour, ISavableFull<TradeVendorSaveData>, ISavable<TradeVendorSaveData>, +4 more12Trading, Performance: Subscribes to ServerHandler.PlayerJoined and never unsubscribes. A destroyed vendor throws when its owner joins, which stops the handlers after it.
TradeVendor.StatusChangedHandlerdelegate0Handler for TradeVendor.StatusChanged, called with the vendor's new trade status.
TradeVendorSaveDataclassNewSaveData<TradeVendor, TradeVendorSaveData>1Save data for a TradeVendor (version 2): just the vendor's owner.
TradeVendorSaveDataOldclassOldSaveData3Old version 1 save data for a TradeVendor. Migrates to TradeVendorSaveData, keeping only the owner.
TradingLoggerstatic class3Logging for the trade deck. Sales are raised as the TradeDeckUsed console event.
TradingLogger.TradeDeckSaleclass6Console events

Alta.Woodcutting​

TypeKindBasePublic membersDocumented in, or what it is
AttachmentEventclassAltaEvent<TreeAttachment, UnityAttachmentEvent>0Serializable event with a TreeAttachment argument, used for a tree attachment's broken event.
OffsetEventclass2Debounced call on a Timeline: runs an action once Offset hasn't been called for a minimum delay. Made with Timeline.CreateOffset.
OffsetEventHelperstatic class1Extension method for making an OffsetEvent on a Timeline.
PresetTreeclassHashedGeneralValue<PresetTree>, ISerializationCallbackReceiver7Farming, woodcutting and carpentry
PresetTree.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<PresetTree>0Editor menu entry that creates a PresetTree asset under Assets/Create/Township/Features/Woodcutting.
PresetTree.Stepclass6One 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.Attachmentclass4A tree attachment saved in a preset step: its prefab hash and its local position, rotation and uniform scale on the piece.
TreeAttachmentclassNetworkEntityBehaviour, IBuildRendererBakeable, IBuildBakeable12Something attached to a tree's node, such as leaves, that can break off. Attached by WoodcutTree; breaking is synced from the server.
TreeBuilderclassMonoBehaviour2Farming, woodcutting and carpentry
TreeDecayclassBasicDecay1Farming, 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.
TreeEventclassUnityEvent<WoodcutTree>0Serializable Unity event that passes a WoodcutTree.
TreeSizeclassPopupScriptableObject1Farming, woodcutting and carpentry
TreeSize.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<TreeSize>0Editor menu entry that creates a TreeSize asset under Assets/Create/Township/Features/Woodcutting.
TreeSpawnerclassNetworkEntityBehaviour, ISavable<TreeSpawnerSaveData>, ISavableSave<TreeSpawnerSaveData>, +1 more3Farming, woodcutting and carpentry: A spot in the world that grows a tree.
TreeSpawnerSaveDataclassNewSaveData<TreeSpawner, TreeSpawnerSaveData>1Current save data (version 2) for a TreeSpawner.
TreeSpawnerSaveData1classOldSaveData2Old version 1 save data for a TreeSpawner, migrated to TreeSpawnerSaveData on load.
TreeSpeciesclassHashedGeneralValue<TreeSpecies>16Farming, woodcutting and carpentry: Species asset: physical material, hit effects, Wedge and Stick drop distributions, damage and break multipliers, DropVelocity, leaf materials.
TreeSpecies.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<TreeSpecies>0Editor menu entry that creates a TreeSpecies asset under Assets/Create/Township/Features/Woodcutting.
UnityAttachmentEventclassUnityEvent<TreeAttachment>0Serializable Unity event that passes a TreeAttachment.
UnityWoodcutTreeModelEventclassUnityEvent<WoodcutTreeModel>0Serializable Unity event that passes a WoodcutTreeModel.
WoodcutConnectionclassMonoBehaviour7Marks 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.
WoodcutConnectionTypeclassScriptableObject7Asset 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.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Woodcutting.ScriptableObject<WoodcutConnectionType>0Editor menu entry that creates a WoodcutConnectionType asset under Assets/Create/Township/Features/Woodcutting.
WoodcutSettingsclassGlobalSettings<WoodcutSettings>1Global settings asset for woodcutting, read through WoodcutSettings.Instance. Holds the tree network prefab.
WoodcutTreeclassNetworkEntityBehaviour, ISavable<WoodcutTreeSaveData>, ISavableSave<WoodcutTreeSaveData>, +1 more19Farming, woodcutting and carpentry: The tree: a tree of MapNodes (Root), each with a WoodcutTreeModel segment. HealthObject, Rigidbody, TotalSize, Species. Raises Cut.
WoodcutTree.MapNodeclass14One 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.
WoodcutTreeAttachmentBakerclassWoodcutTreeBakerAccess<TreeAttachment>9Baker access for tree attachments (leaves and similar): gives the baking code each attachment's meshes, transform and leaf materials. Use the shared Instance.
WoodcutTreeBakerclassNetworkEntityBehaviour4Client 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 class8Adapter the woodcutting tree baker uses to read meshes, materials and LODs from some source type T. Build-time tooling.
WoodcutTreeBakingHandlerclass5Static helpers that merge tree node meshes into combined LOD meshes and patch vertex colours in a baked mesh. Used by WoodcutTreeBaker.
WoodcutTreeDamagedNodeBakerclassWoodcutTreeNodeBaker6Node baker for chopped trunk pieces: one LOD, copies vertex colours, and uses the species' physical material channel A. Use the shared Instance.
WoodcutTreeEventclassAltaEvent<WoodcutTree, TreeEvent>0Serializable AltaEvent raised with a WoodcutTree, used for a tree's cut and onThump events.
WoodcutTreeModelclassNetworkEntityBehaviour21Farming, 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.
WoodcutTreeModelChoppeddelegate0Handler for WoodcutTreeModel.Chopped, called with the tree model that was chopped down.
WoodcutTreeModelDamageddelegate0Handler for WoodcutTreeModel.TookDamage, called with the tree model and the damage it took.
WoodcutTreeModelEventclassAltaEvent<WoodcutTreeModel, UnityWoodcutTreeModelEvent>0Serializable AltaEvent raised with a WoodcutTreeModel, used for WoodcutConnectionType.Broken.
WoodcutTreeNodeBakerclassWoodcutTreeBakerAccess<WoodcutTree.MapNode>8Reads meshes and materials from woodcut tree nodes for the tree baker. Use the shared Instance. Build-time tooling.
WoodcutTreeNodeBakerLod0OnlyclassWoodcutTreeNodeBaker3Node baker that only bakes LOD 0. Use the shared Instance.
WoodcutTreeSaveDatainternal classNewSaveData<WoodcutTree, WoodcutTreeSaveData>2Current save data (version 3) for a WoodcutTree: which preset and species it uses.
WoodcutTreeSaveData1internal classOldSaveData3Old version 1 save data for a WoodcutTree, migrated to WoodcutTreeSaveData on load.
WoodcutTreeSaveData2internal classOldSaveData4Old version 2 save data for a WoodcutTree, migrated to WoodcutTreeSaveData on load.