Jump to content

Costume mount - time - python


Recommended Posts

Hi. I have 

elif item.COSTUME_TYPE_MOUNT == itemSubType:
			self.__AppendLimitInformation()
			self.__AppendAffectInformation()
			self.__AppendAttributeInformation(attrSlot)
			self.AppendWearableInformation(itemVnum)

But i don't see mount time. I have time in value

71124    "71124"    "ITEM_COSTUME"    "COSTUME_MOUNT"    1    "NONE"    "QUEST_USE_MULTIPLE | LOG"    "WEAR_SHIELD"    "NONE"    0    0    0    0    0    "LEVEL"    0    "LIMIT_NONE"    0    "APPLY_NONE"    0    "APPLY_NONE"    0    "APPLY_NONE"    0    28800    0    0    0    0    0    0    0    0
 

Can you help me? 

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Search : def AddItemData and under this add
  
  		if self.__CostumeMountType(itemVnum):
		#f item.COSTUME_TYPE_MOUNT == itemSubType:
			name = item.GetItemName()
			time = metinSlot[player.METIN_SOCKET_MAX_NUM-1]
			self.SetTitle(name)
			self.AppendDescription(item.GetItemDescription(), 26)
			self.AppendDescription(item.GetItemSummary(), 26, self.CONDITION_COLOR)
			self.__AppendAffectInformation()
			self.__AppendAttributeInformation(attrSlot)
			self.AppendUniqueItemLastTime(time)
			self.ShowToolTip()
			return
          
Search : def __IsHair(self, itemVnum): and under this add
    
	def __CostumeMountType(self, itemVnum):
		return itemVnum > x and itemVnum < x
      
Change first x with your first mount vnum and the second with the last mount vnum
      

 

Link to comment
Share on other sites

1 hour ago, Blooregard said:

Search : def AddItemData and under this add
  
  		if self.__CostumeMountType(itemVnum):
		#f item.COSTUME_TYPE_MOUNT == itemSubType:
			name = item.GetItemName()
			time = metinSlot[player.METIN_SOCKET_MAX_NUM-1]
			self.SetTitle(name)
			self.AppendDescription(item.GetItemDescription(), 26)
			self.AppendDescription(item.GetItemSummary(), 26, self.CONDITION_COLOR)
			self.__AppendAffectInformation()
			self.__AppendAttributeInformation(attrSlot)
			self.AppendUniqueItemLastTime(time)
			self.ShowToolTip()
			return
          
Search : def __IsHair(self, itemVnum): and under this add
    
	def __CostumeMountType(self, itemVnum):
		return itemVnum > x and itemVnum < x
      
Change first x with your first mount vnum and the second with the last mount vnum
      

 

Progress, this show me time but 0 mins left. I have in value0 28800.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.