The price on Draw is the worker's own picture count, looks and back views included

This commit is contained in:
gator 2026-09-19 15:17:16 +00:00
parent c02eb5d511
commit c89a92e72f

View file

@ -414,7 +414,10 @@
else if (undrawn) out.push('<button type="button" class="btn" data-draw="' + esc(meta.id)
+ '">Draw ' + (undrawn === shots.length ? 'this storyboard'
: undrawn + ' undrawn shot' + (undrawn === 1 ? '' : 's'))
+ ' &middot; $' + (imgs * 0.068).toFixed(2) + '</button>');
// The worker counts what it will really draw - looks, back views and
// frames - so the price here is the price. `imgs` knew only about three
// sheets a head and two frames a shot.
+ ' &middot; $' + ((Number(PKG.pictures_to_draw) || imgs) * 0.068).toFixed(2) + '</button>');
else out.push('<span class="soon">storyboard drawn'
+ (meta.draw_usd ? ' &middot; $' + Number(meta.draw_usd).toFixed(2) : '') + '</span>');