-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshipGirlNicknameHandler.py
123 lines (111 loc) · 3.85 KB
/
shipGirlNicknameHandler.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
# This file is part of Prinz Eugen.
# Prinz Eugen is free software: you can redistribute it and/or modify it under the terms
# of the GNU Affero General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
# Prinz Eugen is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License along with Prinz
# Eugen. If not, see <https://www.gnu.org/licenses/>.
nicknames = {
"fdg" : "Friedrich der Große",
"freddy" : "Friedrich der Große",
"bad" : "Izumo",
"warcorgi" : "Warspite",
"warpoi" : "Warspite",
"nanoda" : "Yukikaze",
"yuki" : "Yukikaze",
"ykkz" : "Yukikaze",
"graf" : "Graf Zeppelin",
"enty" : "Enterprise",
"owari da" : "Enterprise",
"st louis" : "St. louis",
"sanrui" : "Saint Louis",
"jesus" : "Juneau",
"sandy" : "San Diego",
"bisko" : "Bismarck",
"bisco" : "Bismarck",
"kgv" : "King George V",
"clevebro" : "Cleveland",
"pow" : "Prince of Wales",
"doy" : "Duke of York",
"qe" : "Queen Elizabeth",
"bulin" : "Universal Bulin",
"purin" : "Prototype Bulin MKII",
"urin" : "Specialized Bulin Custom MKIII",
"ur bulin" : "Specialized Bulin Custom MKIII",
"rainbow bulin" : "Specialized Bulin Custom MKIII",
"hipper" : "Admiral Hipper",
"hipper muse" : "Admiral Hipper μ",
"spee" : "Graf Spee",
"indy" : "Indianapolis",
"177013" : "Marblehead",
'prinz' : "Prinz Eugen",
'sara' : "Saratoga",
'iroha' : "I-168",
"lolicon" : "Ark Royal",
"massa" : "Massachusetts",
"poi" : "Yuudachi",
"lusty" : "Illustrious",
"ayaya" : "Ayanami",
"nimi" : "Z23",
"monty" : "Montpelier",
"pamiat" : "Pamiat' Merkuria",
"pamiat merkuria" : "Pamiat' Merkuria",
"rossiya" : "Sovetskaya Rossiya",
"kaga (bb)" : "Kaga(BB)",
"kaga bb" : "Kaga(BB)",
"jb" : "Jean Bart",
"desuland" : "Deutschland",
"richy" : "Richelieu",
"formi" : "Formidable",
"sheffy" : "Sheffield",
"hms neptune" : "Neptune",
"maki" : "Makinami",
"sodak" : "South Dakota",
"<:roon_seal:773751304861253662>" : "Roon μ",
"biscuit" : "Bismarck",
"spee" : "Admiral Graf Spee",
"suzu" : "Suzutsuki",
'balti' : "Baltimore",
#Duca pepelaugh
'abruzzi' : "Duca degli Abruzzi",
'duca' : "Duca degli Abruzzi",
'luigi' : "Duca degli Abruzzi",
'dda' : "Duca degli Abruzzi",
'luigi di savoia duca degli abruzzi' : "Duca degli Abruzzi",
'a literal page worth of aliases' : "Duca degli Abruzzi",
'vv' : "Vittorio Veneto",
'veneto' : "Vittorio Veneto",
#german ships
"konigsberg" : "Königsberg",
"koln" : "Köln",
"nurnberg" : "Nürnberg",
#french ships
"algerie" : "Algérie",
"la galissonniere" : "La Galissonnière",
"l'opiniatre" : "L'Opiniâtre",
"le Temeraire" : "Le Téméraire",
"emile bertin" : "Émile Bertin",
#muse ships
"roon muse" : "Roon μ",
"ruse": "Roon μ",
"gascogne muse" : "Gascogne μ",
"cleveland muse" : "Cleveland μ",
"admiral hipper muse" : "Admiral Hipper μ",
"akagi muse" : "Akagi μ",
"sheffield muse" : "Sheffield μ",
"illustrious muse" : "Illustrious μ",
"le malin muse" : "Le Malin μ",
"dido muse" : "Dido μ",
"taihou muse" : "Taihou μ",
"tashkent muse" : "Tashkent μ",
"albacore muse" : "Albacore μ",
"baltimore muse" : "Baltimore μ",
"balti muse" : "Baltimore μ"
}
def getNickname(arg):
#if answer is a nickname, replace answer with ship it is referencing.
if arg.lower() in nicknames:
arg = nicknames[arg.lower()]
return arg