LuaDocs/MetaPlayer

From Data Realms Wiki

Revision as of 08:57, 15 May 2014 by LuaBot (Talk | contribs)
Jump to: navigation, search

Contents

Has no parent class

Generic Class. Holds data for a Metagame player aka "Tech" or "House"

Go back to Class Index


Properties

NativeTechModule

Read-only property. Gets ID of the DataModule that this player is native to.The ID of the DataModule this is native to.

ForeignCostMultiplier

Read-only property. The multiplier of costs of any Tech items foreign to this.The scalar multiplier of all costs of foreign tech items.

InGamePlayer

Read-only property. Shows which in-game player controls this metagame player is mapped to.The in-game player number this is mapped to.

BrainPoolCount

The number of brains in this player's brain pool.The number of brains that are available for deployment.


Functions

ChangeBrainPoolCount

Alters the number of brains in this player's brain pool.

Arguments:

  • The number of brains to add or remove from the pool.

Return value:

The resulting count after the alteration.


Go back to Class Index

Personal tools