TribesTable: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Ethryn (talk | contribs)
m add to category (Engine documents)
No edit summary
Line 69: Line 69:


[[Category:Engine documents]]
[[Category:Engine documents]]
{|
!Field
!type
!Description
|-
|id
|int
|The ID of the tribe.
|-
|name
|string
|The name of the tribe.
|-
|home_sector_id
|int
|The ID of the sector where the tribe home is located
|-
|home_x
|float
|X-coordinate of the tribe home location
|-
|home_y
|float
|Y-coordinate of the tribe home location
|-
|home_z
|float
|Z-coordinate of the tribe home location
|-
|home_radius
|float
|The radius of the tribe home
|-
|max_size
|int
|The maximum number of tribe memers allowed for this tribe.
|-
|wealth_resource_name
|string
|Name of the resource this tribe treasures most. Collecting this will enable growth capability in the tribe.
|-
|wealth_resource_nick
|string
|Commands like dig use the nick of the resource instead of the name.
|-
|wealth_resource_area
|string
|The name of the Location Type that represents location where the wealth resource might be found.
|-
|wealth_gather_need
|string
|The name of the tribe need that will enable collection of wealth resources. Made the primary need when the tribe has dead members.
|-
|wealth_resource_growth
|float
|When there are no members of the tribe we need a push of resources at this rate to enable reproduction.
|-
|reproduction_cost
|int
|The cost to reproduce.
|}

Revision as of 21:31, 24 October 2010

field type foreign key description
id integer
name varchar
home_sector_id integer
home_x real
home_y real
home_z real
home_radius real
max_size integer
wealth_resource_name varchar
wealth_resource_nick varchar
wealth_resource_area varchar
reproduction_cost integer



Field type Description
id int The ID of the tribe.
name string The name of the tribe.
home_sector_id int The ID of the sector where the tribe home is located
home_x float X-coordinate of the tribe home location
home_y float Y-coordinate of the tribe home location
home_z float Z-coordinate of the tribe home location
home_radius float The radius of the tribe home
max_size int The maximum number of tribe memers allowed for this tribe.
wealth_resource_name string Name of the resource this tribe treasures most. Collecting this will enable growth capability in the tribe.
wealth_resource_nick string Commands like dig use the nick of the resource instead of the name.
wealth_resource_area string The name of the Location Type that represents location where the wealth resource might be found.
wealth_gather_need string The name of the tribe need that will enable collection of wealth resources. Made the primary need when the tribe has dead members.
wealth_resource_growth float When there are no members of the tribe we need a push of resources at this rate to enable reproduction.
reproduction_cost int The cost to reproduce.