Thanks for your responses. If sparks are a problem indicator in SoHL (just like real life, I guess), then great, but I would prefer if there was some form of console message telling me what the problem actually is
Anyway, the problem is still there - I didn't test it very thoroughly, but I have now and it now only sparks when I lower the liquid then raise it again. I don't want to stop the player from being able to raise the liquid, as even though it is completely useless for the player's purposes, without this ability, the room would have made no sense before the Black Mesa Incident. I shall carry on fixing and improving random, unrelated things in the map until the problem decides to disappear entirely, or get worse.