def break_lamp(self, feedback=True):
        self.db.lamp_works = False
        desc = self.db.desc_lamp_broken
        if not desc:
            self.db.desc += "\nThe big red button has stopped blinking for the time being."
        else:
            self.db.desc = desc

        if feedback and self.location:
            self.location.msg_contents("The lamp flickers, the button going dark.")
        self.scripts.validate()
Breaks the lamp in the button, stopping it from blinking.
dataset/ETHPy150Open evennia/evennia/evennia/contrib/tutorial_examples/red_button.py/RedButton.break_lamp