mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-23 21:10:34 +00:00
add terrain to map
This commit is contained in:
@@ -90,7 +90,11 @@ export const pastelTheme = new class implements Theme {
|
||||
if (tile.isShore()) {
|
||||
return this.shore
|
||||
}
|
||||
return this.land;
|
||||
return colord({
|
||||
r: 174 + 5 * tile.magnitude(),
|
||||
g: 163 + 5 * tile.magnitude(),
|
||||
b: 128 + 5 * tile.magnitude()
|
||||
})
|
||||
} else {
|
||||
const w = this.water.rgba
|
||||
if (tile.isShorelineWater()) {
|
||||
|
||||
Reference in New Issue
Block a user