LuaDocs/MetaPlayer
From Data Realms Wiki
(Difference between revisions)
(MetaPlayer - Automatically generated by LuaBot) |
(MetaPlayer - Automatically generated by LuaBot) |
||
Line 17: | Line 17: | ||
===InGamePlayer=== | ===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. | 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. | ||
+ | |||
[[LuaDocs/Index|'''Go back to Class Index''']] | [[LuaDocs/Index|'''Go back to Class Index''']] |
Revision as of 08:57, 15 May 2014
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.
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.