// icons.jsx — ALL SVG ICON COMPONENTS // Extends window.UI (must be loaded after ui.jsx) window.UI = window.UI || {}; (() => { const IconStar = ({ size = 14, color = "currentColor" }) => ( ); const IconSkull = ({ size = 14, color = "currentColor" }) => ( ); const IconShield = ({ size = 14, color = "currentColor" }) => ( ); const IconHeart = ({ size = 14, color = "currentColor" }) => ( ); const IconCrew = ({ size = 14, color = "currentColor" }) => ( ); const IconFood = ({ size = 14, color = "currentColor" }) => ( ); const IconWater = ({ size = 14, color = "currentColor" }) => ( ); const IconGold = ({ size = 14, color = "currentColor" }) => ( ); // ── New icons (19) ─────────────────────────────────────────────────────── const IconBarrel = ({ size = 14, color = "currentColor" }) => ( ); const IconCoins = ({ size = 14, color = "currentColor" }) => ( ); const IconFruit = ({ size = 14, color = "currentColor" }) => ( ); const IconPirate = ({ size = 14, color = "currentColor" }) => ( ); const IconCalendar = ({ size = 14, color = "currentColor" }) => ( ); const IconChest = ({ size = 14, color = "currentColor" }) => ( ); const IconMarket = ({ size = 14, color = "currentColor" }) => ( ); const IconMap = ({ size = 14, color = "currentColor" }) => ( ); const IconFloppy = ({ size = 14, color = "currentColor" }) => ( ); const IconJournal = ({ size = 14, color = "currentColor" }) => ( ); const IconAnchor = ({ size = 14, color = "currentColor" }) => ( ); const IconSwords = ({ size = 14, color = "currentColor" }) => ( ); const IconSailboat = ({ size = 14, color = "currentColor" }) => ( ); const IconWind = ({ size = 14, color = "currentColor" }) => ( ); const IconParchment = ({ size = 14, color = "currentColor" }) => ( ); const IconCloth = ({ size = 14, color = "currentColor" }) => ( ); const IconTimber = ({ size = 14, color = "currentColor" }) => ( ); const IconCoffee = ({ size = 14, color = "currentColor" }) => ( ); const IconRhum = ({ size = 14, color = "currentColor" }) => ( ); const IconSugar = ({ size = 14, color = "currentColor" }) => ( ); const IconSpice = ({ size = 14, color = "currentColor" }) => ( ); const IconTobacco = ({ size = 14, color = "currentColor" }) => ( ); const IconSilk = ({ size = 14, color = "currentColor" }) => ( ); const IconShip = ({ size = 14, color = "currentColor" }) => ( ); const IconGoldBag = ({ size = 14, color = "currentColor" }) => ( ); const IconCocoa = ({ size = 14, color = "currentColor" }) => ( ); const IconPerson = ({ size = 14, color = "currentColor" }) => ( {/* Head */} {/* Shoulders */} {/* Body */} {/* Neck */} ); const IconGoblet = ({ size = 14, color = "currentColor" }) => ( ); const IconGrapple = ({ size = 14, color = "currentColor" }) => ( ); const IconSpear = ({ size = 14, color = "currentColor" }) => ( ); const IconCog = ({ size = 14, color = "currentColor" }) => ( ); const IconCompass = ({ size = 14, color = "currentColor" }) => ( ); const IconPlay = ({ size = 14, color = "currentColor" }) => ( ); const IconCheers = ({ size = 14, color = "currentColor" }) => ( ); const IconCannon = ({ size = 14, color = "currentColor" }) => ( ); const IconChefHat = ({ size = 14, color = "currentColor" }) => ( ); const IconHammer = ({ size = 14, color = "currentColor" }) => ( ); const IconTalking = ({ size = 14, color = "currentColor" }) => ( ); const IconBarChart = ({ size = 14, color = "currentColor" }) => ( ); const IconDice = ({ size = 14, color = "currentColor" }) => ( ); const IconContinue = ({ size = 14, color = "currentColor" }) => ( ); const IconFileTransfer = ({ size = 14, color = "currentColor" }) => ( ); const IconFlame = ({ size = 14, color = "currentColor" }) => ( ); const IconTarget = ({ size = 14, color = "currentColor" }) => ( ); const IconHandshake = ({ size = 14, color = "currentColor" }) => ( ); const IconSearch = ({ size = 14, color = "currentColor" }) => ( ); const IconSparkles = ({ size = 14, color = "currentColor" }) => ( ); // identify wich log category will get wich icon window.UI.LOG_ICONS = { arrival: IconAnchor, sailing: IconSailboat, crew: IconCrew, combat: IconSwords, trade: IconGold, mission: IconParchment, discovery: IconMap, infamy: IconSkull, warning: IconTalking, }; // ── Attach all icon components to window.UI ────────────────── Object.assign(window.UI, { IconStar, IconSkull, IconShield, IconHeart, IconCrew, IconFood, IconWater, IconGold, IconBarrel, IconCoins, IconFruit, IconPirate, IconCalendar, IconChest, IconMarket, IconMap, IconFloppy, IconJournal, IconAnchor, IconSwords, IconSailboat, IconWind, IconParchment, IconCloth, IconTimber, IconCoffee, IconRhum, IconSugar, IconSpice, IconTobacco, IconSilk, IconShip, IconGoldBag, IconCocoa, IconPerson, IconGoblet, IconGrapple, IconSpear, IconCog, IconCompass, IconPlay, IconCheers, IconCannon, IconChefHat, IconHammer, IconTalking, IconBarChart, IconDice, IconContinue, IconFileTransfer, IconFlame, IconTarget,IconHandshake, IconSparkles, IconSearch, }); })();