Pie in the Sky: incidents in orbit and geopolitical spats

Solar storms (safe mode saves most pies), food fights (debris, launches dearer for a year,
Space Roomba fix), rain fade on tropical dishes, backhoes at the dish, astronomers
(VisorSat or science customers sulk), the Founder's 3 a.m. posts and the chaos monkey
snipping laser links. Nine spats with two answers each on a bottom sheet: landing rights
refused, data stays home, spectrum squabble, kill switch, orbital land grab, jamming,
launch diplomacy, not over my airspace. All gated by chaos and 90 quiet days (O5),
seeded, repaired by sanitize, translated in every language.
This commit is contained in:
Frederic Jung 2026-11-01 18:05:40 +01:00
parent 112450d158
commit 727541a9d8
No known key found for this signature in database
20 changed files with 1266 additions and 11 deletions

View file

@ -14,7 +14,7 @@ Object.assign(ACT,{
P.rd[k]=true;toast(tr('pie.t_rd',{rd:tr(PIE_RD[k].n)}),'good');if(k==='heavy')piePromise();pieRe();},
pieLaunch:({rk,cr})=>{const P=pieGet();if(!P)return;const o={ins:!!UI.pieIns,las:!!UI.pieLas},q=pieQuote(rk,cr,o);if(!q.ok)return pieNo(q.why);if(!pieSpend(q.cost))return pieRe();
const pad=P.pads.find(p=>p.city===q.pad);pad.next=q.day+leadDays(ROCKETS[rk].gap);if(rk==='again'&&!pad.boosters.length)pad.boosters.push({id:uid(),flights:0});
P.stock=Math.max(0,P.stock-q.n);P.crusts[cr].queued+=q.n;P.q.push({id:uid(),rk,cr,pad:q.pad,n:q.n,day:q.day,cost:q.ins?q.insured:0,ins:q.ins,las:o.las&&!q.test,test:q.test});
P.stock=Math.max(0,P.stock-q.n);P.crusts[cr].queued+=q.n;P.q.push({id:uid(),rk,cr,pad:q.pad,n:q.n,day:q.day,cost:q.ins?q.insured:0,ins:q.ins,las:o.las&&!q.test,test:q.test});pieGrabUse(q);
{const v={n:q.n,crust:tr(CRUSTS[cr].n),city:CITY[q.pad].name,d:dateStr(q.day)};toast(q.test?tr('pie.t_queued_test',v):tr('pie.t_queued',v),'good');}pieRe();},
pieIns:()=>{UI.pieIns=!UI.pieIns;sfx('click');pieModal();},
pieLas:()=>{UI.pieLas=!UI.pieLas;sfx('click');pieModal();},

View file

@ -0,0 +1,7 @@
// Pie in the Sky: answering a geopolitical spat (85-incidents/65-pie-spats.js). Answers work while Tier 1 is lost too:
// diplomacy is not building.
Object.assign(ACT,{
pieSpatOpen:({id})=>{if(!S||!S.pie||typeof id!=='string'||!own(PIE_SPAT_DEF,id)||!S.pie.spat[id])return;pieSpatSheet(id);},
pieSpatPick:({id,c})=>{const P=S&&S.pie;c=+c;if(!P||typeof id!=='string'||!own(PIE_SPAT_DEF,id)||!(c===0||c===1))return;
if(!pieSpatChoose(id,c,false)){if(P.spat[id])pieSpatSheet(id);return;}closeModal();after();},
});