mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Adds initial indoor preset for terrain generator
This commit is contained in:
parent
88252806c7
commit
9d001524c6
1 changed files with 36 additions and 0 deletions
|
@ -55,6 +55,18 @@ clusters = {
|
|||
'thangs': ['Dungeon Floor']
|
||||
'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 = {
|
||||
|
@ -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': {
|
||||
'type':'grassy'
|
||||
'borders':'trees'
|
||||
|
|
Loading…
Reference in a new issue