dieangel68 Posted November 23, 2010 Share Posted November 23, 2010 I'm trying to make a custom npc that require to eat food every now and then, for this i "assume" that i need to run some sort of regular timer so his "hunger" value gradually goes up (then i can trigger a quest from it, popup message to the player, make it eat food from it's inventory, etc) How do i implement this? Link to comment Share on other sites More sharing options...
JohannesGunn Posted November 24, 2010 Share Posted November 24, 2010 Hmm... Not sure... Have you thought of just giving him a set of armor with a custom effect of StarvationDamage? Maybe one point of starvation damage every two seconds, that would take 400 seconds, or six minutes forty seconds of gameplay, to reach the first Starvation level. Whenever you're tired of feeding him/her/it, just remove the item with the effect. Link to comment Share on other sites More sharing options...
Recommended Posts