diff --git a/qmutants.py b/qmutants.py index 2016835..a0f7b73 100644 --- a/qmutants.py +++ b/qmutants.py @@ -366,6 +366,7 @@ class mutant(QWidget): def heal_trig(self): if self.heal: self.command_str.emit("heal\r\n") + # self.mqtt_str_quiet.emit(self.user," is healing." ) #wield timer def wield_trig(self): @@ -435,6 +436,7 @@ class mutant(QWidget): if item_l == item: self.command_str.emit("get "+item+"\r\n") self.command_str.emit("con "+item+"\r\n") + self.mqtt_str_quiet.emit(self.user," converted " + item ) try: self.local_items.remove(item_l) except: @@ -555,6 +557,7 @@ class mutant(QWidget): if result.find("You suffer") != -1: self.hits = self.hits + 1 if self.hits == 2: + self.command_str.emit("heal\r\n") self.command_str.emit("heal\r\n") self.hits = 0 @@ -601,6 +604,7 @@ class mutant(QWidget): def script_function(self,function): if function == "DEPOSIT": self.command_str.emit("deposit "+str(self.riblets)+"\r\n") + self.mqtt_str_quiet.emit(self.user," deposited "+str(self.riblets)+" riblets" ) self.riblets = 0 if function == "STOCK": self.stock_items()