-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.go
More file actions
38 lines (31 loc) · 742 Bytes
/
settings.go
File metadata and controls
38 lines (31 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package main
type settings struct {
mutationChance int
herbsSpawnRate int
herbsPerSpawn int
herbsEnergy int
herbsStartingNr int
herbivoresStartingNr int
carnivoresStartingNr int
herbivoresSpawnEnergy int
carnivoresSpawnEnergy int
herbivoresBreedLevel int
carnivoresBreedLevel int
herbivoresMoveCost int
carnivoresMoveCost int
}
var s = settings{
mutationChance: 4,
herbsSpawnRate: 2,
herbsPerSpawn: 6,
herbsEnergy: 180,
herbsStartingNr: 180,
herbivoresStartingNr: 60,
carnivoresStartingNr: 15,
herbivoresSpawnEnergy: 240,
carnivoresSpawnEnergy: 220,
herbivoresBreedLevel: 280,
carnivoresBreedLevel: 240,
herbivoresMoveCost: 8,
carnivoresMoveCost: 2,
}