mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
19 lines
946 B
Python
19 lines
946 B
Python
|
from toontown.parties.DistributedPartyJukeboxActivityBase import DistributedPartyJukeboxActivityBase
|
||
|
from toontown.parties import PartyGlobals
|
||
|
|
||
|
class DistributedPartyValentineJukeboxActivity(DistributedPartyJukeboxActivityBase):
|
||
|
notify = directNotify.newCategory('DistributedPartyJukeboxActivity')
|
||
|
|
||
|
def __init__(self, cr):
|
||
|
DistributedPartyJukeboxActivityBase.__init__(self, cr, PartyGlobals.ActivityIds.PartyValentineJukebox, PartyGlobals.PhaseToMusicData)
|
||
|
|
||
|
def load(self):
|
||
|
DistributedPartyJukeboxActivityBase.load(self)
|
||
|
newTexture = loader.loadTexture('phase_13/maps/tt_t_ara_pty_jukeboxValentineA.jpg', 'phase_13/maps/tt_t_ara_pty_jukeboxValentineA_a.rgb')
|
||
|
case = self.jukebox.find('**/jukeboxGlass')
|
||
|
if not case.isEmpty():
|
||
|
case.setTexture(newTexture, 1)
|
||
|
body = self.jukebox.find('**/jukeboxBody')
|
||
|
if not body.isEmpty():
|
||
|
body.setTexture(newTexture, 1)
|