Stat Colours (QoL)
Изображение 1 из 6. Материалы автора из Steam Workshop.
О материале
«Stat Colours (QoL)» — материал мастерской Kenshi. Моды Kenshi: фракции, расы, строительство и изменения геймплея. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
Requires RE_Kenshi. Colours the numbers in the character stats window by value, shows what gear, injuries and fighting indoors add to a skill, racial XP multipliers (hold ALT) and the current XP rate of the selected skill. In-game text follows the game language: English or Russian.
Version 2 · Nexus: https://www.nexusmods.com/kenshi/mods/2189
WHAT IT DOES
-
Colours attribute and skill numbers by value: 0 is dim brick, 100 muted green, above a hundred purple (only gear bonuses push a value over 100).
-
Shows the modifier next to the number, in brackets: "(+8) 1". It is everything the game added to or took from the skill - the same number as in the combat panel at the bottom left. It comes from three sources:
- worn equipment;
- body condition: injuries, hunger, carried weight;
- surroundings: fighting indoors.
The brackets are grey, the number inside green for a bonus and red for a penalty. They only appear where the modifier reaches at least half a point: without that threshold a wounded character would show "(-1)" on almost every skill at level 1 for a change of three tenths.
-
Adds a breakdown to the description. Click a skill - the right side of the description shows what the modifier is made of:
Skill "Martial Arts": 1 Injuries: -6% Hunger: -3% Total: 1 Indoor weapon bonus: +8 Effective value: 9
The first lines come from the game itself - its own breakdown, the same as in the combat window tooltip. Its "Total" only sums what is listed above it: the game handles equipment and surroundings separately and does not put them there. The plugin adds them and the effective value.
There is no arithmetic of its own anywhere: every number comes from the game.
-
Shows racial XP multipliers - an "XP MULTIPLIERS" block under "Attributes": skills this race learns faster (x1.20 - green) or slower (x0.80 - red). Skills at x1 are not shown. With many lines the window stretches down together with the description, so nothing is cut off. The multiplier comes from the game - the same one it shows in the skill description as the racial XP bonus. The block is visible while ALT is held (like the GearCompare and AssignedWorkers panels): release it - the block is gone and the window is back to its size. Key: [RacialXP] HoldKey (ALT, CTRL, SHIFT, or NONE - always shown); turn it off completely with [RacialXP] Show=0.
-
Shows the current XP rate of a skill. In the description, right after the skill name: "(Current XP rate: 0.510)" - how much XP for this skill is multiplied right now. It is the racial multiplier times the slowdown by level: the higher the skill, the smaller the number, zero at the cap. Turn it off with [RacialXP] ShowRate=0.
Gains that depend on the action itself are not included: enemy level, weapon weight, carried load. They belong to the event, not the skill, and cannot be known in advance.
SETTINGS
All colours are in StatColours.ini next to this file, as #RRGGBB. Read once at game start, so restart after editing. A value that makes no sense is not applied: the step keeps its old colour, and a line with the key and its value goes to RE_Kenshi_log.txt.
The colour "auto" means "take it from the game palette" - data/gui/colours/kenshi_colours.xml, including any interface mod that overrides it. This way the helper colours follow the theme instead of fighting it.
No file - the plugin writes one itself at startup.
In the [Debug] section, Debug=1 makes the plugin dump every number the game uses to describe the selected skill into RE_Kenshi_log.txt. For debugging: one line per clicked skill.
COMPATIBILITY
The "Kills / Knockouts / Limbs severed" lines in the attributes panel come from the KillCounter mod - they are coloured too, unless KillCounter paints them with its own colour every frame.
The XP rate takes XP_Overhaul into account when it provides the XPO_CurrentXpRate function: then the slowdown by level comes from XP_Overhaul itself, with its curve and multipliers. Otherwise the vanilla curve (1 - level/101)^2 is used. Other mods that change the XP curve itself are not taken into account: the plugin cannot know their formula. Mods that add XP per action (MultiXPMining, Weaklings Always Give XP) should not affect this number anyway.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.