mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
Merge branch 'master' of https://gitlab.com/toontown-created/src
This commit is contained in:
commit
dd61403856
4 changed files with 51 additions and 38 deletions
|
@ -1,47 +1,54 @@
|
||||||
(dp1
|
(dp1
|
||||||
I4000
|
I4000
|
||||||
(lp2
|
(lp2
|
||||||
I11
|
I44
|
||||||
aI177
|
aI170
|
||||||
aI238
|
aI242
|
||||||
aI152
|
aI222
|
||||||
aI89
|
aI111
|
||||||
asI1000
|
asI1000
|
||||||
(lp3
|
(lp3
|
||||||
I123
|
I162
|
||||||
aI161
|
aI246
|
||||||
aI145
|
aI230
|
||||||
aI138
|
aI9
|
||||||
aI122
|
aI130
|
||||||
asI9000
|
asI9000
|
||||||
(lp4
|
(lp4
|
||||||
I66
|
I238
|
||||||
aI201
|
aI160
|
||||||
aI27
|
aI252
|
||||||
aI102
|
aI128
|
||||||
aI185
|
aI55
|
||||||
asI2000
|
asI2000
|
||||||
(lp5
|
(lp5
|
||||||
I135
|
I134
|
||||||
aI20
|
aI234
|
||||||
aI54
|
aI185
|
||||||
aI240
|
aI178
|
||||||
aI147
|
aI237
|
||||||
asI5000
|
asI5000
|
||||||
(lp6
|
(lp6
|
||||||
I129
|
I227
|
||||||
aI194
|
aI61
|
||||||
aI222
|
aI35
|
||||||
aI92
|
aI72
|
||||||
aI37
|
aI121
|
||||||
asI3000
|
asI7000
|
||||||
(lp7
|
(lp7
|
||||||
I166
|
I152
|
||||||
aI114
|
aI250
|
||||||
aI70
|
aI12
|
||||||
aI144
|
aI249
|
||||||
aI30
|
aI42
|
||||||
|
asI3000
|
||||||
|
(lp8
|
||||||
|
I34
|
||||||
|
aI75
|
||||||
|
aI197
|
||||||
|
aI112
|
||||||
|
aI54
|
||||||
asS'day'
|
asS'day'
|
||||||
p8
|
p9
|
||||||
I16523
|
I16524
|
||||||
s.
|
s.
|
|
@ -10,6 +10,12 @@ class TrackShop(StateData.StateData):
|
||||||
|
|
||||||
def __init__(self, doneEvent):
|
def __init__(self, doneEvent):
|
||||||
StateData.StateData.__init__(self, doneEvent)
|
StateData.StateData.__init__(self, doneEvent)
|
||||||
|
self.quest = None
|
||||||
|
self.label = None
|
||||||
|
self.leftButton = None
|
||||||
|
self.rightButton = None
|
||||||
|
self.track = None
|
||||||
|
self.icon = None
|
||||||
self.loaded = False
|
self.loaded = False
|
||||||
self.index = 0
|
self.index = 0
|
||||||
return
|
return
|
||||||
|
|
|
@ -268,7 +268,7 @@ class TownBattle(StateData.StateData):
|
||||||
for cogPanel in self.cogPanels:
|
for cogPanel in self.cogPanels:
|
||||||
cogPanel.hide()
|
cogPanel.hide()
|
||||||
cogPanel.updateHealthBar()
|
cogPanel.updateHealthBar()
|
||||||
cogPanel.setPos(0, 0, 0.75)
|
cogPanel.setPos(0, 0, 0.62)
|
||||||
|
|
||||||
if num == 1:
|
if num == 1:
|
||||||
self.cogPanels[0].setX(self.oddPos[1])
|
self.cogPanels[0].setX(self.oddPos[1])
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TownBattleCogPanel(DirectFrame):
|
||||||
|
|
||||||
def __init__(self, id):
|
def __init__(self, id):
|
||||||
gui = loader.loadModel('phase_3.5/models/gui/battle_gui')
|
gui = loader.loadModel('phase_3.5/models/gui/battle_gui')
|
||||||
DirectFrame.__init__(self, relief=None, image=gui.find('**/ToonBtl_Status_BG'), image_color=Vec4(0.5, 0.5, 0.5, 0.7))
|
DirectFrame.__init__(self, relief=None, image=gui.find('**/ToonBtl_Status_BG'), image_color=Vec4(0.86, 0.86, 0.86, 0.7))
|
||||||
self.setScale(0.8)
|
self.setScale(0.8)
|
||||||
self.initialiseoptions(TownBattleCogPanel)
|
self.initialiseoptions(TownBattleCogPanel)
|
||||||
self.levelText = DirectLabel(parent=self, text='', pos=(-0.06, 0, -0.075), text_scale=0.055)
|
self.levelText = DirectLabel(parent=self, text='', pos=(-0.06, 0, -0.075), text_scale=0.055)
|
||||||
|
@ -82,7 +82,7 @@ class TownBattleCogPanel(DirectFrame):
|
||||||
self.head = Suit.attachSuitHead(self, suitName)
|
self.head = Suit.attachSuitHead(self, suitName)
|
||||||
self.head.setX(0.1)
|
self.head.setX(0.1)
|
||||||
self.head.setZ(0.01)
|
self.head.setZ(0.01)
|
||||||
self.head.setScale(0.087)
|
self.head.setScale(0.05)
|
||||||
|
|
||||||
def generateHealthBar(self):
|
def generateHealthBar(self):
|
||||||
model = loader.loadModel('phase_3.5/models/gui/matching_game_gui')
|
model = loader.loadModel('phase_3.5/models/gui/matching_game_gui')
|
||||||
|
@ -92,8 +92,8 @@ class TownBattleCogPanel(DirectFrame):
|
||||||
button.setH(180.0)
|
button.setH(180.0)
|
||||||
button.setColor(self.healthColors[0])
|
button.setColor(self.healthColors[0])
|
||||||
button.reparentTo(self)
|
button.reparentTo(self)
|
||||||
button.setX(-0.08)
|
button.setX(-0.065)
|
||||||
button.setZ(0.02)
|
button.setZ(0.05)
|
||||||
self.healthBar = button
|
self.healthBar = button
|
||||||
glow = BattleProps.globalPropPool.getProp('glow')
|
glow = BattleProps.globalPropPool.getProp('glow')
|
||||||
glow.reparentTo(self.healthBar)
|
glow.reparentTo(self.healthBar)
|
||||||
|
|
Loading…
Reference in a new issue