Add a message in the logs when a body-snap potion is used
This commit is contained in:
@ -168,4 +168,9 @@ class BodySnatchPotion(Item):
|
||||
self.held_by.map.currenty, self.held_by.map.currentx = self.held_by.y,\
|
||||
self.held_by.x
|
||||
|
||||
self.held_by.map.logs.add_message(
|
||||
_("{player} exchanged its body with {entity}.").format(
|
||||
player=self.held_by.translated_name.capitalize(),
|
||||
entity=entity.translated_name))
|
||||
|
||||
self.held_by.inventory.remove(self)
|
||||
|
Reference in New Issue
Block a user