[
    {
        "type": "mapgen",
        "om_terrain": [
            "house"
        ],
        "method": "json",
        "weight": 100, "comment": "<--- the library is a pretty nice find",
        "object": {
            "rows": [
                "........................",
                ".--22--3--22-----------.",
                ".|           |77777   |.",
                ".|           |7       2.",
                ".|    66     |7       2.",
                ".| B  66B    |   H   9|.",
                ".|    66    =|=      9|.",
                ".2    66B    |   H>  9|.",
                ".2    66     |7       2.",
                ".| B        E|7       2.",
                ".|      B   E|7777    |.",
                ".|B         E|----+---|.",
                ".|------ -----     H  |.",
                ".|F   >|    ?????    H|.",
                ".2G   >|        ?     2.",
                ".2E    +     6  ?     2.",
                ".|A    |              |.",
                ".|--+------+------+---|.",
                ".|8   |        |      |.",
                ".|8   +        |      2.",
                ".2   A|   @@   |  @@  2.",
                ".|    |   @@:  |  @@ :|.",
                ".---------22-----------.",
                "........................"
            ],
            "terrain": {
                ".": "t_grass",
                "-": "t_wall_h",
                "2": "t_window_domestic",
                "3": "t_door_locked",
                "|": "t_wall_v",
                " ": "t_floor",
                "6": "t_floor",
                "7": "t_floor",
                "8": "t_floor",
                "9": "t_floor",
                ":": "t_floor",
                ";": "t_floor",
                "+": "t_door_c",
                "=": "t_floor",
                ">": "t_floor",
                "?": "t_floor",
                "@": "t_floor",
                "A": "t_floor",
                "B": "t_floor",
                "C": "t_floor",
                "D": "t_floor",
                "E": "t_floor",
                "F": "t_floor",
                "H": "t_floor",
                "G": "t_floor",
                "S": "t_sidewalk",
                "^": "t_tree"
            }, 
            "furniture": {
                "6": "f_table",
                "7": "f_bookcase",
                "8": "f_bathtub",
                "9": "f_rack",
                ":": "f_dresser",
                ";": "f_toilet",
                "=": "f_fireplace",
                ">": "f_counter",
                "?": "f_sofa",
                "@": "f_bed",
                "A": "f_sink",
                "B": "f_chair",
                "C": "f_desk",
                "D": "f_trashcan",
                "E": "f_cupboard",
                "F": "f_fridge",
                "H": "f_armchair",
                "G": "f_oven"
            },
            "place_specials": [
                { "type": "toilet", "x": 3, "y": 21 }
            ],
            "comment": "specific terrain/furniture/radiation. doing this until grass_or_dirt is supported ---v",
            "set": [
                { "point": "terrain", "id": "t_dirt", "x": 0, "y": [ 0, 23 ], "repeat": [ 5, 10 ] },
                { "point": "terrain", "id": "t_dirt", "x": 23, "y": [ 0, 23 ], "repeat": [ 5, 10 ] },
                { "point": "terrain", "id": "t_dirt", "x": [ 0, 23 ], "y": 23, "repeat": [ 5, 8 ] },
                { "point": "terrain", "id": "t_dirt", "x": [ 0, 14 ], "y": 0, "repeat": [ 5, 8 ] }
            ],
            "comment": "randomly picked from a group ---v",
            "place_groups": [
                { "item": "bed", "chance": 80,  "x": [10,11 ], "y": [20,21 ] },
                { "item": "bed", "chance": 80,  "x": [18,19 ], "y": [20,21 ] },
                { "item": "bedroom", "chance": 90, "x": [ 6, 21 ], "y": [ 18,21 ]},
                { "item": "livingroom", "chance": 80, "x": [ 8,21 ], "y": [ 13,16 ]},
                { "item": "homeguns", "chance": 5, "x": [ 6,21 ], "y": [ 9,10 ] },
                { "item": "dresser", "chance": 50, "x": [ 21,21 ], "y": [ 21,21 ] },
                { "item": "dresser", "chance": 50, "x": [ 12,12 ], "y": [ 21,21 ] },
                { "item": "kitchen", "chance": 75, "x": [ 2,6 ], "y": [ 13,16 ] },
                { "item": "kitchen", "chance": 75, "x": [ 2,2 ], "y": [ 15,15 ] },
                { "item": "fridge", "chance": 50, "x": [ 2,2 ], "y": [ 13,13 ] },
                { "item": "dining", "chance": 90, "x": [ 6,7 ], "y": [ 4,8 ] },
                { "item": "oven", "chance": 50, "x": [ 2,2 ], "y": 14 },
                { "item": "softdrugs", "chance": 75, "x": [ 2,4 ], "y": [ 18,21 ] },
                { "item": "cleaning", "chance": 75, "x": [ 2,4 ], "y": [ 18,21] },
                { "item": "homebooks", "chance": 80, "x": [ 14,18 ], "y": [ 2,2] },
                { "item": "novels", "chance": 90, "x": [ 14,14 ], "y": [ 3,4] },
                { "item": "textbooks", "chance": 30, "x": [ 14,14 ], "y": [ 3,4] },
                { "item": "novels", "chance": 90, "x": [ 14,14 ], "y": [ 8,10] },
                { "item": "textbooks", "chance": 30, "x": [ 14,14 ], "y": [ 8,10] },
                { "item": "homebooks", "chance": 80, "x": [ 14,18 ], "y": [ 10,10] },
                { "item": "homebooks", "chance": 80, "x": [ 18,18 ], "y": [ 7,7] },
                { "item": "alcohol", "chance": 80, "x": [ 21,21 ], "y": [ 5,7] },
                { "monster": "GROUP_ZOMBIE", "chance": 2, "x": [ 2, 21 ], "y": [ 2, 21 ] }
            ],
            "comment": "end of mapgen json definition ---v"
        },
        "comment": "end of mapgen entry ---v"
    }
]
