mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
TV
This commit is contained in:
parent
0c56b7c78d
commit
848293a3b9
1 changed files with 8 additions and 0 deletions
|
@ -1079,6 +1079,14 @@ class CatalogFurnitureItem(CatalogAtticItem.CatalogAtticItem):
|
|||
if not scale == None:
|
||||
model.setScale(scale)
|
||||
model.flattenLight()
|
||||
if self.furnitureType == 1530:
|
||||
print 'TV'
|
||||
movie = loader.loadTexture('phase_5.5/movies/cheekyscrublords.mpg')
|
||||
sound = loader.loadSfx('phase_5.5/movies/cheekyscrublords.mpg')
|
||||
movie.synchronizeTo(sound)
|
||||
model.find('**/toonTownBugTV_screen').setTexture(movie)
|
||||
sound.setLoop(True)
|
||||
sound.play()
|
||||
return model
|
||||
|
||||
def decodeDatagram(self, di, versionNumber, store):
|
||||
|
|
Loading…
Reference in a new issue