Cast a character from drawn candidates (looks.html); link from the storyboard cast

This commit is contained in:
gator 2026-09-22 09:02:44 +00:00
parent 3c975bf7ed
commit 890b8a9057

View file

@ -1004,6 +1004,8 @@
return '<div class="ch">' + sheets + '<b>' + esc(nm) + '</b>'
+ '<span class="vo">' + esc(c.role || "") + (c.voice_id ? " · voiced" : " · silent")
+ '</span><div class="ap">' + esc((c.appearance || "").slice(0, 150)) + '</div>'
+ (c.id !== "Narrator" ? '<div class="ap"><a href="/looks.html?draft=' + encodeURIComponent(draft.id) + '&character=' + encodeURIComponent(c.id)
+ '&run=' + encodeURIComponent((RUN && RUN.id) || '') + '">' + (c.look_chosen ? 'cast from candidate ' + (c.look_chosen.index + 1) : 'draw candidates and cast') + '</a></div>' : '')
+ looksHtml(c) + '</div>';
}).join("") + '</div>';