Skip to content

Commit eece364

Browse files
committed
add new star trek death reasons
1 parent 316fa98 commit eece364

File tree

1 file changed

+37
-3
lines changed

1 file changed

+37
-3
lines changed

src/renderer/const.py

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
]
1616

1717

18+
# for reason in DeathReason.deathReason.getList():
19+
# print(reason.__dict__)
1820
DEATH_TYPES = {
1921
0: {"sound": "Health", "icon": "frags", "id": 0, "name": "NONE"},
2022
1: {"sound": "Health", "icon": "frags", "id": 1, "name": "ARTILLERY"},
@@ -130,11 +132,43 @@
130132
"id": 28,
131133
"name": "ADBOMB",
132134
},
135+
# apparently all these event death reasons should have icon FEL
136+
# but they appear to be 'frags' in game so i have edited them manually
133137
29: {
134-
"sound": "Torpedo",
135-
"icon": "icon_frag_naval_mine",
138+
"sound": "Fel",
139+
"icon": "frags",
136140
"id": 29,
137-
"name": "DBOMB_MINE",
141+
"name": "EVENT_1",
142+
},
143+
30: {
144+
"sound": "Fel",
145+
"icon": "frags",
146+
"id": 30,
147+
"name": "EVENT_2",
148+
},
149+
31: {
150+
"sound": "Fel",
151+
"icon": "frags",
152+
"id": 31,
153+
"name": "EVENT_3",
154+
},
155+
32: {
156+
"sound": "Fel",
157+
"icon": "frags",
158+
"id": 32,
159+
"name": "EVENT_4",
160+
},
161+
33: {
162+
"sound": "Fel",
163+
"icon": "frags",
164+
"id": 33,
165+
"name": "EVENT_5",
166+
},
167+
34: {
168+
"sound": "Torpedo",
169+
"icon": "icon_frag_torpedo",
170+
"id": 34,
171+
"name": "EVENT_6",
138172
},
139173
}
140174

0 commit comments

Comments
 (0)