TribesTable: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| mNo edit summary | No edit summary | ||
| Line 58: | Line 58: | ||
| | wealth_resource_area | | wealth_resource_area | ||
| | varchar | | varchar | ||
| |  | |||
| |  | |||
| |- | |||
| | wealth_gather_need | |||
| | varchar | |||
| |  | |||
| | The need used to gather resources | |||
| |- | |||
| | wealth_resource_growth | |||
| | real | |||
| |  | |||
| |  | |||
| |- | |||
| | wealth_resource_growth_active | |||
| | real | |||
| |  | |||
| |  | |||
| |- | |||
| | wealth_resource_growth_active_limit | |||
| | integer | |||
| |   | |   | ||
| |   | |   | ||
| Line 63: | Line 83: | ||
| | reproduction_cost | | reproduction_cost | ||
| | integer | | integer | ||
| |  | |||
| |  | |||
| |- | |||
| | npc_idle_behavior | |||
| | varchar | |||
| |   | |   | ||
| |   | |   | ||
| Line 134: | Line 159: | ||
| |float | |float | ||
| |When there are no members of the tribe we need a push of resources at this rate to enable reproduction. | |When there are no members of the tribe we need a push of resources at this rate to enable reproduction. | ||
| |- | |||
| | wealth_resource_growth_active | |||
| | real | |||
| |  | |||
| |  | |||
| |- | |||
| | wealth_resource_growth_active_limit | |||
| | integer | |||
| |  | |||
| |  | |||
| |- | |- | ||
| |reproduction_cost | |reproduction_cost | ||
| |int | |int | ||
| |The cost to reproduce. | |The cost to reproduce. | ||
| |- | |||
| | npc_idle_behavior | |||
| | varchar | |||
| | (default value 'do nothing') | |||
| |  | |||
| |- | |- | ||
| |tribal_recipe | |tribal_recipe | ||
Revision as of 13:28, 9 May 2012
| 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 | ||
| wealth_gather_need | varchar | The need used to gather resources | |
| wealth_resource_growth | real | ||
| wealth_resource_growth_active | real | ||
| wealth_resource_growth_active_limit | integer | ||
| reproduction_cost | integer | ||
| npc_idle_behavior | varchar | ||
| tribal_recipe | 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. | |
| wealth_resource_growth_active | real | ||
| wealth_resource_growth_active_limit | integer | ||
| reproduction_cost | int | The cost to reproduce. | |
| npc_idle_behavior | varchar | (default value 'do nothing') | |
| tribal_recipe | int | the id of the tribal recipe to load on each npcclient startup |