mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-16 00:19:50 -05:00
Added mountain terrain generator
This commit is contained in:
parent
3458f2069b
commit
90d7159501
1 changed files with 27 additions and 0 deletions
|
@ -99,6 +99,14 @@ clusters = {
|
|||
'thangs': ['Oasis 1', 'Oasis 2', 'Oasis 3']
|
||||
'margin': 4
|
||||
}
|
||||
'mountain_floor': {
|
||||
'thangs': ['Talus 1', 'Talus 2', 'Talus 3', 'Talus 4', 'Talus 5', 'Talus 6']
|
||||
'margin': -1
|
||||
}
|
||||
'mountain_walls': {
|
||||
'thangs': ['Mountain 1','Mountain 3']
|
||||
'margin': 6
|
||||
}
|
||||
}
|
||||
|
||||
presets = {
|
||||
|
@ -247,6 +255,25 @@ presets = {
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
'mountain': {
|
||||
'terrainName': 'Mountain'
|
||||
'type': 'mountain'
|
||||
'floors': 'mountain_floor'
|
||||
'borders': 'mountain_walls'
|
||||
'borderNoise': 1
|
||||
'borderSize': 1
|
||||
'borderThickness': 1
|
||||
'decorations': {
|
||||
'hero': {
|
||||
'num': [1, 1]
|
||||
'width': 2
|
||||
'height': 2
|
||||
'clusters': {
|
||||
'hero': [1, 1]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue