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

Outdated LBoP Compatability Bridger (Discontinued!) 2015-02-16

For helping modders with compatability issues when creating "LearnBlueprintsOnPickup" values.

  1. Shadow Wolf TJC
    Note: Development for this mod has been discontinued until further notice. In the meantime, others are free to use assets from this mod to create spiritual successors to it.

    Note: For modders only! Ordinary players shouldn't need this mod, but modders may! (Most likely, this mod would be helpful if you wanted to have players learn new recipes whenever something was picked up.)

    Permissions:

    - This mod is being released under the CC-BY-4.0 license, meaning that it can be freely modified and redistributed, provided that credit is given where it's due.
    - This mod may be bundled alongside other mods. (This is probably advised, since not everyone that downloads your mod would know where to download this mod, especially when your mod requires this mod as a dependency.)

    About the mod:

    This mod was designed to serve as a bridge to allow multiple modders to create multiple mods that can safely add in the ability to cause players to learn new recipes upon picking up certain items and/or objects without fear of crashing from compatability issues with eachother. As of Upbeat Giraffe, there's an incompatability problem if more than one mod tries to add this kind of patch to an existing item or object:

    [
    {
    "op": "add",
    "path": "/learnBlueprintsOnPickup",
    "value": [ "example" ]
    }
    ]

    ...which would most likely cause the game to crash due to the game trying to add a new "learnBlueprintsOnPickup" array when one already exists.

    However, multiple mods can safely add this kind of patch to an existing item or object, PROVIDED that the "learnBlueprintsOnPickup" array already exists.

    [
    {
    "op": "add",
    "path": "/learnBlueprintsOnPickup/-",
    "value": "example"
    }
    ]

    Thankfully, it's quite possible for one mod to add in a "learnBlueprintsOnPickup" array when it doesn't exist in base files, and then, for other mods to add in new values to this recently-created "learnBlueprintsOnPickup" array. However, in order to ensure that this mod works properly, the other mods WILL need to add this mod as a required mod in their .modinfo files, so that this mod can load before the other mods can. For example:

    {
    "name" : "your mod name here",
    "requires" : [ "LBoP Compatability Bridger" ]
    }

    Some examples of mods that use this mod:

    - No More Gateways
    Mod Pack Permissions:
    Anyone can use this mod in their mod compilation without the author's consent.
    Mod Assets Permissions:
    Anyone can alter/redistribute the mod's assets without the author's consent.

Recent Reviews

  1. MrChow
    MrChow
    5/5,
    Version: 2015-02-16
    This is a great mod. I wish CF would have thought about the whole patching mechanism and tested all possible case scenarios before releasing it in the wild.
    1. Shadow Wolf TJC
      Author's Response
      It's an extremely situational one though. In fact, I'm thinking about expanding upon this mod concept in order to cover other kinds of things.

      As for why Chucklefish hasn't already done this sort of thing, I believe that I heard OmnipotentEntity say that they were reluctant to make extensions like this for some reason.