-
Notifications
You must be signed in to change notification settings - Fork 0
/
equipment.py
137 lines (130 loc) · 3.26 KB
/
equipment.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
127
128
129
130
131
132
133
134
135
136
137
from random import randint
FRAMES = {
"Talus": {
"hp": 100,
"act_time": 5,
"move": 3,
"desc": "A jack-of-all-trades frame, the Talus has hp to survive a few hits while being able to act and move fairly quickly.",
},
"Prevada": {
"hp": 70,
"act_time": 4,
"move": 3,
"desc": "The Prevada is quick and fast, although it's low hp means it needs to be used carefully.",
},
"Chralor": {
"hp": 145,
"act_time": 4.5,
"move": 2,
"desc": "Named sarcastically after the word 'Valor,' the Chralor is designed to be used as the word would imply: Slowly go into battle, tanking damage while destroying everything in it's path."
},
"Ketaris": {
"hp": 50,
"act_time": 2,
"move": 1,
"desc": "The Ketaris emerged after a particularly ambitious attempt to have an extremely low act time to use full-size artillery cannons on a frame, and as such also carries the consequences: Extremely low hp, and horrendusly slow."
}
}
WEAPONS = {
"Hammer": {
"damage": 65,
"range": 2,
"use_time_speed": .8,
"cooldown": 2,
},
"Knife": {
"damage": 40,
"range": 1,
"use_time_speed": .5,
"cooldown": 0,
},
"STICK": {
"damage": 60,
"range": 3,
"use_time_speed": .7,
"cooldown": 2,
},
"Burst Rifle": {
"damage": 50,
"range": 5,
"use_time_speed": .7,
"cooldown": 6,
},
"Sniper Rifle": {
"damage": 60,
"range": 10,
"use_time_speed": 1.2,
"cooldown": 8,
},
"Pistol": {
"damage": 30,
"range": 4,
"use_time_speed": .5,
"cooldown": 4,
},
"SMG": {
"damage": 10,
"range": 5,
"use_time_speed": .4,
"cooldown": 0,
},
"Cannon": {
"damage": 100,
"range": 5,
"use_time_speed": 1.1,
"cooldown": 20,
},
"Railgun": {
"damage": 150,
"range": 20,
"use_time_speed": 1.5,
"cooldown": 30,
},
"Shotgun": {
"damage": 90,
"range": 3,
"use_time_speed": .9,
"cooldown": 8,
},
}
ARMORS = {
"None": {
"hp": 0,
"act_time_multiplier": 1,
"damage_multiplier": 1,
},
"Heavy Composite": {
"hp": 40,
"act_time_multiplier": 1.35,
"damage_multiplier": .8,
},
"Fiber Skeletals": {
"hp": -5,
"act_time_multiplier": .95,
"damage_multiplier": .95,
},
"Blast Segment Plating": {
"hp": 30,
"act_time_multiplier": 1.1,
"damage_multiplier": 1.1,
},
"Aerodynamic Refits": {
"hp": 3,
"act_time_multiplier": .85,
"damage_multiplier": 1.1,
},
"Magnetic Shielding": {
"hp": -10,
"act_time_multiplier": 1.5,
"damage_multiplier": .5,
},
}
len_frms=len(list(FRAMES.keys()))-1
len_wps=len(list(WEAPONS.keys()))-1
len_arms=len(list(ARMORS.keys()))-1
def randFrameName():
return list(FRAMES.keys())[randint(0,len_frms)]
def randWeaponName():
return list(WEAPONS.keys())[randint(0,len_wps)]
def randArmorName():
return list(ARMORS.keys())[randint(0,len_arms)]