Also, does pressure propagate the same way for all elements that produce pressure? If so, how does it propagate
e.g:
pressure -= ([x/CELL]-i); //for every [x/CELL] away from the source, the pressure decreases by 1
The way pressure in TPT works is that a particle only updates the pressure of the cell it's in (or, in some cases apparently, cells immediately adjacent). Pressure is propagated via rudimentary fluid simulation, where velocity and pressure are updated simultaneously based on their values in neighbouring cells.
Ctrl-F "pv" in Simulation.cpp to find places where particles update pressure, and check out update_air in Air.cpp for the fluid simulation code.