Skip to main content

Items, inventory and logic

Types in Alta.Inventory, Alta.Impact, Alta.Pages, Alta.Mechanisms and Alta.Logic. 289 types, 82 with a hand-written page.

See the overview for what the columns mean and how this list is made.

Alta.Impact​

TypeKindBasePublic membersDocumented in, or what it is
ArmorDefinitionclassScriptableObject2Impacts and hit detection
ArmorDefinition.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Equipment.ScriptableObject<ArmorDefinition>0Editor menu entry that creates a new ArmorDefinition asset under the Township Equipment create menu.
BlockedTriggerclassMonoBehaviour1Fires an inspector event when its ImpactTool blocks a hit with enough effectiveness, optionally only once.
BoulderDefinitionclassHashedGeneralValue<BoulderDefinition>6An asset describing a mineable rock: its health, what it drops, how its hits look, and its ore material. Used by Rock.
BoulderDefinition.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Mining.ScriptableObject<BoulderDefinition>0Editor menu entry that creates a new BoulderDefinition asset under the Township Mining create menu.
ColliderMapclass3Pairs a collider with an ImpactDetectorColliderModifier, so an ImpactDetector can treat hits on that collider differently.
ColliderModifierSettingsabstract classScriptableObject2Impacts and hit detection
CollisionFilterdelegate0Handler for ImpactTool.CollisionFilter. Set isHitconsumed to true to stop the collision from becoming a hit, as ChiselingTool does.
ContactPointStructurestruct8A copy of one collision contact (point, normal, colliders, separation) plus the impact detector that saw it. Passed around the impact system.
ContactProjectileabstract classMonoBehaviour, IToolHitDependant, IImpactorResetEffect4Impacts and hit detection
CraftableImpactDetectorclassCraftableImpactDetectorBase0Impacts and hit detection
CraftableImpactDetectorBaseabstract classImpactDetector1Base for an impact detector on a crafted part that listens to the collisions of whichever ImpactTool the part's root has, and only counts contacts a subclass accepts.
CutableObjectclassTriggerImpactDetectorBase0Impacts and hit detection
DamageDataclass2Health and damage
DamageMultiplierColliderclassColliderModifierSettings2Impacts and hit detection
DamageSourceenum8Health and damage
DelayedImpactResolverstatic class3Impacts and hit detection
DirectionalMultiplierColliderclassColliderModifierSettings2Impacts and hit detection
EmbeddableManagerclassMonoBehaviour9Sits on something that arrows, knives and other Embeddables can stick into. Tracks what is embedded and frees it on death, docking, destruction or crafting.
EmbeddableSurfaceclassMonoBehaviour0Lets tools stick into a surface: a hard enough hit wedges the tool in with a spring joint until it is pulled out past breakDistance.
EquipmentReferenceclassMonoBehaviour2Impacts and hit detection
EquipmentReference.EquipmentChangedHandlerdelegate0Handler for EquipmentReference.Changed, called with the new armour definition when Equipment is set.
FixedImpactorclassImpactGenerator, INetworkEntityBehaviour11An impact source that only hurts while charged, such as a creature's beak or a seed projectile. The charged state syncs from server to clients.
FixedImpactorGroupclassComponentGroup<FixedImpactor>2Combat, damage and death: Charge() and Reset() for several at once.
HitModifierEffectclassNetworkEntityBehaviour2Plays a stat upgrade visual effect between two places (the object, the hit target or the wielder) when an ImpactModifier modifies a hit. The server sends it to players in the chunk.
IImpactEffectinterface1Something that reacts to an impact hit.
IImpactorResetEffectinterface1An effect that is reset when its impactor resets after a hit or block. Added to ImpactGenerator.EffectsOnReset.
ImpactChannelclassScriptableObject1Impacts and hit detection
ImpactChannel.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Impact.ScriptableObject<ImpactChannel>0Editor menu entry that creates a new ImpactChannel asset under the Township Impact create menu.
ImpactDetectorclassMonoBehaviour, IListenToPhysicalMaterial, INetworkEntityBehaviour, +2 more16Impacts and hit detection: On anything that can be hit: creature body parts, rocks, trees, players.
ImpactDetector.ImpactSyncArgumentsstruct7A hit on an ImpactDetector, sent to the chunk by the client whose player hit something or was hit. Built from an ImpactHitWithTool.
ImpactDetectorCentralclassNetworkEntityBehaviour2Impacts and hit detection: On entities with several detectors.
ImpactDetectorColliderModifierclassMonoBehaviour2Component on a collider that changes how hits on it are treated, through a list of ColliderModifierSettings.
ImpactDetectorSettingsclassScriptableObject5Impacts and hit detection: Detector data: hit effects, whether it gives XP, whether it wears tools.
ImpactDetectorSettings.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Impact.ScriptableObject<ImpactDetectorSettings>0Editor menu entry that creates a new ImpactDetectorSettings asset under the Township Impact create menu.
ImpactDetectorSettings.ImpactSettingsclass7The effect and sound for one impact outcome (critical, good or bad) in ImpactDetectorSettings.
ImpactGeneratorabstract classMonoBehaviour25Base component for the part of an item or creature that deals hits (a blade edge, a point, a creature attack). It holds the damage values and settings that impact detectors read when hit.
ImpactHitclassDamageData23Impacts and hit detection
ImpactHitEventclassAltaEvent<ImpactHitWithTool, ImpactHitUnityevent>0Inspector event that passes an ImpactHitWithTool.
ImpactHitThresholdTriggerclassMonoBehaviour0Fires inspector events when an ImpactDetector takes a hit above set effectiveness and damage, with an extra event naming the player who hit it.
ImpactHitTriggerclassMonoBehaviour0Fires an AltaEvent when an ImpactDetector takes a hit with enough damage and of an allowed impact type.
ImpactHitUnityeventclassUnityEvent<ImpactHitWithTool>0Serializable UnityEvent that passes an ImpactHitWithTool, for wiring hits in the inspector.
ImpactHitWithToolclassImpactHit16Impacts and hit detection
ImpactImmunityGroupclassScriptableObject1Impacts and hit detection: A multiplier when an impactor and a detector share a group.
ImpactImmunityGroup.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Impact.ScriptableObject<ImpactImmunityGroup>0Editor menu entry that creates a new ImpactImmunityGroup asset under the Township Impact create menu.
ImpactModifierclassNetworkEntityBehaviour2Server: changes hits made by a crafted tool (damage multipliers, stat changes) by running a list of ImpactModifierComponents on them. Covers either the whole tool or the parts attached to its slots.
ImpactModifierComponentabstract classScriptableObject4Base for a ScriptableObject that changes a tool hit, such as applying a stat change, with a default effect and sound.
ImpactModifierMultiplierclassImpactModifierComponent1Impact modifier asset that multiplies a hit's Multipliers by a set amount.
ImpactModifierStatAffectclassImpactModifierComponent1Impact modifier asset that changes a stat's base value on the target or the wielder, based on the hit's damage, cripple damage or effectiveness.
ImpactorclassImpactGenerator, IGetRigidbody4The main hitting part of a tool, such as a blade edge or a hammer head. Works out a hit's direction and effectiveness from the tool's recent motion.
ImpactorAreaFilter<T>abstract classImpactorFilter2Base impactor filter that only allows hits whose contact point is inside a collider carrying a T component.
ImpactorFilterabstract classScriptableObject1Base ScriptableObject for a filter on contact points, listed in ImpactorSettings.Filters. ChiselingFilterSettings is one.
ImpactorMapclassMonoBehaviour5Component on a crafting part that maps each of its colliders to the ImpactGenerators under it. Used by ImpactTool and ImpactModifier when parts are joined into a tool.
ImpactorSettingsclassScriptableObject8Impacts and hit detection
ImpactorValuesclassScriptableObject12Impacts and hit detection: Each impactor points at an ImpactorValues asset:
ImpactToolclassMonoBehaviour, IGetRigidbody45Impacts and hit detection: Get it with GetComponent<ImpactTool>() on the item, or entity.CommonImpactTool.
ImpactTool.OnCollidedHitdelegate0Handler for ImpactTool.OnCollided. Called with the collision, whether it became a hit, and the tool.
ImpactTool.OnCollisionEnterEventdelegate0Handler for ImpactTool.OnCollisionEnterCalled, raised when a held tool collides with something on a blockable layer.
ImpactTool.OnGeneratedHitdelegate0Callback for an ImpactTool hit or block, given the hit and the tool. Used by OnHit, OnBlocked and the static OnHitAny.
ImpactTypeenum7Kind of damage an impact does: pierce, slash, blunt, caustic, poison, explosive or spiritual.
ImpactTypeFilterclass2Inspector list of allowed impact types. An empty list allows everything.
INetworkProjectileinterface5A networked projectile: its entity, physics parts and effect setup.
IToolHitDependantinterface2A component on an impact tool or crafting part that wants to know when the tool hits or collides with something, such as arrows or breakable items. Found automatically in the tool's children.
MiningSettingsclassGlobalSettings<MiningSettings>14Impacts and hit detection: Global haptics and strike sound settings.
MiningSettings.CreateclassAltaMenuItemBase.Assets.Create.Global_Settings.ScriptableObject<MiningSettings>0Editor menu entry that creates a new MiningSettings global settings asset.
NetworkContactProjectileclassContactProjectile, INetworkProjectile4Impacts and hit detection
NonDamagingColliderclassColliderModifierSettings2Impacts and hit detection
ParticleImpactorclassMonoBehaviour5Impacts and hit detection: Particle damage (ParticleHit).
PickupBreakOnImpactclassBreakOnImpact0Impacts and hit detection: Breaks an item on a hard hit.
PooledFixedImpactorclassFixedImpactor1A FixedImpactor on a pooled object. It recharges each time the object is taken from the pool and can ignore resets.
ResourceDropChanceclass2One possible resource drop with its weighting, used in BoulderDefinition.ResourcesDropChances.
SparkImpactDetectorclassCraftableImpactDetector0Impacts and hit detection
SparkSecondaryDetectorclassNetworkEntityBehaviour1Makes sparks when certain colliders are struck on spark channels, which can light nearby flammables. The wielding client reports its hit and the server runs the sparks.
TriggerImpactDetectorclassMonoBehaviour2Impacts and hit detection
TriggerImpactDetectorBaseabstract classMonoBehaviour0Base for a trigger that reacts when an ImpactTool passes through it with enough effectiveness on the chosen channels.
TriggerImpactToolclassImpactTool2Impacts and hit detection

