def get_item_from_room(self, item_kw):
        if not self.pc.location:
            return 'Only cold blackness exists in the void. ' +\
                   'It\'s not the sort of thing you can take.'
        item = self.pc.location.get_item_by_kw(item_kw)
        if not item:
            return '%s doesn\'t exist.' % item_kw
        if item.carryable or (self.pc.permissions & GOD):
            self.pc.location.item_remove(item)
            self.pc.item_add(item)
            room_tell = '%s gets %s.' % (self.pc.fancy_name(), item.name)
            self.pc.location.tell_room(room_tell, [self.pc.name])
            return item.name % 'You get %s.'
        else:
            return 'You can\'t take that.'
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Get.get_item_from_room/swapped operands of `%`