Modding:Sector (JSONObject)

From Starbounder - Starbound Wiki
Jump to: navigation, search

Quick Navigation


Sector objects define new Sectors to navigate to in the star map. They are defined as part of the System Types Object in Celestial.config.

Key Value Pairs

Key Value Type Value Subtype Description Valid Values
id String Id used to reference the sector in other data files.
name String Human readable name of the sector.
sectorSeed Number Integer to initialize the random generator.
prefix String
sectorSymbol String Path to the image file that sits inside the button to access the system in the star map
hueShift Number Modifies the hue of the background image of the star map
worldParameters Object World Parameters Defines gameplay parameters of the system

Example

 {
   "id" : "foo",
   "name" : "Foo Sector",
   "sectorSeed" : 12345679,
   "prefix" : "Foo",
   "sectorSymbol" : "/celestial/sector/foo.png",
   "hueShift" : -30,
   "worldParameters" : {
     "threatLevel" : [1, 1],
     "unlockedBiomes" : [ "biomeA", "biomeB", "biomeC", "biomeD" ]
   }
 }

worldParameters

Key Value Pairs

Key Value Type Value Subtype Description Valid Values
threatLevel Array Number Integer range for planet levels Array Length 2
unlockedBiomes Array String List of ids of available Surface Biome Objects for the sector