r220-beta
Details
-
FilenameHeatsink-r220-beta.zip
-
Uploaded by
-
UploadedMay 28, 2009
-
Size144.88 KB
-
Downloads66
-
MD53b49d0fedcb16258b6c23c08166b996d
Supported WoW Retail Versions
- 3.1.0
Changelog
------------------------------------------------------------------------
r218 | durcyn | 2009-05-28 23:13:03 +0000 (Thu, 28 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
possible fix for potion cooldown starting on use instead of when exiting combat. stupid, stupid, stupid API.
------------------------------------------------------------------------
r217 | durcyn | 2009-05-28 19:31:34 +0000 (Thu, 28 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
merge Injectors into Potion aggregate cooldown
------------------------------------------------------------------------
r216 | durcyn | 2009-05-28 01:03:07 +0000 (Thu, 28 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
complete rewrite of the school tracking, sucks much less now.
------------------------------------------------------------------------
r215 | durcyn | 2009-05-27 22:39:43 +0000 (Wed, 27 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix
------------------------------------------------------------------------
r214 | durcyn | 2009-05-27 17:08:31 +0000 (Wed, 27 May 2009) | 1 line
Changed paths:
M /trunk/Config.lua
M /trunk/Data.lua
M /trunk/Heatsink.lua
M /trunk/TinyGratuity.lua
M /trunk/locale-enUS.lua
refactor school checking a bit
------------------------------------------------------------------------
r213 | durcyn | 2009-05-26 06:23:31 +0000 (Tue, 26 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix substitution logic
------------------------------------------------------------------------
r212 | durcyn | 2009-05-25 12:02:11 +0000 (Mon, 25 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
add a couple of missing items to the substitution table
------------------------------------------------------------------------
r211 | durcyn | 2009-05-25 11:05:26 +0000 (Mon, 25 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
fuck it, multi-rune abilities totally screw up all attempts at making deathknight cooldowns sensible. just ignore everything under 10 seconds, with a special whitelist for mind freeze. also, I probably broke school lockout display again, needs testing.
------------------------------------------------------------------------
r210 | durcyn | 2009-05-24 09:56:07 +0000 (Sun, 24 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
add more deathknight spells to the rune table, really should just parse tooltips for this crap one of these days.
------------------------------------------------------------------------
r209 | durcyn | 2009-05-24 09:00:54 +0000 (Sun, 24 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
final solution for the deathknight problem. blizzard, please revamp the cooldown API, thanks.
------------------------------------------------------------------------
r208 | durcyn | 2009-05-24 05:18:54 +0000 (Sun, 24 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
proper school handling for Death Knights, yay.
------------------------------------------------------------------------
r207 | durcyn | 2009-05-24 01:28:53 +0000 (Sun, 24 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
shove all of the DK spell aggregation junk into the replacement table, until I can work out a way to make them act like schools
------------------------------------------------------------------------
r206 | durcyn | 2009-05-23 22:31:54 +0000 (Sat, 23 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
Show runes instead of individual spells for deathknights, may suck for spells that use multiple rune types
------------------------------------------------------------------------
r205 | durcyn | 2009-05-23 21:56:39 +0000 (Sat, 23 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
stop bars on 0 duration, not just less than gcd
------------------------------------------------------------------------
r204 | durcyn | 2009-05-23 20:11:50 +0000 (Sat, 23 May 2009) | 1 line
Changed paths:
M /trunk/Config.lua
M /trunk/Data.lua
M /trunk/Heatsink.lua
M /trunk/locale-enUS.lua
workaround for buggy spells that show weird enabled states, i.e. barkskin
------------------------------------------------------------------------
r202 | durcyn | 2009-05-22 16:58:36 +0000 (Fri, 22 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
cleanup and deduplicate spell data
------------------------------------------------------------------------
r201 | durcyn | 2009-05-22 00:10:56 +0000 (Fri, 22 May 2009) | 1 line
Changed paths:
M /trunk/.pkgmeta
M /trunk/Data.lua
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
school data cleanup, refine item link matching
------------------------------------------------------------------------
r200 | durcyn | 2009-05-21 17:30:20 +0000 (Thu, 21 May 2009) | 1 line
Changed paths:
M /trunk/.pkgmeta
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
clean up unused libs from pkgmeta/toc
------------------------------------------------------------------------
r199 | durcyn | 2009-05-20 17:49:19 +0000 (Wed, 20 May 2009) | 3 lines
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
clean up the school map, remove spells which no longer have default cooldowns
start checking GCD on spell and item cooldowns
------------------------------------------------------------------------
r197 | durcyn | 2009-05-19 06:12:53 +0000 (Tue, 19 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
only start school lockouts if they're over 1.5 seconds, since we can't rely on event timing being outside of the global cooldown
------------------------------------------------------------------------
r196 | durcyn | 2009-05-19 04:58:39 +0000 (Tue, 19 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix
------------------------------------------------------------------------
r195 | durcyn | 2009-05-19 04:57:26 +0000 (Tue, 19 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
so it turns out GetSpellCooldown always returns 1 for the 'enabled' field when called by name instead of book id, thanks blizzard.
------------------------------------------------------------------------
r194 | durcyn | 2009-05-18 22:41:07 +0000 (Mon, 18 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix
------------------------------------------------------------------------
r193 | durcyn | 2009-05-18 17:04:40 +0000 (Mon, 18 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
upvalue a couple of global strings, use pairs() in event handlers instead of table lookups.
------------------------------------------------------------------------
r191 | durcyn | 2009-05-16 04:00:04 +0000 (Sat, 16 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix schools again, must've been smoking something good earlier.
------------------------------------------------------------------------
r190 | durcyn | 2009-05-16 02:28:56 +0000 (Sat, 16 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
one last fix for item cooldowns
------------------------------------------------------------------------
r189 | durcyn | 2009-05-15 23:14:35 +0000 (Fri, 15 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix bag handler
------------------------------------------------------------------------
r188 | durcyn | 2009-05-15 21:56:43 +0000 (Fri, 15 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
handle nil item links
------------------------------------------------------------------------
r187 | durcyn | 2009-05-15 20:01:42 +0000 (Fri, 15 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
clean up inventory/bag scan event handlers a bit
------------------------------------------------------------------------
r186 | durcyn | 2009-05-15 09:48:53 +0000 (Fri, 15 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
scope is hard
------------------------------------------------------------------------
r185 | durcyn | 2009-05-15 09:44:34 +0000 (Fri, 15 May 2009) | 1 line
Changed paths:
M /trunk/Data.lua
M /trunk/Heatsink.lua
forget checking zones for arena reset, just call stopBar on all inactive cooldowns in the SPELL_UPDATE_COOLDOWN handler as a matter of course
------------------------------------------------------------------------
r184 | durcyn | 2009-05-15 00:46:36 +0000 (Fri, 15 May 2009) | 1 line
Changed paths:
M /trunk/Config.lua
M /trunk/Heatsink.lua
fix Justify config option
------------------------------------------------------------------------
r182 | durcyn | 2009-05-14 18:47:38 +0000 (Thu, 14 May 2009) | 1 line
Changed paths:
M /trunk/Config.lua
M /trunk/Heatsink.lua
add config options for font size and text justification
------------------------------------------------------------------------
r181 | durcyn | 2009-05-14 17:12:55 +0000 (Thu, 14 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
let's upvalue actual functions instead of tables, and stop using select()
------------------------------------------------------------------------
r180 | durcyn | 2009-05-14 03:53:40 +0000 (Thu, 14 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix pet icons
------------------------------------------------------------------------
r179 | durcyn | 2009-05-14 02:47:51 +0000 (Thu, 14 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.toc
one last toc tweak
------------------------------------------------------------------------
r177 | durcyn | 2009-05-14 02:35:22 +0000 (Thu, 14 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.toc
add missing AceTimer to toc
------------------------------------------------------------------------
r176 | durcyn | 2009-05-14 02:32:25 +0000 (Thu, 14 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
fix lib load order for embedded installs
------------------------------------------------------------------------
r174 | durcyn | 2009-05-13 20:33:10 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
tweak bar sorting for growth direction toggle
------------------------------------------------------------------------
r173 | durcyn | 2009-05-13 20:22:36 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
rename our active bars table so bigwigs doesn't step on us
------------------------------------------------------------------------
r172 | durcyn | 2009-05-13 20:20:30 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
clean up callback function
------------------------------------------------------------------------
r168 | durcyn | 2009-05-13 14:28:06 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix
------------------------------------------------------------------------
r166 | durcyn | 2009-05-13 14:14:47 +0000 (Wed, 13 May 2009) | 4 lines
Changed paths:
M /trunk/Config.lua
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
add proper attribution for anchor code
use profile value for font face
------------------------------------------------------------------------
r165 | durcyn | 2009-05-13 13:53:56 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Config.lua
M /trunk/Data.lua
M /trunk/Heatsink.lua
fix all the crap I just broke
------------------------------------------------------------------------
r164 | durcyn | 2009-05-13 13:17:54 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
update for libicd proc source callback arg
------------------------------------------------------------------------
r163 | durcyn | 2009-05-13 13:15:58 +0000 (Wed, 13 May 2009) | 3 lines
Changed paths:
M /trunk/.pkgmeta
A /trunk/Config.lua
A /trunk/Data.lua
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
M /trunk/TinyGratuity.lua
refactor for LibInternalCooldowns
tweak tooltip scanner
------------------------------------------------------------------------
r161 | durcyn | 2009-05-13 06:35:53 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
school interrupt grouping works again. fuck the entire cooldown API.
------------------------------------------------------------------------
r160 | durcyn | 2009-05-13 06:25:23 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
ditch interrupt handler, since it fires inside of GCD. thanks for screwing me over again, GetSpellCooldown.
------------------------------------------------------------------------
r159 | durcyn | 2009-05-13 05:52:44 +0000 (Wed, 13 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix interrupt event handler args
------------------------------------------------------------------------
r158 | durcyn | 2009-05-12 21:50:51 +0000 (Tue, 12 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
revert candybar :Set(anchor) change
------------------------------------------------------------------------
r157 | durcyn | 2009-05-12 21:42:53 +0000 (Tue, 12 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix
------------------------------------------------------------------------
r156 | durcyn | 2009-05-12 19:41:31 +0000 (Tue, 12 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
rework interrupt handler
------------------------------------------------------------------------
r155 | durcyn | 2009-05-12 19:03:39 +0000 (Tue, 12 May 2009) | 1 line
Changed paths:
M /trunk/locale-enUS.lua
move locale to localization app
------------------------------------------------------------------------
r154 | durcyn | 2009-05-09 18:30:50 +0000 (Sat, 09 May 2009) | 1 line
Changed paths:
M /trunk/locale-enUS.lua
update locale
------------------------------------------------------------------------
r153 | durcyn | 2009-05-09 18:24:51 +0000 (Sat, 09 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bar/background color hasAlpha=true, make Test function work, update bar texture when the option changes
------------------------------------------------------------------------
r152 | durcyn | 2009-05-09 17:06:28 +0000 (Sat, 09 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix options table
------------------------------------------------------------------------
r151 | durcyn | 2009-05-08 19:41:21 +0000 (Fri, 08 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
refactor the spellbook scanner, add color/font options, and actually redraw bars when options change
------------------------------------------------------------------------
r150 | durcyn | 2009-05-08 07:27:36 +0000 (Fri, 08 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
re-merge new trinket data
------------------------------------------------------------------------
r149 | durcyn | 2009-05-08 07:12:07 +0000 (Fri, 08 May 2009) | 1 line
Changed paths:
M /trunk/.pkgmeta
M /trunk/Heatsink.lua
A /trunk/TinyGratuity.lua
revert to r135, CLEU is a dead end.
------------------------------------------------------------------------
r148 | durcyn | 2009-05-08 02:01:25 +0000 (Fri, 08 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
another go at school lockouts
------------------------------------------------------------------------
r147 | durcyn | 2009-05-08 00:30:32 +0000 (Fri, 08 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
typo fix
------------------------------------------------------------------------
r146 | durcyn | 2009-05-08 00:25:31 +0000 (Fri, 08 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
add a workaround for spells that don't fire SPELL_CAST_SUCESS. Broken spells so far: Haunt. WTF, blizzard?
------------------------------------------------------------------------
r145 | durcyn | 2009-05-08 00:13:01 +0000 (Fri, 08 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix
------------------------------------------------------------------------
r144 | durcyn | 2009-05-07 23:57:01 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
table.remove is hard
------------------------------------------------------------------------
r142 | durcyn | 2009-05-07 23:32:01 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fuck spammy table lookups -so- -hard-
------------------------------------------------------------------------
r141 | durcyn | 2009-05-07 23:29:42 +0000 (Thu, 07 May 2009) | 3 lines
Changed paths:
M /trunk/Heatsink.lua
D /trunk/TinyGratuity.lua
- no more tooltip scanning.
- toss spells in a bucket for processing on SPELL_UPDATE_COOLDOWN, since GetSpellCooldown returns the GCD if we call it on CLEU
------------------------------------------------------------------------
r140 | durcyn | 2009-05-07 22:30:50 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
stop registering events we no longer have handlers for
------------------------------------------------------------------------
r139 | durcyn | 2009-05-07 22:15:39 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
ditch spellbook scanner and school mapping in favor of combat log events. extremely dry coded, may catch fire.
------------------------------------------------------------------------
r138 | durcyn | 2009-05-07 19:46:00 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
default all procs to 45 seconds
------------------------------------------------------------------------
r137 | durcyn | 2009-05-07 19:44:56 +0000 (Thu, 07 May 2009) | 3 lines
Changed paths:
M /trunk/Heatsink.lua
SPELL_UPDATE_COOLDOWN sucks. let's watch CLEU cast events instead.
removed all level 70 item proc data, added all current known level 80 epic-quality trinket procs as well as Lightweave.
------------------------------------------------------------------------
r135 | durcyn | 2009-05-07 17:47:53 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
M /trunk/locale-enUS.lua
clean up locale
------------------------------------------------------------------------
r134 | durcyn | 2009-05-07 07:54:48 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/.pkgmeta
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
fix Sink output
------------------------------------------------------------------------
r132 | durcyn | 2009-05-07 06:17:01 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
clean up db
------------------------------------------------------------------------
r131 | durcyn | 2009-05-07 06:12:49 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
A /trunk/Textures (from /trunk/textures:130)
D /trunk/textures
fix bar stop callback, why the hell doesn't it pass args to functions in the addon object?
------------------------------------------------------------------------
r130 | durcyn | 2009-05-07 05:27:16 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
note to self, using similarly named variables in nested loops is a silly idea.
------------------------------------------------------------------------
r129 | durcyn | 2009-05-07 05:18:23 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/.pkgmeta
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
M /trunk/TinyGratuity.lua
M /trunk/locale-enUS.lua
no more LibGratuity, good riddance.
------------------------------------------------------------------------
r128 | durcyn | 2009-05-07 01:45:26 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/TinyGratuity.lua
update TinyGratuity
------------------------------------------------------------------------
r127 | durcyn | 2009-05-07 01:17:11 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/locale-enUS.lua
enable debug for locales in preparation for wowace localization app
------------------------------------------------------------------------
r126 | durcyn | 2009-05-07 01:11:51 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/locale-enUS.lua
missed a spot
------------------------------------------------------------------------
r125 | durcyn | 2009-05-07 01:11:04 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/locale-enUS.lua
re-add missing locale
------------------------------------------------------------------------
r124 | durcyn | 2009-05-07 01:09:11 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
M /trunk/locale-enUS.lua
locale cleanup
------------------------------------------------------------------------
r122 | durcyn | 2009-05-07 00:03:54 +0000 (Thu, 07 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
more SPELL_UPDATE_COOLDOWN fuckery
------------------------------------------------------------------------
r121 | durcyn | 2009-05-06 23:59:06 +0000 (Wed, 06 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix :GetBar function
------------------------------------------------------------------------
r120 | durcyn | 2009-05-06 23:49:40 +0000 (Wed, 06 May 2009) | 1 line
Changed paths:
M /trunk/.pkgmeta
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
rip out unused libs
------------------------------------------------------------------------
r119 | durcyn | 2009-05-06 23:47:40 +0000 (Wed, 06 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
more upvalues
------------------------------------------------------------------------
r118 | durcyn | 2009-05-06 23:46:33 +0000 (Wed, 06 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix timeleft logic, throttle spammy SPELL_UPDATE_COOLDOWN nonsense
------------------------------------------------------------------------
r117 | durcyn | 2009-05-06 21:26:35 +0000 (Wed, 06 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
bugfix
------------------------------------------------------------------------
r116 | durcyn | 2009-05-06 21:12:56 +0000 (Wed, 06 May 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
Case sensitivity is hard.
------------------------------------------------------------------------
r115 | durcyn | 2009-05-06 21:10:46 +0000 (Wed, 06 May 2009) | 4 lines
Changed paths:
M /trunk/.pkgmeta
M /trunk/Heatsink.lua
M /trunk/Heatsink.toc
A /trunk/TinyGratuity.lua
A /trunk/textures
A /trunk/textures/close.tga
A /trunk/textures/draghandle.tga
A /trunk/textures/test.tga
Ditch LibBars in favor of CandyBar
use IsActiveBattlefieldArena() instead of Babble-Zone
start work on replacing LibGratuity with TinyGratuity
------------------------------------------------------------------------
r114 | durcyn | 2009-04-30 22:33:27 +0000 (Thu, 30 Apr 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
hey, typos are cool
------------------------------------------------------------------------
r113 | durcyn | 2009-04-30 20:59:01 +0000 (Thu, 30 Apr 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
add some missing school groupings
------------------------------------------------------------------------
r112 | durcyn | 2009-04-29 22:04:23 +0000 (Wed, 29 Apr 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
fix setpoint call, woops
------------------------------------------------------------------------
r111 | durcyn | 2009-04-29 17:23:31 +0000 (Wed, 29 Apr 2009) | 1 line
Changed paths:
M /trunk/Heatsink.lua
cleanups, upvalues, drycoded. ymmv.
------------------------------------------------------------------------