I can no longer draw line as CTRL and P opens the shop menu, no idea what has happened as I have changed nothing
That’s not from Realistic Livestock: RL doesn’t use Ctrl+P at all. P opens the shop in the base game, so check the key binding for the mod that draws the line under Controls in the game settings.