Config Functions

From theFarWilds
Revision as of 21:11, 3 April 2010 by Queeshai (Talk | contribs)

Jump to: navigation, search

These config functions may only be called from inside configGame().

Methods

void addAIPlayer( string name, string avatar, int team );
// all parameters are ignored for now

void setMapSize( int x, int y );
// 3 <= x <= 17
// 3 <= y <= 17

void setNumPlayers( int numPlayers );
// 1 <= n <= 4

void setGloryGoal( int gloryGoal );

void setMapSeed( int mapSeed );
// you can set this if you always want the script to be on the same map

void setNumFluxWells( int numFluxWells );

void dontNeedDecks();
// won't ask the player to set a deck when they join