Most actions receive all their attributes, when the action is started. For instance, if your Sim is currently inspired, then your Sim will be able to make a Prose & Pop and complete it until it is finished, even if that Sim's mood changes. When you first begin to paint, as soon as the first stroke is laid, the painting will either be a masterpiece or not. Mood changes and circumstance changes while a Sim is performing the action do not typically affect the outcome. For example, if a happy Sim in another room repairs something in a room with focusing decor, it is a normal repair, even if the Sim becomes focused on the way there. If you quit the task and restart it, you will notice that it will turn into a purple focused repair.