Stats, effects, heat and liquid
Types in Alta.StatSystem, Alta.Alchemy, Alta.Heat and Alta.Liquid. 185 types, 73 with a hand-written page.
See the overview for what the columns mean and how this list is made.
Alta.Alchemy
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
BreathableArea | class | EffectArea | 0 | Obsolete EffectArea subclass with no behaviour of its own. Kept so old prefabs still load. |
BuildUpconcoctionEffect | abstract class | EffectDefinition | 1 | Effects |
BuildupTeleportEffect | class | BuildUpconcoctionEffect | 0 | Effects |
BurnEffect | class | EffectDefinition | 0 | Effects: Positive strength starts adding to the "burn" stat every tick, negative stops it. |
ChanceBasedEffectDefinition | abstract class | EffectDefinition | 1 | Effects |
DamageOverTime | class | DurationEffect<DamageOverTime> | 3 | Old duration effect stub from the earlier alchemy code. It stores a strength and does nothing each update; nothing else in the game uses it. |
DurationEffect<T> | abstract class | Effect | 5 | Base for old-style effects that last over time, with a Stopped event. Part of the legacy Effect classes, which the current EffectDefinition system does not use. |
Effect | abstract class | 4 | Base of the legacy effect classes (DurationEffect, EnvironmentalEffect). It only remembers the handler it was applied to; current effects use EffectDefinition instead. | |
EffectArea | class | MonoBehaviour | 0 | Trigger volume that applies a liquid's effect to health objects while they are inside it and removes it when they leave. Server only; on clients it turns itself off on the first trigger. |
EffectDefinition | abstract class | HashedGeneralValue<EffectDefinition>, IEffectDefinition | 2 | Effects: Alta.Alchemy.EffectDefinition : HashedGeneralValue<EffectDefinition>, abstract. Assets live under Cooking/Effects. |
EffectDefinitionApplication | class | IEffectDefinition | 9 | Effects: An effect with a strength and an optional duration. |
EffectEventHandler | delegate | 0 | Delegate for effect events. The plain version takes an EffectDefinition; the generic version takes the effect object and is used by DurationEffect.Stopped. | |
EffectEventHandler<T> | delegate | 0 | Callback with an effect of type T. Used for DurationEffect<T>.Stopped. | |
EffectHandler | class | MonoBehaviour | 8 | Effects: On anything effects can reach. |
EffectHandler.EffectOverTimeData | class | 3 | One queued effect-over-time entry on an EffectHandler: total strength, duration in seconds and the callback that applies each tick. | |
EffectHandler.TeleportType | enum | 3 | Why a player is being teleported by EffectHandler.Teleport: default, a potion, or being moved back to a challenge checkpoint. | |
EffectVolumeTrigger | class | VolumeTrigger | 2 | VolumeTrigger that applies a list of effect definitions to effect handlers that enter it and reverses them when they leave. Server only; disabled on clients. |
EnvironmentalEffect<T> | abstract class | DurationEffect<T> | 4 | Legacy duration effect that does not stack: extra copies join a shared list and the effect only finishes when the last copy stops. Not used by the current effect system. |
FireExtinguishingFluid | class | MonoBehaviour | 0 | Heat |
IEffectDefinition | interface | 1 | Something that can apply an effect to an EffectHandler at a strength. Implemented by EffectDefinition. | |
InateEffect | class | EffectDefinition | 0 | Effects |
PlayerEffectController | class | EffectHandler | 3 | The player's EffectHandler. Adds networked teleporting: it moves the local player and shows the teleport effect for everyone nearby. Both sides; a component on the player prefab. |
PoisonEffect | class | EffectDefinition | 1 | Effects: Positive strength adds a poison stack, negative removes one. Needs target.Health. |
RevealEffect | class | EffectDefinition | 0 | Effects: Raises the handler's OnReveal. |
StatChangeEffect | class | StatEffect | 0 | Effects: Adds strength to the stat's Base. This is how food fills hunger and fullness. |
StatEffect | abstract class | EffectDefinition | 1 | Effects: Finds StatToAffect on the target's StatManager and calls ModifyStat. |
StatMultiplierEffect | class | EffectDefinition | 0 | Effects: Applies a timed StatModifier of its own modifierValue, lasting strength seconds. |
StatMultiplierEffect.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<StatMultiplierEffect> | 0 | Editor menu entry that creates a new StatMultiplierEffect asset. Editor only, no runtime use. |
StatSetEffect | class | StatEffect | 0 | Effects: Sets the stat's Base to strength. |
TeleportEffect | class | ChanceBasedEffectDefinition | 0 | Effects: A ChanceBasedEffectDefinition: with chance strength * chanceMultiplier, teleports the target home or to a spawn area. |
Alta.Heat
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
CylinderHeatArea | class | HeatAreaModifier | 0 | Shapes a HeatArea as a cylinder: heat points get full temperature inside innerRadius of the axis, fading to none at outerRadius. |
EnergyBasedHeatSource | class | HeatSourceBase | 0 | Heat: A HeatSourceBase whose ConductToHeatPoint adds nothing. Looks unfinished. |
Fire | class | HeatSourceBase, IFlammable, IEntityReplaceHandler, +3 more | 6 | Heat, Health and damage: Fires that use fuel (campfires, and the smelter's innerFire). |
FireDissolve | class | Fire, IBuildRendererPostBake, IBuildBakeable | 1 | A Fire that also burns its mesh away: lighting swaps its renderers to a copy of a burning material whose _Progress follows the fire's progress. Visuals are skipped on headless servers. |
FireExtinguisher | class | MonoBehaviour | 0 | Heat |
FireLighter | class | MonoBehaviour | 1 | Heat |
FireSaveData | internal class | NewSaveData<Fire, FireSaveData> | 1 | Save data for a Fire (save structure version 2). |
FireSaveData1 | internal class | OldSaveData | 2 | Old version 1 save data for a Fire, kept so old saves load. |
FireSettings | class | ScriptableObject | 11 | Heat: Effects and timings for fire. |
FireSettings.Create | class | AltaMenuItemBase.Assets.Create.Township.Misc.ScriptableObject<FireSettings> | 0 | Editor menu entry that creates a new FireSettings asset under the Township Misc create menu. |
FireStatusRaycastCrafter | class | RaycastCrafter | 0 | A RaycastCrafter that copies a fire's state onto what it crafts, so a lit item stays lit when it becomes the new object. |
FuelComparer | class | IComparer<Fuel> | 1 | Sorts Fuel by EfficiencyCap, lowest first. |
HandShakeOffDetector | class | NetworkEntityBehaviour | 4 | Heat: A shake score for a hand, read by MovementHeatPoint (heat from moving). |
HeatArea | class | NetworkEntityBehaviour | 12 | Heat: A trigger volume around a heat source (above a fire, inside a smelter or a pot's base). |
HeatArea.PointFilterDelegate | delegate | 0 | Handler for HeatArea.PointFilter. Set isValid to false to stop a heat point that entered the area from being registered. | |
HeatAreaModifier | abstract class | MonoBehaviour | 0 | Base for components that give a HeatArea on the same object a shape, by setting how much of its temperature each heat point gets. |
HeatManager | class | MonoBehaviour | 0 | Heat: Burns a body: it watches a HeatPointCollection's points and, on the server, damages its HealthObject when they pass burnDamageThreshold, and lights it above ignitionThreshold. |
HeatPoint | class | MonoBehaviour, IChildSyncable<HeatPoint, HeatPointCollectionSaveData.Element>, IChildSyncable<HeatPoint>, +4 more | 30 | Heat: Implements IHeatReceiver (and so IHeatSource). Usually several per item, held by a HeatPointCollection on the entity, which saves and syncs them. |
HeatPoint.Neighbour | class | 3 | A heat point this one conducts heat to every fixed update, set up in the Inspector. | |
HeatPointCollection | class | ChildSyncableCollection<HeatPoint, HeatPointCollection, HeatPointCollectionSaveData, HeatPointCollectionSaveData.Element>, INetworkSerialized | 8 | The heat points on an entity, synced together as one block whenever any of them changes. See the heat guide. |
HeatPointCollectionAreaFilter | class | MonoBehaviour | 1 | Stops a HeatArea affecting chosen heat points, such as the object's own, by filtering them out. |
HeatPointTemperatureController | class | MonoBehaviour | 0 | Heat: Clamps a point between minTemperature and maxTemperature through its TemperatureModifier, on the server. |
HeatPointToHeatAreaLink | class | MonoBehaviour | 0 | Keeps a HeatArea's target temperature equal to a HeatPoint's temperature, so a hot object heats its surroundings. |
HeatSourceBase | class | NetworkEntityBehaviour, ISavableFull<HeatSourceBaseSaveData>, ISavable<HeatSourceBaseSaveData>, +3 more | 13 | Heat, Update modules: Something that burns: it lights when its attached heat point passes ignitionTemperature (100 by default in code) and goes out when it drops below putOutTemperature (80). |
HeatSourceBaseEventTriggers | class | MonoBehaviour | 1 | Exposes a HeatSourceBase's events (toggled, extinguished, break extinguish) as inspector UnityEvents. |
HeatSourceBaseSaveData | internal class | NewSaveData<HeatSourceBase, HeatSourceBaseSaveData> | 3 | Save data for a HeatSourceBase (save structure version 2). |
HeatSourceBaseSaveData1 | internal class | OldSaveData | 4 | Old version 1 save data for a HeatSourceBase, kept so old saves load. |
IFlammable | interface | 2 | Something a spark or fire lighter can set alight, such as a Fire or a Fuse. Found with GetComponent on what was hit. | |
IHeatReceiver | interface | IHeatSource | 5 | A heat source that can also take in heat, such as HeatPoint. Heat areas and other heat points conduct into it. |
IHeatSource | interface | 5 | Something with a temperature that can pass heat to a receiver. HeatPoint is the main one, through IHeatReceiver. | |
LinearHeatArea | class | HeatAreaModifier | 0 | Shapes a HeatArea as a falloff along one direction: full temperature at the origin, none at length along decreaseDirection. |
MovementHeatPoint | class | HeatPoint | 1 | A HeatPoint whose cooling to ambient depends on how hard it is shaken, using a HandShakeOffDetector score. |
RadiusHeatArea | class | HeatAreaModifier | 0 | Shapes a HeatArea as a sphere: full temperature inside innerRadius, fading to none at outerRadius. |
TemperatureModifier | delegate | 0 | Handler for HeatPoint.TemperatureModifier. Can change a new temperature by reference before the heat point stores it, as HeatPointTemperatureController does to clamp it. | |
TemperatureToMaterial | class | MonoBehaviour, IBuildRendererPostBake, IBuildBakeable | 1 | Heat: Glow and colour from temperature. Client visuals. |
Alta.Liquid
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
BoilingParticles | class | PooledObject | 5 | Pooled boiling bubble particles for a cooking liquid container. Client visual: tints to the liquid and changes lifetime and height with content level. |
BoilingParticlesMaterialCreator | class | MaterialCreator<LiquidVisualData> | 3 | Makes boiling particle materials for a liquid, setting its colour and glossiness on a copy of the template. |
BottledLiquid | class | LiquidSurfaceVisual | 0 | Liquid surface visual for bottles: sets a fill plane on the bottle's shader from how full it is, following the liquid's up direction. |
BottleLiquidMaterialCreator | class | MaterialCreator<LiquidVisualData> | 5 | Makes the liquid material for bottled liquid (BottledLiquid), with properties for the liquid's colour and fill plane. |
ContainerLiquidReceiver | class | MonoBehaviour | 1 | Put on a collider of a liquid container so that pouring particles hitting it pour into that container. |
FixedPouringStrengthController | class | PouringStrengthController | 2 | Pouring strength controller with a strength set from code instead of from tipping. |
GlobalLiquidContainer | class | LiquidContainer | 4 | Single scene liquid container used as a source and sink: liquid created from nothing is poured from it, and drunk or emptied liquid is poured into it. Get it with Instance. |
ILiquidContainer | interface | 22 | Liquids: Implemented by LiquidContainer (the usual one, a network entity), StaticLiquidContainer (a plain MonoBehaviour one, probably for fixed bodies of water) and whatever the drinking mouth carries. | |
ILiquidContainerInternal | interface | 6 | The internal side of a liquid container, used by the pouring code to change its contents directly. | |
ILiquidParticlesMarker | internal interface | 1 | Marks particles that came from a liquid container. | |
ILiquidTransitionController | interface | 0 | Marker for whatever is driving a liquid transition (pouring or gradual drinking). LiquidTransition uses it to track who controls it. PourableContainer and LiquidGradualDrinker implement it. | |
IPourableContainer | interface | 4 | Liquids | |
LiquidContainer | class | GeneratedNetworkEntityBehaviour, ILiquidContainer, ILiquidContainerInternal, +6 more | 24 | Holds a whole number of units of one liquid (a bucket, a flask, a pond). Only the server changes the contents; the level and liquid are synced, saved, and shown through an optional surface visual. Pours in progress show as fractional amounts. |
LiquidContainerAmountChangedHandler | delegate | 0 | Handler for ILiquidContainer.ContentLevelChanged: gets the container and its old and new content levels. | |
LiquidContainerHandler | delegate | 0 | Handler for ILiquidContainer.TotalAmountShownChanged: gets the container. | |
LiquidContainerLid | class | NetworkEntityBehaviour, IBuildRendererPostBake, IBuildBakeable | 9 | Liquids: A lid that opens and closes a container. |
LiquidContainerSaveData | class | NewSaveData<LiquidContainer, LiquidContainerSaveData> | 7 | Save data for a LiquidContainer (save version 1): its fill level, whether it can be filled or emptied, and either a preset liquid or custom liquid data. |
LiquidContainerSaveData.CustomData | class | 5 | Saved description of a custom (non-preset) liquid: its colour, visuals, effects and chunks. Used when the save data's isCustom is set. | |
LiquidContainerSaveData.Effect | class | 2 | One saved effect on a custom liquid. | |
LiquidContainerTrigger | class | MonoBehaviour | 2 | Liquids |
LiquidContent | class | 8 | Liquids: What's in a container: LiquidDefinition Liquid, LiquidData Data, bool IsCustom. Stews are custom content with their own data. | |
LiquidData | class | 19 | Liquids: [Serializable] class: Effects (EffectDefinitionApplications), ColorTint, LiquidVisual, ChunkVisuals, CookablesUsed, IsConsumableThroughSkin. | |
LiquidDataEventHandler | delegate | 0 | Handler for an event that passes LiquidData. | |
LiquidDefinition | class | HashedGeneralValue<LiquidDefinition> | 2 | Liquids: HashedGeneralValue<LiquidDefinition> asset under Cooking/Liquids: a named liquid (water, a potion). LiquidData Data, LiquidContent GetAsLiquidContent() (cached). |
LiquidFillFilter | delegate | 0 | Handler for ILiquidContainer.AddFilter. CanAddTo starts with true and any handler can set the ref bool to false to refuse the liquid. | |
LiquidFoamMaterialCreator | class | MaterialCreator<LiquidVisualData> | 1 | Makes liquid foam materials, setting the liquid's rim colour on a copy of the template. |
LiquidGravity | class | 14 | Simulates which way a liquid surface points as its container moves and tips, with some sloshing. LiquidSurfaceVisual uses one. Plain class, client visuals. | |
LiquidGravityAdjustment | static class | 1 | Maps a liquid's thickness (0 to 100) to how its surface moves. | |
LiquidHeatAreaController | class | MonoBehaviour | 0 | Liquids: Links a container's liquid to a heat area and heat point. |
LiquidParticleMarker | class | MonoBehaviour, ILiquidParticlesMarker | 1 | Marks pooled liquid particles with the container they came from. Cleared when the particles go back to the pool. |
LiquidPouringMaterialCreator | class | MaterialCreator<LiquidVisualData> | 3 | Makes the material for a pouring liquid stream from the liquid's visual data. |
LiquidPouringParticlesMarker | class | MonoBehaviour, ILiquidParticlesMarker | 3 | Marks a pour's particle system, so a container hit by the particles can find the pourable container they came from. |
LiquidSettings | class | GlobalSettings<LiquidSettings> | 4 | Liquids: GlobalSettings: transition speed, splash and pouring particles, DebugWaterConcoction. |
LiquidSettings.Create | class | AltaMenuItemBase.Assets.Create.Global_Settings.ScriptableObject<LiquidSettings> | 0 | Editor menu entry for creating the LiquidSettings global settings asset. |
LiquidStencilShaderController | class | MonoBehaviour | 0 | Client: gives a liquid container's volume and surface renderers a stencil number from a shared pool while it's visible and has liquid, and releases it otherwise. |
LiquidSurfaceMaterialCreator | class | MaterialCreator<LiquidVisualData> | 7 | Makes the liquid surface material from a liquid's visual data: colours, rim, fresnel, foam, waves and refraction. Shared through CookingLiquidVisual.MaterialCreator. |
LiquidSurfaceVisual | abstract class | MonoBehaviour, IBuildRendererPostBake, IBuildBakeable | 19 | Base for the liquid surface inside a container. It tracks how far the container is tipped (through LiquidGravity) and how full it is, and on clients draws the surface. It also stays active on the server, where the tip state is still updated. |
LiquidTransition | class | 11 | One pour in progress from a source liquid container into a receiving one. Progress builds up and each time it reaches 1, one unit of liquid moves over. | |
LiquidTypeChangedHandler | delegate | 0 | Handler for ILiquidContainer.ContainedLiquidChanged: gets the old and new liquid content. | |
LiquidVisualData | class | MaterialPropertyBlockSettings<LiquidVisualData> | 24 | Asset with the look of a liquid (colours, rim, fresnel, highlight, waves) that liquid surfaces apply as material properties. Client visuals only. |
MaterialCreator<T> | abstract class | 1 | Base for classes that build a liquid material from settings of type T and a template material. | |
PickupLiquidContainerEnabler | class | MonoBehaviour | 0 | Liquids: Links a pickup to its container, pouring and surface, and filters what can be added. |
PickupLiquidContainerEnabler.DockingElibility | enum | 3 | Which docks a liquid container pickup may go in while it holds liquid: none, only physical docks, or any. | |
PotionImpactColorer | class | MonoBehaviour | 1 | Colours a potion's impact particles to match its liquid. |
PourableContainer | class | MonoBehaviour, IPourableContainer, ILiquidTransitionController | 5 | Liquids |
PouringParticles | class | PooledObject | 7 | Pooled particle effect for liquid pouring out of a container, coloured to the liquid. Client side visual. |
PouringStrengthController | class | MonoBehaviour | 1 | Works out how hard a PourableContainer pours from how far it's tipped, with an optional boost when fully pouring. Sits next to the container. |
ShakeablePouringStrengthController | class | PouringStrengthController | 1 | Pouring strength controller where shaking the container adds to the pour from tipping. |
StaticLiquidContainer | class | MonoBehaviour, ILiquidContainer, ILiquidContainerInternal | 5 | An endless liquid source of one fixed liquid, with no visual or network entity. It is never empty or full, and adding or removing always succeeds without changing it. |
Alta.StatSystem
| Type | Kind | Base | Public members | Documented in, or what it is |
|---|---|---|---|---|
AreaFilter | enum | 3 | Flags for which part of a player a stat area affects: None, Body or Mind. StatAffectAccessor matches it against the area's target. | |
BurnStat | class | ControlledStat | 2 | Stats |
BurnStat.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<BurnStat> | 0 | Editor menu entry that creates a new BurnStat asset. Not used at runtime. |
ControlledStat | abstract class | StatDefinition | 1 | Stats: Cancels itself out against another stat, so one soaks up the other. |
DiscreteStatBar | class | StatBarBase | 3 | Stats |
DiscreteStatBarVisual | class | MonoBehaviour | 2 | Client: one segment of a DiscreteStatBar. Has its own material copy so its alpha can change, and can pulse with a scale animation. |
FullEmptyStatTrigger | class | MonoBehaviour | 0 | Stats |
FullEmptyUpdateModifier | internal class | Modifier | 2 | Internal modifier made by OnFullAffectTargetStatDefinition: when the tracked stat fills up it changes another stat, and it drains the tracked stat back down over time. |
FullnessStat | class | ThresholdStat | 2 | Hunger, eating and drinking, Stats: While fullness is above 0, a timer counts down by 1 / tickRatePerHungerThreshold[level] each tick, where level is hunger's current level. |
HealthData | class | ScriptableObject, ICollection<Instance>, IEnumerable<Instance>, +1 more | 8 | Stats |
HealthValidation | class | MonoBehaviour | 4 | Stats |
HungerStat | class | ThresholdStat | 1 | Hunger, eating and drinking, Stats: Server only (its Applied only runs on the server). |
HungerStat.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<HungerStat> | 0 | Editor menu entry that creates a new HungerStat asset. Not used at runtime. |
IncrementingStat | class | StatDefinition | 2 | Stats: Adds statChangePerSecond on every incremental tick while the value is above 0. |
IncrementingStat.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<IncrementingStat> | 0 | Editor menu entry that creates a new IncrementingStat asset. Not used at runtime. |
IndirectModifier | class | 8 | Stats | |
IndirectModifierSaveData | class | 4 | Saved state of one IndirectModifier, a stat change that plays out over a curve for a number of ticks. On load, ticks for the time passed since saving are added, and modifiers that ran out are dropped. | |
IndirectStatModifier | class | 4 | Stats | |
IndirectStatModifierDefinition | class | EffectDefinition | 1 | Effects |
IndirectStatModifierDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<IndirectStatModifierDefinition> | 0 | Editor menu entry that creates a new IndirectStatModifierDefinition asset. Not used at runtime. |
Instance | class | 3 | One entry in a HealthData asset: a prefab and the base health it should get. Editor and bake tooling; in this build GetInstance always returns null. | |
LevelEffectSize | class | MonoBehaviour, IBuildRendererPostBake, IBuildBakeable | 1 | Visual for a levelled stat effect: copies some mesh renderers with an overlay material and sets a shader value from the level. Client only. Nothing in code calls UpdateLevel, so it is probably wired up through a Unity event. |
LevelStatModifier | class | NetworkEntityBehaviour, ISavable<LevelStatModifierData>, ISavableSave<LevelStatModifierData>, +1 more | 6 | Stats: Drives a stat from a curve by a level number, and saves that level. |
LevelStatModifierData | class | NewSaveData<LevelStatModifier, LevelStatModifierData> | 1 | Save data for a LevelStatModifier. |
MaxStatDefinition | class | StatDefinition | 1 | Stats: Its Base becomes the Maximum of other stats (applied a frame later through AltaCoroutine.DelayCall, and again on death reset). |
MaxStatDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<MaxStatDefinition> | 0 | Editor menu entry that creates a new MaxStatDefinition asset. Not used at runtime. |
Modifier | abstract class | 5 | Stats: Apply() and Remove() call InternalApply and InternalRemove once each. | |
ModifierSet | class | IEnumerable, IEnumerable<Modifier> | 6 | Stats: A group applied and removed together (one per threshold level). |
OnFullAffectTargetStatDefinition | class | StatDefinition | 1 | Stat definition asset: when this stat fills up it changes another stat on the same manager, and it drains back down over time. The work is done by a FullEmptyUpdateModifier. |
PlayerStatManager | class | StatManager | 0 | The StatManager on players, with a list of stats meant to carry over through death. |
PlayerWeightStat | class | StatDefinition | 1 | Stats |
PoisonStat | class | StatDefinition | 1 | Stats |
PoisonStat.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<PoisonStat> | 0 | Editor menu entry that creates a new PoisonStat asset. Not used at runtime. |
SerializedFullEmptyStatTrigger | class | FullEmptyStatTrigger, ISavable<SerializedFullEmptyStatTriggerData>, ISavableSave<SerializedFullEmptyStatTriggerData>, +1 more | 0 | A FullEmptyStatTrigger that saves whether its stat was full, so it does not fire again after a reload. |
SerializedFullEmptyStatTriggerData | class | NewSaveData<SerializedFullEmptyStatTrigger, SerializedFullEmptyStatTriggerData> | 1 | Save data for a SerializedFullEmptyStatTrigger. |
SetSwitch | internal class | 1 | Internal helper that keeps at most one ModifierSet applied at a time. | |
StaminaBarVisibility | class | MonoBehaviour | 0 | Stats |
Stat | class | 31 | Stats: Plain class, one per stat per body. | |
StatAffectAccessor | class | MonoBehaviour | 1 | Component that points area effects at a StatManager, but only for the area filters it accepts. |
StatAffectingArea | class | MonoBehaviour | 0 | Stats: An area that changes a stat by affectValuePerSecond on things inside it. |
StatAppliedHandler | delegate | 0 | Callback for a stat being applied to a stat manager. | |
StatBar | class | StatBarSimple | 6 | Stats |
StatBarBase | class | MonoBehaviour | 6 | Base for a bar that shows one stat (such as on the player's wrist). Hides itself while the hand camera takes a photo. Client side. |
StatBarNotch | class | MonoBehaviour | 4 | One notch mark on a curved stat bar. The bar places it along the curve and sets it to a minor or major size. |
StatBarSimple | class | StatBarBase | 6 | Stats |
StatBarSimple.IsLerping | delegate | 0 | Callback for StatBarSimple.Lerping. Each listener sets the flag to true while it is still animating, and the bar keeps animating until none do. | |
StatBarVisibilityGroup | class | MonoBehaviour | 3 | Client: a group of stat bars on the local player's body that turns to face the camera and fades in when looked at. Forced visible in combat and hidden while downed; destroyed on remote players and on death. |
StatConverter | class | TypeConverter | 3 | Type converter that turns a stat name into the Stat on the last parsed player, for console command arguments. The player argument must come first. |
StatDefinition | class | HashedGeneralValue<StatDefinition> | 12 | Stats, Arguments and results: A ScriptableObject asset. Get one with StatDefinition.All, StatDefinition.Get(hash), or from a stat's Definition. |
StatDefinition.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Stats.ScriptableObject<StatDefinition> | 0 | Editor menu entry that creates a new StatDefinition asset. Not used at runtime. |
StatDefinitionApplication | class | 8 | Stats: [Serializable] class in a StatManager's list. Holds a definition plus Default, DefaultMinimum and DefaultMaximum. Stat.Reset goes back to these. | |
StatHandler | delegate | 0 | Callback that gets a Stat, used for stat change events. | |
StatList | class | IEnumerable<StatPlayerPair>, IEnumerable | 3 | Arguments and results |
StatListConverter | class | TypeConverter | 3 | Type converter that turns a stat name into a StatList of stat and player pairs for console commands. |
StatManager | class | NetworkEntityBehaviour, IEnumerable, ISavable<StatManagerSaveData>, +2 more | 17 | Stats: Instance, one per body. PlayerStatManager is a subclass that also lists stats to keep on death. |
StatManagerSaveData | class | NewSaveData<StatManager, StatManagerSaveData> | 3 | Stats: What a body saves: each saved stat's Base, timed and indirect modifiers. |
StatManagerSaveData.IndirectStatModifier | class | 3 | Saved indirect modifiers on one stat of a StatManager, with the timeline time they were saved at. | |
StatManagerSaveData.TimedModifier | class | 4 | A saved stat modifier that ends after a time, reapplied to the StatManager on load. | |
StatManagerSaveData1 | class | OldSaveData | 4 | Old version 1 save data for a StatManager, where modifier times were floats in seconds. Migrates to StatManagerSaveData. |
StatManagerSaveData1.IndirectStatModifier | class | 3 | Version 1 save record of indirect modifiers on one stat, with time in seconds. Migrated to StatManagerSaveData with a TimeSpan. | |
StatManagerSaveData1.TimedModifier | class | 4 | Version 1 save record of a timed stat modifier, with time in seconds. Migrated to StatManagerSaveData with a TimeSpan. | |
StatManagerSaveDataStat | class | 2 | One saved stat in a StatManager's save data: which stat and its base flat value. StatManager loads each into the matching live stat. | |
StatModifier | class | Modifier | 8 | Stats: Adds Value to Extra (or NonBuffExtra), or multiplies BuffMultiplier (or NonBuffMultiplier). |
StatModifierConstructor | internal class | 1 | Serialized recipe for one stat modifier, set up in the inspector on a ThresholdStat level and turned into a StatModifier when that level applies. | |
StatPlayerPair | class | 3 | A stat and the player it belongs to. StatList is a list of these, built by StatListConverter. | |
StatTrigger | class | MonoBehaviour | 0 | Stats |
StatUpgradeTarget | class | NetworkEntityBehaviour | 3 | Stats: Adds a fixed upgrade to a stat, with an effect. |
ThresholdStat | class | StatDefinition | 5 | Stats: Has Levels (each a name, a MinThreshold and stat modifiers). Applies the modifier set of the level the value is in, and swaps sets as it moves. |
ThresholdStat.ThresholdLevel | class | 5 | One level of a ThresholdStat: a name, the fraction it starts at, and the stat modifiers that apply while the stat is at that level. Defaults are empty at 0 and full at 0.3. | |
TimedStatModifier | class | 9 | Stats: A StatModifier removed after a time. Made by ApplyTimedModifier. Cancel() stops the timer. | |
UpdateModifier | internal class | Modifier | 2 | Stats: Runs an action on every Updated while applied. |