Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Airy alternatives to a pressurized environment.
#22
pretty sure depressurisation is already not perfectly instant ( for example, as an AI, open all the hallway doors & external airlocks, it takes a while for people to suffocate)

So try this: for a given contiguous area, of size N, it requires N*103kpa "airs" to refill. For a breached area, look at the last known "sealed" wall configuration, and then start to calculate the size of the breach M. Add one for every missing wall what interfaces with space, and one for every missing floor.
Breached area loses M*103kpa per BYOND tick.

When adding a wall or floor, if the wall or floor is within a sealed area, sleep.
Else, recalculate breached areas.

When removing a wall or floor, recalculate contiguous area, check for breach, and 20goto10 until the server crashes.

Average round length: 9 minutes.

Success.
Reply


Messages In This Thread
RE: Airy alternatives to a pressurized environment. - by warcrimes - 11-29-2018, 09:33 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)