Scripted consumables description with more info and correct values ;]
Description
Adding/correcting more stats to consumable item's description and displaying them as values (btw if you see 0% it's <0.5%). Easy to install/uninstall and should be compatible with everything (read below please for Body Health System compatibility). All values, including BHS will be picked from configs and scripts, so you don't need to change xmls every time now. Hunger + alcohol also in MCM if you need them.
Either update BHS to lattest version or simply patch by yourself:
1) go to zzz_player_injuries.script
2) find local medkits={} and local healhelp={}
3) delete word "local" from both and save, that's all.
Body Health System extras
I added couple of configs for BHS that you can change in MCM:
- If value higher than option slider - numbers will be displayed instead of circles.
- Display as numbers always.
Here is how it looks:
Changelog
- 0.32:
- Small fix for GAMMA (and maybe not only) users when hovering medicine in new game loadout crashes game.
- 0.31:
- Fix for correct satiety display.
- 0.3: added MCM options with all stats, added hunger and alcohol (need to turn them on in MCM).
- 0.21: excluded some addons (scopes etc).
- 0.2: excluded repair items.
rsrvd
Impressive, very nice.
can this work with 1.5.1?
Functions I touch are same I think, should work, but didn't test.
Thanks for another cool mod. Any chance of getting support for BhS Evolution?
Moddb.com
Too much changes ;[
That's too bad. But thank you anyway.
I understand that your mod removes the description completely, but is there any way to add a forced description, for example, I need to know the exact amount of thirst, sleepiness, hydration, total hp, but I would like to leave the description that adds bhs evolution, what repairs fractures, how many units will add limb medical, etc.
Forced description is how I add BHS description in this addon, basically rewriting how it was in xml from scratch but with script functionality. If you know some coding you can take it as example and write whatever bhs evolution should add.
I honestly just don't wanna read the whole script to understand what and how I need to add.
Thanks for the detailed reply, I didn't want to waste your time. I was hoping there was an easy way.
My addon isn't really that important, you can skip it ;] Most of sleep you get from non-tweaked food is close to 0%, thirst is kinda irrelevant as you get used to values by yourself. Radiation and health you can get approximately correct value by dividing what vanilla shows by 2 ;p
Thanks for this bvcx.
A step in the right direction, seeing as those descriptions were absolutely packed with word salad of formats, colors and all sorts of vague descriptors.
Out of curiosity, do you know if BHS information can be removed form all descriptions relatively easily?
I use BHS with the interface hidden and set in such a way that limbs recover automatically 1 point every 30 seconds but items don't heal them at all - adding spice of immersive effects during combat but without the tedium of item micro-management later. Looking to unclutter item descriptions as much as possible.
BHS stats won't be displayed if it can't find a section in the script. So if you remove or comment out every item in medkit and healhelp tables it won't appear.
Alternatively, remove those from my script:
str = str .. title_clr .. gc("desc_over_bhs") .. def_clr .. " \\n"
local bhs_str = bhs_descr_str(obj, sec)
str = str .. bhs_str
many thanks, I'll try!
Great mod, thanks :)
ps What could be pretty neat going forward would be to make the common generic needs values less exact and more ballpark for a quick glance, unified to a format of [colors & dots] or [minuses and plusses], where red is bad, green is good and every dot rounds up to, say, a 1/5th of 100%. Example:
hunger ++
thirst +
sleep - -
Knowing the exact percentage seems unnecessarily precise but also occupies your visual attention too much on values common to all meds and foods, all the more considering how you also get a preview of the exact effects with addons like 'better stats' now.
Vanilla had it as 2 parts string:
"increase/decrease" .. "low/moderate/high"
I didn't like it.
neither did I ;)
But that's because there were too many different descriptors on the overall, of the sort you mentioned but also 'unhealthy' 'imported' 'high quality' and so forth, making it difficult to have an idea at a glance. What you've done here is much better but all the way to the other end of the spectrum, with perfect precision that takes a little longer to visually process. A coulple of +++ or -- with a right color could make the common info (hunger/thirst/sleep) stand out from the important one (ie health or rads) and be readible in a split second by way of semiotics rather than semantics. Just a friendly argumentation of course, way I see it, it's a 10/10 regardless for tidying things up into systemic coherence and very much appreciated.
thank u bvcx for your works!
(Asked Grok to remove it in main BHS aswell) ;]
I see.....T.T (sad face)
What? ;] I asked to remove "local" from the tables, it's not gonna change anything ;p
This is awesome. I got a little question, is it possible to make this work with repair tools?
There's repair_max_condition that is not shown in vanilla game, i know it's redundant in vanilla because max_cond of everything is set to 99%.
But it'll be great QoL for mods that mess around with that value.
Also thanks for the mod, this is really cool.
I'm afraid I'll delete the whole description for repair items with my patch. You can ask in amomale discord how to just add 1 line with max condition, it's not really hard ;] or just ping "xcvb" there I'll give you a small script for that.
Installing this mod made the "post-heals" and "first-aid" info disappear from descriptions.
I have the latest version of BHS (2.0.2) and I tried placing Detailed Description in highest priority, but also in lowest priority. Nothing works, I'm afraid.
Disabling it means I get this info back, as intended.
Any ideas how to fix this issue?
You sure you don't have any other BHS patches that override zzz_player_injuries.script? Try to find the one that loading last and do what is said in my description, it's couple of clicks.
Yeah I found it, it was G.A.M.M.A. Medications Balance.
Thank you
BHS info works fine, but I dont see the "large damage resistance" info anywhere. This mod does not display it. Any way to bring it back?
What is "large damage resistance"? This addon doesn't change resists or bottom of the tooltip.
The resistances have disappeared from the tooltip. I can post a screenshot if you want.
Resists are in entirely different script that I do not touch. Ask on modpack server, because I make addons for vanilla (and sometimes patch it for other addons), I really don't have plans to learn the whole modpack to make addon compatible with it.
Ok fair enough. I only asked here because they (from Gamma discord) told me to ask the mod author btw. I didnt want to bother you, I just followed their advice.
Well, it's easier for them to take a look at 100 lines addon, than me learning the whole Gamma modpack to try and find incompatibilities.
Small suggestion regarding very small values: you mention anything below 0,5% will display as 0, perhaps you could have it be "<1%" for clarity? Also, because a lot of people will probably not read the description and then be confused about it lol
It's better yeah, but meh.. need to change it for every line, will do later ;p
hello, some items lose their description when in inventory (affects more items added by BaS)
screenshot >_> Imgur.com
I didn't check all the items but I think it only affects sights and silencers/suppressors (with BaS this bug is more noticeable)
Why the hell are some scopes considered as "consumables" ;[
This game is killing me, will fix now.
thanks for answering
Hello, Many thanks for your mods, essential as always.
May I point out that the mod does not include alcohol / dizziness indications on drinks and drugs when the items are in the inventory. Indications are still displayed in the debug window tho.
Yeah, I thought nobody crank it up really high to be considered as significant. Not alcohol on items I mean, but how quick the effect from it disappears even when you are max drunk ;]
This needs an actor.ltx tweaking more, so it's not really important in the addon related to items.
Awesome mod. Thanks a lot for sharing with us.
Hi.
Thank you for a great mod.
I was using 0.21 without any issue.
Unfortunetly 0.3 is not compatible with dynamic icon indicators mod 1.0.1
Icon indicators are not working even if loaded after your mod.
Would you be able to create patch?
Thanks
Uhm, how? One is changing icons, I change the description of item.
Hi bvcx.
Dynamic icon indicators mod 1.0.1 is not an icon mod.
It is applying dynamic status indicator to all consumables items depend on there properties. So it is reading item property and applying small icon over item icon.
Hope it is help to resolve compatibility issue.
Regards.
Oh, don't know why would it read properties instead of stats, don't think I can patch that sorry coz I replace properties. Pick one for now, my addon isn't that big of deal ;]
Your addon is very nice one. I'm using 0.21 without any issues.
But something changed in 0.3 that is trigering this incopability issue. Thanks for your work.
excellent mod, but this mod alone serves no purpose
Why do I need to know whether this thing gives me 1% sleepness or 2%?
should ANY circumstances I would choose the former because it gives 1% less sleepness? if not, then this stats is irrelevant to me, and you don't have to show them in the first place, "induce sleepness" is enough for most of the players.
but yeah maybe one day some other mods change the mechanics to make this 1% sleepness difference meaningful and have an impact but until then this is not what I'm interested about.
same on other stats, less is more, my friend, we are not playing DIABLO or GRIMDAWN
Idk I make addons for myself and then share them, in my game food and medicine gives meaningful sleepiness aswell as thirst. If you don't need it just don't install. Also anyone can use this addon in vanilla to know the correct amount of health and radiation, because those two are wrong in vanilla (you know you can even disable all other stats in MCM).
Is there a way to disable the vanilla values at the bottom of the tooltip? As well as keep both properties lists? So you could see the real values as well as the text ones ( "clean nutrition source", "healthy", etc.)
Nope ;[
Nice!
I was wondering if it is possible a similar scripted description for ammo properties (AP_value and dmg)?
It's possible, but meh, don't wanna. Sorry ;p
already in Gamma