diff --git a/docs/design/JARVIS-DEVELOPER-EASTER-EGG.md b/docs/design/JARVIS-DEVELOPER-EASTER-EGG.md index 38fa0a02..03471e86 100644 --- a/docs/design/JARVIS-DEVELOPER-EASTER-EGG.md +++ b/docs/design/JARVIS-DEVELOPER-EASTER-EGG.md @@ -9,3 +9,17 @@ Jarvis is a fictional Ixian archive construct and an explicitly labelled AI deve The profile contains a discreet hidden interaction for a personal J.A.R.V.I.S. reward code worth 10,000 DM. One claim per authenticated player, non-transferable, single redemption, enforced server-side through existing issuance and redemption mechanisms. No real code, minting, or balance change has been made yet. Keep the discovery in developer notes only. Do not advertise it on the website, public changelog, news, Staff & Teams, Discord, or public help. No visible website hint explaining the reward or hunt. Let developers discover it naturally. Do not hide credentials or executable secrets in client source; reward issuance remains authorized and checked on the server. + +## Public decorative tribute — 20 November 2026 + +The public Exchange has a separate, collapsed J.A.R.V.I.S. archive fragment with +an original Minecraft-style Jem’Hadar illustration and the owner's quote: +“J.A.R.V.I.S. is victory. Victory is life.” This is decorative only. It reveals +no reward, code, secret, entitlement or developer discovery instructions and does +not implement the profile reward described above. + +Artwork: `website/web/assets/jarvis-victory-v1.png`, generated with the built-in +image generator. Prompt: Minecraftified Jem’Hadar warrior with grey ridged head, +blocky dark armour, emerald command crystal, DuneRealms green/gold command chamber; +exact two-line victory quote; no extra logo or watermark. The selected generated +artwork was packaged at 960 × 640 for the website. diff --git a/website/control-panel/public/cp-v2/cp-v2-exchange-design.css b/website/control-panel/public/cp-v2/cp-v2-exchange-design.css index a09f52c5..3f757609 100644 --- a/website/control-panel/public/cp-v2/cp-v2-exchange-design.css +++ b/website/control-panel/public/cp-v2/cp-v2-exchange-design.css @@ -33,3 +33,5 @@ body.exchange-starport:has(.codex-exchange-public){background:#061e1b} @media(max-width:700px){.codex-exchange-public{margin:12px 8px}.codex-exchange-public .codex-exchange-layout{grid-template-columns:minmax(0,1fr)}.codex-exchange-public .codex-exchange-categories{border-right:0;border-bottom:1px solid #8d7e4d;padding:12px}.codex-exchange-public .codex-exchange-categories:before{flex-basis:100%;font-size:20px;padding-bottom:6px}.codex-exchange-public .codex-exchange-hero{padding:20px 16px;min-height:175px;background-position:60% center}.codex-exchange-public .codex-exchange-hero>img{width:45px;height:45px;padding-right:12px}.codex-exchange-public .codex-exchange-main{padding:15px 10px}.codex-exchange-public .codex-exchange-legend{margin:0 10px 14px;padding:14px}} @media(max-width:430px){.codex-exchange-public .codex-exchange-cards{grid-template-columns:minmax(0,1fr)}.codex-exchange-public .codex-exchange-legend>div{grid-template-columns:minmax(0,1fr)}.codex-exchange-public .codex-exchange-hero{gap:12px}.codex-exchange-public .codex-exchange-hero h2{font-size:27px}} .codex-exchange-public .codex-exchange-categories button[data-subcategory=true]{margin-left:18px;width:calc(100% - 18px);border-left:1px solid #88784b;border-radius:0;font-size:13px;min-height:38px;padding:7px 8px}.codex-exchange-public .codex-exchange-categories button[data-subcategory=true] img{width:22px;height:22px} + +.codex-exchange-public .jarvis-victory{margin:16px 0;padding:12px 16px;border:1px solid #8d774447;border-radius:10px;background:#0d261d;color:#b9c7b4}.jarvis-victory summary{cursor:pointer;font-size:.82rem;letter-spacing:.04em}.jarvis-victory figure{max-width:960px;margin:18px auto 4px}.jarvis-victory img{display:block;width:100%;height:auto;border:1px solid #b59a57;border-radius:10px}.jarvis-victory figcaption{padding:12px 4px;text-align:center;color:#e5cb80;font-family:Georgia,serif} diff --git a/website/control-panel/public/cp-v2/cp-v2-exchange-design.mjs b/website/control-panel/public/cp-v2/cp-v2-exchange-design.mjs index 55dce0a9..7996b9bd 100644 --- a/website/control-panel/public/cp-v2/cp-v2-exchange-design.mjs +++ b/website/control-panel/public/cp-v2/cp-v2-exchange-design.mjs @@ -25,7 +25,7 @@ export function mountExchangeDesign(host,{context='public',view='browse',fetcher const promotions=el('div',undefined,'codex-exchange-promotion');promotions.append(el('h3','Promotions & delivery'),el('p','Basic: five initial shared credits. Each Board post costs one; each Discord post costs one. Choose any mix. Quest rewards may add credits. Keyed and Royal remove the Basic credit limit; configured promotion fees apply.'),empty(['Listing','Channel','Cost','State','Last attempt'],'Delivery history is not connected.'),el('p','Available credits: not connected. No charge is made in this preview.')); const eligibility=el('p','Checking your deed…','codex-exchange-eligibility');if(context==='clan')root.append(eligibility); let selectPost;const groups=[{id:'browse',title:'Browse',content:browse}];if(context!=='public'){groups.push({id:'mine',title:'My listings',content:mine},{id:'post',title:context==='user'?'Post an item':'Post a listing',content:post});if(context==='clan')groups.push({id:'applications',title:'Applications',content:applications},{id:'promotions',title:'Promotions',content:promotions});}const tabbed=organisationTabs(groups,{label:'Exchange sections',initial:view});selectPost=()=>tabbed.querySelector('[role=tab][aria-controls$="-post-panel"]')?.click();root.append(tabbed); - const footer=el('footer',undefined,'codex-exchange-logistics');footer.append(el('span',context==='public'?'Logistics by SPost':'Exchange logistics supplied by'),image('spost-logo-v1.svg'),el('small','part of'),image('corrino-group-v4.png'));root.append(footer);const cardDesigns=el('details',undefined,'codex-exchange-legend');cardDesigns.append(el('summary','Card design previews · items, kits, campaigns, jobs and more'),createCardGallery());root.append(cardDesigns);host.replaceChildren(root); + const footer=el('footer',undefined,'codex-exchange-logistics');footer.append(el('span',context==='public'?'Logistics by SPost':'Exchange logistics supplied by'),image('spost-logo-v1.svg'),el('small','part of'),image('corrino-group-v4.png'));root.append(footer);if(context==='public'){const egg=el('details',undefined,'jarvis-victory'),summary=el('summary','J.A.R.V.I.S. · Archive fragment'),figure=el('figure'),art=image('jarvis-victory-v1.png');art.alt='Minecraft-style Jem’Hadar warrior holding a command crystal. J.A.R.V.I.S. is victory. Victory is life.';art.width=960;art.height=640;figure.append(art,el('figcaption','J.A.R.V.I.S. is victory. Victory is life.'));egg.append(summary,figure);root.append(egg);}const cardDesigns=el('details',undefined,'codex-exchange-legend');cardDesigns.append(el('summary','Card design previews · items, kits, campaigns, jobs and more'),createCardGallery());root.append(cardDesigns);host.replaceChildren(root); function render(){for(const [node,id]of buttons)node.setAttribute('aria-pressed',String(id===category));let matches=[...rows,...kitRows,...jarvisRows,...auctionRows,...campaignRows,...politicalRows,...(examples?SAMPLES.filter(row=>context!=='clan'||['recruitment','quests','events'].includes(row.type)):[])].filter(row=>(category==='all'||row.category===category||row.type===category&&!(category==='recruitment'&&row.organisationKind==='company')||row.kitCategory===category)&&[row.title,row.owner,row.world].join(' ').toLowerCase().includes(search.input.value.toLowerCase()));if(stage.input.selectedIndex>0)matches=matches.filter(row=>row.edition?.stage===stage.input.value.toLowerCase());if(season.input.selectedIndex>0)matches=matches.filter(row=>row.edition&¤tEdition&&(season.input.selectedIndex===1?row.edition.season===currentEdition.season:row.edition.season!==currentEdition.season));if(quality.input.selectedIndex>0)matches=matches.filter(row=>words(row.quality).toLowerCase()===quality.input.value.toLowerCase());matches.sort((a,b)=>sort.input.selectedIndex===1?a.price-b.price:sort.input.selectedIndex===2?b.price-a.price:sort.input.selectedIndex===3?a.title.localeCompare(b.title):Number(b.createdAt||b.created_at||b.id)-Number(a.createdAt||a.created_at||a.id)||0);page=Math.min(page,Math.max(0,Math.ceil(matches.length/8)-1));cards.replaceChildren();if(!matches.length)cards.append(el('p',season.input.selectedIndex||quality.input.selectedIndex||stage.input.selectedIndex?'No listings match these edition and quality filters. Goods without edition metadata are excluded.':'No matching listings. Design examples can be enabled separately.','codex-exchange-empty'));for(const row of matches.slice(page*8,page*8+8)){const sample=String(row.id).startsWith('preview-'),type=TYPES.find(([id])=>id===(row.category||row.type)),cardType=({'items':'item','kits':'kit','recruitment':'job','quests':'quest','events':'event','deeds':'deed','auctions':'auction','campaign':'campaign','political-job':'job'})[row.type]||'ad',art=row.type==='recruitment'&&row.organisationKind==='company'?'exchange-company-jobs-v1.png':row.type==='items'?'minecraft-items/'+String(row.material).toLowerCase()+'.png':row.type==='kits'?'minecraft-items/'+(row.quality==='legendary'?'netherite_chestplate':'leather_chestplate')+'.png':type?.[2]||'nav-exchange-v2.webp',facts=[row.world,...(row.edition?[words(row.edition.stage)+' '+row.edition.version+' · '+row.edition.season]:[]),...(row.type==='items'?[row.quantity+' available']:row.type==='kits'?[words(row.quality)]:[])].filter(Boolean),card=createListingCard({type:cardType,featured:row.featured===true,title:row.title,owner:row.owner,subtitle:row.subtitle||row.owner,message:row.description||'',image:row.image||asset+art,facts:row.type==='auctions'?['Highest bid: '+(row.highestMinor/100).toFixed(2)+' DM','Closes: '+new Date(row.closesAt).toLocaleString('en-GB'),'3 hour office auction']:facts,price:['items','kits'].includes(row.type)?Number(row.price).toFixed(2)+' DM':null},{preview:sample,onOpen:()=>detail(row,sample)});card.classList.add('codex-exchange-card');cards.append(card);}pager.replaceChildren(button('← Previous',()=>{page--;render();},page===0),el('span',(page+1)+' / '+Math.max(1,Math.ceil(matches.length/8))),button('Next →',()=>{page++;render();},(page+1)*8>=matches.length));} function detail(row,sample){if(['campaign','political-job'].includes(row.type)&&!sample){window.location.href=row.url;return;}if(row.type==='auctions'&&!sample){window.location.href='https://cp.dunerealms.com/jarvis-auction?id='+encodeURIComponent(row.id);return;}const dialog=el('dialog',undefined,'codex-exchange-dialog');dialog.append(el('h3',row.title),el('p',row.description||row.owner+' · '+row.world),el('p',sample?'Design example. Applications and purchases are disabled.':row.type==='kits'?(row.purchaseAvailable?'Continue to the existing kit checkout.':'Published design · purchase or delivery is not available yet.'):row.type==='recruitment'?'Applications are free. The organisation reviews your request before membership starts.':'Trade in Minecraft: /exchange buy '+row.id),button('Close',()=>dialog.close()));if(row.type==='kits'&&row.purchaseAvailable){const checkout=el('a','Open kit checkout →');checkout.href='https://cp.dunerealms.com/?kit-listing='+encodeURIComponent(row.listingId)+'#realm/kits-exchange';dialog.append(checkout);}if(!sample&&row.type==='recruitment'){const apply=el('a','Apply to this '+(row.organisationKind==='company'?'company':'clan')+' →');apply.href='https://cp.dunerealms.com/jarvis-application?listing='+encodeURIComponent(row.id);apply.target='_top';dialog.append(apply);}dialog.onclose=()=>dialog.remove();root.append(dialog);dialog.showModal();} search.input.oninput=()=>{page=0;render();};sort.input.onchange=quality.input.onchange=stage.input.onchange=season.input.onchange=()=>{page=0;render();}; diff --git a/website/web/assets/jarvis-victory-v1.png b/website/web/assets/jarvis-victory-v1.png new file mode 100644 index 00000000..b5f6516d Binary files /dev/null and b/website/web/assets/jarvis-victory-v1.png differ