Starbound

Starbound

Not enough ratings
Galactic Almanach Modder's Guide
By Pixelflame
A basic and short guide on how you can add in support for Galactic Almanach into your biome mods.
   
Award
Favorite
Favorited
Unfavorite
How to Add a Biome to the Mod's Systems
Step 1: Biome Name
Make sure that your biome's "friendlyName" in the ".biome" file is legible, as the title text will be taken from that variable.

Step 2: Add Biome to the List
Create a patch of "/interface/scripted/biomereader/pf_biomereadervisuals.config". Here's a template for what to do.

[ { "op": "add", "path": "/<biome ID>", "value": { "description": "<description below the name>", "icon": "<file path to image to appear beside it>" } } ]

Both of these variables can be left empty, but stick to the template, leave the variables as "" if you wish to leave them as blanks. Though come on! Show your creativity and add some flavor to your biomes.

The template for icons is a 23x23 image, preferably including the entire space. There's a template within the mod's files that gives you the exact shape, but do whatever you wish. It's your mod!

Step 3: Add Object Parameters To Allow Biome Detection
Go to the .biome file and add a "biomeOrigin" parameter to the objects within the biome, its recommended that you do this on every placeable that allows for it.
The "biomeOrigin" parameter must match the file path starting from the "biomes" folder.

Examples
  • "parameters" : { "originBiome" : "surface/garden" }
  • "parameters" : { "originBiome" : "surface_detached/oasis" }
  • "parameters" : { "originBiome" : "underground/underground3a" }
  • "parameters" : { "originBiome" : "underground_detached/wilderness" }

If you do not have any objects, there's an object in the mod known as "pf_genericstone" that should allow you to add in the parameter without affecting the biome's look too much.

Example
{ "mode": "floor", "priority": 1, "variants": 1, "distribution": "/biomes/distributions.config:scatteredSmall", "type": "object", "objectSets": [ { "pool": [ [ 0.35, "pf_genericstone" ] ], "parameters": { "originBiome": "surface/barren" } } ] }

However, this only works if you're making a dedicated patch. As it is only in this mod. You'll have to find alternatives otherwise. Get creative!

Step 3: Test It!
Make sure to check if it shows up on the UI and you're done!
2 Comments
Gorigo 6 May @ 8:50am 
lostbound is now supports almanach
Gardevoir&MGEbrother8008 1 May @ 10:17pm 
Hope theres gonna be patches for modded planets from other mods anytime soon