#NEWLINE# def break_lamp( self , feedback = True ) : #NEWLINE# #INDENT# '\n        Breaks the lamp in the button, stopping it from blinking.\n\n        Args:\n            feedback (bool): Show a message about breaking the lamp.\n\n        ' #NEWLINE# self . db . lamp_works = False #NEWLINE# desc = self . db . desc_lamp_broken #NEWLINE# if ( not desc ) : #NEWLINE# #INDENT# self . db . desc += '\nThe big red button has stopped blinking for the time being.' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . db . desc = desc #NEWLINE# #UNINDENT# if ( desc and self . location ) : #NEWLINE# #INDENT# self . location . msg_contents ( 'The lamp flickers, the button going dark.' ) #NEWLINE# #UNINDENT# self . scripts . validate ( )