-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnits.elm
71 lines (61 loc) · 1.14 KB
/
Units.elm
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
module Units exposing (..)
type alias Unit =
{ name : String
, unitVal : Int
, initialVal : Int
, initialSize : Int
, currentSize : Int
, maxSize : Int
, unitID : String
, totalCost : Int
}
termagant : Unit
termagant =
{ name = "Termagants"
, unitVal = 4
, initialVal = 40
, initialSize = 10
, currentSize = 10
, maxSize = 30
, unitID = ""
, totalCost = 40
}
termagant1 = termagant
termagant2 = termagant
termagant3 = termagant
termagant4 = termagant
termagant5 = termagant
termagant6 = termagant
hiveTyrant : Unit
hiveTyrant =
{ name = "Hive Tyrant"
, unitVal = 0
, initialVal = 130
, initialSize = 1
, currentSize = 1
, maxSize = 1
, unitID = ""
, totalCost = 130
}
tyranidPrime : Unit
tyranidPrime =
{ name = "Tyranid Prime"
, unitVal = 0
, initialVal = 90
, initialSize = 1
, currentSize = 1
, maxSize = 1
, unitID = ""
, totalCost = 90
}
emptyUnit : Unit
emptyUnit =
{ name = ""
, unitVal = 0
, initialVal = 0
, initialSize = 0
, currentSize = 0
, maxSize = 0
, unitID = ""
, totalCost = 0
}