Code:
void CBaseNova::Think ()
{
// main routine (light neural cell consumption)
if (!trapped_girlfriend)
Hunt (); // TODO: implement a single man countdown timer for entity self-destruction
else
Happy (); // smiles exxageratedly, dances around, puts garbage in IRC
}
void CBaseNova::Hunt ()
{
int i;
people_t *pChick;
// cycle through all chicks
for (i = 0; i < World->maxPopulation; i++)
{
pChick = &World->Population[i]; // quick access to chick
if (pChick->sex == SEX_MALE)
continue; // discard males (Nova isn't gay AFAIK)
if ((pChick->Pussy->v.origin - self->Dick->v.origin).Length () > 500)
continue; // discard chick if too far for Nova to shag her
if (pChick->is_whore)
ShagAndThrowAway (); // don't count this as a real chick
TrapChick (pChick); // attempt to trap this chick
if (pChick->not_trapped)
printf ("OMG BAITCH FUKOFF WTF LOLOL UGLY WHORE FUKFUKFUCK\n"); // Nova did not succeed with this one
else
{
printf ("Hello %s, you're cute, do you mind if I pay you a drink ?\n", pChick->name);
trapped_girlfriend = TRUE;
Shag (pChick); // shag as soon as she's trapped
return; // don't look any further
}
}
printf ("DAMNIT, no shaggable girl around!\n");
self->countdown--; // Nova gotta find a g/f quick
MoveElsewhere (); // Australia, for example...
return;
}
this is a hell of an AI indeed...