From feba8e73c0ed6c4f9ce13d529ab94df450a79e49 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 17 Jul 2015 16:51:45 +0300 Subject: [PATCH] Add trunks to houses --- toontown/catalog/CatalogItem.py | 14 +++++++------- toontown/estate/DNAFurnitureReaderAI.py | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/toontown/catalog/CatalogItem.py b/toontown/catalog/CatalogItem.py index 9004a9f4..667921bf 100755 --- a/toontown/catalog/CatalogItem.py +++ b/toontown/catalog/CatalogItem.py @@ -279,9 +279,9 @@ class CatalogItem: x = di.getArg(STInt16, 10) y = di.getArg(STInt16, 10) z = di.getArg(STInt16, 100) - h = di.getArg(STInt8, 256.0 / 360.0) - p = di.getArg(STInt8, 256.0 / 360.0) - r = di.getArg(STInt8, 256.0 / 360.0) + h = di.getArg(STInt16, 256.0 / 360.0) + p = di.getArg(STInt16, 256.0 / 360.0) + r = di.getArg(STInt16, 256.0 / 360.0) self.posHpr = (x, y, z, @@ -299,11 +299,11 @@ class CatalogItem: dg.putArg(self.posHpr[0], STInt16, 10) dg.putArg(self.posHpr[1], STInt16, 10) dg.putArg(self.posHpr[2], STInt16, 100) - dg.putArg(self.posHpr[3], STInt8, 256.0 / 360.0) - dg.putArg(self.posHpr[4], STInt8, 256.0 / 360.0) - dg.putArg(self.posHpr[5], STInt8, 256.0 / 360.0) + dg.putArg(self.posHpr[3], STInt16, 256.0 / 360.0) + dg.putArg(self.posHpr[4], STInt16, 256.0 / 360.0) + dg.putArg(self.posHpr[5], STInt16, 256.0 / 360.0) if store & GiftTag: - dg.addUint32(self.giftTag) + dg.addString(self.giftTag) dg.addUint8(self.specialEventId) def getTypeCode(self): diff --git a/toontown/estate/DNAFurnitureReaderAI.py b/toontown/estate/DNAFurnitureReaderAI.py index 69fc1678..020c7eee 100755 --- a/toontown/estate/DNAFurnitureReaderAI.py +++ b/toontown/estate/DNAFurnitureReaderAI.py @@ -27,7 +27,8 @@ DNA2Furniture = { 'bookcase': 1120, 'bookcase_low': 1130, 'ending_table': 1200, - 'jellybeanBank': 1300 + 'jellybeanBank': 1300, + 'trunkBoy': 4000 }