mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-11-01 01:07:54 +00:00
12 lines
444 B
Python
Executable file
12 lines
444 B
Python
Executable file
from toontown.toonbase import ToontownGlobals
|
|
|
|
def calcPropType(node):
|
|
propType = ToontownGlobals.AnimPropTypes.Unknown
|
|
fullString = str(node)
|
|
if 'hydrant' in fullString:
|
|
propType = ToontownGlobals.AnimPropTypes.Hydrant
|
|
elif 'trashcan' in fullString:
|
|
propType = ToontownGlobals.AnimPropTypes.Trashcan
|
|
elif 'mailbox' in fullString:
|
|
propType = ToontownGlobals.AnimPropTypes.Mailbox
|
|
return propType
|