def __init__(self, cr):
        DistributedTreasure.__init__(self, cr)
        self.modelPath = 'phase_4/models/props/icecream.bam'
        self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.ogg'

        if self.cr.holidayManager.getHoliday() == HolidayType.CHRISTMAS:
            self.modelPath = 'phase_6/models/karting/qbox.bam'
コード例 #2
0
 def __init__(self, cr):
     DistributedTreasure.__init__(self, cr)
コード例 #3
0
 def __init__(self, cr):
     DistributedTreasure.__init__(self, cr)
     self.modelPath = 'phase_8/models/props/snowflake_treasure.bam'
     self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.mp3'
 def __init__(self, cr):
     DistributedTreasure.__init__(self, cr)
     self.modelPath = 'phase_8/models/props/snowflake_treasure.bam'
     self.grabSoundPath = 'phase_4/audio/sfx/SZ_DD_treasure.ogg'
コード例 #5
0
 def __init__(self, cr):
     DistributedTreasure.__init__(self, cr)