forked from EvolutionRTS/Evolution-RTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModOptions.lua
48 lines (47 loc) · 1.53 KB
/
ModOptions.lua
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
local options= {
{
key = 'StartingResources',
name = 'Starting Resources',
desc = 'Sets storage and amount of resources that players will start with',
type = 'section',
},
{
key = 'StartMetal',
name = 'Starting metal',
desc = 'Determines amount of metal and metal storage that each player will start with',
type = 'number',
section= 'StartingResources',
def = 100,
min = 0,
max = 1000,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key = 'StartEnergy',
name = 'Starting energy',
desc = 'Determines amount of energy and energy storage that each player will start with',
type = 'number',
section= 'StartingResources',
def = 250,
min = 0,
max = 1000,
step = 1, -- quantization is aligned to the def value
-- (step <= 0) means that there is no quantization
},
{
key="gameplayspeed",
name="Gameplay Speed",
desc="Modifies buildtimes based upon cost",
type="list",
def="faster",
section="other",
items={
{key="normal", name="Normal", desc="Unit buildtimes are equal to their metal cost"},
{key="fast", name="Fast", desc="Unit buildtimes are equal to their metal cost divided by 2"},
{key="faster", name="Faster", desc="Unit buildtimes are equal to their metal cost divided by 4"},
{key="fastest", name="Fastest", desc="All units have a buildtime of 5 seconds"},
}
},
}
return options