FORUM ARCHIVED

Validation confusion

Discussion in 'Modding' started by DungeonDragon, Sep 27, 2012.

  1. DungeonDragon

    DungeonDragon Member

    There is a vanilla item

    <item name="Potato" iconFile="items/food_potato.png" level="5">
    <price amount="100"/>
    <food hp="5"/>
    <description text="The humblest of tubers."/>
    </item>

    I created a recipe

    <craft>
    <output skill="0" name="Flour" amount="2" />
    <tool tag="grinder"/>
    <input name="Potato"/>
    </craft>

    Validation error log.
    \Gaslamp Games\Dungeons of Dredmor\mods\Advanced Craft'n'Smelt\mod\craftDB.xml
    Line 2517, Position: 9 -- The item, 'Potato', was not found.

    Thing is a recipe is working ingame. I have two recipes involving Potato and both are working, though both are producing this error. I also compared it with the string from Vodka vanilla recipe

    <craft>
    <output skill="0" name="Vodka" amount="1" />
    <tool tag="still"/>
    <input name="Potato"/>
    <input name="Potato"/>
    <input name="Potato"/>
    </craft>

    and I can't understand why Potato doesn't pass validation check.

    I put Communist Ushanka(from expansion3) to the input and it's working so I don't get why Potato is so unique
     
  2. Jellp

    Jellp Member

    I think the validator only looks in your mod files, not the vanilla and expansion files. which is why it can't find your potato.
     
  3. DungeonDragon

    DungeonDragon Member

    No I don't think it's true because I use vanilla recipes as
    <craft>
    <output skill="0" name="Spice" amount="2" />
    <tool tag="grinder"/>
    <input name="Apple"/>
    </craft>
    And it's ok

    Also as I said I tested Flour recipe this with Communist Ushanka and it works. I have no such thing as Ushanka in my mod :)
     
  4. Kazeto

    Kazeto Member

    The validator has problems with recognising data from the newest expansion.
     
  5. DungeonDragon

    DungeonDragon Member

    Is there a way to publish mod in steamworkshop because validator doesn't let me do it.
     
  6. Kazeto

    Kazeto Member

    Hmm...

    Have you added the line that marks the mod as using the third expansion's data files to your "mod.xml" file?
     
  7. lccorp2

    lccorp2 Member

    I've tried everything.

    "Potato" is simply not recognised.
     
  8. Kazeto

    Kazeto Member

    Then it's a problem with the validator itself, like I said a few posts back.

    Because there is no reason it wouldn't register CotW stuff otherwise.
     
  9. DungeonDragon

    DungeonDragon Member

    Of all the items Potatoes are the problem, that's kind of wierd :confused:

    Well I have to think of a walkaround.

    Edit: Hmm I guess I don't have to have a walkaround I didn't know you can put a mod on SteamWorkshop without validation. So problem is solved
     
  10. Kazeto

    Kazeto Member

    Now that is weird...