train_familiar?

So I was looking through the wiki and saw this:

boolean train_familiar( int nGoal, string sGoal )
Trains your currently-equipped familiar. sGoal can be either “base”, “buffed”, or “turns”, and nGoal is either the target weight or desired number of battles.

I tried the following script to test this out but can't seem to get it to work.

Code:
void main(){
use_familiar($familiar[Wereturtle]);
train_familiar(20, "base");
}

Mafia says:

Unknown variable 'base' (train test.ash, line 3)

What am I doing wrong? And how exactly does this train? Is there a way to set the location?
 

jasonharper

Developer
The only reference to a train_familiar() function I can find dates to early 2006; it certainly does not exist now (as ashref train would have showed you). You'll need to do a cli_execute() of the CLI "train" command.

Automated training is done in the Arena; it is possible that you might be able to do better these days (especially if you have a Bandersnatch) by adventuring normally with every possible familiar experience booster active.
 
Top