-
Notifications
You must be signed in to change notification settings - Fork 179
/
darkforest.toml
146 lines (139 loc) · 3.5 KB
/
darkforest.toml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Configuration for a Dark Forest universe
# Defined in TOML as per https://toml.io/en/v0.5.0
[initializers]
START_PAUSED = true
ADMIN_CAN_ADD_PLANETS = true
TOKEN_MINT_END_TIMESTAMP = 2022-03-01T05:00:00.000Z
WORLD_RADIUS_LOCKED = false
WORLD_RADIUS_MIN = 12_000
##################################
# SNARK keys & Perlin parameters #
##################################
DISABLE_ZK_CHECKS = false
PLANETHASH_KEY = 115
SPACETYPE_KEY = 116
BIOMEBASE_KEY = 117
PERLIN_MIRROR_X = false
PERLIN_MIRROR_Y = false
PERLIN_LENGTH_SCALE = 16384 # must be a power of two no greater than 16384
##############
# Space junk #
##############
SPACE_JUNK_ENABLED = true
# Total amount of space junk a player can take on. This can be overridden at runtime by updating this value for a specific player in storage.
SPACE_JUNK_LIMIT = 2000
# The amount of junk that each level of planet gives the player when moving to it for the first time.
PLANET_LEVEL_JUNK = [20, 25, 30, 35, 40, 45, 50, 55, 60, 65]
# The speed boost a movement receives when abandoning a planet.
ABANDON_SPEED_CHANGE_PERCENT = 150
# The range boost a movement receives when abandoning a planet.
ABANDON_RANGE_CHANGE_PERCENT = 150
##############
# Capture zones #
##############
CAPTURE_ZONES_ENABLED = true
# How often zones change location. Max 255.
CAPTURE_ZONE_CHANGE_BLOCK_INTERVAL = 255
# How big the capture zones are
CAPTURE_ZONE_RADIUS = 1000
# The amount of score each planet level gives for capturing
CAPTURE_ZONE_PLANET_LEVEL_SCORE = [
0,
0,
250_000,
500_000,
750_000,
1_000_000,
10_000_000,
20_000_000,
50_000_000,
100_000_000
]
# After invading, the number of blocks you need to hold a planet for before capturing
CAPTURE_ZONE_HOLD_BLOCKS_REQUIRED = 2048
# Number of capture zones that spawn each time they generate
CAPTURE_ZONES_PER_5000_WORLD_RADIUS = 3
######################
# Game configuration #
######################
ARTIFACT_POINT_VALUES = [0, 100_000, 200_000, 500_000, 20_000_000, 50_000_000]
MAX_NATURAL_PLANET_LEVEL = 9
TIME_FACTOR_HUNDREDTHS = 100 # speedup/slowdown game
PERLIN_THRESHOLD_1 = 14
PERLIN_THRESHOLD_2 = 15
PERLIN_THRESHOLD_3 = 19
INIT_PERLIN_MIN = 13
INIT_PERLIN_MAX = 14
SPAWN_RIM_AREA = 0
BIOME_THRESHOLD_1 = 14
BIOME_THRESHOLD_2 = 17
SILVER_SCORE_VALUE = 10
# PLANET_LEVEL_THRESHOLDS = [
# 16_777_216,
# 4_194_292,
# 1_048_561,
# 262_128,
# 65_520,
# 16_368,
# 4_080,
# 1_008,
# 240,
# 48
# ]
PLANET_RARITY = 12000
PHOTOID_ACTIVATION_DELAY = 10800 # seconds
LOCATION_REVEAL_COOLDOWN = 10800 # seconds
CLAIM_PLANET_COOLDOWN = 10800 # seconds
PLANET_TYPE_WEIGHTS = [
[
[1, 0, 0, 0, 0],
[13, 2, 0, 1, 0],
[13, 2, 0, 1, 0],
[13, 2, 0, 0, 1],
[13, 2, 0, 0, 1],
[13, 2, 0, 0, 1],
[13, 2, 0, 0, 1],
[13, 2, 0, 0, 1],
[13, 2, 0, 0, 1],
[13, 2, 0, 0, 1],
],
[
[1, 0, 0, 0, 0],
[13, 2, 1, 0, 0],
[12, 2, 1, 1, 0],
[11, 2, 1, 1, 1],
[12, 2, 1, 0, 1],
[12, 2, 1, 0, 1],
[12, 2, 1, 0, 1],
[12, 2, 1, 0, 1],
[12, 2, 1, 0, 1],
[12, 2, 1, 0, 1],
],
[
[1, 0, 0, 0, 0],
[10, 4, 2, 0, 0],
[10, 4, 1, 1, 0],
[8, 4, 1, 2, 1],
[8, 4, 1, 2, 1],
[8, 4, 1, 2, 1],
[8, 4, 1, 2, 1],
[8, 4, 1, 2, 1],
[8, 4, 1, 2, 1],
[8, 4, 1, 2, 1],
],
[
[1, 0, 0, 0, 0],
[11, 4, 1, 0, 0],
[11, 4, 1, 0, 0],
[7, 4, 2, 2, 1],
[7, 4, 2, 2, 1],
[7, 4, 2, 2, 1],
[7, 4, 2, 2, 1],
[7, 4, 2, 2, 1],
[7, 4, 2, 2, 1],
[7, 4, 2, 2, 1],
],
]
##########################
# Planets to add to game #
##########################