Map Database Modding

MapQuadrant

 * _id : id of the quadrant
 * name : the name of the quadrant
 * regionId : this value is referenced in the Region table(column _id) that links every quadrant with its tmx file ( Tiled file -- a sort of graphical map ??)
 * active: only 2 values should be used active =1 and inactive=-1
 * factionId: numerical value of owner of the quadrant. Normally the owner of the quadrant is the faction that has the most planets in that quadrant.

For more info check out Modding_Enums in the STF wiki.

MapPlanet

 * _id : id of the planet
 * regionId : this value is referenced in the Region table that links every quadrant with its tmx file ( Tiled file -- a sort of graphical map ??)
 * worldId: starts at 1 and is incremented by 1 for each planet of a quadrant/regionId. switching to a new quadrant restarts the counting at 1.
 * name: name of the Planet/System
 * type: the type of planet.For more info check out Modding_Enums in the STF wiki.
 * size: the size of the planets. For more info check out Modding_Enums in the STF wiki.
 * atmosphere: atmosphere of the planet.For more info check out Zones#Planet_Atmospheres in the STF wiki.Possible values below:
 * 1:Hard Vacuum
 * 2:Vacuum
 * 3:Thin
 * 4:Very Thin
 * 5:Standard
 * 6:Standard
 * 7:Dense
 * 8:Very Dense
 * 9:Ultra Dense
 * 10:Extreme
 * danger: defines how dangerous is the planet for its inhabitants(also how tough they are). Possible values below:
 * 0:Very Safe
 * 1:Safe
 * 2:Harmless
 * 3:Benign
 * 4:Normal
 * 5:Tainted
 * 6:Hazardous
 * 7:Toxic
 * 8:Corrosive
 * 9:Deadly
 * 10:Insidious
 * factionId: numerical value of owner of the planet.For more info check out Modding_Enums in the STF wiki.
 * planet story: seems to be always NULL and not used

MapZone
In STF each planet can have 1 or 2 Zones each with different stats. In case a planet has 2 zones, each Zone can either be populated by factions or waiting to be explored by ST Captains as a wilderness zone.


 * _id : id of the zone
 * name: zone name
 * planetId: references the planet in the table MapPlanet(column _id)
 * zoneType:For more info check out Modding_EnumsZone_Types.
 * all the ratings are explained in the Zones#Urban_Zones part of the STF wiki (all populated zones have their stats rating :econ->population and all wilderness zones have their own :explorer->richness Zones).All these ratings (except econ=[1,28] ) should be in an interval [1,10] for populated zones and [1,10] for wilderness zones  (@Cory for cacheRating I don't have any info on that field).

Higher ratings means: better recruits, more production of goods , capability to absorb more goods for population zones.

Higher ratings means: better cards while exploring and higher number of hands(5 cards each hand) during Exploration minigame for wilderness zones.


 * danger: see planet danger for values
 * factionId: numerical value of owner of the planet.For more info check out Modding_Enums in the STF wiki. Important note: this value should be the same as planet owner if it's a populated zone!(or 0 for wilderness)
 * zoneStoryId: Normally this is set to 0. If this zone is involved in a story mission this number should be non zero. (@Cory to give more details)
 * interesting fact: Prime planets(ex:Alta Mesa Prime =8, Steel Song Prima=6) have their zoneStoryId =factionId