Artifacts display numerical values of effects in inventory UI, with a workaround fix for bad decimal rounding for radiation effects.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are allowed to use the assets in this file in mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This is just a cfg tweak. Feel free to merge, redistribute, make a version or do whatever you want with it.
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.2
-Removed decimal point workaround. Please use a UIPrecision=2 tweak instead.
Version 1.1
-display for artifacts that add radiation changed to "radio protection" text for consistency, since it makes more sense to show negative radio-protection than negative radiation, as these artifacts add radiation to player.
-strike protection effects now use the decimal point work around, since game patch 1.10 changed these effects to be decimal effects.
Strange Object Statistics A Sibling of SOS - Statistics of Substances. Artifacts display effect numbers in UI. Verified to work with Game Patch 1.1.0 This is just a cfg tweak, you are free to do whatever you want with this file.
This file replaces ArtifactPrototypes.cfg It also uses refkey to replace the ArtifactAddRadiation1,ArtifactAddRadiation3, ArtifactProtectionRadiation1, & ArtifactProtectionRadiation31 effect structs.
UI Decimal Point Workaround The vanilla game UI has inconsistent decimal rounding code, where 0.25 rounds down in UI to 0.2, while 0.15 rounds up to 0.2, and 0.1 rounds down to 0.0 This is a problem for radiation and radiation protection effects, where the effect tiers are in a two decimal range. There are three tiers of radiation and radio-protection artifact effects: Tier 1 does 0.1; Tier 2 does 0.15; Tier 3 does 0.25. In the inventory UI, these values would display as 0.0, 0.2, and 0.2. This defeats the point of the value display for these specifics.
In order to make them display correctly in the UI, I modified vanilla effects by 0.01 points with refkey replacement of vanilla effects struct. I modified tier 1 effects from 0.1->0.11, and tier 3 effects from 0.25->0.26. This means that Tier 1 radiation now displays as 0.1, Tier 2 radiation displays as 0.2, and Tier 3 radiation displays as 0.3. The gameplay effect from this change should be negligible, albeit negligible is not a synonym for none.