[
    {
        "type"  : "item_group",
        "id"    : "judo_belts",
        "items" : [
            ["judo_belt_white", 100],
            ["judo_belt_yellow", 50],
            ["judo_belt_orange", 25],
            ["judo_belt_green",  15],
            ["judo_belt_blue",    5],
            ["judo_belt_brown",   4],
            ["judo_belt_black",   1]
        ]
    },
    {
        "type"  : "item_group",
        "id"    : "gi",
        "items" : [
            ["karate_gi", 100],
            ["tabi_gi", 25],
            ["judo_gi", 50],
            ["keikogi", 25],
            ["zubon_gi", 25],
            ["hakama_gi", 10],
            ["mouthpiece", 5],
            ["obi_gi", 10]
        ]
    },
    {
        "type"  : "item_group",
        "id"    : "dojo_manuals",
        "items" : [
            ["manual_karate", 15],
            ["manual_judo", 15],
            ["manual_aikido", 15],
            ["manual_taekwondo", 15],
            ["manual_tai_chi", 15],
            ["mag_melee", 20],
            ["manual_melee",10],
            ["mag_unarmed", 20],
            ["manual_brawl", 10],
            ["mag_cutting", 5],
            ["textbook_weapeast", 1]
        ]
    },
    {
        "type" : "furniture",
        "id" : "f_tatami",
        "name": "tatami mat",
        "symbol": "#",
        "color": "brown",
        "move_cost_mod": 0,
        "required_str": 7,
        "max_volume": 4000,
        "flags": ["TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC"],
        "bash": {
            "str_min": 8, "str_max": 30,
            "sound": "crunch.",
            "sound_fail": "whump."
        }
    },
    {
        "type" : "overmap_terrain",
        "id" : "dojo",
        "name" : "dojo",
        "rotate" : true,
        "sym" : [94, 62, 118, 60],
        "color" : "i_ltcyan",
        "see_cost" : 5,
        "extras" : "build",
        "mondensity" : 2,
        "sidewalk" : true,
        "mapgen": [
            { "weight": 1000,
            "method": "json", "object": {
                "fill_ter": "t_grass",
                "rows":[
                    "  --------ssss--------  ",
                    "  -,-----,ssss,-----,-  ",
                    "  -,-----,ssss,-----,-  ",
                    "  -,-----,ssss,-----,-  ",
                    "  -,-----,ssss,-----,-  ",
                    "  -,-----,ssss,-----,-  ",
                    "  qgggggggg++ggggggggq  ",
                    "  x..................x  ",
                    "  x.################.x  ",
                    "  x.################.x  ",
                    "  x.################.x  ",
                    "  x.################.x  ",
                    "  x.################.x  ",
                    "  x.################.x  ",
                    "  x.################.x  ",
                    "  x.################.x  ",
                    "  x..................x  ",
                    "  xqqqqqqqqqq''qqqqqqx  ",
                    "  xLLLLLLLLLx..x.DC..x  ",
                    "  xBBBBBBBBBx..x.DDD.x  ",
                    "  x.........'..'.....x  ",
                    "  xqqq...qqqx..x.....x  ",
                    "  xS.'...'.Tx..xXXXXXx  ",
                    "  qqqqqqqqqqqqqqqqqqqq  "
                ],
                "terrain":{
                    " ": "t_null",
                    "g": "t_wall_glass_h",
                    ",": "t_pavement_y",
                    "-": "t_pavement",
                    "#": "t_floor",
                    ".": "t_floor",
                    "q": "t_wall_h",
                    "x": "t_wall_v",
                    "L": "t_floor",
                    "+": "t_door_glass_c",
                    "'": "t_door_c",
                    "T": "t_floor",
                    "S": "t_floor",
                    "B": "t_floor",
                    "D": "t_floor",
                    "X": "t_floor",
                    "C": "t_floor",
                    "s": "t_sidewalk"
                },
                "furniture":{
                    "T": "f_toilet",
                    "S": "f_shower",
                    "L": "f_locker",
                    "B": "f_bench",
                    "D": "f_desk",
                    "#": "f_tatami",
                    "C": "f_chair",
                    "X": "f_rack"
                },
                "place_groups": [
                    { "item": "gi", "x": [3, 11], "y": [18, 18], "chance": 80, "repeat": [5, 8] },
                    { "item": "judo_belts", "x": [3, 11], "y": [18, 18], "chance": 80, "repeat": [1, 2] },
                    { "item": "dojo_manuals", "x": [17, 19], "y": [19, 19], "chance": 80, "repeat": [1, 2] }
                ],
                "place_specials": [
                    { "type": "toilet", "x": 11, "y": 22 }
                ],
                "add": [
                    { "item": "judo_belt_black", "x": 17, "y": 18 }
                ] }
            }
        ]
    }
]
