Modding:BiomePlacables (JSONObject)

From Starbounder - Starbound Wiki
Jump to: navigation, search

Quick Navigation


Biome Placables defines the objects, foliage, and microdungeons and their distributions that spawn in biomes.

Key Value Pairs

Key Value Type Value Subtype Description Valid Values
grassMod Array String
grassModDensity Number
items Array Item Object Array of objects that describe spawning parameters

items

An Item Object defines what types of objects and the distribution function to use to spawn them. Each type of item has different parameters.

Key Value Pairs

Key Value Type Value Subtype Description Valid Values
mode String "floor", "ceiling"
priority Number
variants Number Array of objects that describe spawning parameters
distribution String Path to the distribution file, followed by the Distribution Function id to use "<path>:<id>"
type String Type of object to spawn "bush", "grass", "microdungeon", "object", "treasureBox", "tree"

bush

Additional Key Value Pairs

Key Value Type Value Subtype Description Valid Values
bushes Array Object Bushes Objects

bushes

Key Value Type Value Subtype Description Valid Values
name String Bush Object name
baseHueShiftMax Number
modHueShiftMax Number

grass

Additional Key Value Pairs

Key Value Type Value Subtype Description Valid Values
grasses Array string Grass Object names

tree

Additional Key Value Pairs

Key Value Type Value Subtype Description Valid Values
treeFoliageHueShiftMax Number
treeStemHueShiftMax Number
treeStemList Array String Modular Stem Object names
treeFoliageList Array String Modular Foliage Object names

object

Additional Key Value Pairs

Key Value Type Value Subtype Description Valid Values
objectSets Array Object Object Set Object

objectSets

Key Value Type Value Subtype Description Valid Values
pool Array Array Array of pairs of probabilities and Object Object object names [probability, objectname]
parameters Object

treasureBox

Additional Key Value Pairs

Key Value Type Value Subtype Description Valid Values
treasureBoxSets Array String Object Object object names for the chests that may spawn

microdungeon

Additional Key Value Pairs

Key Value Type Value Subtype Description Valid Values
microdungeons Array String Dungeon Object names for the dungeons that may spawn