Modding Help Shields won't show up without /admin in my crafting station

Discussion in 'Starbound Modding' started by L3W, Aug 25, 2015.

  1. L3W

    L3W Ketchup Robot

    I am the author of the Hylian Weapons of Legends mod.

    Ok, so I don't get why my weapons and items won't show up in my Hylian Station without using /admin on new characters. There was an update today that must of changed something because it was working properly before. I am guessing it has something to do with my hylianstation.config. folder locations, or recipes. If anyone knows anything about the unstable coding then I would appreciate any help.
     
    Last edited: Aug 25, 2015
  2. WeswePengu

    WeswePengu Title Not Found

    Best Answer
    To get shields to show up in the game and as a recipe...do this.

    PLAYER.CONFIG.PATCH file
    Setup the shield code like this:
    {"op" : "add", "path" : "/defaultBlueprints/tier1/-", "value" : { "item" : "generatedshield", "count" : 1, "data" : { "definition" : "insertshieldnamehere", "level" : insertnumberhere } } },

    .RECIPE file
    Director: ModFolder > Recipes > NameOfCraftingTable > nameofshield.recipe

    Setup the recipe code like this:
    {
    "input" : [
    { "item" : "
    materialnamehere", "count" : 1 },
    { "item" : "materialnamehere", "count" : 1 },
    { "item" : "materialnamehere", "count" : 1 }
    ],
    "output" : { "item" : "generatedshield", "count" : 1, "data" : { "definition" : "
    insertshieldnamehere", "level" : insertnumberhere } },
    "groups" : [ "
    nameofcraftingtable", "armors", "all" ]
    }

    VERY IMPORTANT NOTES!
    The number that you insert for "level" MUST be the same number in the player.config file and .recipe file. If not, it will not work. For example, if the level is 5, then in the recipe file, it's level must be 5.
     
  3. lazarus78

    lazarus78 The Waste of Time

    Add recipies to player config? Assign them to the crafting table? Double check your setup and compare with the vanilla items to check for any changes.
     
  4. L3W

    L3W Ketchup Robot

    They still work in game, but only if you use /admin. My mod was working properly before and I don't know what to do to fix this. I have been trying to come up with a solution, but so far no luck. It must be something to do with the locations of the folders, recipes, player.config, or the hylianstation.config
     
    Last edited: Aug 25, 2015
  5. L3W

    L3W Ketchup Robot

    I figured out the solution! It had something to do with the player.config. I still am trying to figure out how to get the shields to show up in my armor (Forest Medallion) tab on my Hylian Station though.
     
  6. lazarus78

    lazarus78 The Waste of Time

    Yeah, they've done some tinkering with the recipies this version so it likely messed things up in your mod.
     
  7. WeswePengu

    WeswePengu Title Not Found

    Best Answer
    To get shields to show up in the game and as a recipe...do this.

    PLAYER.CONFIG.PATCH file
    Setup the shield code like this:
    {"op" : "add", "path" : "/defaultBlueprints/tier1/-", "value" : { "item" : "generatedshield", "count" : 1, "data" : { "definition" : "insertshieldnamehere", "level" : insertnumberhere } } },

    .RECIPE file
    Director: ModFolder > Recipes > NameOfCraftingTable > nameofshield.recipe

    Setup the recipe code like this:
    {
    "input" : [
    { "item" : "
    materialnamehere", "count" : 1 },
    { "item" : "materialnamehere", "count" : 1 },
    { "item" : "materialnamehere", "count" : 1 }
    ],
    "output" : { "item" : "generatedshield", "count" : 1, "data" : { "definition" : "
    insertshieldnamehere", "level" : insertnumberhere } },
    "groups" : [ "
    nameofcraftingtable", "armors", "all" ]
    }

    VERY IMPORTANT NOTES!
    The number that you insert for "level" MUST be the same number in the player.config file and .recipe file. If not, it will not work. For example, if the level is 5, then in the recipe file, it's level must be 5.
     

Share This Page