mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-10-31 00:37:54 +00:00
wtf this fixed it cool
This commit is contained in:
parent
43b138e338
commit
41d8b63ec2
3 changed files with 11 additions and 8 deletions
|
@ -674,6 +674,15 @@ class DistributedEstateAI(DistributedObjectAI):
|
|||
self.b_setRentalTimeStamp(time.time() + duration * 60)
|
||||
self.b_setRentalType(rentType)
|
||||
|
||||
def updateToons(self):
|
||||
self.d_setSlot0ToonId(self.toons[0])
|
||||
self.d_setSlot1ToonId(self.toons[1])
|
||||
self.d_setSlot2ToonId(self.toons[2])
|
||||
self.d_setSlot3ToonId(self.toons[3])
|
||||
self.d_setSlot4ToonId(self.toons[4])
|
||||
self.d_setSlot5ToonId(self.toons[5])
|
||||
self.sendUpdate('setIdList', [self.toons])
|
||||
|
||||
def setSlot0ToonId(self, id):
|
||||
self.toons[0] = id
|
||||
|
||||
|
|
|
@ -232,12 +232,6 @@ def satanFlowerAll(species=49, variety=0):
|
|||
|
||||
i += 1
|
||||
|
||||
def troll(task):
|
||||
channel = invoker.GetPuppetConnectionChannel(invoker.doId)
|
||||
av.air.sendSysMsg('OMG YOU SOLD YOUR SOUL NOOOOOOOOOOOOOOOOOOOO', channel)
|
||||
return task.done
|
||||
|
||||
taskMgr.doMethodLater(6.66, troll, 'satan-troll')
|
||||
return '%d disgusting flowers planted' % i
|
||||
|
||||
@magicWord(category=CATEGORY_PROGRAMMER)
|
||||
|
|
|
@ -239,7 +239,7 @@ class LoadEstateFSM(FSM):
|
|||
estate.pets = []
|
||||
|
||||
self.estate.toons = self.toonIds
|
||||
#self.estate.updateToons()
|
||||
self.estate.updateToons()
|
||||
|
||||
# Gotcha! Now we need to load houses:
|
||||
self.demand('LoadHouses')
|
||||
|
|
Loading…
Reference in a new issue