Modding Help Umm, why doesn't this work? [SOLVED]

Discussion in 'Starbound Modding' started by Bughunter, Oct 20, 2014.

  1. Bughunter

    Bughunter Spaceman Spiff

    So I am working on modding in recipes for already existing blocks.


    My mod is in the mods folder, and is structured like this: C:\Program Files (x86)\Steam\SteamApps\common\Starbound\mods\Bloxmod\recipes\starter\crafting table\castlewalls1.recipe

    This is the code for it.
    Code:
    {
      "input" : [
        { "item" : "cobblestonematerial", "count" : 2 }
      ],
      "output" : {
        "item" : "castlewalls1",
        "count" : 1
      },
      "groups" : [ "craftingtable", "materials", "all" ]
    }
    Any idea why this isn't showing up in the crafting table menu?

    I am new to modding blocks and such, so any tips would be nice.
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    In order for it to appear in the crafting table it requires 3 things
    1. Modinfo file
    2. The reciepe file
    3. The player must have learned the reciepe. Either by adding it in the player.config it learning it through the blue print

    most common mistake most people name is naming error where they spell the item name wrong or forgets the player must learn the recipe first before it becomes available.
     
    Bughunter likes this.
  3. Bughunter

    Bughunter Spaceman Spiff

    Thanks, I seem to have not added the recipe to the player.config!

    Now I need someone to lock this :p
     
  4. CookiezEater

    CookiezEater Orbital Explorer

    Add it to the player.config
    Yeah and use nightly starbound to ensure your mod will be compatible with coming soon 1.0.
    Its really easy to mod nightly build. For example to add new value to player.config you do following:
    >>player.config.patch
    Code:
    [
    { "op": "add", "path": "/defaultBlueprints/tier1/-", "value": { "item" : "youritem" } }
    ]
     
    Last edited: Oct 20, 2014
    Bughunter likes this.

Share This Page