When a card is played, follow this sequence of actions, when applicable:
1. Use “card playing ability” (Dungeon, Judge, Innkeeper, etc).
2. Pay resources or use occupied token.
3. If the card comes from the Meadow, replenish the Meadow.
4. Place the newly played card in your city. (If the played card effect removes another card from your city, that card is removed immediately before the new card placement.)
5. Resolve newly played card effect.
6. Resolve triggered effects (Courthouse, Shopkeeper, etc).