I've been toying around with a space game and the life support systems for a ship. Specially, the act of pumping oxygen and sucking it out. At present, I'm looping through all connected tiles when a leak state change occurs. This is pretty CPU intensive and it doesn't lend itself well to accounting for volume.
I thought I could improve performance and overall impact of volume by creating room datums to store information like size, room connections and etc. Then it occurred to me that I might be able to leverage the area atom for this.
Any thoughts or suggestions around this?
Oct 1 2017, 12:53 pm