Help with coding

how do traits work in the code, wanting to make a fix for the android species, since they keep their hunger level when becoming one, leading to a permanent slowdown since they cannot feed.

Asking because ooga brain does not know how to code a trait

You don’t need trait, just go to theirs species on_gain() and zero their hunger.

that would make them starved; set them to the proper hunger level.

they already have TRAIT_NOHUNGER

so just set their hunger value to max, since i assume NOHUNGER just halts the hunger process.

hunger value to max

Won’t this make them obese?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.