+ if (svg) {
+ const clipX = getItemMapX(strippedName);
+ const clipY = getItemMapY(strippedName);
+ return <image
+ href={isOnItemMap(strippedName) ? '/items-v1.png' : src}
+ width="8"
+ height="11"
+ x="0"
+ y="0"
+ transform={`translate(-${clipX} -${clipY})`}
+ clipPath={`xywh(${clipX + 0.02} ${clipY + 0.02} 0.96 0.96)`}
+ >
+ {realTitle ?
+ <title>{realTitle}</title>
+ : null}
+ </image>;
+ }
+