Add trunks to houses

This commit is contained in:
John 2015-07-17 16:51:45 +03:00
parent 96d78ae33d
commit feba8e73c0
2 changed files with 9 additions and 8 deletions

View file

@ -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):

View file

@ -27,7 +27,8 @@ DNA2Furniture = {
'bookcase': 1120,
'bookcase_low': 1130,
'ending_table': 1200,
'jellybeanBank': 1300
'jellybeanBank': 1300,
'trunkBoy': 4000
}