Modding Help Trouble Unlocking Recipes from Pickup

Discussion in 'Starbound Modding' started by alibabaggypants, Jan 24, 2017.

  1. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    For my mod I wanted to have (relatively) complex upgrade tree where you need to make the previous weapon in the line to unlock other sections of the tree. It didn't seem hard but none of my recipes are being acknowledged for some reason. Could someone tell me what I'm doing wrong here?

    Code:
    {
      "itemName" : "starlighttier2",
      "level" : 1,
      "price" : 560,
      "maxStack" : 1,
      "rarity" : "common",
      "description" : "Upgraded version of the Starlight. However, potential still lies within.",
      "shortdescription" : "Starlight Keyblade II",
      "tooltipKind" : "sword",
      "weaponType" : "broadsword",
      "twoHanded" : true,
      "itemTags" : ["weapon","melee","broadsword","keyblade"],
     
      "inventoryIcon" : "starlighttier2.png",
    
      "animation" : "/items/active/weapons/melee/broadsword/combobroadsword.animation",
      "animationParts" : {
        "handle" : "",
        "blade" : "starlighttier2.png"
      },
      "animationCustom" : { },
    
      "scripts" : ["/items/active/weapons/melee/meleeweapon.lua"],
    
      "elementalType" : "physical",
    
      "primaryAbilityType" : "broadswordcombo",
      "primaryAbility" : {
        "fireTime" : 1.0,
        "baseDps" : 9
      },
    
      "altAbilityType" : "parry",
     
     
      "builder" : "/items/buildscripts/buildunrandweapon.lua",
    
      "learnBlueprintsOnPickup" : [ "starlighttier3", "rainfalltier0" ]
    }
     
  2. lazarus78

    lazarus78 The Waste of Time

    Always check your log file first when something doesn't work as you expected. 99% of the time it will have answers.
     
    bk3k likes this.
  3. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    There's no error in the log file though. If there was a lead like that to follow I would have checked it and posted it too. (Well, the error from the image file from last time is still there but that's unrelated I think.)
     
  4. lazarus78

    lazarus78 The Waste of Time

    Do you already know the recipe? Did you do a player.config patch?
     
  5. IHart

    IHart Scruffy Nerf-Herder

    does being in admin mode remove the new recipe notification?
    are you in admin mode?
    do the recipes exist?
     
  6. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    The recipe should be learned on pickup for the next upgrade. I did a batch for the first two items (the crafting tables and initial sword) so they were automatically known to the player.

    I'm not sure but after turning off and on a few times I'm pretty certain that the recipes were never learned.
    And yes, they do all exist.
     
  7. lazarus78

    lazarus78 The Waste of Time

    Well weve hit an impass. Everything seems in place. The only remaining conclusion I can draw is something ELSE in your mod is not set up properly.
     
  8. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    So the line for getting recipes on pickup was written correctly then? I figured if the error came from anywhere it'd be there.
     
  9. lazarus78

    lazarus78 The Waste of Time

    It looks to be, it isn't giving out any errors. Usually when something is technically correct but doesnt work at all, then it means something is just not set up properly.
     
  10. alibabaggypants

    alibabaggypants Scruffy Nerf-Herder

    I see. Well, I'll take a look at all of my files to see if any of them have any obvious mistakes. Should I just check the recipe files or is there someplace else that might be set up badly?
     
  11. lazarus78

    lazarus78 The Waste of Time

    If you pack up your mod I can take a look at it if you want.
     

Share This Page