mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06:00
DistributedTagGame: added MML and DG tag arenas (randomizer)
This commit is contained in:
parent
4a787248e9
commit
1d7b082758
1 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,8 @@ class DistributedTagGame(DistributedMinigame):
|
||||||
self.itText = OnscreenText.OnscreenText('itText', fg=(0.95, 0.95, 0.65, 1), scale=0.14, font=ToontownGlobals.getSignFont(), pos=(0.0, -0.8), wordwrap=15, mayChange=1)
|
self.itText = OnscreenText.OnscreenText('itText', fg=(0.95, 0.95, 0.65, 1), scale=0.14, font=ToontownGlobals.getSignFont(), pos=(0.0, -0.8), wordwrap=15, mayChange=1)
|
||||||
self.itText.hide()
|
self.itText.hide()
|
||||||
self.sky = loader.loadModel('phase_3.5/models/props/TT_sky')
|
self.sky = loader.loadModel('phase_3.5/models/props/TT_sky')
|
||||||
self.ground = loader.loadModel('phase_4/models/minigames/tag_arena')
|
self.groundList = ['phase_4/models/minigames/tag_arena', 'phase_6/models/neighborhoods/minnies_melody_land', 'phase_8/models/neighborhoods/daisys_garden']
|
||||||
|
self.ground = random.choice(loader.loadModel(self.groundList))
|
||||||
self.music = base.loadMusic('phase_4/audio/bgm/MG_toontag.ogg')
|
self.music = base.loadMusic('phase_4/audio/bgm/MG_toontag.ogg')
|
||||||
self.tagSfx = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.ogg')
|
self.tagSfx = base.loadSfx('phase_4/audio/sfx/MG_Tag_C.ogg')
|
||||||
self.itPointer = loader.loadModel('phase_4/models/minigames/bboard-pointer')
|
self.itPointer = loader.loadModel('phase_4/models/minigames/bboard-pointer')
|
||||||
|
@ -283,4 +284,4 @@ class DistributedTagGame(DistributedMinigame):
|
||||||
return
|
return
|
||||||
self.notify.debug('setTreasureScore: %s' % scores)
|
self.notify.debug('setTreasureScore: %s' % scores)
|
||||||
for i in xrange(len(self.scorePanels)):
|
for i in xrange(len(self.scorePanels)):
|
||||||
self.scorePanels[i].setScore(scores[i])
|
self.scorePanels[i].setScore(scores[i])
|
Loading…
Reference in a new issue