forked from Mrthomas20121-Mods/TFCompat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lang_generation.py
89 lines (87 loc) · 2.17 KB
/
lang_generation.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
OTHER_METAl_TYPE = {
'chromium':True,
'kanthal':False,
'solder':False,
'aluminium_steel':True,
'weak_aluminium_steel':False,
'bismuth_steel':True,
'weak_bismuth_steel':False,
'damascus_steel':True,
'weak_damascus_steel':False,
'stainless_steel':False,
'weak_stainless_steel':False,
'rose_alloy':False,
'ferrochrome':False,
'cadmium':False,
'nichrome':True,
'alnico':False,
'vanadium':False,
'rhodium':False,
'palladium':False,
'antimony': False,
'constantan': False,
'electrum': False,
'red_alloy': False,
'mithril': True,
'nickel_silver': True,
'invar': True,
'aluminium': True,
'aluminium_brass': False,
'ardite': False,
'cobalt': True,
'manyullyn': True,
'osmium': True,
'titanium': True,
'tungsten': True,
'tungsten_steel': True,
'boron': True,
'thorium': False,
'manganese': False,
'magnesium': False,
'lithium': False,
'zirconium': False,
'zircaloy': True,
'beryllium': False,
'beryllium_copper': True,
'hsla_steel': False,
'ferroboron': False,
'tough': False,
'magnesium_diboride': False,
'uranium': False,
'soulforged_steel':False,
'signalum':True,
'lumium':True,
'enderium':True,
'refined_obsidian':False,
'refined_glowstone':False,
'thaumium':True,
'void_metal':False,
'bismuth': False,
'bismuth_bronze': True,
'black_bronze': True,
'brass': False,
'bronze': True,
'copper': True,
'gold': False,
'lead': False,
'nickel': False,
'rose_gold': False,
'silver': False,
'tin': False,
'zinc': False,
'sterling_silver': False,
'wrought_iron': True,
'pig_iron': False,
'steel': True,
'platinum': False,
'black_steel': True,
'blue_steel': True,
'red_steel': True
}
def Upper(s) :
splitString = s.replace('_', ' ').title()
return splitString
for metal, tool_metal in OTHER_METAl_TYPE.items() :
#print('item.firmalife.%s_mallet.name=%s Mallet' % (metal, Upper(metal)))
#print('item.firmalife.%s_mallet_head.name=%s Mallet Head' % (metal, Upper(metal)))
print("item.ironbackpacks.backpack.tfcompat.%s.name=%s Backpack" % (metal, Upper(metal)))