Values
Values are numbers, text or colors that are calculated while the game runs, so a setting can follow a level, a dial, a stat or any other changing source instead of staying fixed.
6 listed · Argon 1.1.0
Ability Bar Slot
The slot, counting from 0, that the player has put the given ability in on the given ability bar (in the current preset, normal or crouch), or -1 if it is not assigned. Use it as an ability's list_index so assigned abilities sit together on one page of the ability list in the order of their slots, however many abilities the pool holds.
Double
Beam Charge
Scales a value by how charged the shot of a charged argon:energy_beam was. Use it in that beam's damage, knockback or lift. Multiplies "value" by "min" at no charge and "max" at full charge.
Double
Flight Speed
A flight speed that follows an argon:flight_speed_adjuster dial: "base" plus the dial's value divided by its division_amount. Use it for a flight type's "speed" and "sprint_speed". Just "base" while the ability is off.
Double
Item Custom Value
A number a Tech Table module wrote onto the item in the given slot with its "argon:custom_value" effect, under the name given there. Uses the fallback if the item has no such value.
Double
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
slot | mainhandoffhandheadchestlegsfeetbodycurios:headcurios:necklace | The slot whose item to read, e.g. an armor slot or a curios slot. | ✓ | / |
key | String | The name the value was given in the module's effect. | ✓ | / |
fallback | Double | What to use when the item does not have the value. | ✗ | 0.0 |
Power Age
The age, in days, counted by an argon:time_growth ability: the time the ability has been enabled for the player, as a decimal. 0 if the ability is missing.
Double
Smoothed
A number that slides toward another value at a steady speed instead of jumping, so stepped values like a beam's range change smoothly. Each entity has its own figure, which restarts if unread for half a second.
Double
| Key | Type | Description | Required | Fallback |
|---|---|---|---|---|
value | (Dynamic) Value | The value to follow. | ✓ | / |
speed | Double | How far it moves towards a higher value each second, in the wrapped value's own unit. | ✓ | / |
fall_speed | Double | How far it moves towards a lower value each second; the same as "speed" if left out. | ✗ | 0.0 |