• Hello game master! Welcome to our growing community. Please take a moment to Register (top right button, see how: Slides).

    If you use Campaign Logger, you can use the same login details - we've linked the app to this forum for secure and easy single sign-on for you.

    And please drop by the Introductions thread and say hi.

Generator - Empty Table Entries Now Supported

JohnnFour

Game Master
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Demonplague Author
Borderland Explorer
News from Malte about a bug about to be squashed next code update:

The generator code below was not validating/generating for some reason and just returning an error.

I looked into it. It was an error on both sides.

As you can see there is a table named 'exclusive'. It has an empty entry. This did break it a little as our engine didn't handle that well.

It is now fixed. If you want to use an empty entry in a generator table, now you can. :)

Hope that helps a little...

-- Malte

JSON:
{
    "name": "NPC_questions",
    "resultPattern": "{init}{result}",
    
               [...] // shortened for this message

  "tables: [
        {
            "name": "exclusive",
            "explanation": "Extra rare types (not produced by random).",
            "entries": [
                ""
            ]
        },


       [...] // shortened for this message
        }
    ]
}
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Empty table entries have always worked, as they should. They also validated fine on the generator testbed site.

The problem was the the new generator UI validator complained about them, but that issue has now been fixed thanks to @mKlaumann, and the corrected validator should be online pretty soon.

Empty table entries are useful for example when adding bits that sometimes should be present in the generated output, and sometimes not.
 
Top