From 7a5bd208591d8b9d48d044572c5906e3c05dc84e Mon Sep 17 00:00:00 2001 From: John Cote Date: Mon, 11 May 2015 18:16:12 -0400 Subject: [PATCH] Correct Treasure Chest H and collision tube. --- toontown/estate/DistributedTreasureChest.py | 4 ++-- toontown/toon/DistributedNPCLaffRestock.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toontown/estate/DistributedTreasureChest.py b/toontown/estate/DistributedTreasureChest.py index 0d8c4643..22585152 100644 --- a/toontown/estate/DistributedTreasureChest.py +++ b/toontown/estate/DistributedTreasureChest.py @@ -9,7 +9,7 @@ class DistributedTreasureChest(DistributedObject): def __init__(self, cr): DistributedObject.__init__(self, cr) self.cr = cr - self.createModel(45, -165.75, 0.025, 30) + self.createModel(45, -165.75, 0.025, 210) self.initCollisions() def delete(self): @@ -38,7 +38,7 @@ class DistributedTreasureChest(DistributedObject): self.model.setH(h) def initCollisions(self): - self.cSphere = CollisionTube(0.0, 1.0, 0.0, 0.0, 1.0, 5.0, ToontownGlobals.TreasureChestSphereRadius) + self.cSphere = CollisionTube(0.0, 0.0, 0.0, 0.0, 0.0, 5.0, ToontownGlobals.TreasureChestSphereRadius) self.cSphere.setTangible(0) self.cSphereNode = CollisionNode('cSphereNode') self.cSphereNode.addSolid(self.cSphere) diff --git a/toontown/toon/DistributedNPCLaffRestock.py b/toontown/toon/DistributedNPCLaffRestock.py index 7e40e400..09fc8d76 100644 --- a/toontown/toon/DistributedNPCLaffRestock.py +++ b/toontown/toon/DistributedNPCLaffRestock.py @@ -19,7 +19,7 @@ class DistributedNPCLaffRestock(DistributedNPCToonBase): if hasattr(self, 'dialog'): self.dialog.cleanup() del self.dialog - + def initToonState(self): self.setAnimState('neutral', 0.9, None, None) if self.name in NPCToons.LaffRestockPositions: