Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #locale/en/locale_game.txt
- M2_USER_INFO_PICKUP <Info> AutoPickup status : [%d].
- #1.) Search for:
- def OnUpdate(self):
- app.UpdateGame()
- #2.) Add after:
- if self.IsEnableAutoPickUp():
- self.PickUpItem()
- #1.) Search for:
- onPressKeyDict[app.DIK_F1] = lambda : self.__PressQuickSlot(4)
- #2.) Add after:
- onPressKeyDict[app.DIK_F5] = lambda : self.EnablePickUp()
- #1.) Search for:
- def RefreshStamina(self):
- self.interface.RefreshStamina()
- #2.) Add after:
- def IsEnableAutoPickUp(self):
- return constInfo.M2_USER["cfg"]["pickup"]
- def EnablePickUp(self):
- def SetStatus(val):
- constInfo.M2_USER["cfg"]["pickup"] = val
- chat.AppendChat(chat.CHAT_TYPE_INFO, (localeInfo.M2_USER_INFO_PICKUP % (val)))
- if not self.IsEnableAutoPickUp():
- SetStatus(1)
- else:
- SetStatus(0)
- #root/constInfo.py
- #1.) Search for:
- CHRNAME_COLOR_INDEX = 0
- # 2.) Adauga mai jos:
- M2_USER = {"cfg" : {"pickup" : 0}}
Advertisement
Add Comment
Please, Sign In to add comment