'nudge the lid. Random chance of success to open it.'

def func(self):

    rand = random.random()
    if (rand < 0.5):
        self.caller.msg('You    nudge    at    the    lid.    It    seems    stuck.')
    elif (rand < 0.7):
        self.caller.msg("You    move    the    lid    back    and    forth.    It    won't    budge.")
    else:
        self.caller.msg('You    manage    to    get    a    nail    under    the    lid.')
        self.caller.execute_cmd('open    lid')
