Cauta in game.py:
Cod: Selectaţi tot
if self.enableXMasBoom:
self.__XMasBoom_Update()
si adauga mai jos :
Cod: Selectaţi tot
if constInfo.SWITCHBOT == 1:
if self.switchbot.bot_shown == 1:
self.switchbot.Hide()
else:
self.switchbot.Show()
constInfo.SWITCHBOT = 0
Cauta tot in game:
Cod: Selectaţi tot
if self.interface:
self.interface.HideAllWindows()
self.interface.Close()
self.interface=None
si adauga mai jos:
cauta tot in game :
Cod: Selectaţi tot
self.playerGauge = uiPlayerGauge.PlayerGauge(self)
self.playerGauge.Hide()
si adauga mai jos:
apoi sus de tot adauga:
Cod: Selectaţi tot
from switchbot import Bot
from _weakref import proxy
Intra in uiiventory si adauga la inceput:
Cauta :
Cod: Selectaţi tot
self.costumeButton = self.GetChild2("CostumeButton")
si mai jos adauga:
Cod: Selectaţi tot
self.VegaS_Switch_Dinos_Perfect_Work = self.GetChild2("VegaS_Switch_Dinos_Perfect_Work")
cauta:
Cod: Selectaţi tot
if self.costumeButton:
self.costumeButton.SetEvent(ui.__mem_func__(self.ClickCostumeButton))
si mai jos adauga:
Cod: Selectaţi tot
if self.VegaS_Switch_Dinos_Perfect_Work:
self.VegaS_Switch_Dinos_Perfect_Work.SetEvent(ui.__mem_func__(self.Functie_VegaS_Switch_Perfect_Work))
cauta functia:
iar dupa ce se termina ea mai jos adauga:
Cod: Selectaţi tot
def Functie_VegaS_Switch_Perfect_Work(self):
constInfo.SWITCHBOT = 1
iar in constInfo.py adauga:
Asa trebuie sa arate butonul in inventorywindow :
Cod: Selectaţi tot
{
"name" : "VegaS_Switch_Dinos_Perfect_Work",
"type" : "button",
"x" : coordonate,
"y" : coordonate,
"tooltip_text" : "Switch",
"default_image" : "imagine",
"over_image" : "imagine",
"down_image" : "imagine",
},