puningtilde Posted January 8, 2015 Share Posted January 8, 2015 Ok, so I've been working on a custom character for a few days now(first mod). And I added a trait that made his max hunger 225. When the game starts out he does have a max hunger of 225, but he starts out with 150 hunger. How do I make him start out with max hunger? Btw im new to this stuff so if I might need some details on things. Link to comment Share on other sites More sharing options...
Mobbstar Posted January 8, 2015 Share Posted January 8, 2015 inst.components.hunger.current = VAL The Value can be inst.components.hunger.max My components guide has additional information about hunger. (link in the signature below) Link to comment Share on other sites More sharing options...
puningtilde Posted January 8, 2015 Author Share Posted January 8, 2015 inst.components.hunger.current = VALThe Value can be inst.components.hunger.maxMy components guide has additional information about hunger. (link in the signature below)Thanks a bunch! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.