mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Show name of nametag while choosing
This commit is contained in:
parent
7be88f4d33
commit
0be23c6abe
2 changed files with 4 additions and 4 deletions
|
@ -836,8 +836,9 @@ class ExtraOptionsTabPage(DirectFrame):
|
||||||
if resetIndex:
|
if resetIndex:
|
||||||
self.nametagStyle_index = base.localAvatar.nametagStyles.index(base.localAvatar.getNametagStyle())
|
self.nametagStyle_index = base.localAvatar.nametagStyles.index(base.localAvatar.getNametagStyle())
|
||||||
|
|
||||||
self.nametagStyle_name['text'] = base.localAvatar.getName()
|
nametagId = base.localAvatar.nametagStyles[self.nametagStyle_index]
|
||||||
self.nametagStyle_name['text_font'] = ToontownGlobals.getNametagFont(base.localAvatar.nametagStyles[self.nametagStyle_index])
|
self.nametagStyle_name['text'] = base.localAvatar.getName() + '\n' + TTLocalizer.NametagFontNames[nametagId]
|
||||||
|
self.nametagStyle_name['text_font'] = ToontownGlobals.getNametagFont(nametagId)
|
||||||
nametagCount = len(base.localAvatar.nametagStyles)
|
nametagCount = len(base.localAvatar.nametagStyles)
|
||||||
|
|
||||||
if self.nametagStyle_index >= (nametagCount - 1):
|
if self.nametagStyle_index >= (nametagCount - 1):
|
||||||
|
|
|
@ -36,7 +36,7 @@ NametagFonts = (
|
||||||
'phase_3/models/fonts/DinosaursAreAlive.ttf'
|
'phase_3/models/fonts/DinosaursAreAlive.ttf'
|
||||||
)
|
)
|
||||||
NametagFontNames = (
|
NametagFontNames = (
|
||||||
'Default',
|
'Basic',
|
||||||
'Plain',
|
'Plain',
|
||||||
'Shivering',
|
'Shivering',
|
||||||
'Wonky',
|
'Wonky',
|
||||||
|
@ -56,7 +56,6 @@ NametagFontNames = (
|
||||||
'Dinosaurs'
|
'Dinosaurs'
|
||||||
)
|
)
|
||||||
NametagLabel = ' Nametag'
|
NametagLabel = ' Nametag'
|
||||||
BasicNameTag = 'Basic'
|
|
||||||
ScreenshotPath = 'user/screenshots/'
|
ScreenshotPath = 'user/screenshots/'
|
||||||
Flippy = 'Flippy'
|
Flippy = 'Flippy'
|
||||||
lTheBrrrgh = 'The Brrrgh'
|
lTheBrrrgh = 'The Brrrgh'
|
||||||
|
|
Loading…
Reference in a new issue