Tiled maps

I’m designing the walls of a tiled map I have in my game, although I can simply design each different piece ( , , , ) staticky and then just build it as a pipe system, I am thinking of some way to make the result a little more dynamic.

This is the kind of maps I’m talking about

So those green lines are the place holder of the walls, and this is the actual wall design:

I would the content of each tile to be different, as if they had a fluid inside, and maybe even add some movement.

Not sure if that is possible in Solar2D, but do you have any ideas?