Backbone rewards: L3VPN, flex-algo and slice customers, fast reroute, interop lab, four badges

This commit is contained in:
Frederic Jung 2026-10-31 09:20:49 +01:00
parent 73f0a4af72
commit 99c18bdf7a
No known key found for this signature in database
15 changed files with 214 additions and 5 deletions

View file

@ -11,4 +11,7 @@ function corePanel(){if(!S.core||S.mode==='puzzle'||S.pz||S.ar||S.scn)return '';
const out=coreOut();if(out.length)h+=`<p class="why">${trn('core.n_pop_outside_the_core_its',out.length,{list:out.slice(0,5).map(c=>CITY[c].name).join(', ')+(out.length>5?'…':''),lv:tr(CORE_LV[run])})}</p>`;
const v=coreOn()&&run>=1?coreVendors():null;
if(v&&v.size>1)h+=coreIopRisk()?`<p class="why">${tr('core.n_vendors_at_the_top_of',{n:v.size,lv:tr(CORE_LV[run])})}</p>`:`<p class="meta" style="margin:0 0 6px">${tr('core.n_vendors_one_step_below_their',{n:v.size})}</p>`;
if(run>=2)h+=`<p class="meta" style="margin:0 0 6px">🛟 ${tr('core.fast_reroute_customers_lose_half')}</p>`;
if(coreOn()&&lv>=1)h+=C.lab?`<p class="meta" style="margin:0 0 6px">🧪 ${tr('core.interop_lab_cuts_interop_incidents',{p:pct(1-CORE_LAB_F)})}</p>`
:`<div class="btns">${btn(tr('core.build_an_interop_lab_cost',{cost:fmt$(CORE_LAB)}),'coreLab',{},'ghost sm',S.cash<CORE_LAB)}</div><p class="meta" style="margin:2px 0 6px">${tr('core.test_vendors_against_each_other',{p:pct(1-CORE_LAB_F)})}</p>`;
return h;}