-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
126 lines (105 loc) · 1.7 KB
/
config.py
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
fps = 90
spf = 1.0/fps
maxSails = 10
sailStep = 1.0 / maxSails
speedAdjust = 0.075
layout = {
'uiWidth': 75,
'uiHeight': 50
}
world = {
'width': 127,
'height': 127,
'cityCount': 30
}
wind = {
'impact': 0.075,
'maxSpeed': 20.0,
'speedJitter': 1.0,
'dirJitter': 5.0
}
projectile = {
'speed': 200.0,
'maxDistance': 10
}
city = {
'possibleShops': [
'tavern',
'gossip',
'brothel',
'shipyard'
],
'viewRadius': 30
}
brothel = {
'baseRate': 10,
'baseReturn': 25
}
shipyard = {
'repairRate': 20,
'repairReturn': 5,
'ammoRate': 20,
'ammoBuyCount': 10
}
tavern = {
'hireRate': 10,
'drinkPrice': 1,
'drinkMorale': 5
}
morale = {
'daysToStarve': 5,
'crewStarved': 10,
'noFood': 2,
'noRum': 3,
'daysAtSea': 1,
'daysAtSeaReturn': 0.5,
'awolThreshold': 25
}
economy = {
'buyMul': 1.1,
'sellMul': 0.9,
'scarceThreshold': 50,
'lowThreshold': 100,
'highThreshold': 200,
'surplusThreshold': 400,
'basePrice': {
'food': 2,
'rum': 4,
'wood': 10,
'cloth': 10,
'coffee': 20,
'spice': 25
},
'goods':
['food','rum','wood','cloth','coffee','spice']
}
news = {
'genThreshold': 0.4,
'propogateThreshold': 0.6
}
captains = {
'pirateThreshold': 0.2,
'genDelay': fps * 20,
'genThreshold': 0.8,
'maxCount': 20,
'fovRecalcCooldown': 2,
'minRange': 5
}
skill = {
'max': 20,
'navDays': 5,
'gunShots': 50
}
damage = {
'rocks': 5
}
rep = {
'attack': 10,
'sink': 10,
'threshold': 40
}
ship = {
'minView': 6,
'maxView': 20,
'coolDown': fps# * 5
}