Adds initial indoor preset for terrain generator

This commit is contained in:
Jayant Jain 2014-08-12 03:11:42 +05:30
parent 88252806c7
commit 9d001524c6

View file

@ -55,6 +55,18 @@ clusters = {
'thangs': ['Dungeon Floor'] 'thangs': ['Dungeon Floor']
'margin': -1 'margin': -1
} }
'indoor_wall': {
'thangs': ['Indoor Wall']
'margin': 2
}
'indoor_floor': {
'thangs': ['Indoor Floor']
'margin': -1
}
'furniture': {
'thangs': ['Bookshelf', 'Table', 'Candle', 'Treasure Chest']
'margin': -1
}
} }
presets = { presets = {
@ -83,6 +95,30 @@ presets = {
} }
} }
} }
'indoor': {
'type':'indoor'
'borders':'indoor_wall'
'borderNoise':0
'borderSize':4
'floors':'indoor_floor'
'decorations': {
'furniture': {
'num':[1,2]
'width': 15
'height': 15
'clusters': {
'furniture':[2,3]
}
}
'Room': {
'num': [1,1]
'width': [12, 16]
'height': [8, 16]
'thickness': [2,2]
'cluster': 'indoor_wall'
}
}
}
'grassy': { 'grassy': {
'type':'grassy' 'type':'grassy'
'borders':'trees' 'borders':'trees'