Alta.Inventory​

TypeKindBasePublic membersDocumented in, or what it is
AbstractDockEventsabstract classMonoBehaviour0Base component that turns a PickupDock's dock and undock events into first, each, last and undock callbacks. Can be limited to server or client.
AutomaticDockAreaclassMonoBehaviour, IBuildRendererBakeable, IBuildBakeable1Items, interaction and damage
BoundsDockPositioningclassMonoBehaviour0Overrides a dock's item placement: turns each docked pickup so its longest side lines up with the X axis and shrinks it to fit limits.
CharacterDockManagerclassComponentGroup<PickupDockGroup>0Player inventory: A ComponentGroup of PickupDockGroups.
ChestclassLockableHinge5Items, interaction and damage
CommunalStorageclassNetworkEntityBehaviour, ISavable<CommunalStorageData>, ISavableSave<CommunalStorageData>, +2 more3Items, interaction and damage
CommunalStorageDataclassNewSaveData<CommunalStorage, CommunalStorageData>1Save data for a CommunalStorage.
CommunalStorageUniqueIdentifierclassHashedGeneralValue<CommunalStorageUniqueIdentifier>0A hashed asset that names one global communal storage. The server saves what each one holds in the Global Communal Storage file.
ConsumableLockclassLock3A lock that is used up: when unlocked it breaks the key and plays an unlock animation, and Break destroys the lock itself.
CraftedDocksclassMonoBehaviour, IBlockDisassembly0Manages docks on a crafted part: shows or hides them (and a storage visual) when the assembly's root pickup is docked or undocked, and blocks disassembly while they hold items.
DockArrayclassNetworkEntityBehaviour14A group of pickup docks (a bag's or belt's slots) with totals for count, stored quantity and weight. Arrays can nest, so a parent includes its children's docks.
DockedOffsetclassNetworkEntityBehaviour1Moves a transform between two local positions when its pickup (or the crafted assembly's root pickup) is docked or undocked.
DockFilterdelegate0Docks
DockHideOptionsenum3Game setting for hiding dock visuals in screenshots: never, only empty docks, or always.
DockPositioningdelegate0Override for where a docked pickup sits: fills in local position, rotation and scale, returning false if it can't place it. Set through PickupDock.OverridePositioning.
DockVisibilityModeenum4How a dock shows itself to the player: not at all, fading alpha, fading size, or a highlight material when close.
DockVisualclassMonoBehaviour, IBuildRendererBakeable, IBuildBakeable9The bubble and item count label on a pickup dock. Switches materials by distance to the local player's head, pulses while hovered, and can hide from the hand camera. Client only; does nothing on a headless server.
GlobalCommunalStorageValuesclassNetworkEntityBehaviour6Server: keeps communal storage contents across server wipes, saved in the Global Communal Storage file. Static methods use a single instance set in Awake.
GlobalCommunalStorageValuesDataclassBasicSaveData<GlobalCommunalStorageValuesData>3Save data for the global communal storage: parallel lists of storage data, their identifiers and stored counts.
IInterfereWithDockinginterface1A component that can stop two items from stacking in one dock, such as liquid containers with different contents. Checked when an item is docked onto one already there.
IngotclassItemComponent2Smelting and forging: ItemComponent on ingot items: SmeltingDuration and PhysicalMaterial.
InvertedTriangleStackingInstructionclassStackingInstructions<InvertedTriangleStackingInstructionSetup>7Stacking instructions asset that piles items in an inverted triangle inside a dock. Created from the Township/Stacking asset menu.
InvertedTriangleStackingInstructionSetupclassStackingInstructionSetup<InvertedTriangleStackingInstruction>0Builds the stacking layout for the inverted triangle instruction: rows that get wider as they go up, with random spacing and spin.
ItemclassHashedGeneralValue<Item>, IPageBasis35Items and materials, Arguments and results: A ScriptableObject asset (through Alta.HashedGeneralValue<Item> in Alta.Values). The same on both sides; it's data.
Item.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<Item>0Editor menu entry for creating an Item asset.
Item.CustomDockPositioningclassDockPositioning2A store position and rotation for an item in one kind of dock. A null dock type acts as the fallback for any dock.
Item.DockPositioningclass3Where an item sits when stored in a dock: a local position and rotation. PickupDock gets one from Item.GetPositioning and scales the position to fit.
ItemCountclass2An item and an amount, used for smelting recipe inputs and outputs.
ItemDockedVfxEventclassAbstractDockEvents0Plays a pooled effect at a spawn point when items are docked into or undocked from a dock.
ItemSetclassScriptableObject1ScriptableObject holding a list of item definitions.
ItemSet.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<ItemSet>0Editor menu entry for creating an ItemSet asset.
JengaStackingInstructionclassStackingInstructions<JengaStackingInstructionSetup>4Stacking instructions that lay items in alternating crossed layers like a Jenga tower (menu Township/Stacking/Jenga Instructions).
JengaStackingInstructionSetupclassStackingInstructionSetup<JengaStackingInstruction>0Builds the stacking layout for the Jenga instruction: layers of items that turn 90 degrees each layer.
JengaStackingInstructionSetup.Levelstruct3One layer of a jenga stack: how many items fit along X and Z, and the total.
KeyItemclassPickup7Items, interaction and damage
KeyItemEventclassAltaEvent<KeyItem, KeyUnityEvent>0A serializable event with a KeyItem argument, such as a lock's key turn event.
KeyUnityEventclassUnityEvent<KeyItem>0Serializable Unity event that passes a KeyItem.
LockclassNetworkEntityBehaviour11Items, interaction and damage
LockableEventclassAltaEvent<LockableHinge, LockableUnityEvent>0A serializable AltaEvent that passes a LockableHinge, used for lock and chest thump events.
LockableHingeclassNetworkEntityBehaviour, ISavableFull<LockableHingeSaveData>, ISavable<LockableHingeSaveData>, +3 more5Items, interaction and damage
LockableHingeSaveDatainternal classNewSaveData<LockableHinge, LockableHingeSaveData>4Save data for a LockableHinge: whether it has a lock and its state.
LockableUnityEventclassUnityEvent<LockableHinge>0Serializable Unity event that passes a LockableHinge.
LockEffectUnityEventclassUnityEvent<Lock>0Serializable Unity event that passes a Lock, for lock effects.
LockEventclassAltaEvent<Lock, LockUnityEvent>0A serializable event with a Lock argument, such as a lock's locked or broken events.
LockItemEventclassAltaEvent<Lock, LockEffectUnityEvent>0Inspector event that passes a Lock. Used for Chest.LockJingleJangle.
LockUnityEventclassUnityEvent<Lock>0Serializable Unity event that passes a Lock.
OnlyAllowDockingWhenEmptyclassNetworkEntityBehaviour1Blocks a container from being docked while its own docks hold anything, and blocks its docks from taking items while it is docked.
PersonalChunkclassNetworkEntityBehaviour4A chunk that loads one player's personal storage, saved under a name with that player's ID. Server only; one player at a time, and a player can only use one at a time.
PickupDockclassInteractable, ISavableFull<PickupDockSaveData>, ISavable<PickupDockSaveData>, +9 more54Other systems, Player inventory
PickupDock.AllowedResultenum23Why a dock accepted or refused a pickup: Ok, or a reason such as wrong item, tag filter, full or crafting rules.
PickupDockerclass10The part of a Pickup that docks it into and out of a PickupDock and syncs that over the network. Both sides; each pickup owns one.
PickupDockFilterdelegate0Filter called before a pickup docks; set result to false to stop it docking in that dock.
PickupDockHandlerdelegate0Handler for an event about a single dock.
PickupDockHoverHandlerdelegate0Handler for PickupDock.HoverCountChanged, with the dock and its previous hover count.
PickupDockInteractionHandlerdelegate0Callback with the interactor, pickup and dock, used by PickupDocker's PreDocked, Docked and Undocked events.
PickupDockSaveDatainternal classNewSaveData<PickupDock, PickupDockSaveData>3Save data for a PickupDock (version 2): what is docked and how many.
PickupDockSaveDataOldinternal classOldSaveData4Version 1 save data for a PickupDock, migrated to PickupDockSaveData when loaded.
PickupDockSettingsclassScriptableObject42Docks: Alta.Inventory.PickupDockSettings is a ScriptableObject asset that many docks share.
PickupDockSettings.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<PickupDockSettings>0Editor menu entry for creating a PickupDockSettings asset.
PickupDockVisualSettingsclassScriptableObject6ScriptableObject with how dock bubbles look: materials by distance, colours for whether a held item fits, and hover and fade settings. Client side, used by DockVisual.
PickupDockVisualSettings.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Items.Docking.ScriptableObject<PickupDockVisualSettings>0Editor menu entry for creating a PickupDockVisualSettings asset.
PickupTagclassScriptableObject0An empty asset used as a tag for marking and matching pickups.
PickupTag.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Items.ScriptableObject<PickupTag>0Editor menu entry for creating a PickupTag asset.
PlayerDocksclassMonoBehaviour0Player inventory: On the body; adds an InteractionFilter to every dock so only the owner can take from them.
PooledDockVisualclassPooledObject4Pooled visual for a dock: the bubble mesh, its filter and a 3D count label.
QuantityChangeHandlerdelegate0Parameterless handler for PickupDock.QuantityChanged.
RejectDockAreaclassAutomaticDockArea, INetworkEntityBehaviour1Items, interaction and damage
SphereInBoxStackingInstructionclassStackingInstructions<SphereInBoxStackingInstructionSetup>4Stacking instructions asset that packs spheres in a box grid inside a dock. Created from the Township/Stacking asset menu.
SphereInBoxStackingInstructionSetupclassStackingInstructionSetup<SphereInBoxStackingInstruction>0Builds the stacking layout for the sphere in box instruction: a grid of randomly rotated, slightly jittered items filling the bounds.
StabilizeJointContainerclassStabilizePickupJoint0StabilizePickupJoint for jointed containers (bags): also scales a held visual and hides the storage visual while docked.
StabilizeLanternclassStabilizeJointContainer0StabilizeJointContainer for lanterns. In a physical dock it joins the lantern to the dock's root rigidbody and passes grabs through to the root pickup.
StabilizePickupJointclassMonoBehaviour, IPostboxPopped3Keeps a jointed pickup (such as a bag on a joint) stable: limits its distance and speed while held, and rebuilds the joint when the player teleports.
StackingComponentclassMonoBehaviour, IReferenceRenderer, IPreventNoLongerReadable, +2 more4Component on a stackable item's prefab that holds its stacking instructions and the meshes used to draw and collide a stack of it.
StackingInstructionsabstract classScriptableObject2Base asset that describes how items stack in a space. It makes a StackingInstructionSetup for given bounds; the generic subclass creates the setup type for you.
StackingInstructions<T>abstract classStackingInstructions1Base for stacking instructions assets that build their layout with a setup class T.
StackingInstructionSetupabstract class5Base for working out where stacked copies of an item go inside some bounds, from StackingInstructions. Used by StorageOrganizer.
StackingInstructionSetup<T>abstract classStackingInstructionSetup1Base for a stack layout built from a specific StackingInstructions type. Subclasses fill Positions and MaxQuantity.
StorageDataclass3One saved row of the global communal storage: an item, its material and how many are stored. Kept by GlobalCommunalStorageValues.
StorageOrganizerclassMonoBehaviour, IUpdateOnMove0Items, interaction and damage
SubDockHandlerdelegate0Event handler for a pickup docking into or out of a sub dock of a docked item. Used by PickupDock.OnSubDocked and OnSubUndocked.

Alta.Inventory.Pickups.Scripts​

TypeKindBasePublic membersDocumented in, or what it is
PickupActionDatastruct6Plain data about one pickup inventory action: who did it, what pickup, how many and where it went.
PickupEventStreamLoggerstatic class4Server: reports pickup, drop, dock and undock actions to the console InventoryChanged event. Skipped in local test scenes.

Alta.Logic​

TypeKindBasePublic membersDocumented in, or what it is
BoolSenderInputclassSenderInput<LogicBoolSender, LogicBoolSaveData>0Serializable link from a logic receiver to a bool sender (LogicBoolSender).
FloatSenderInputclassSenderInput<LogicFloatSender, LogicFloatSaveData>0A serialized link from a logic receiver to a LogicFloatSender.
GlobalLogicManagerclassNetworkEntityBehaviour, ISavable<LogicManagerData>, ISavableSave<LogicManagerData>, +2 more6Other systems: Holds every logic value (GetData<TData>(ref uint identifier)). Saved.
ILogicComponentinterface1A logic component that the GlobalLogicManager prepares in the editor before the scene is saved.
ILogicValueDatainterface1Save data for a logic (wiring) value, tied to its logic identifier. GlobalLogicManager keys its stored values by that identifier.
ILogicValueLinkReceiverinterface1A logic receiver (or receiver array) that a LogicValueSender can be linked to.
IntSenderInputclassSenderInput<LogicIntSender, LogicIntSaveData>0A serialized link from a logic receiver to a LogicIntSender.
LogicBoolReceiverclassLogicValueReceiver<BoolSenderInput>, ISavable<LogicBoolReceiverData>, ISavableSave<LogicBoolReceiverData>, +1 more4Other systems: Reacts to a bool sender: IsActive, event UnityAction<bool> Changed, Activated, Deactivated.
LogicBoolReceiverDataclassNewSaveData<LogicBoolReceiver, LogicBoolReceiverData>1Save data for a LogicBoolReceiver.
LogicBoolSaveDataclassNewSaveData<LogicBoolSender, LogicBoolSaveData>, ILogicValueData3Save data for a LogicBoolSender: its logic link data and its bool value.
LogicBoolSaveData1classOldSaveData3Version 1 save data for a LogicBoolSender, migrated to LogicBoolSaveData when loaded.
LogicBoolSenderclassLogicValueSender<LogicBoolSaveData>2Other systems
LogicChannelclassHashedGeneralValue<LogicChannel>0Hashed asset for a logic channel, kept under Logic/Channels. Nothing else in this build uses it.
LogicFloatChangeOnBoolclassMonoBehaviour, ISavable<LogicFloatChangeOnBoolSaveData>, ISavableSave<LogicFloatChangeOnBoolSaveData>, +1 more2Other systems
LogicFloatChangeOnBoolSaveDataclassNewSaveData<LogicFloatChangeOnBool, LogicFloatChangeOnBoolSaveData>, ILogicValueData7Save data for LogicFloatChangeOnBool, which moves a float between two values while powered by a bool.
LogicFloatChangeOnBoolSaveData1classOldSaveData7Version 1 save data for a LogicFloatChangeOnBool, migrated to LogicFloatChangeOnBoolSaveData2 when loaded.
LogicFloatChangeOnBoolSaveData2classOldSaveData7Old save format (version 2) for LogicFloatChangeOnBool. Only read from old saves and migrated to LogicFloatChangeOnBoolSaveData.
LogicFloatRangeReceiverclassLogicValueReceiver<FloatSenderInput>, ISavable<LogicFloatRangeSaveData>, ISavableSave<LogicFloatRangeSaveData>, +1 more1Other systems
LogicFloatRangeSaveDataclassNewSaveData<LogicFloatRangeReceiver, LogicFloatRangeSaveData>4Save data for LogicFloatRangeReceiver: the range settings and the linked float sender's data.
LogicFloatReceiverclassLogicValueReceiver<FloatSenderInput>, ISavable<LogicFloatReceiverData>, ISavableSave<LogicFloatReceiverData>, +1 more0Logic component that takes one float sender input and fires a Unity event with the new value whenever it changes. Server side; saves which sender it is linked to.
LogicFloatReceiverDataclassNewSaveData<LogicFloatReceiver, LogicFloatReceiverData>1Save data for LogicFloatReceiver: which float sender it listens to.
LogicFloatResetclassMonoBehaviour, ISavable<LogicFloatResetSaveData>, ISavableSave<LogicFloatResetSaveData>, +1 more3Other systems
LogicFloatResetSaveDataclassNewSaveData<LogicFloatReset, LogicFloatResetSaveData>, ILogicValueData6Save data for a LogicFloatReset, which eases a float sender back to a default value after a delay.
LogicFloatSaveDataclassNewSaveData<LogicFloatSender, LogicFloatSaveData>, ILogicValueData3Save data for a LogicFloatSender: its logic link data and its float value.
LogicFloatSenderclassLogicValueSender<LogicFloatSaveData>1Other systems
LogicFloatThresholdReceiverclassLogicValueReceiver<FloatSenderInput>, ISavable<LogicFloatThresholdSaveData>, ISavableSave<LogicFloatThresholdSaveData>, +1 more1Other systems
LogicFloatThresholdSaveDataclassNewSaveData<LogicFloatThresholdReceiver, LogicFloatThresholdSaveData>3Save data for LogicFloatThresholdReceiver: the threshold settings and the linked float sender's data.
LogicGateReceiverclassLogicValueReceiverArray<BoolSenderInput>, ISavable<LogicGateSaveData>, ISavableSave<LogicGateSaveData>, +1 more1Other systems
LogicGateSaveDataclassNewSaveData<LogicGateReceiver, LogicGateSaveData>3Save data (version 2) for LogicGateReceiver: the gate type, whether the output is inverted, and its bool inputs.
LogicGateSaveData1classOldSaveData3Old save format (version 1) for LogicGateReceiver, before the inverted-output flag. Migrated to LogicGateSaveData.
LogicIntRangeReceiverclassLogicValueReceiver<IntSenderInput>, ISavable<LogicIntRangeSaveData>, ISavableSave<LogicIntRangeSaveData>, +1 more1Other systems
LogicIntRangeSaveDataclassNewSaveData<LogicIntRangeReceiver, LogicIntRangeSaveData>4Save data for LogicIntRangeReceiver: the range settings and the linked int sender's data.
LogicIntReceiverclassLogicValueReceiver<IntSenderInput>, ISavable<LogicIntReceiverData>, ISavableSave<LogicIntReceiverData>, +1 more0Logic receiver that listens to an int sender and raises a Unity event with each new value. Saves the link to its sender.
LogicIntReceiverDataclassNewSaveData<LogicIntReceiver, LogicIntReceiverData>1Save data for LogicIntReceiver: which int sender it listens to.
LogicIntSaveDataclassNewSaveData<LogicIntSender, LogicIntSaveData>, ILogicValueData3Save data for a LogicIntSender: its logic link data and its int value.
LogicIntSenderclassLogicValueSender<LogicIntSaveData>2Other systems
LogicIntThresholdReceiverclassLogicValueReceiver<IntSenderInput>, ISavable<LogicIntThresholdSaveData>, ISavableSave<LogicIntThresholdSaveData>, +1 more1Other systems
LogicIntThresholdSaveDataclassNewSaveData<LogicIntThresholdReceiver, LogicIntThresholdSaveData>3Save data for LogicIntThresholdReceiver: the threshold settings and the linked int sender's data.
LogicIntToBoolclassMonoBehaviour, ISavable<LogicIntToBoolData>, ISavableSave<LogicIntToBoolData>, +1 more2Other systems
LogicIntToBoolDataclassNewSaveData<LogicIntToBool, LogicIntToBoolData>1Save data for LogicIntToBool, which turns an int input into a bool.
LogicManagerDataclassNewSaveData<GlobalLogicManager, LogicManagerData>2Save data for GlobalLogicManager: every logic value it holds and the next free identifier.
LogicManagerSetclass1Save wrapper for the global logic manager's values, stored in LogicManagerData.set.
LogicOperationTypeenum5Logic gate kind: And, Or, Xor, Nand or Toggle.
LogicSaveDataclassBasicSaveData<LogicSaveData>5Saved state of a logic value with an identifier and change events.
LogicSumFloatReceiverclassLogicValueReceiverArray<FloatSenderInput>, ISavable<LogicSumFloatSaveData>, ISavableSave<LogicSumFloatSaveData>, +1 more1Other systems
LogicSumFloatSaveDataclassNewSaveData<LogicSumFloatReceiver, LogicSumFloatSaveData>, ILogicValueData3Save data for LogicSumFloatReceiver: its own output value data and the float inputs it adds up.
LogicSumIntReceiverclassLogicValueReceiverArray<IntSenderInput>, ISavable<LogicSumIntSaveData>, ISavableSave<LogicSumIntSaveData>, +1 more1Other systems
LogicSumIntSaveDataclassNewSaveData<LogicSumIntReceiver, LogicSumIntSaveData>, ILogicValueData3Save data for LogicSumIntReceiver: its own output value data and the int inputs it adds up.
LogicValueReceiver<TSenderInput>abstract classNetworkEntityBehaviour, ILogicValueLinkReceiver, ILogicComponent4Base for a logic component that listens to one logic value sender and reacts when the value changes. Server side; subclasses implement ValueUpdated.
LogicValueReceiverArray<TSenderInput>abstract classNetworkEntityBehaviour, ILogicValueLinkReceiver, ILogicComponent4Base for logic receivers that listen to a list of senders and react when any of them changes, such as gates and sums. Server side.
LogicValueSenderabstract classNetworkEntityBehaviour, ILogicComponent5Base for logic circuit components that hold a value in the global logic manager's data, saved with the entity. LogicValueSender<TData> does the work for one data type.
LogicValueSender<TData>abstract classLogicValueSender, ISavable<TData>, ISavableSave<TData>, +1 more6Base for logic components (switches, wires and similar) whose value lives in a shared logic data record held by a GlobalLogicManager, so linked parts see the same value. Server-side; saved through the record.
LogicVector3ReceiverclassLogicValueReceiver<Vector3SenderInput>, ISavable<LogicVector3ReceiverData>, ISavableSave<LogicVector3ReceiverData>, +1 more0Logic component that takes one Vector3 sender input and invokes a position handler with the new value whenever it changes. Server side; saves which sender it is linked to.
LogicVector3ReceiverDataclassNewSaveData<LogicVector3Receiver, LogicVector3ReceiverData>1Save data for LogicVector3Receiver: which Vector3 sender it listens to.
LogicVector3SaveDataclassNewSaveData<LogicVector3Sender, LogicVector3SaveData>, ILogicValueData3Save data for LogicVector3Sender: the shared logic data and the current vector.
LogicVector3SenderclassLogicValueSender<LogicVector3SaveData>1Other systems
PositionProviderclassNetworkEntityBehaviour, ISavable<PositionProviderSaveData>, ISavableSave<PositionProviderSaveData>, +3 more2Other systems: A saved position (local or world) that logic can move.
PositionProviderSaveDataclassNewSaveData<PositionProvider, PositionProviderSaveData>2Save data for PositionProvider, which sends its transform's position as a logic value.
SenderInputabstract classILogicValueLinkReceiver5Base for a receiver's link to one logic sender: holds the manager and lets the receiver subscribe to value changes. Serialized inside receiver components.
SenderInput<TSender, TData>classSenderInput7A logic input that listens to one logic sender's value (for wired logic like levers and doors) and raises ValueUpdated when it changes.
SenderInputArrayConverterstatic class1Extension helper that turns a list of sender inputs into an array of their linked data, for saving array receivers.
Vector3SenderInputclassSenderInput<LogicVector3Sender, LogicVector3SaveData>0A serializable input slot that links a receiver to a LogicVector3Sender, as used by LogicVector3Receiver.

Alta.Mechanisms​

TypeKindBasePublic membersDocumented in, or what it is
BendPathclassPath2Other systems
CrankclassMechanism0Other systems: A Mechanism turned by hand in half or quarter turns.
Mechanismabstract classNetworkEntityBehaviour1Other systems: Watches an ActivationPickup; while it's held (and, if hand based, the base is held too), the server runs the subclass's CheckAction coroutine.
NonPhysicalLeverclassNetworkEntityBehaviour5Other systems: A lever with IsActive, MoveToPosition(float), ForceFull(bool), ForceEmpty(bool).
Pathabstract classMonoBehaviour2Other systems
PullAwayclassNetworkEntityBehaviour1Other systems: Something you pull off, raising onPulled past a distance.
ScrubberclassMonoBehaviour1Other systems: A grab handle that slides along a Path in Steps steps and raises updatedStep.
StraightPathclassPath2Other systems

Alta.Pages​

TypeKindBasePublic membersDocumented in, or what it is
BookclassNetworkEntityBehaviour, ISavable<BookSaveData>, ISavableSave<BookSaveData>, +3 more19Pages and books: A book pickup.
BookFlairabstract classScriptableObject1Base asset for a decoration (spine, edge, emblem) added to a book's model, with renderers for each LOD.
BookPageInstanceclassPageInstance3A page shown inside a book. Grabbing its tip and dragging sideways turns the page, and dragging up or down on a facing page pulls it out or copies it as a paper page. On the page prefab; both sides.
BookRestrictorclassPositionRestrictor, ISavable<BookRestrictorSaveData>, ISavableSave<BookRestrictorSaveData>, +1 more1Pages and books
BookRestrictorSaveDatainternal classNewSaveData<BookRestrictor, BookRestrictorSaveData>1Save data (version 1) for a BookRestrictor.
BookSaveDatainternal classNewSaveData<Book, BookSaveData>2Save data (version 1) for a Book: its page collection and the pages inside it.
BookSpawnerclassNetworkEntityBehaviour1Pages and books
DisplayArgumentsclass5Message payload a Book sends to chunks to update its page counter: pages found, total pages and the current page.
DockPageTaskclassHashSetAction<DockObjectTaskArgument>1Game task asset (Township Tale/Game Tasks/Dock Page) that counts when a page item is docked into one of the chosen docks.
EdgeFaceFlairsclass6Decorative corner and middle pieces for the front and back faces at a book's outer edge. Used by FlairSettings.
FaceEdgeCornerclassBookFlair0A book flair asset for the corner on a book's outer edge. No extra data beyond BookFlair.
FaceEdgeCorner.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEdgeCorner>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEdgeCorner book flair asset.
FaceEdgeMiddleclassBookFlair0A book flair asset for the middle of a cover's edge. A BookFlair ScriptableObject that adds its prefab to the book.
FaceEdgeMiddle.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEdgeMiddle>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEdgeMiddle book flair asset.
FaceEmblemclassBookFlair0A book flair asset for the emblem on a book's cover. Used by FlairSettings when there is no glyph.
FaceEmblem.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEmblem>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEmblem book flair asset.
FaceEmblemFrameclassBookFlair0A book flair asset for the frame around a book's cover emblem, glyph or letter.
FaceEmblemFrame.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceEmblemFrame>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceEmblemFrame book flair asset.
FaceSpineCornerclassBookFlair0A book flair asset for the corner by a book's spine. No extra data beyond BookFlair.
FaceSpineCorner.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceSpineCorner>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceSpineCorner book flair asset.
FaceSpineMiddleclassBookFlair0A book flair asset for the middle of a cover next to the spine, used as the front or back middle in SpineFaceFlairs.
FaceSpineMiddle.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FaceSpineMiddle>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FaceSpineMiddle book flair asset.
FlairLodSetclassMonoBehaviour3Component on a book flair prefab listing its renderers for each of three LOD levels, so the book can add them to its LOD group.
FlairSetclassScriptableObject3Asset with one set of decorative flairs for a book's pages: spine, spine face and edge face. FlairSettings holds the base sets.
FlairSet.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<FlairSet>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new FlairSet asset.
FlairSettingsclass13How a book's cover is decorated: flair meshes for the spine, spine face and edge face, materials, and one face mark (a glyph, an emblem or a letter).
FlairSettings.FrameMaterialModeenum3Which material a book's emblem frame uses: unchanged from its prefab, the book material, or the flair material.
GlobalPagesManagerclassNetworkEntityBehaviour, ISavable<GlobalPagesManagerSaveData>, ISavableSave<GlobalPagesManagerSaveData>, +1 more9Pages and books: Alta.Pages.GlobalPagesManager, a NetworkEntityBehaviour singleton (GlobalPagesManager.Instance). The list is built and kept on the server and saved with the world.
GlobalPagesManagerSaveDatainternal classNewSaveData<GlobalPagesManager, GlobalPagesManagerSaveData>2Save data (version 2) for the GlobalPagesManager.
GlobalPagesManagerSaveData1internal classOldSaveData2Old version 1 save data for the GlobalPagesManager, kept so old saves can load.
GlyphclassHashedGeneralValue<Glyph>6Pages and books
Glyph.Positioningclass12Where a glyph sits on a page: position, rotation and scale, snapped to steps so it syncs compactly (0.01 position, 10 degrees, 0.1 scale).
GlyphInstanceclassMonoBehaviour3Pages and books
HapticWhileHeldclassMonoBehaviour2Component that buzzes the holding hand's controller every frame while its Pickup is held. Client side.
IPageBasisinterface4Something a page can be generated about, such as an item or recipe, so books and notes can describe it.
MouldRestrictorclassPositionRestrictor2Pages and books
NewPageArgumentsclass5Message payload a Book sends to chunks when the server spawns a page into it.
PageclassSimpleHashedGeneralValue<Page>, IPageBasis6Asset for a fixed (hand-made) page, such as a recipe or lore page, with its glyph layout. Served by the static page provider.
Page.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.ScriptableObject<Page>0Editor menu item under Assets/Create/Township/Features/Pages that makes a new Page asset.
PageCollectionclassHashedGeneralValue<PageCollection>9Arguments and results
PageCollection.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.ScriptableObject<PageCollection>0Editor menu item under Assets/Create/Township/Features/Pages that makes a new PageCollection asset.
PageCollectionConverterclassTypeConverter2TypeConverter that turns a string into a PageCollection by name. Nothing in this build attaches it to a type.
PageDataclass11The content of a book or paper page: a list of placed glyphs, or data from a PageProvider for generated pages. Serialised over the network and compared by value.
PageInstanceclassGeneratedNetworkEntityBehaviour, ISavable<PageInstanceSaveData>, ISavableSave<PageInstanceSaveData>, +1 more11Pages and books: A page inside a book or on paper: Book, Data, Set(PageData), event Action<PageInstance> OnChangedPage.
PageInstanceSaveDataclassNewSaveData<PageInstance, PageInstanceSaveData>5Save data for a PageInstance: either a reference to a page from a page provider, or a list of custom glyph positions.
PageInstanceSaveData1classOldSaveData4Old (version 1) save data for a PageInstance. It is migrated to PageInstanceSaveData on load.
PageInstanceSaveData2classOldSaveData5Old version 2 save data for a PageInstance, kept so old saves can load.
PageRendererclassMonoBehaviour3Client: renders page glyphs into render texture materials with its own camera, caching and pooling them per PageData. A singleton; does nothing on a headless server.
PaperPageInstanceclassPageInstance4Pages and books: A loose page you find.
PinboardclassNetworkEntityBehaviour1Pages and books: A board that shows a set of pages.
PositionRestrictorclassNetworkEntityBehaviour, ISavable<PositionRestrictorSaveData>, ISavableSave<PositionRestrictorSaveData>, +1 more11Pages and books
PositionRestrictorSaveDataclassNewSaveData<PositionRestrictor, PositionRestrictorSaveData>7Save data for a PositionRestrictor (save version 3): the allowed area and the spawn point players are sent back to.
PositionRestrictorSaveData2classOldSaveData8Old version 2 save data for a PositionRestrictor, kept so old saves can load.
PositionRestrictorSaveDataOld1classOldSaveData2Old version 1 save data for a PositionRestrictor, holding only a radius.
SpineEdgeclassBookFlair0A book flair asset for the top or bottom end of the spine, used in SpineFlairs.
SpineEdge.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<SpineEdge>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new SpineEdge book flair asset.
SpineFaceFlairsclass6Decorative corner and middle pieces for the front and back faces at a book's spine side. Used by FlairSettings.
SpineFlairsclass3Decorative top, middle and bottom pieces for a book's spine. Used by FlairSettings.
SpineMiddleclassBookFlair0A book flair asset for the middle of a book's spine.
SpineMiddle.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Pages.Flairs.ScriptableObject<SpineMiddle>0Editor menu item under Assets/Create/Township/Features/Pages/Flairs that makes a new SpineMiddle book flair asset.
TurnPageArgumentsclass5Message payload a Book sends to chunks when the server turns a page.