Pie in the Sky: rocket company foundation
Catalog (rockets, crusts, prices), state with newGame default and a full sanitize repair, the one-time unlock on the Tier 1 win (sandbox from day 0), company, factory, pads, R&D, launches, dishes, landing rights, the daily tick, the Founder feed, three badges, a plain Pie Control modal from the NOC tab, and hooks for routing, spats and the globe. Translated in every language.
This commit is contained in:
parent
d2c7294ed3
commit
7fb7be305d
17 changed files with 1019 additions and 4 deletions
|
|
@ -111,6 +111,7 @@ function sanitize(s){
|
|||
{const r=s.rules&&typeof s.rules==='object'&&!Array.isArray(s.rules)?s.rules:{};
|
||||
const m={mods:r.mods};s.rules=s.scn&&typeof s.scn==='object'?makeRules('oncall',m):s.mode==='sandbox'?makeRules('sandbox',{...m,chaos:r.chaos}):makeRules(NORMAL_PRESETS.includes(r.preset)?r.preset:'oncall',m);}
|
||||
specSanitize(s);
|
||||
pieSanitize(s);
|
||||
if(s.te){if(typeof s.te!=='object')s.te=null;else{s.te.on=!!s.te.on;s.te.script=typeof s.te.script==='string'?s.te.script.slice(0,4000):'';}}
|
||||
return s;}
|
||||
function migrate(s){sanitize(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue