Commit Graph

4 Commits (ac070e49a45b55c638227e8c6e9b4ff3396c2712)

Author SHA1 Message Date
PeridexisErrant ddae19ad8b Move base scripts 2015-10-24 15:10:15 +11:00
lethosor 10cfef0553 Fix whitespace issues 2015-02-14 22:53:06 -05:00
Eric Wald 5d53163e16 Repairing drain-aquifer layer counting. 2014-10-12 22:28:23 -06:00
Eric Wald b0b1dd62d1 Rewriting the drainaquifer script
The original drainaquifer script could occasionally fail to notice aquifer layers if they happen to skip each of the special tiles that it checks, two per block.  It also left the block-level aquifer flags set, which seems like a minor waste of FPS.

The new script uses the block-level flags to determine which blocks to check, which seems to be both more correct and faster.  It's also written in Lua instead of Ruby, for clarity and ease of debugging.  The name has changed slightly to prevent problems if both scripts are installed for some reason.
2014-10-12 21:55:36 -06:00