mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Correct Treasure Chest H and collision tube.
This commit is contained in:
parent
1cedf121b1
commit
7a5bd20859
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue