Files
2026-10-13 00:25:42 +03:30

5 lines
2.5 KiB
JavaScript

// Vector interpretation of Albion's Siphoned Energy vial: cyan energy, dark metal rings and a brass cap.
// Reference: https://assets.albiondatabase.com/icons/items/UNIQUE_GVGTOKEN_GENERIC.png
export const energyArt = `<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><title>سایفوند انرژی</title><defs><radialGradient id="a"><stop stop-color="#2dcdff" stop-opacity=".25"/><stop offset="1" stop-color="#071522" stop-opacity="0"/></radialGradient><linearGradient id="b" x1="0" x2="1"><stop stop-color="#0876b6"/><stop offset=".38" stop-color="#36dcff"/><stop offset=".7" stop-color="#1bbcf5"/><stop offset="1" stop-color="#075d91"/></linearGradient><linearGradient id="c" x2="1" y2="1"><stop stop-color="#8396a5"/><stop offset=".3" stop-color="#304253"/><stop offset=".65" stop-color="#172635"/><stop offset="1" stop-color="#586e7e"/></linearGradient><linearGradient id="d" x2="1" y2="1"><stop stop-color="#f7d57b"/><stop offset=".5" stop-color="#b88c32"/><stop offset="1" stop-color="#6d501c"/></linearGradient></defs><rect width="128" height="128" rx="28" fill="#081521"/><circle cx="64" cy="65" r="62" fill="url(#a)"/><g transform="rotate(28 64 65)"><path d="M56 10v13m16-13v13" stroke="#263847" stroke-width="7" stroke-linecap="round"/><rect x="44" y="26" width="40" height="79" rx="20" fill="#061c2a" stroke="#7ca5bf" stroke-width="2"/><rect x="48" y="30" width="32" height="70" rx="16" fill="url(#b)"/><path d="M56 36c14 12 5 20 13 28s-7 14-9 29M72 36c-16 13-13 25-4 32s-3 16-10 20" fill="none" stroke="#b5f6ff" stroke-width="2.8" stroke-linecap="round"/><path d="M51 39v43" stroke="#d2faff" stroke-width="3" stroke-linecap="round" opacity=".55"/><path d="M43 47c11 5 31 5 42 0v9c-11 5-31 5-42 0zM43 80c11 5 31 5 42 0v9c-11 5-31 5-42 0z" fill="url(#c)" stroke="#102432" stroke-width="2"/><path d="M47 49c8 3 25 3 34 0M47 82c8 3 25 3 34 0" stroke="#7d9aac" stroke-width="1.5" opacity=".8"/><path d="M42 24c0-14 44-14 44 0v9c-1 14-43 14-44 0z" fill="url(#d)" stroke="#f0cd71" stroke-width="1.5"/><ellipse cx="64" cy="24" rx="22" ry="12" fill="url(#d)" stroke="#f0cd71" stroke-width="2"/><ellipse cx="64" cy="24" rx="17" ry="8" fill="#8f6a29" stroke="#edca77" stroke-width="1"/><path d="m62 18 5 5-5 6 1-5-4-2z" fill="#ffdfa0"/></g><path d="M17 64h5m-2-2v5M106 84h5m-2-2v5" stroke="#70dfff" stroke-width="1.5" opacity=".8"/></svg>`;
export const energyArtDataUri = 'data:image/svg+xml;base64,' + btoa(energyArt.replace(/[\u0080-\uffff]/g, c=>'&#'+c.charCodeAt(0)+';'));