Modding Help Recipes sold got broken from day to night.

Discussion in 'Starbound Modding' started by Nakano15, Dec 11, 2023.

  1. Nakano15

    Nakano15 Pangalactic Porcupine

    Edit: Nevermind, some of those items doesn't seems to have recipes.

    Well, It's that period of time where I try to mod again this game, and I'm trying to make some revamp mods for it.
    You might end up seeing my face here more often, but only after I take care of this issue I got.

    So, a thing I'm trying to change on Starbound, is making the armors sold by merchants be sold as Blueprints,
    instead of the armor itself. On the first day I tried that, it worked and sold two pieces of equipment as blueprint on
    the shop.
    upload_2023-12-10_22-57-36.jpeg

    That was yesterday.

    Today, I tried to again to see if the equipments shows up as recipes on the shop, and discovered that they turned into
    perfectly generic items instead.
    upload_2023-12-10_22-58-20.jpeg

    And they're also displaying errors like this:
    Code:
    [22:36:22.047] [Error] Could not instantiate item '[trackerhead-recipe, 1, {}]'. (ItemException) No such item 'trackerhead-recipe'
    Here's the code of 'merchantpools.config.patch' which changes the shop items.
    Code:
    [
        {
            "op" : "replace",
            "path" : "/genericarmour",
            "value" : [
            [0, [
              { "item" : { "name" : "mercenarychest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenaryhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenarylegs-recipe"}, "rarity" : 0.04 }
            ]],
            [1.9, [
              { "item" : { "name" : "mercenarychest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenaryhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenarylegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medichead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mediclegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicback-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerlegs-recipe"}, "rarity" : 0.04 }
            ]],
            [2.9, [
              { "item" : { "name" : "mercenarychest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenaryhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenarylegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medichead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mediclegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicback-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerlegs-recipe"}, "rarity" : 0.04 }
            ]],
            [3.9, [
              { "item" : { "name" : "mercenarychest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenaryhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenarylegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medichead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mediclegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicback-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "explorerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "explorerlegs-recipe"}, "rarity" : 0.04 }
            ]],
            [4.9, [
              { "item" : { "name" : "mercenarychest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenaryhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenarylegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medichead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mediclegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicback-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "explorerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "explorerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "camochest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "camohead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "camolegs-recipe"}, "rarity" : 0.04 }
            ]],
            [5.9, [
              { "item" : { "name" : "mercenarychest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenaryhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mercenarylegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "silverarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medichead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "mediclegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "medicback-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "trackerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "goldarmorlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "voyagerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "pathfinderlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "explorerchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "explorerlegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "camochest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "camohead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "camolegs-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "bonusarmorchest-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "bonusarmorhead-recipe"}, "rarity" : 0.04 },
              { "item" : { "name" : "bonusarmorlegs-recipe"}, "rarity" : 0.04 }
            ]]
          ]
        }
    ]
    So, anyone knows how I can fix this issue, and make the equipments be shown again as blueprint in the shop?
     
    Last edited: Dec 11, 2023

Share This Page