mapgen moving to delanay -> minimum spanning tree for rooms connection
This commit is contained in:
39
assets/prefabs/test.json
Normal file
39
assets/prefabs/test.json
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"default_tile_legend": {
|
||||
"?": "any",
|
||||
"#": "wall",
|
||||
".": "floor",
|
||||
"+": "connector"
|
||||
},
|
||||
"default_mobs_legend": {},
|
||||
"default_item_legend": {},
|
||||
|
||||
"prefabs": [
|
||||
{"name": "test_room_1",
|
||||
"tile_legend": {
|
||||
"D": "decorated_wall",
|
||||
"w": "water",
|
||||
"W": "deep_water"
|
||||
},
|
||||
"mobs_legend": {},
|
||||
"item_legend": {},
|
||||
"size": {"x":16, "y":13},
|
||||
"body": [
|
||||
"???????#+#??????",
|
||||
"???DDDD#.#DDDD??",
|
||||
"###D.........DD?",
|
||||
"+....wwwwwww..D?",
|
||||
"###..wWWWWWw..D?",
|
||||
"??#..wW...Ww..##",
|
||||
"??D..wW.D.Ww...+",
|
||||
"??D..wW...Ww..##",
|
||||
"??D..wWWWWWw..#?",
|
||||
"??D..wwwwwww..D?",
|
||||
"??DD.........DD?",
|
||||
"???DDDD#.#DDDD??",
|
||||
"???????#+#??????"
|
||||
]
|
||||
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user