mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 00:37:54 +00:00
Fix wedding cake pie
This commit is contained in:
parent
0634d53718
commit
78a7662ff4
3 changed files with 3 additions and 7 deletions
|
@ -204,7 +204,8 @@ Splats = {'tart': (0.3, FruitpieColor),
|
|||
'creampie-slice': (0.5, CreampieColor),
|
||||
'fruitpie': (0.7, FruitpieColor),
|
||||
'creampie': (0.7, CreampieColor),
|
||||
'birthday-cake': (0.9, BirthdayCakeColor)}
|
||||
'birthday-cake': (0.9, BirthdayCakeColor),
|
||||
'wedding-cake': (0.9, BirthdayCakeColor)}
|
||||
Variants = ('tart',
|
||||
'fruitpie',
|
||||
'splat-tart',
|
||||
|
@ -216,6 +217,7 @@ Variants = ('tart',
|
|||
'splat-fruitpie',
|
||||
'splat-creampie',
|
||||
'splat-birthday-cake',
|
||||
'splat-wedding-cake',
|
||||
'splash-from-splat',
|
||||
'clip-on-tie',
|
||||
'lips',
|
||||
|
|
|
@ -290,8 +290,6 @@ def __throwPie(throw, delay, hitCount):
|
|||
pies = [pie, pie2]
|
||||
hands = toon.getRightHands()
|
||||
splatName = 'splat-' + pieName
|
||||
if pieName == 'wedding-cake':
|
||||
splatName = 'splat-birthday-cake'
|
||||
splat = globalPropPool.getProp(splatName)
|
||||
splatType = globalPropPool.getPropType(splatName)
|
||||
toonTrack = Sequence()
|
||||
|
@ -399,8 +397,6 @@ def __createWeddingCakeFlight(throw, groupHitDict, pie, pies):
|
|||
numTargets = len(throw['target'])
|
||||
pieName = pieNames[level]
|
||||
splatName = 'splat-' + pieName
|
||||
if pieName == 'wedding-cake':
|
||||
splatName = 'splat-birthday-cake'
|
||||
splat = globalPropPool.getProp(splatName)
|
||||
splats = [splat]
|
||||
for i in xrange(numTargets - 1):
|
||||
|
|
|
@ -4788,8 +4788,6 @@ def givePies(pieType, numPies=0):
|
|||
if pieType == -1:
|
||||
target.b_setNumPies(0)
|
||||
return "Removed %s's pies." % target.getName()
|
||||
if pieType == 6:
|
||||
return 'Invalid pie type!'
|
||||
if not 0 <= pieType <= 7:
|
||||
return 'Pie type must be in range (0-7).'
|
||||
if not -1 <= numPies <= 99:
|
||||
|
|
Loading…
Reference in a new issue