up3
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Desert ...
|
||||
type Desert struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Desert) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Desert) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Desert) Depth() float64 {
|
||||
return 0.125
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Desert) Scale() float64 {
|
||||
return 0.05
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Desert) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x32, G: 0xa5, B: 0x98, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Desert) Tags() []string {
|
||||
return []string{"desert", "monster", "overworld", "spawns_gold_rabbits", "spawns_warm_variant_farm_animals", "spawns_warm_variant_frogs"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Desert) String() string {
|
||||
return "desert"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Desert) EncodeBiome() int {
|
||||
return 2
|
||||
}
|
||||
Reference in New Issue
Block a user