-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.c
104 lines (102 loc) · 1.88 KB
/
info.c
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
/*
* File: info.c
* Author: Jayson Rhynas, 20299211
* Created: January 21, 2011
*
* Declares various information about the defenses
*/
#include "info.h"
Info defenseInfo[] = {
{"Mud",
{"Slows down enemies to half speed for 10 seconds",
"",
""},
100},
{"Acid",
{"Causes continuous damage to enemies",
"Lasts 10 seconds",
"Repeats every second"},
100},
{"Spikes",
{"Causes low damage to all enemies that step on it",
"",
""},
100},
{"Bear Trap",
{"Causes high damage to one enemy",
"One-time use",
""},
100},
{"Trap Door",
{"Instantly kills all enemies above open door",
"Very slow reload",
""},
100},
{"",
{"", "", ""},
0}, //Placeholder for NUM_TRAPS
{"Gun",
{"Basic gun",
"Medium damage, medium reload time",
""},
100},
{"Shotgun",
{"Shoots 3 bullets at a time",
"Mid-low damage, mid-high reload time",
""},
100},
{"Machine Gun",
{"High rate of fire, low damage",
"",
""},
100},
{"Rocket",
{"Slow moving missile, but deals high damage",
"Slow reload time",
""},
100},
{"Wooden Door",
{"Low health",
"",
""},
100},
{"Brick Door",
{"Medium health",
"",
""},
100},
{"Iron Door",
{"High health",
"",
""},
100},
{"Steel Door",
{"Very high health",
"",
""},
100},
{"Repair",
{"Repairs 500 damage to the door",
"",
""},
100},
{"Racer",
{"Fast moving ground enemy",
"",
""},
0},
{"Crawler",
{"Slow moving ground enemy",
"",
""},
0},
{"Zoomer",
{"Fast moving flying enemy",
"",
""},
0},
{"Floater",
{"Slow moving flying enemy",
""
""},
0}};