Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Character Values

Character Values

Jsonized value for accessing character wide bounded values within other places.

Fields

IdentifierDescription
id(mandatory) Unique string id
desc(optional) Info for how this will scale, used in enchantment desc.
var_value(optional) Reads the integer of this character value as the value
drain_resource(optional) Hardcode character value that is used, see references below
min_value(optional) Minimum value that this resource can have. Used for capping effects
max_value(optional) Maximum value that this resource can have. Used for capping effects

Hardcode Character Values

IdentifierDescription
STRCurrent modified strength of the character
DEXCurrent modified dexterity of the character
INTCurrent modified intelligence of the character
PERCurrent modified perception of the character
HEALTHCurrent health value of the character
HPHealth points of the limb with the most health
MANACurrently availiable mana stores
STAMINACurrently available stamina stores
BIONIC_POWERCurrent bionic power in kilojoules
FATIGUECurrent fatigue of the character
THIRSTCurrent thirst of the character
PAINCurrent unmodified pain ( I.E. before painkillers ) of the character
RADCurrent radiation levels of the character
HUNGERPercent of drained kcal, 0 is 100%, 100 is dead
MORALECurrent morale levels of the character from all sources
FOCUSCurrent focus levels ( not effective focus ) of the character
NONEAlways 0

Predefined Character Values.

These are the predefined values which can be used by any mod.

IdentifierPair
strengthSTR
dexterityDEX
intelligenceINT
perceptionPER
healthHEALTH
health_pointsHP
manaMANA
staminaSTAMINA
bionic_powerBIONIC_POWER
fatigueFATIGUE
thirstTHIRST
painPAIN
hungerHUNGER
moraleMORALE
focusFOCUS