Section - Light
Check switching on the lamp when the player is not carrying the lighter: say "With what?" instead.
Check switching on the lamp when the lamp is not in the fedora: say "You try lighting the lamp with the lighter, but the flame is extinguished by a sudden gust of wind." instead.
Carry out switching on the lamp:
now the lamp is lit;
earn the "Light my fire" achievement;
now the lamp is on the ledge.
Report switching on the lamp: say "There's definitely an unexpected draught in this crypt, but you shield the lamp with your fedora as best you can. After several false starts you eventually strike up a flame and find a good spot to put the lamp." instead.
Carry out switching off the lamp: now the lamp is unlit.
Instead of burning the lamp: try switching on the lamp instead.