1. Encountering issues with the Localization/Translations with 1.3.5? Please report them via the section linked below so that we can account for all of them and have them addressed. Thanks! Localization Bugs & Issues Section
  2. We have hub threads for known bugs/issues and statuses of fixes for Mobile, 3DS, and Console platforms (UPDATED):
    Click here for Mobile
    Click here for 3DS
    Click here for PS3/PS4/PS Vita/XBox 360/XBox One

tModLoader Coding Problems, Please Help.

Discussion in 'General Mod Discussion' started by TheTrueBrawler, Jun 17, 2016.

  1. TheTrueBrawler

    TheTrueBrawler Spazmatism

    Added it and it still isn't working.
     
  2. mouseas

    mouseas Steampunker

    Let's see your code. Also, did you save the file?
     
  3. TheTrueBrawler

    TheTrueBrawler Spazmatism

    Here is a Link to a Download if you would like to tinker with it in any way, shape, or form.
     
  4. mouseas

    mouseas Steampunker

    I assume by "doesn't work", that you mean the mod doesn't give any errors, but the recipe won't show up.

    I don't see any obvious things wrong in your code.

    I assume you have the ingredients in your inventory rather than in equipment slots?

    You might also need to make Lava Waders and Frostspark Boots count as being Materials, since they weren't previously used in any recipes. Lucky Horseshoe is used in some recipes already, so it should be fine.

    You could also try adding a second recipe, just for debugging purposes:

    Code:
        recipe = new ModRecipe(mod);
        recipe.AddIngredient(ItemID.DirtBlock, 1);
        recipe.SetResult(this);
        recipe.AddRecipe();
    
    This should allow you to craft the boots from 1 dirt block, without being near any crafting stations. If that recipe doesn't show up, then "AddRecipes()" isn't being called, and the first recipe isn't being added in the first place.