KDR


Here this section of the modding documentation serves to describe all of the available KDR files that the game reads from. You may reference any of the links on the left to find more specific info on them, and their properties.

KDR structure

A kdr file is similar to a JSON file, except loose.

{
    key: "value"
}

And unlike JSON (as per the default spec and not the countless variants), it also supports comments.

{
    // This is a comment
    
    // We love numbers
    a_number: 42

    // We love text!
    a_string: "Hello, world!"
}

All outside of info.kdr, support multiple entries in a single file.

{
    name: "entry A"
    value: 42
}

{
    name: "entry B"
    value: "apples"
}

Finally, the KDR format is a bit loose with strings. Strings do not necessarily need quotes.

{
    name: Apple
    stat: energy:42
}