| 555 | } |
| 556 | |
| 557 | void zNPCVillager::SelfSetup() |
| 558 | { |
| 559 | xBehaveMgr* bmgr = xBehaveMgr_GetSelf(); |
| 560 | this->psy_instinct = bmgr->Subscribe(this, 0); |
| 561 | xPsyche* psy = this->psy_instinct; |
| 562 | |
| 563 | psy->BrainBegin(); |
| 564 | this->AddBaseline(psy, FOLK_grul_goAlert, FOLK_grul_goAlert, FOLK_grul_goAlert, |
| 565 | FOLK_grul_goAlert, NULL); |
| 566 | this->AddScripting(psy, NULL, NULL, NULL, NULL, NULL, NULL, NULL); |
| 567 | this->AddTalking(psy, NULL, NULL, NULL, NULL); |
| 568 | psy->AddGoal(NPC_GOAL_HURT, NULL); |
| 569 | psy->BrainEnd(); |
| 570 | psy->SetSafety(NPC_GOAL_IDLE); |
| 571 | } |
| 572 | |
| 573 | U32 zNPCVillager::AnimPick(S32 gid, en_NPC_GOAL_SPOT gspot, xGoal* goal) |
| 574 | { |
nothing calls this directly
no test coverage detected