mirror of
https://github.com/cbeimers113/strands.git
synced 2026-04-20 14:36:54 -04:00
30 lines
682 B
Go
30 lines
682 B
Go
package config
|
|
|
|
var defaultConfig = &Config{
|
|
Name: "Strands | Ecosystem Simulator",
|
|
ShowHelp: false,
|
|
ExitSave: true,
|
|
Simulation: struct {
|
|
Width int `json:"-"`
|
|
Height int `json:"-"`
|
|
Depth int `json:"-"`
|
|
Speed int `json:"ticks_per_second"`
|
|
DayLength int `json:"day_length_mins"`
|
|
}{
|
|
Width: Width,
|
|
Height: Height,
|
|
Depth: Depth,
|
|
Speed: 24,
|
|
DayLength: 5,
|
|
},
|
|
Controls: struct {
|
|
MouseSensitivityX float32 `json:"mouse_sensitivity_x"`
|
|
MouseSensitivityY float32 `json:"mouse_sensitivity_y"`
|
|
MoveSpeed float32 `json:"move_speed"`
|
|
}{
|
|
MouseSensitivityX: 0.3,
|
|
MouseSensitivityY: 0.3,
|
|
MoveSpeed: 0.4,
|
|
},
|
|
}
|