Fixed Gnarly Knobs mistakes.

This commit is contained in:
Loudrob 2015-03-13 15:00:22 -04:00
parent 2e2f577ba3
commit ec2a67ed60

View file

@ -27,13 +27,16 @@ Code example:
'codeName': { 'codeName': {
'items': [ 'items': [
CatalogTypeItem.CatalogTypeItem(arguments) CatalogTypeItem.CatalogTypeItem(arguments)
] ],
'expirationDate': datetime(2020, 1, 30), 'expirationDate': datetime(2020, 1, 30),
'month': 1, 'month': 1,
'day': 30 'day': 30
} }
Expiration date, month and day are optional fields. Expiration date, month and day are optional fields.
If you for some reason are not familiar with arrays or lists, you
only include the comma if there are multiple arguments.
""" """
class TTCodeRedemptionMgrAI(DistributedObjectAI): class TTCodeRedemptionMgrAI(DistributedObjectAI):
notify = DirectNotifyGlobal.directNotify.newCategory("TTCodeRedemptionMgrAI") notify = DirectNotifyGlobal.directNotify.newCategory("TTCodeRedemptionMgrAI")
@ -41,7 +44,7 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI):
'weed': { 'weed': {
'items': [ 'items': [
CatalogClothingItem.CatalogClothingItem(1821, 0) CatalogClothingItem.CatalogClothingItem(1821, 0)
] ],
'month': 4, 'month': 4,
'day': 20 'day': 20
}, },
@ -54,11 +57,6 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI):
'items': [ 'items': [
CatalogClothingItem.CatalogClothingItem(1822, 0) CatalogClothingItem.CatalogClothingItem(1822, 0)
] ]
},
'eastsideofthelbc': {
'items': [
CatalogClothingItem.CatalogClothingItem(1821, 0)
]
} }
} }