substitutions['location_bits'] = bit_glyphs(
location.bitwise_operand)
- return self.TEXT % substitutions
+ text = self.TEXT
+ if self.data.get('message', None) is not None:
+ text = self.data['message']
+
+ return text % substitutions
def check_available(self, player):
return player.bits.check_bits(self.required_bits)