starlit  Diff

Differences From Artifact [3922a2ec73]:

To Artifact [0688acc2a6]:


    18     18   	end
    19     19   end
    20     20   
    21     21   local function C(h, s, l)
    22     22   	return lib.color {hue = h, sat = s or 1, lum = l or .7}
    23     23   end
    24     24   starlit.world.stats = {
    25         -	psi        = {min = 0, max = 500, base = 0, desc = U('ψ', 10), color = C(320), name = 'numina'};
    26         -	-- numina is measured in daψ
           25  +	psi        = {min = 0, max = 500, base = 0, desc = U('ψ', 1), color = C(320), name = 'numina', srzType = T.decimal};
           26  +	-- numina is measured in ψ
    27     27   	warmth     = {min = -1000, max = 1000, base = 0, desc = U('°C', 10, true), color = C(5), name = 'warmth'};
    28     28   	-- warmth in measured in d°C
    29     29   	fatigue    = {min = 0, max = 76 * 60, base = 0, desc = U('hr', 60, true), color = C(288,.3,.5), name = 'fatigue', harm=true, srzType = T.decimal};
    30     30   	-- fatigue is measured in minutes one needs to sleep to cure it
    31     31   	stamina    = {min = 0, max = 10 * 20, base = true, desc = U('m', 100), color = C(88), name = 'stamina'};
    32     32   	-- stamina is measured in how many 10th-nodes (== cm) one can sprint
    33     33   	nutrition  = {min = 0, max = 8000, base = 0, desc = U('kCal', 1, true), color = C(43,.5,.4), name = 'nutrition', srzType = T.decimal};