[quote=“CosmicKobal, post:7, topic:8567”]according to the mutations.json, roots only absorbs nutrients, NOT thirst.
same name, different function[/quote]
And according to player.cpp, they absorb both.
void player::rooted()
// Should average a point every two minutes or so; ground isn't uniformly fertile
// Overfiling triggered hibernation checks, so capping.
{
double shoe_factor = footwear_factor();
if( (has_trait("ROOTS2") || has_trait("ROOTS3")) &&
g->m.has_flag("DIGGABLE", posx, posy) &&
!shoe_factor ) {
if( one_in(20 / shoe_factor) ) {
if (hunger > -20) {
hunger--;
}
if (thirst > -20) {
thirst--;
}
mod_healthy_mod(5);
}
}
}
There’s far more to the code than just .json files.