- Every 60 to 120 days while a rocket company exists (the first 90 days after the plan starts), the Founder does something daft: a post, a gasp toast and a temporary effect (99-pie-jitters.js). A once-a-game antic takes orbit billing down for 3 to 5 days (no orbit income, then a restore post); a 3 a.m. spree (orbit offers x0.6 and a 4-point orbit mood dip for 14 days); a fight with a regulator (a landing-rights spat via pieSpatStart in a country with a dish or rights, within the spat limit); a leaked launch date (insurance 8% -> 14% for 30 days); Mars next year (offers x1.5 for 14 days, a promise like the others whose slip cancels the unhappiest 2% of orbit customers). - Market jitters (S.pie.founder.jit, 0..1): each antic bumps it, it fades by 1/30 a day, and while high it lowers orbit offer odds (up to -30%) and holds orbit happiness under 100-25*jit (never low enough to cancel at renewal). The Company tab shows one line and a small meter next to the feed. - Rule O5: harm only with pieChaos(); with chaos off he only posts. Dice only with a company. - Saves: new founder fields in pieBlank, repaired in pieSanitize (pieAnticFix); old saves load calm. - Insurance button shows the current premium (pie.ins_on_p replaces pie.ins_on). Agent docs updated. - pie-balance: compute() also reruns when orbit billing goes down or comes back. - tests/pie-founder.test.js: each antic, decay, once-only billing outage, chaos off, saves, 360 px.
29 lines
1.9 KiB
CSS
29 lines
1.9 KiB
CSS
/* Standing orders: the intern's card in the NOC and the Ops sheet */
|
|
.ops-card{border:2px solid #8E5CF7;background:#F7F2FF;border-radius:12px;padding:8px 10px;margin:8px 0}
|
|
.ops-card .nm{font-weight:800}
|
|
.ops-o{border:2px solid var(--line);border-radius:12px;padding:8px 10px;margin:8px 0;background:var(--paper)}
|
|
.ops-o.on{border-color:var(--ok)}
|
|
.ops-h{display:flex;align-items:center;gap:8px}
|
|
.ops-h .grow{flex:1;min-width:0}
|
|
.ops-h .nm{font-weight:800;font-size:13.5px;line-height:1.2}
|
|
.ops-h .b{min-height:36px;flex:none}
|
|
.ops-i{font-size:22px;line-height:1;flex:none}
|
|
.ops-p{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
|
|
.ops-p .b{white-space:normal;text-align:left;min-height:36px}
|
|
.ops-log{white-space:pre-wrap;font-size:11.5px;max-height:160px;overflow:auto}
|
|
.ops-mood{margin:6px 0 0;font-style:italic;font-size:13px;color:var(--ink2)}
|
|
.ops-rep{border-left:3px solid #8E5CF7;background:#F7F2FF;border-radius:0 8px 8px 0;padding:6px 8px;margin:6px 0;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
|
|
.ops-rep .eyebrow{margin-bottom:2px}
|
|
/* Pie Control's Company tab ends with the Founder's feed: a quiet section, older posts folded away. */
|
|
.pie-feed{border-top:2px solid var(--line);margin-top:12px;padding-top:4px}
|
|
.pie-feed h3{font-size:15px;margin:8px 0 4px}
|
|
.pie-feed summary{cursor:pointer;font-weight:800;font-size:13px;color:var(--ink2);padding:8px 0;min-height:24px}
|
|
.pie-jit{margin:6px 0 2px;overflow-wrap:anywhere}
|
|
.pie-jit-bar{margin-bottom:6px}
|
|
/* Government money in the bank: the same boxes as the loans next to it. */
|
|
.bank-gov>.meta{font-size:13px;color:var(--ink2);margin:2px 0 6px;line-height:1.35}
|
|
.bank-gov .ops-o{border:2.5px solid var(--ink);border-radius:14px;padding:10px 12px;margin-top:10px}
|
|
.bank-gov .ops-o .nm{font-weight:800;font-family:var(--display);font-size:16px}
|
|
.bank-gov .ops-o .meta{font-size:12.5px;color:var(--ink2);line-height:1.35}
|
|
.bank-gov .fact{display:inline-block;margin-top:2px}
|
|
.bank-gov .ops-o p.meta{margin:4px 0}
|