FORUM ARCHIVED

What's the difference between <craft> and <craft hidden="0"> ?

Discussion in 'Modding' started by LukeZ, Sep 6, 2012.

  1. LukeZ

    LukeZ Member

    In the CraftDB.xml some items have the <craft> tag, others have the <craft hidden=0> tag.
    What's the difference between them?

    For example:

    <craft hidden="0">
    <output skill="1" name="Bony Wand"/>
    <tool tag="lathe" />
    <input name="Burnt Out Wand"/>
    <input name="Bone Club"/>
    <input name="Sewer Brew"/>
    </craft>

    <craft>
    <output skill="3" name="Stony Wand"/>
    <tool tag="lathe" />
    <input name="Burnt Out Wand"/>
    <input name="Salt"/>
    <input name="Hematite" />
    <input name="Malachite" />
    </craft>
     
  2. Kazeto

    Kazeto Member

    If it's a hidden recipe, you'll have to find it in a bookshelf before you'll be able to make it.

    So no difference here, because none of them is hidden.
     
  3. LukeZ

    LukeZ Member

    Hidden recipes shouldn't have the tag <craft hidden=1> instead of <craft hidden=0> ?
     
  4. Kazeto

    Kazeto Member

    Yes, they should have. But I never said that <craft hidden="0"> makes them hidden.

    The point is, the only difference here is that the <craft hidden="0"> one gives you a recipe that is not hidden, while just <craft> gives you a recipe that will use the default value for the "hidden" parameter (which is 0, coincidentally). So as of now there is really no difference between the two.
     
  5. LukeZ

    LukeZ Member

    Ok, thank you!