I was trying to add a new ThinkNode and I've hit a wall, and I can't figure out how to make it work.
The idea is very similar to the vanilla "ThinkNode_SatisfyNeeds", and its objective is to create a new need like food or rest. I've created the same structure the game uses to manage food needs: a ThinkNode, a StatusLevel, a Tracker and a new Pawnclass. I also added the ThinkNode to the xml.
My problem is that I can't find a way to make the game use all this. The thinknode class works, but I don't know how to add the StatusLevel and the tracker to the colonists.
Does anyone have any experience with something like this?
The idea is very similar to the vanilla "ThinkNode_SatisfyNeeds", and its objective is to create a new need like food or rest. I've created the same structure the game uses to manage food needs: a ThinkNode, a StatusLevel, a Tracker and a new Pawnclass. I also added the ThinkNode to the xml.
My problem is that I can't find a way to make the game use all this. The thinknode class works, but I don't know how to add the StatusLevel and the tracker to the colonists.
Does anyone have any experience with something like this?