mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Boolean to turn these little assholes off.
This commit is contained in:
parent
4b5c0e29be
commit
2c4cbbb025
1 changed files with 12 additions and 9 deletions
|
@ -319,16 +319,19 @@ class DistributedBattleBase(DistributedNode.DistributedNode, BattleBase):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def getInteractiveProp(self):
|
def getInteractiveProp(self):
|
||||||
if self.interactiveProp:
|
if config.GetBool('want-anim-props', True):
|
||||||
return self.interactiveProp
|
if self.interactiveProp:
|
||||||
elif base.cr.playGame.hood:
|
|
||||||
loader = base.cr.playGame.hood.loader
|
|
||||||
|
|
||||||
if hasattr(loader, 'getInteractiveProp'):
|
|
||||||
self.interactiveProp = base.cr.playGame.hood.loader.getInteractiveProp(self.zoneId)
|
|
||||||
|
|
||||||
return self.interactiveProp
|
return self.interactiveProp
|
||||||
return None
|
elif base.cr.playGame.hood:
|
||||||
|
loader = base.cr.playGame.hood.loader
|
||||||
|
|
||||||
|
if hasattr(loader, 'getInteractiveProp'):
|
||||||
|
self.interactiveProp = base.cr.playGame.hood.loader.getInteractiveProp(self.zoneId)
|
||||||
|
|
||||||
|
return self.interactiveProp
|
||||||
|
return None
|
||||||
|
else:
|
||||||
|
return None
|
||||||
|
|
||||||
def getInteractivePropTrackBonus(self):
|
def getInteractivePropTrackBonus(self):
|
||||||
prop = self.getInteractiveProp()
|
prop = self.getInteractiveProp()
|
||||||
|
|
Loading…
Reference in a new issue