LuaDocs/MetaPlayer
From Data Realms Wiki
Contents |
Has no parent class
Generic Class. Holds data for a Metagame player aka "Tech" or "House"
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.
NativeCostMultiplier
Read-only property. The multiplier of costs of any Tech items native to this.The scalar multiplier of all costs of native 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.