1. Welcome to the official Starbound Mod repository, Guest! Not sure how to install your mods? Check out the installation guide or check out the modding help thread for more guides.
    Outdated Mods have been moved to their own category! If you update your mod please let a moderator know so we can move it back to the active section.
    Dismiss Notice

Many Tabs 1.2

Add tabs to crafting stations & codex library

  1. v6ooo
    Adds an easy way for modders to add filter tabs to vanilla crafting stations and race tabs to the codex library without having to worry about compatibility with other mods.

    Moves the filter tabs for vanilla crafting tables to the left side and change them to a vertical layout.
    Codex library will auto-expand to fit the amount of race tabs that have been added.

    Please keep in mind that it is not possible to add an unlimited amount of tabs so you should preferably only use one.

    Fully functional with Extended GUI but tabs currently start in the middle of the screen instead of top.


    NOTE: Do not put this mod as a include or require in your metadata file or you will break its functionality.


    How to add a filter tab to crafting station
    Create a transparent 26 x 17 px png with a centered icon.
    Create a patch file in the usual location for the specific crafting table.
    E.g. interface/windowconfig/xxxxxx.config.patch
    Code:
    [
      { "op": "add", "path": "/modTab/-", "value": {
        "file": "/interface/crafting/tabicon_yourmod.png",
        "filter": [ "yourfilter" ]
      }}
    ]
    
    Please note that adding tabs to crafting.config is not supported as it is shared between plain hands, capturestation, ironcraftingtable, railcraftingtable, heartforge, holidaycraftingtable & spawnerstation.


    How to add a race tab to codex window
    Add a race button like you normally would and do not change anything else
    [​IMG] [​IMG]
    /interface/windowconfig/codex.config.patch
    Code:
    [
      {
        "op": "add",
        "path": "/paneLayout/speciesTabs/buttons/-",
        "value": {
          "position": [4, 5],
          "baseImage": "/interface/codex/tab_yourrace.png",
          "baseImageChecked": "/interface/codex/tab_yourrace_select.png",
          "pressedOffset": [0, 0],
          "data": { "species": "yourrace" }
        }
      }
    ]
    

    Check if the mod is loaded (not required to add tabs)
    Code:
    // Mod loaded
    { "op": "test", "path": "/manytabs", "value": true }
    // Mod not loaded
    { "op": "test", "path": "/manytabs", "inverse": true }
    

    Known mods that add tabs
    Foraging Table
    - Gardenbot2 (2) -- Built-in support
    Pixel Printer
    - Print Crafting Stations (1) -- Built-in support
    Spinning Wheel
    - Frackin' Universe (1) -- Built-in support
    Mod Pack Permissions:
    Anyone can use this mod in their mod compilation without the author's consent.
    Mod Assets Permissions:
    You must get the author's consent before altering/redistributing any assets included in this mod.

    Images

    1. codex.png
    2. tabs.png

Recent Updates

  1. 1.2
  2. 1.0 / 1.1

Recent Reviews

  1. hellenicshaco
    hellenicshaco
    5/5,
    Version: 1.0
    nice
  2. Grimstuff
    Grimstuff
    5/5,
    Version: 1.0
    Solves a several years old compatibility problem with mods that edit the codex menu. Fantastic resource.