Advertisement
sinkir

NipBot202000926

Sep 26th, 2020
3,360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. NipBotVersion       : 0.1
  3. NipBotDate          : 2020.09.14
  4. KittenGameUrl       : bloodrizer.ru/games/kittens/
  5. KittenGameVersion   : 1.4.8.1
  6.  
  7. ========================================================
  8.   _   _ _       ____        _     ___   ___ ___   ___  
  9.  | \ | (_)     |  _ \      | |   |__ \ / _ \__ \ / _ \  
  10.  |  \| |_ _ __ | |_) | ___ | |_     ) | | | | ) | | | |
  11.  | . ` | | '_ \|  _ < / _ \| __|   / /| | | |/ /| | | |
  12.  | |\  | | |_) | |_) | (_) | |_   / /_| |_| / /_| |_| |
  13.  |_| \_|_| .__/|____/ \___/ \__| |____|\___/____|\___/  
  14.          | |                                            
  15.          |_|                                            
  16. ========================================================
  17.  
  18. new job
  19.     check evry seconds
  20.     check evry ticks
  21.         conditions
  22.             SI ressource IS =, >, < TO unit of res , % of stock, % of max storage , sec of production
  23.         action
  24.  
  25. */
  26.  
  27. /*
  28.   __  __                                      
  29.  |  \/  |                                      
  30.  | \  / | __ _ _ __   __ _  __ _  ___ _ __ ___
  31.  | |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__/ __|
  32.  | |  | | (_| | | | | (_| | (_| |  __/ |  \__ \
  33.  |_|  |_|\__,_|_| |_|\__,_|\__, |\___|_|  |___/
  34.                             __/ |              
  35.                            |___/              
  36.  
  37. game.managers
  38. |----|--------------|
  39. | NB |      ID      |
  40. |----|--------------|
  41. | 0  |   workshop   |
  42. |----|--------------|
  43. | 1  |  diplomacy   |
  44. |----|--------------|
  45. | 2  |     bld      |
  46. |----|--------------|
  47. | 3  |   science    |
  48. |----|--------------|
  49. | 4  | achievements |
  50. |----|--------------|
  51. | 5  |   religion   |
  52. |----|--------------|
  53. | 6  |    space     |
  54. |----|--------------|
  55. | 7  |     time     |
  56. |----|--------------|
  57. | 8  |   prestige   |
  58. |----|--------------|
  59. | 9  |  challenges  |
  60. |----|--------------|
  61. | 10 |    stats     |
  62. |----|--------------|
  63. | 11 |     void     |
  64. |----|--------------|
  65.  
  66.  
  67.                      _        _                
  68.                     | |      | |                
  69.  __      _____  _ __| | _____| |__   ___  _ __  
  70.  \ \ /\ / / _ \| '__| |/ / __| '_ \ / _ \| '_ \
  71.   \ V  V / (_) | |  |   <\__ \ | | | (_) | |_) |
  72.    \_/\_/ \___/|_|  |_|\_\___/_| |_|\___/| .__/
  73.                                          | |    
  74.                                          |_|    
  75.  
  76. game.managers[0].crafts
  77. |----|------------|---------------|
  78. |    |   .name    |    .label     |
  79. |----|------------|---------------|
  80. | 0  |    wood    | Refine Catnip |
  81. |----|------------|---------------|
  82. | 1  |    beam    |  Wooden Beam  |
  83. |----|------------|---------------|
  84. | 2  |    slab    |  Stone Slab   |
  85. |----|------------|---------------|
  86. | 3  |   plate    |  Metal Plate  |
  87. |----|------------|---------------|
  88. | 4  |   steel    |     Steel     |
  89. |----|------------|---------------|
  90. | 5  |  concrate  |   Concrete    |
  91. |----|------------|---------------|
  92. | 6  |    gear    |     Gear      |
  93. |----|------------|---------------|
  94. | 7  |   alloy    |     Alloy     |
  95. |----|------------|---------------|
  96. | 8  |  eludium   |    Eludium    |
  97. |----|------------|---------------|
  98. | 9  |  scaffold  |   Scaffold    |
  99. |----|------------|---------------|
  100. | 10 |    ship    |  Trade Ship   |
  101. |----|------------|---------------|
  102. | 11 |   tanker   |    Tanker     |
  103. |----|------------|---------------|
  104. | 12 |  kerosene  |   Kerosene    |
  105. |----|------------|---------------|
  106. | 13 | parchment  |   Parchment   |
  107. |----|------------|---------------|
  108. | 14 | manuscript |  Manuscript   |
  109. |----|------------|---------------|
  110. | 15 | compedium  |  Compendium   |
  111. |----|------------|---------------|
  112. | 16 | blueprint  |   Blueprint   |
  113. |----|------------|---------------|
  114. | 17 |  thorium   |    Thorium    |
  115. |----|------------|---------------|
  116. | 18 |  megalith  |   Megalith    |
  117. |----|------------|---------------|
  118. | 19 | bloodstone |  Bloodstone   |
  119. |----|------------|---------------|
  120.  
  121. game.managers[0].upgrades
  122. |-----|-----------------------|------------------------|
  123. |     |         .name         |         .label         |
  124. |-----|-----------------------|------------------------|
  125. |  0  |      mineralHoes      |      Mineral Hoes      |
  126. |-----|-----------------------|------------------------|
  127. |  1  |       ironHoes        |       Iron Hoes        |
  128. |-----|-----------------------|------------------------|
  129. |  2  |      mineralAxes      |      Mineral Axe       |
  130. |-----|-----------------------|------------------------|
  131. |  3  |       ironAxes        |        Iron Axe        |
  132. |-----|-----------------------|------------------------|
  133. |  4  |       steelAxe        |       Steel Axe        |
  134. |-----|-----------------------|------------------------|
  135. |  5  |     reinforcedSaw     |     Reinforced Saw     |
  136. |-----|-----------------------|------------------------|
  137. |  6  |       steelSaw        |       Steel Saw        |
  138. |-----|-----------------------|------------------------|
  139. |  7  |      titaniumSaw      |      Titanium Saw      |
  140. |-----|-----------------------|------------------------|
  141. |  8  |       alloySaw        |       Alloy Saw        |
  142. |-----|-----------------------|------------------------|
  143. |  9  |      titaniumAxe      |      Titanium Axe      |
  144. |-----|-----------------------|------------------------|
  145. | 10  |       alloyAxe        |       Alloy Axe        |
  146. |-----|-----------------------|------------------------|
  147. | 11  |    unobtainiumAxe     |    Unobtainium Axe     |
  148. |-----|-----------------------|------------------------|
  149. | 12  |    unobtainiumSaw     |    Unobtainium Saw     |
  150. |-----|-----------------------|------------------------|
  151. | 13  |      stoneBarns       |     Expanded Barns     |
  152. |-----|-----------------------|------------------------|
  153. | 14  |    reinforcedBarns    |    Reinforced Barns    |
  154. |-----|-----------------------|------------------------|
  155. | 15  | reinforcedWarehouses  | Reinforced Warehouses  |
  156. |-----|-----------------------|------------------------|
  157. | 16  |     titaniumBarns     |     Titanium Barns     |
  158. |-----|-----------------------|------------------------|
  159. | 17  |      alloyBarns       |      Alloy Barns       |
  160. |-----|-----------------------|------------------------|
  161. | 18  |     concreteBarns     |     Concrete Barns     |
  162. |-----|-----------------------|------------------------|
  163. | 19  |  titaniumWarehouses   |  Titanium Warehouses   |
  164. |-----|-----------------------|------------------------|
  165. | 20  |    alloyWarehouses    |    Alloy Warehouses    |
  166. |-----|-----------------------|------------------------|
  167. | 21  |  concreteWarehouses   |  Concrete Warehouses   |
  168. |-----|-----------------------|------------------------|
  169. | 22  |    storageBunkers     |    Storage Bunkers     |
  170. |-----|-----------------------|------------------------|
  171. | 23  |      energyRifts      |      Energy Rifts      |
  172. |-----|-----------------------|------------------------|
  173. | 24  |    stasisChambers     |    Stasis Chambers     |
  174. |-----|-----------------------|------------------------|
  175. | 25  |      voidEnergy       |      Void Energy       |
  176. |-----|-----------------------|------------------------|
  177. | 26  |      darkEnergy       |      Dark Energy       |
  178. |-----|-----------------------|------------------------|
  179. | 27  |      chronoforge      |      Chronoforge       |
  180. |-----|-----------------------|------------------------|
  181. | 28  |  tachyonAccelerators  |  Tachyon Accelerators  |
  182. |-----|-----------------------|------------------------|
  183. | 29  |    fluxCondensator    |    Flux Condensator    |
  184. |-----|-----------------------|------------------------|
  185. | 30  |          lhc          |          LHC           |
  186. |-----|-----------------------|------------------------|
  187. | 31  |     photovoltaic      |   Photovoltaic Cells   |
  188. |-----|-----------------------|------------------------|
  189. | 32  |       thinFilm        |    Thin Film Cells     |
  190. |-----|-----------------------|------------------------|
  191. | 33  |         qdot          |   Quantum Dot Cells    |
  192. |-----|-----------------------|------------------------|
  193. | 34  |    solarSatellites    |    Solar Satellites    |
  194. |-----|-----------------------|------------------------|
  195. | 35  |      cargoShips       |     Expanded Cargo     |
  196. |-----|-----------------------|------------------------|
  197. | 36  |        barges         |         Barges         |
  198. |-----|-----------------------|------------------------|
  199. | 37  |     reactorVessel     |     Reactor Vessel     |
  200. |-----|-----------------------|------------------------|
  201. | 38  |       ironwood        |     Ironwood Huts      |
  202. |-----|-----------------------|------------------------|
  203. | 39  |     concreteHuts      |     Concrete Huts      |
  204. |-----|-----------------------|------------------------|
  205. | 40  |    unobtainiumHuts    |    Unobtainium Huts    |
  206. |-----|-----------------------|------------------------|
  207. | 41  |      eludiumHuts      |      Eludium Huts      |
  208. |-----|-----------------------|------------------------|
  209. | 42  |         silos         |         Silos          |
  210. |-----|-----------------------|------------------------|
  211. | 43  |     refrigeration     |     Refrigeration      |
  212. |-----|-----------------------|------------------------|
  213. | 44  |     compositeBow      |     Composite Bow      |
  214. |-----|-----------------------|------------------------|
  215. | 45  |       crossbow        |        Crossbow        |
  216. |-----|-----------------------|------------------------|
  217. | 46  |        railgun        |        Railgun         |
  218. |-----|-----------------------|------------------------|
  219. | 47  |         bolas         |         Bolas          |
  220. |-----|-----------------------|------------------------|
  221. | 48  |     huntingArmor      |     Hunting Armour     |
  222. |-----|-----------------------|------------------------|
  223. | 49  |      steelArmor       |      Steel Armour      |
  224. |-----|-----------------------|------------------------|
  225. | 50  |      alloyArmor       |      Alloy Armour      |
  226. |-----|-----------------------|------------------------|
  227. | 51  |       nanosuits       |       Nanosuits        |
  228. |-----|-----------------------|------------------------|
  229. | 52  |     caravanserai      |      Caravanserai      |
  230. |-----|-----------------------|------------------------|
  231. | 53  |  advancedRefinement   |   Catnip Enrichment    |
  232. |-----|-----------------------|------------------------|
  233. | 54  |        goldOre        |        Gold Ore        |
  234. |-----|-----------------------|------------------------|
  235. | 55  |        geodesy        |        Geodesy         |
  236. |-----|-----------------------|------------------------|
  237. | 56  |       register        |        Register        |
  238. |-----|-----------------------|------------------------|
  239. | 57  |    strenghtenBuild    |    Concrete Pillars    |
  240. |-----|-----------------------|------------------------|
  241. | 58  |      miningDrill      |      Mining Drill      |
  242. |-----|-----------------------|------------------------|
  243. | 59  |   unobtainiumDrill    |   Unobtainium Drill    |
  244. |-----|-----------------------|------------------------|
  245. | 60  |      coalFurnace      |      Coal Furnace      |
  246. |-----|-----------------------|------------------------|
  247. | 61  |      deepMining       |      Deep Mining       |
  248. |-----|-----------------------|------------------------|
  249. | 62  |       pyrolysis       |       Pyrolysis        |
  250. |-----|-----------------------|------------------------|
  251. | 63  | electrolyticSmelting  | Electrolytic Smelting  |
  252. |-----|-----------------------|------------------------|
  253. | 64  |       oxidation       |       Oxidation        |
  254. |-----|-----------------------|------------------------|
  255. | 65  |      steelPlants      |      Steel Plants      |
  256. |-----|-----------------------|------------------------|
  257. | 66  |    automatedPlants    |    Automated Plants    |
  258. |-----|-----------------------|------------------------|
  259. | 67  |     nuclearPlants     |     Nuclear Plants     |
  260. |-----|-----------------------|------------------------|
  261. | 68  |      rotaryKiln       |      Rotary Kiln       |
  262. |-----|-----------------------|------------------------|
  263. | 69  |   fluidizedReactors   |   Fluidized Reactors   |
  264. |-----|-----------------------|------------------------|
  265. | 70  |    nuclearSmelters    |    Nuclear Smelters    |
  266. |-----|-----------------------|------------------------|
  267. | 71  |    orbitalGeodesy     |    Orbital Geodesy     |
  268. |-----|-----------------------|------------------------|
  269. | 72  |     printingPress     |     Printing Press     |
  270. |-----|-----------------------|------------------------|
  271. | 73  |      offsetPress      |      Offset Press      |
  272. |-----|-----------------------|------------------------|
  273. | 74  |   photolithography    |    Photolithography    |
  274. |-----|-----------------------|------------------------|
  275. | 75  |        uplink         |         Uplink         |
  276. |-----|-----------------------|------------------------|
  277. | 76  |       starlink        |        Starlink        |
  278. |-----|-----------------------|------------------------|
  279. | 77  |     cryocomputing     |     Cryocomputing      |
  280. |-----|-----------------------|------------------------|
  281. | 78  |    machineLearning    |    Machine Learning    |
  282. |-----|-----------------------|------------------------|
  283. | 79  |   factoryAutomation   |  Workshop Automation   |
  284. |-----|-----------------------|------------------------|
  285. | 80  |  advancedAutomation   |  Advanced Automation   |
  286. |-----|-----------------------|------------------------|
  287. | 81  |    pneumaticPress     |    Pneumatic Press     |
  288. |-----|-----------------------|------------------------|
  289. | 82  |   combustionEngine    |  High Pressure Engine  |
  290. |-----|-----------------------|------------------------|
  291. | 83  |     fuelInjectors     |     Fuel Injectors     |
  292. |-----|-----------------------|------------------------|
  293. | 84  |   factoryLogistics    |   Factory Logistics    |
  294. |-----|-----------------------|------------------------|
  295. | 85  |  factoryOptimization  |  Factory Optimization  |
  296. |-----|-----------------------|------------------------|
  297. | 86  |    factoryRobotics    |    Factory Robotics    |
  298. |-----|-----------------------|------------------------|
  299. | 87  |    spaceEngineers     |    Space Engineers     |
  300. |-----|-----------------------|------------------------|
  301. | 88  |      aiEngineers      |      AI Engineers      |
  302. |-----|-----------------------|------------------------|
  303. | 89  |    chronoEngineers    |    Chronoengineers     |
  304. |-----|-----------------------|------------------------|
  305. | 90  |  spaceManufacturing   |  Space Manufacturing   |
  306. |-----|-----------------------|------------------------|
  307. | 91  |  celestialMechanics   |  Celestial Mechanics   |
  308. |-----|-----------------------|------------------------|
  309. | 92  |       astrolabe       |       Astrolabe        |
  310. |-----|-----------------------|------------------------|
  311. | 93  |    titaniumMirrors    |  Titanium Reflectors   |
  312. |-----|-----------------------|------------------------|
  313. | 94  | unobtainiumReflectors | Unobtainium Reflectors |
  314. |-----|-----------------------|------------------------|
  315. | 95  |   eludiumReflectors   |   Eludium Reflectors   |
  316. |-----|-----------------------|------------------------|
  317. | 96  |  hydroPlantTurbines   |  Hydro Plant Turbines  |
  318. |-----|-----------------------|------------------------|
  319. | 97  |        amBases        |    Antimatter Bases    |
  320. |-----|-----------------------|------------------------|
  321. | 98  |        aiBases        |        AI Bases        |
  322. |-----|-----------------------|------------------------|
  323. | 99  |       amFission       |   Antimatter Fission   |
  324. |-----|-----------------------|------------------------|
  325. | 100 |      amReactors       |  Antimatter Reactors   |
  326. |-----|-----------------------|------------------------|
  327. | 101 |     amReactorsMK2     |  Advanced AM Reactors  |
  328. |-----|-----------------------|------------------------|
  329. | 102 |     voidReactors      |     Void Reactors      |
  330. |-----|-----------------------|------------------------|
  331. | 103 |     relicStation      |     Relic Station      |
  332. |-----|-----------------------|------------------------|
  333. | 104 |        amDrive        |    Antimatter Drive    |
  334. |-----|-----------------------|------------------------|
  335. | 105 |       pumpjack        |        Pumpjack        |
  336. |-----|-----------------------|------------------------|
  337. | 106 |        biofuel        |   Biofuel Processing   |
  338. |-----|-----------------------|------------------------|
  339. | 107 |   unicornSelection    |   Unicorn Selection    |
  340. |-----|-----------------------|------------------------|
  341. | 108 |          gmo          |       GM Catnip        |
  342. |-----|-----------------------|------------------------|
  343. | 109 |      cadSystems       |       CAD System       |
  344. |-----|-----------------------|------------------------|
  345. | 110 |         seti          |          SETI          |
  346. |-----|-----------------------|------------------------|
  347. | 111 |       logistics       |       Logistics        |
  348. |-----|-----------------------|------------------------|
  349. | 112 |     augumentation     |     Augmentations      |
  350. |-----|-----------------------|------------------------|
  351. | 113 |       internet        |   Telecommunication    |
  352. |-----|-----------------------|------------------------|
  353. | 114 |    neuralNetworks     |    Neural Networks     |
  354. |-----|-----------------------|------------------------|
  355. | 115 |      assistance       |   Robotic Assistance   |
  356. |-----|-----------------------|------------------------|
  357. | 116 |    enrichedUranium    |    Enriched Uranium    |
  358. |-----|-----------------------|------------------------|
  359. | 117 |      coldFusion       |      Cold Fusion       |
  360. |-----|-----------------------|------------------------|
  361. | 118 |    thoriumReactors    |    Thorium Reactors    |
  362. |-----|-----------------------|------------------------|
  363. | 119 |    enrichedThorium    |    Enriched Thorium    |
  364. |-----|-----------------------|------------------------|
  365. | 120 |    hubbleTelescope    | Hubble Space Telescope |
  366. |-----|-----------------------|------------------------|
  367. | 121 |        satnav         |  Satellite Navigation  |
  368. |-----|-----------------------|------------------------|
  369. | 122 |    satelliteRadio     |    Satellite Radio     |
  370. |-----|-----------------------|------------------------|
  371. | 123 |    astrophysicists    |    Astrophysicists     |
  372. |-----|-----------------------|------------------------|
  373. | 124 |       mWReactor       |   Microwarp Reactors   |
  374. |-----|-----------------------|------------------------|
  375. | 125 |    eludiumCracker     |     Planet Busters     |
  376. |-----|-----------------------|------------------------|
  377. | 126 |     thoriumEngine     |     Thorium Drive      |
  378. |-----|-----------------------|------------------------|
  379. | 127 |      oilRefinery      |      Oil Refinery      |
  380. |-----|-----------------------|------------------------|
  381. | 128 |    oilDistillation    |    Oil Distillation    |
  382. |-----|-----------------------|------------------------|
  383. | 129 |   factoryProcessing   |   Factory Processing   |
  384. |-----|-----------------------|------------------------|
  385. | 130 |    voidAspiration     |    Void Aspiration     |
  386. |-----|-----------------------|------------------------|
  387. | 131 |      distorsion       |       Distortion       |
  388. |-----|-----------------------|------------------------|
  389. | 132 |     turnSmoothly      |      Chronosurge       |
  390. |-----|-----------------------|------------------------|
  391. | 133 |  invisibleBlackHand   |  Invisible Black Hand  |
  392. |-----|-----------------------|------------------------|
  393.  
  394.       _ _       _                                  
  395.      | (_)     | |                                
  396.    __| |_ _ __ | | ___  _ __ ___   __ _  ___ _   _
  397.   / _` | | '_ \| |/ _ \| '_ ` _ \ / _` |/ __| | | |
  398.  | (_| | | |_) | | (_) | | | | | | (_| | (__| |_| |
  399.   \__,_|_| .__/|_|\___/|_| |_| |_|\__,_|\___|\__, |
  400.          | |                                  __/ |
  401.          |_|                                 |___/
  402.  
  403. game.managers[1].races
  404. |---|------------|------------|
  405. |   |   .name    |   .title   |
  406. |---|------------|------------|
  407. | 0 |  lizards   |  Lizards   |
  408. |---|------------|------------|
  409. | 1 |   sharks   |   Sharks   |
  410. |---|------------|------------|
  411. | 2 |  griffins  |  Griffins  |
  412. |---|------------|------------|
  413. | 3 |   nagas    |   Nagas    |
  414. |---|------------|------------|
  415. | 4 |   zebras   |   Zebras   |
  416. |---|------------|------------|
  417. | 5 |  spiders   |  Spiders   |
  418. |---|------------|------------|
  419. | 6 |  dragons   |  Dragons   |
  420. |---|------------|------------|
  421. | 7 | leviathans | Leviathans |
  422. |---|------------|------------|
  423.  
  424.  
  425.   _     _     _
  426.  | |   | |   | |
  427.  | |__ | | __| |
  428.  | '_ \| |/ _` |
  429.  | |_) | | (_| |
  430.  |_.__/|_|\__,_|
  431.  
  432. game.managers[2].buildingsData
  433. |----|----------------|-----------------|---------|
  434. |    |     .name      |     .label      | .stages |
  435. |----|----------------|-----------------|---------|
  436. | 0  |     field      |  Catnip Field   |         |
  437. |----|----------------|-----------------|---------|
  438. | 1  |    pasture     |     Pasture     |    0    |
  439. |----|----------------|-----------------|---------|
  440. | 1  |    pasture     |   Solar Farm    |    1    |
  441. |----|----------------|-----------------|---------|
  442. | 2  |    aqueduct    |    Aqueduct     |    0    |
  443. |----|----------------|-----------------|---------|
  444. | 2  |    aqueduct    |   Hydro Plant   |    1    |
  445. |----|----------------|-----------------|---------|
  446. | 3  |      hut       |       Hut       |         |
  447. |----|----------------|-----------------|---------|
  448. | 4  |    logHouse    |    Log House    |         |
  449. |----|----------------|-----------------|---------|
  450. | 5  |    mansion     |     Mansion     |         |
  451. |----|----------------|-----------------|---------|
  452. | 6  |    library     |     Library     |    0    |
  453. |----|----------------|-----------------|---------|
  454. | 6  |    library     |   Data Center   |    1    |
  455. |----|----------------|-----------------|---------|
  456. | 7  |    academy     |     Academy     |         |
  457. |----|----------------|-----------------|---------|
  458. | 8  |  observatory   |   Observatory   |         |
  459. |----|----------------|-----------------|---------|
  460. | 9  |     biolab     |     Bio Lab     |         |
  461. |----|----------------|-----------------|---------|
  462. | 10 |      barn      |      Barn       |         |
  463. |----|----------------|-----------------|---------|
  464. | 11 |   warehouse    |    Warehouse    |         |
  465. |----|----------------|-----------------|---------|
  466. | 12 |     harbor     |     Harbour     |         |
  467. |----|----------------|-----------------|---------|
  468. | 13 |      mine      |      Mine       |         |
  469. |----|----------------|-----------------|---------|
  470. | 14 |     quarry     |     Quarry      |         |
  471. |----|----------------|-----------------|---------|
  472. | 15 |    smelter     |     Smelter     |         |
  473. |----|----------------|-----------------|---------|
  474. | 16 |    calciner    |    Calciner     |         |
  475. |----|----------------|-----------------|---------|
  476. | 17 |   steamworks   |   Steamworks    |         |
  477. |----|----------------|-----------------|---------|
  478. | 18 |    magneto     |     Magneto     |         |
  479. |----|----------------|-----------------|---------|
  480. | 19 |   lumberMill   |   Lumber Mill   |         |
  481. |----|----------------|-----------------|---------|
  482. | 20 |    oilWell     |    Oil Well     |         |
  483. |----|----------------|-----------------|---------|
  484. | 21 |    workshop    |    Workshop     |         |
  485. |----|----------------|-----------------|---------|
  486. | 22 |    factory     |     Factory     |         |
  487. |----|----------------|-----------------|---------|
  488. | 23 |    reactor     |     Reactor     |         |
  489. |----|----------------|-----------------|---------|
  490. | 24 |  accelerator   |   Accelerator   |         |
  491. |----|----------------|-----------------|---------|
  492. | 25 |   tradepost    |    Tradepost    |         |
  493. |----|----------------|-----------------|---------|
  494. | 26 |      mint      |      Mint       |         |
  495. |----|----------------|-----------------|---------|
  496. | 27 |    brewery     |     Brewery     |         |
  497. |----|----------------|-----------------|---------|
  498. | 28 |  amphitheatre  |  Amphitheatre   |    0    |
  499. |----|----------------|-----------------|---------|
  500. | 28 |  amphitheatre  | Broadcast Tower |    1    |
  501. |----|----------------|-----------------|---------|
  502. | 29 |     chapel     |     Chapel      |         |
  503. |----|----------------|-----------------|---------|
  504. | 30 |     temple     |     Temple      |         |
  505. |----|----------------|-----------------|---------|
  506. | 31 | unicornPasture |  Unic. Pasture  |         |
  507. |----|----------------|-----------------|---------|
  508. | 32 |    ziggurat    |    Ziggurat     |         |
  509. |----|----------------|-----------------|---------|
  510. | 33 |  chronosphere  |  Chronosphere   |         |
  511. |----|----------------|-----------------|---------|
  512. | 34 |     aiCore     |     AI Core     |         |
  513. |----|----------------|-----------------|---------|
  514. | 35 |  zebraOutpost  |  Zebra Outpost  |         |
  515. |----|----------------|-----------------|---------|
  516. | 36 | zebraWorkshop  | Zebra Workshop  |         |
  517. |----|----------------|-----------------|---------|
  518. | 37 |   zebraForge   |   Zebra Forge   |         |
  519. |----|----------------|-----------------|---------|
  520.  
  521.            _                    
  522.           (_)                    
  523.   ___  ___ _  ___ _ __   ___ ___
  524.  / __|/ __| |/ _ \ '_ \ / __/ _ \
  525.  \__ \ (__| |  __/ | | | (_|  __/
  526.  |___/\___|_|\___|_| |_|\___\___|
  527.  
  528. game.managers[3].techs
  529. |----|---------------------|-------------------------|
  530. |    |        .name        |         .label          |
  531. |----|---------------------|-------------------------|
  532. | 0  |      calendar       |        Calendar         |
  533. |----|---------------------|-------------------------|
  534. | 1  |     agriculture     |       Agriculture       |
  535. |----|---------------------|-------------------------|
  536. | 2  |       archery       |         Archery         |
  537. |----|---------------------|-------------------------|
  538. | 3  |       mining        |         Mining          |
  539. |----|---------------------|-------------------------|
  540. | 4  |        metal        |      Metal Working      |
  541. |----|---------------------|-------------------------|
  542. | 5  |       animal        |    Animal Husbandry     |
  543. |----|---------------------|-------------------------|
  544. | 6  |       brewery       |    Catnip Processing    |
  545. |----|---------------------|-------------------------|
  546. | 7  |        civil        |      Civil Service      |
  547. |----|---------------------|-------------------------|
  548. | 8  |        math         |       Mathematics       |
  549. |----|---------------------|-------------------------|
  550. | 9  |    construction     |      Construction       |
  551. |----|---------------------|-------------------------|
  552. | 10 |     engineering     |       Engineering       |
  553. |----|---------------------|-------------------------|
  554. | 11 |      currency       |        Currency         |
  555. |----|---------------------|-------------------------|
  556. | 12 |       writing       |         Writing         |
  557. |----|---------------------|-------------------------|
  558. | 13 |     philosophy      |       Philosophy        |
  559. |----|---------------------|-------------------------|
  560. | 14 |      machinery      |        Machinery        |
  561. |----|---------------------|-------------------------|
  562. | 15 |        steel        |          Steel          |
  563. |----|---------------------|-------------------------|
  564. | 16 |      theology       |        Theology         |
  565. |----|---------------------|-------------------------|
  566. | 17 |      astronomy      |        Astronomy        |
  567. |----|---------------------|-------------------------|
  568. | 18 |     navigation      |       Navigation        |
  569. |----|---------------------|-------------------------|
  570. | 19 |    architecture     |      Architecture       |
  571. |----|---------------------|-------------------------|
  572. | 20 |       physics       |         Physics         |
  573. |----|---------------------|-------------------------|
  574. | 21 |     metaphysics     |       Metaphysics       |
  575. |----|---------------------|-------------------------|
  576. | 22 |      chemistry      |        Chemistry        |
  577. |----|---------------------|-------------------------|
  578. | 23 |      acoustics      |        Acoustics        |
  579. |----|---------------------|-------------------------|
  580. | 24 |        drama        |    Drama and Poetry     |
  581. |----|---------------------|-------------------------|
  582. | 25 |     archeology      |         Geology         |
  583. |----|---------------------|-------------------------|
  584. | 26 |     electricity     |       Electricity       |
  585. |----|---------------------|-------------------------|
  586. | 27 |       biology       |         Biology         |
  587. |----|---------------------|-------------------------|
  588. | 28 |    biochemistry     |      Biochemistry       |
  589. |----|---------------------|-------------------------|
  590. | 29 |      genetics       |        Genetics         |
  591. |----|---------------------|-------------------------|
  592. | 30 |  industrialization  |    Industrialization    |
  593. |----|---------------------|-------------------------|
  594. | 31 |    mechanization    |      Mechanization      |
  595. |----|---------------------|-------------------------|
  596. | 32 |      metalurgy      |       Metallurgy        |
  597. |----|---------------------|-------------------------|
  598. | 33 |     combustion      |       Combustion        |
  599. |----|---------------------|-------------------------|
  600. | 34 |       ecology       |         Ecology         |
  601. |----|---------------------|-------------------------|
  602. | 35 |     electronics     |       Electronics       |
  603. |----|---------------------|-------------------------|
  604. | 36 |      robotics       |        Robotics         |
  605. |----|---------------------|-------------------------|
  606. | 37 |         ai          | Artificial Intelligence |
  607. |----|---------------------|-------------------------|
  608. | 38 | quantumCryptography |  Quantum Cryptography   |
  609. |----|---------------------|-------------------------|
  610. | 39 |     blackchain      |       Blackchain        |
  611. |----|---------------------|-------------------------|
  612. | 40 |   nuclearFission    |     Nuclear Fission     |
  613. |----|---------------------|-------------------------|
  614. | 41 |      rocketry       |        Rocketry         |
  615. |----|---------------------|-------------------------|
  616. | 42 |    oilProcessing    |     Oil Processing      |
  617. |----|---------------------|-------------------------|
  618. | 43 |     sattelites      |       Satellites        |
  619. |----|---------------------|-------------------------|
  620. | 44 | orbitalEngineering  |   Orbital Engineering   |
  621. |----|---------------------|-------------------------|
  622. | 45 |       thorium       |         Thorium         |
  623. |----|---------------------|-------------------------|
  624. | 46 |     exogeology      |       Exogeology        |
  625. |----|---------------------|-------------------------|
  626. | 47 |    advExogeology    |   Advanced Exogeology   |
  627. |----|---------------------|-------------------------|
  628. | 48 |   nanotechnology    |     Nanotechnology      |
  629. |----|---------------------|-------------------------|
  630. | 49 |   superconductors   |     Superconductors     |
  631. |----|---------------------|-------------------------|
  632. | 50 |     antimatter      |       Antimatter        |
  633. |----|---------------------|-------------------------|
  634. | 51 |   terraformation    |     Terraformation      |
  635. |----|---------------------|-------------------------|
  636. | 52 |     hydroponics     |       Hydroponics       |
  637. |----|---------------------|-------------------------|
  638. | 53 |    exogeophysics    |       Exophysics        |
  639. |----|---------------------|-------------------------|
  640. | 54 |   particlePhysics   |    Particle Physics     |
  641. |----|---------------------|-------------------------|
  642. | 55 | dimensionalPhysics  |   Dimensional Physics   |
  643. |----|---------------------|-------------------------|
  644. | 56 |    chronophysics    |      Chronophysics      |
  645. |----|---------------------|-------------------------|
  646. | 57 |    tachyonTheory    |     Tachyon Theory      |
  647. |----|---------------------|-------------------------|
  648. | 58 |   cryptotheology    |     Cryptotheology      |
  649. |----|---------------------|-------------------------|
  650. | 59 |      voidSpace      |       Void Space        |
  651. |----|---------------------|-------------------------|
  652. | 60 | paradoxalKnowledge  |     Paradox Theory      |
  653. |----|---------------------|-------------------------|
  654.  
  655. game.managers[3].policies
  656. |----|---------------------------|------------------------------|
  657. |    |           .name           |            .label            |
  658. |----|---------------------------|------------------------------|
  659. | 0  |          liberty          |           Liberty            |
  660. |----|---------------------------|------------------------------|
  661. | 1  |         tradition         |          Tradition           |
  662. |----|---------------------------|------------------------------|
  663. | 2  |         monarchy          |           Monarchy           |
  664. |----|---------------------------|------------------------------|
  665. | 3  |        authocracy         |          Autocracy           |
  666. |----|---------------------------|------------------------------|
  667. | 4  |         republic          |           Republic           |
  668. |----|---------------------------|------------------------------|
  669. | 5  |         socialism         |          Socialism           |
  670. |----|---------------------------|------------------------------|
  671. | 6  |        liberalism         |          Liberalism          |
  672. |----|---------------------------|------------------------------|
  673. | 7  |         communism         |          Communism           |
  674. |----|---------------------------|------------------------------|
  675. | 8  |          fascism          |           Fascism            |
  676. |----|---------------------------|------------------------------|
  677. | 9  |        technocracy        |         Technocracy          |
  678. |----|---------------------------|------------------------------|
  679. | 10 |         theocracy         |      Order of the Stars      |
  680. |----|---------------------------|------------------------------|
  681. | 11 |       expansionism        | Cosmological Libertarianism  |
  682. |----|---------------------------|------------------------------|
  683. | 12 |      transkittenism       |        Transkittenism        |
  684. |----|---------------------------|------------------------------|
  685. | 13 |        necrocracy         |          Necrocracy          |
  686. |----|---------------------------|------------------------------|
  687. | 14 |     radicalXenophobia     |      Radical Xenophobia      |
  688. |----|---------------------------|------------------------------|
  689. | 15 |         diplomacy         |          Diplomacy           |
  690. |----|---------------------------|------------------------------|
  691. | 16 |       isolationism        |         Isolationism         |
  692. |----|---------------------------|------------------------------|
  693. | 17 | zebraRelationsAppeasement | Zebra Relations: Appeasement |
  694. |----|---------------------------|------------------------------|
  695. | 18 | zebraRelationsBellicosity | Zebra Relations: Bellicosity |
  696. |----|---------------------------|------------------------------|
  697. | 19 |     knowledgeSharing      |      Knowledge Sharing       |
  698. |----|---------------------------|------------------------------|
  699. | 20 |     culturalExchange      |      Cultural Exchange       |
  700. |----|---------------------------|------------------------------|
  701. | 21 |      bigStickPolicy       |       Big Stick Policy       |
  702. |----|---------------------------|------------------------------|
  703. | 22 |        cityOnAHill        |        City On A Hill        |
  704. |----|---------------------------|------------------------------|
  705. | 23 |     outerSpaceTreaty      |      Outer Space Treaty      |
  706. |----|---------------------------|------------------------------|
  707. | 24 |      militarizeSpace      |       Militarize Space       |
  708. |----|---------------------------|------------------------------|
  709. | 25 |         stoicism          |           Stoicism           |
  710. |----|---------------------------|------------------------------|
  711. | 26 |       epicurianism        |         Epicurianism         |
  712. |----|---------------------------|------------------------------|
  713. | 27 |        rationality        |         Rationality          |
  714. |----|---------------------------|------------------------------|
  715. | 28 |         mysticism         |          Mysticism           |
  716. |----|---------------------------|------------------------------|
  717. | 29 |        stripMining        |         Strip Mining         |
  718. |----|---------------------------|------------------------------|
  719. | 30 |       clearCutting        |        Clear Cutting         |
  720. |----|---------------------------|------------------------------|
  721. | 31 |     environmentalism      |       Environmentalism       |
  722. |----|---------------------------|------------------------------|
  723. | 32 |      sustainability       |        Sustainability        |
  724. |----|---------------------------|------------------------------|
  725. | 33 |   fullIndustrialization   |    Full Industrialization    |
  726. |----|---------------------------|------------------------------|
  727. | 34 |       conservation        |         Conservation         |
  728. |----|---------------------------|------------------------------|
  729. | 35 |       openWoodlands       |        Open Woodlands        |
  730. |----|---------------------------|------------------------------|
  731. | 36 |  spaceBasedTerraforming   |   Space-based terraforming   |
  732. |----|---------------------------|------------------------------|
  733. | 37 |        clearSkies         |         Clear skies          |
  734. |----|---------------------------|------------------------------|
  735.  
  736.  
  737.            _ _       _            
  738.           | (_)     (_)            
  739.   _ __ ___| |_  __ _ _  ___  _ __  
  740.  | '__/ _ \ | |/ _` | |/ _ \| '_ \
  741.  | | |  __/ | | (_| | | (_) | | | |
  742.  |_|  \___|_|_|\__, |_|\___/|_| |_|
  743.                 __/ |              
  744.                |___/              
  745.  
  746. game.managers[5].religionUpgrades
  747. |---|-----------------|------------------|
  748. |   |      .name      |      .label      |
  749. |---|-----------------|------------------|
  750. | 0 |   solarchant    |   Solar Chant    |
  751. |---|-----------------|------------------|
  752. | 1 |  scholasticism  |  Scholasticism   |
  753. |---|-----------------|------------------|
  754. | 2 |   goldenSpire   |   Golden Spire   |
  755. |---|-----------------|------------------|
  756. | 3 |    sunAltar     |    Sun Altar     |
  757. |---|-----------------|------------------|
  758. | 4 |  stainedGlass   |  Stained Glass   |
  759. |---|-----------------|------------------|
  760. | 5 | solarRevolution | Solar Revolution |
  761. |---|-----------------|------------------|
  762. | 6 |    basilica     |     Basilica     |
  763. |---|-----------------|------------------|
  764. | 7 |    templars     |     Templar      |
  765. |---|-----------------|------------------|
  766. | 8 |    apocripha    |    Apocrypha     |
  767. |---|-----------------|------------------|
  768. | 9 |  transcendence  |  Transcendence   |
  769. |---|-----------------|------------------|
  770.  
  771. game.managers[5].transcendenceUpgrades
  772. |---|---------------|----------------|
  773. |   |     .name     |     .label     |
  774. |---|---------------|----------------|
  775. | 0 | blackObelisk  | Black Obelisk  |
  776. |---|---------------|----------------|
  777. | 1 |  blackNexus   |  Black Nexus   |
  778. |---|---------------|----------------|
  779. | 2 |   blackCore   |   Black Core   |
  780. |---|---------------|----------------|
  781. | 3 |  singularity  | Event Horizon  |
  782. |---|---------------|----------------|
  783. | 4 | blackLibrary  | Black Library  |
  784. |---|---------------|----------------|
  785. | 5 | blackRadiance | Black Radiance |
  786. |---|---------------|----------------|
  787. | 6 |    blazar     |     Blazar     |
  788. |---|---------------|----------------|
  789. | 7 |   darkNova    |   Dark Nova    |
  790. |---|---------------|----------------|
  791. | 8 | holyGenocide  | Holy Genocide  |
  792. |---|---------------|----------------|
  793.  
  794. game.managers[5].zigguratUpgrades
  795. |---|-------------------|--------------------|
  796. |   |       .name       |       .label       |
  797. |---|-------------------|--------------------|
  798. | 0 |    unicornTomb    |    Unicorn Tomb    |
  799. |---|-------------------|--------------------|
  800. | 1 |    ivoryTower     |    Ivory Tower     |
  801. |---|-------------------|--------------------|
  802. | 2 |   ivoryCitadel    |   Ivory Citadel    |
  803. |---|-------------------|--------------------|
  804. | 3 |     skyPalace     |     Sky Palace     |
  805. |---|-------------------|--------------------|
  806. | 4 |   unicornUtopia   |   Unicorn Utopia   |
  807. |---|-------------------|--------------------|
  808. | 5 |     sunspire      |      Sunspire      |
  809. |---|-------------------|--------------------|
  810. | 6 |      marker       |       Marker       |
  811. |---|-------------------|--------------------|
  812. | 7 | unicornGraveyard  | Unicorn Graveyard  |
  813. |---|-------------------|--------------------|
  814. | 8 | unicornNecropolis | Unicorn Necropolis |
  815. |---|-------------------|--------------------|
  816. | 9 |   blackPyramid    |   Black Pyramid    |
  817. |---|-------------------|--------------------|
  818.  
  819.   ___ _ __   __ _  ___ ___
  820.  / __| '_ \ / _` |/ __/ _ \
  821.  \__ \ |_) | (_| | (_|  __/
  822.  |___/ .__/ \__,_|\___\___|
  823.      | |                  
  824.      |_|                  
  825.  
  826. game.managers[6].programs
  827. |----|------------------------|--------------------------|
  828. |    |         .name          |          .label          |
  829. |----|------------------------|--------------------------|
  830. | 0  |     orbitalLaunch      |      Orbital Launch      |
  831. |----|------------------------|--------------------------|
  832. | 1  |      moonMission       |       Moon Mission       |
  833. |----|------------------------|--------------------------|
  834. | 2  |      duneMission       |       Dune Mission       |
  835. |----|------------------------|--------------------------|
  836. | 3  |     piscineMission     |     Piscine Mission      |
  837. |----|------------------------|--------------------------|
  838. | 4  |     heliosMission      |      Helios Mission      |
  839. |----|------------------------|--------------------------|
  840. | 5  |    terminusMission     |     T-minus Mission      |
  841. |----|------------------------|--------------------------|
  842. | 6  |      kairoMission      |      Kairo Mission       |
  843. |----|------------------------|--------------------------|
  844. | 7  |    rorschachMission    |        Rorschach         |
  845. |----|------------------------|--------------------------|
  846. | 8  |      yarnMission       |       Yarn Mission       |
  847. |----|------------------------|--------------------------|
  848. | 9  |      umbraMission      |      Umbra Mission       |
  849. |----|------------------------|--------------------------|
  850. | 10 |     charonMission      |      Charon Mission      |
  851. |----|------------------------|--------------------------|
  852. | 11 | centaurusSystemMission | Centaurus System Mission |
  853. |----|------------------------|--------------------------|
  854. | 12 |  furthestRingMission   |      Furthest Ring       |
  855. |----|------------------------|--------------------------|
  856.  
  857. game.managers[6].planets
  858. |----|-----------------|------------------|
  859. |    |      .name      |      .label      |
  860. |----|-----------------|------------------|
  861. | 0  |      cath       |       Cath       |
  862. |----|-----------------|------------------|
  863. | 1  |      moon       |       Moon       |
  864. |----|-----------------|------------------|
  865. | 2  |      dune       |       Dune       |
  866. |----|-----------------|------------------|
  867. | 3  |     piscine     |     Piscine      |
  868. |----|-----------------|------------------|
  869. | 4  |     helios      |      Helios      |
  870. |----|-----------------|------------------|
  871. | 5  |    terminus     |     T-Minus      |
  872. |----|-----------------|------------------|
  873. | 6  |      kairo      |      Kairo       |
  874. |----|-----------------|------------------|
  875. | 7  |      yarn       |       Yarn       |
  876. |----|-----------------|------------------|
  877. | 8  |      umbra      |      Umbra       |
  878. |----|-----------------|------------------|
  879. | 9  |     charon      |      Charon      |
  880. |----|-----------------|------------------|
  881. | 10 | centaurusSystem | Centaurus System |
  882. |----|-----------------|------------------|
  883. | 11 |  furthestRing   |  Furthest Ring   |
  884. |----|-----------------|------------------|
  885.  
  886. game.managers[6].planets[].buildings
  887. |----|---------------------|----------------------|-----------------|-------------|
  888. |    |        .name        |        .label        |    ..planets    | ..planets[] |
  889. |----|---------------------|----------------------|-----------------|-------------|
  890. | 0  |    spaceElevator    |    Space Elevator    |      cath       |      0      |
  891. |----|---------------------|----------------------|-----------------|-------------|
  892. | 1  |      sattelite      |      Satellite       |      cath       |      0      |
  893. |----|---------------------|----------------------|-----------------|-------------|
  894. | 2  |    spaceStation     |      Space St.       |      cath       |      0      |
  895. |----|---------------------|----------------------|-----------------|-------------|
  896. | 3  |     moonOutpost     |    Lunar Outpost     |      moon       |      1      |
  897. |----|---------------------|----------------------|-----------------|-------------|
  898. | 4  |      moonBase       |      Moon Base       |      moon       |      1      |
  899. |----|---------------------|----------------------|-----------------|-------------|
  900. | 5  |    planetCracker    |    Planet Cracker    |      dune       |      2      |
  901. |----|---------------------|----------------------|-----------------|-------------|
  902. | 6  |   hydrofracturer    | Hydraulic Fracturer  |      dune       |      2      |
  903. |----|---------------------|----------------------|-----------------|-------------|
  904. | 7  |    spiceRefinery    |    Spice Refinery    |      dune       |      2      |
  905. |----|---------------------|----------------------|-----------------|-------------|
  906. | 8  |   researchVessel    |   Research Vessel    |     piscine     |      3      |
  907. |----|---------------------|----------------------|-----------------|-------------|
  908. | 9  |    orbitalArray     |    Orbital Array     |     piscine     |      3      |
  909. |----|---------------------|----------------------|-----------------|-------------|
  910. | 10 |      sunlifter      |      Sunlifter       |     helios      |      4      |
  911. |----|---------------------|----------------------|-----------------|-------------|
  912. | 11 | containmentChamber  |    Cont. Chamber     |     helios      |      4      |
  913. |----|---------------------|----------------------|-----------------|-------------|
  914. | 12 |      heatsink       |       Heatsink       |     helios      |      4      |
  915. |----|---------------------|----------------------|-----------------|-------------|
  916. | 13 |      sunforge       |       Sunforge       |     helios      |      4      |
  917. |----|---------------------|----------------------|-----------------|-------------|
  918. | 14 |     cryostation     |     Cryostation      |    terminus     |      5      |
  919. |----|---------------------|----------------------|-----------------|-------------|
  920. | 15 |     spaceBeacon     |     Space Beacon     |      kairo      |      6      |
  921. |----|---------------------|----------------------|-----------------|-------------|
  922. | 16 | terraformingStation | Terraforming Station |      yarn       |      7      |
  923. |----|---------------------|----------------------|-----------------|-------------|
  924. | 17 |     hydroponics     |     Hydroponics      |      yarn       |      7      |
  925. |----|---------------------|----------------------|-----------------|-------------|
  926. | 18 |     hrHarvester     |     HR Harvester     |      umbra      |      8      |
  927. |----|---------------------|----------------------|-----------------|-------------|
  928. | 19 |      entangler      |   Entanglement St.   |     charon      |      9      |
  929. |----|---------------------|----------------------|-----------------|-------------|
  930. | 20 |      tectonic       |       Tectonic       | centaurusSystem |     10      |
  931. |----|---------------------|----------------------|-----------------|-------------|
  932. | 21 |     moltenCore      |     Molten Core      | centaurusSystem |     10      |
  933. |----|---------------------|----------------------|-----------------|-------------|
  934.  
  935.   _   _                
  936.  | | (_)              
  937.  | |_ _ _ __ ___   ___
  938.  | __| | '_ ` _ \ / _ \
  939.  | |_| | | | | | |  __/
  940.   \__|_|_| |_| |_|\___|
  941.  
  942. game.managers[7].chronoforgeUpgrades
  943. |---|---------------------|----------------------|
  944. |   |        .name        |        .label        |
  945. |---|---------------------|----------------------|
  946. | 0 |   temporalBattery   |   Temporal Battery   |
  947. |---|---------------------|----------------------|
  948. | 1 |    blastFurnace     |    Chrono Furnace    |
  949. |---|---------------------|----------------------|
  950. | 2 |     timeBoiler      |     Time Boiler      |
  951. |---|---------------------|----------------------|
  952. | 3 | temporalAccelerator | Temporal Accelerator |
  953. |---|---------------------|----------------------|
  954. | 4 |  temporalImpedance  |    Time Impedance    |
  955. |---|---------------------|----------------------|
  956. | 5 | ressourceRetrieval  |  Resource Retrieval  |
  957. |---|---------------------|----------------------|
  958.  
  959. game.managers[7].voidspaceUpgrades
  960. |---|------------------|------------------|
  961. |   |      .name       |      .label      |
  962. |---|------------------|------------------|
  963. | 0 |   cryochambers   |   Cryochamber    |
  964. |---|------------------|------------------|
  965. | 1 | usedCryochambers | Used Cryochamber |
  966. |---|------------------|------------------|
  967. | 2 |    voidHoover    |   Void Hoover    |
  968. |---|------------------|------------------|
  969. | 3 |     voidRift     |    Void Rift     |
  970. |---|------------------|------------------|
  971. | 4 |  chronocontrol   |  Chronocontrol   |
  972. |---|------------------|------------------|
  973. | 5 |  voidResonator   |  Void Resonator  |
  974. |---|------------------|------------------|
  975.  
  976.  
  977.                       _   _            
  978.                      | | (_)          
  979.   _ __  _ __ ___  ___| |_ _  __ _  ___
  980.  | '_ \| '__/ _ \/ __| __| |/ _` |/ _ \
  981.  | |_) | | |  __/\__ \ |_| | (_| |  __/
  982.  | .__/|_|  \___||___/\__|_|\__, |\___|
  983.  | |                         __/ |    
  984.  |_|                        |___/      
  985.  
  986. game.managers[8].perks
  987. |----|---------------------|----------------------|
  988. |    |        .name        |        .label        |
  989. |----|---------------------|----------------------|
  990. | 0  |     engeneering     |    Enlightenment     |
  991. |----|---------------------|----------------------|
  992. | 1  |      codexVox       |      Codex Vox       |
  993. |----|---------------------|----------------------|
  994. | 2  |     codexLogos      |     Codex Logos      |
  995. |----|---------------------|----------------------|
  996. | 3  |     codexAgrum      |     Codex Agrum      |
  997. |----|---------------------|----------------------|
  998. | 4  |     megalomania     |     Megalomania      |
  999. |----|---------------------|----------------------|
  1000. | 5  |     blackCodex      |     Black Codex      |
  1001. |----|---------------------|----------------------|
  1002. | 6  | codexLeviathanianus | Codex Leviathanianus |
  1003. |----|---------------------|----------------------|
  1004. | 7  |     goldenRatio     |     Golden Ratio     |
  1005. |----|---------------------|----------------------|
  1006. | 8  |  divineProportion   |  Divine Proportion   |
  1007. |----|---------------------|----------------------|
  1008. | 9  |   vitruvianFeline   |   Vitruvian Feline   |
  1009. |----|---------------------|----------------------|
  1010. | 10 |     renaissance     |     Renaissance      |
  1011. |----|---------------------|----------------------|
  1012. | 11 |      diplomacy      |      Diplomacy       |
  1013. |----|---------------------|----------------------|
  1014. | 12 |   zebraDiplomacy    |   Zebra Diplomacy    |
  1015. |----|---------------------|----------------------|
  1016. | 13 |    zebraCovenant    |    Zebra Covenant    |
  1017. |----|---------------------|----------------------|
  1018. | 14 |     chronomancy     |     Chronomancy      |
  1019. |----|---------------------|----------------------|
  1020. | 15 |     astromancy      |      Astromancy      |
  1021. |----|---------------------|----------------------|
  1022. | 16 |    unicornmancy     |     Unicornmancy     |
  1023. |----|---------------------|----------------------|
  1024. | 17 |   anachronomancy    |    Anachronomancy    |
  1025. |----|---------------------|----------------------|
  1026. | 18 |      carnivals      |      Carnivals       |
  1027. |----|---------------------|----------------------|
  1028. | 19 |     willenfluff     | Venus of Willenfluff |
  1029. |----|---------------------|----------------------|
  1030. | 20 |       pawgan        |    Pawgan Rituals    |
  1031. |----|---------------------|----------------------|
  1032. | 21 |     numerology      |      Numerology      |
  1033. |----|---------------------|----------------------|
  1034. | 22 |     numeromancy     |     Numeromancy      |
  1035. |----|---------------------|----------------------|
  1036. | 23 |       malkuth       |       Malkuth        |
  1037. |----|---------------------|----------------------|
  1038. | 24 |        yesod        |        Yesod         |
  1039. |----|---------------------|----------------------|
  1040. | 25 |         hod         |         Hod          |
  1041. |----|---------------------|----------------------|
  1042. | 26 |       netzach       |       Netzach        |
  1043. |----|---------------------|----------------------|
  1044. | 27 |       tiferet       |       Tiferet        |
  1045. |----|---------------------|----------------------|
  1046. | 28 |       gevurah       |       Gevurah        |
  1047. |----|---------------------|----------------------|
  1048. | 29 |       chesed        |        Chesed        |
  1049. |----|---------------------|----------------------|
  1050. | 30 |        binah        |        Binah         |
  1051. |----|---------------------|----------------------|
  1052. | 31 |      chokhmah       |       Chokhmah       |
  1053. |----|---------------------|----------------------|
  1054. | 32 |        keter        |        Keter         |
  1055. |----|---------------------|----------------------|
  1056. | 33 |      voidOrder      |  Order of the Void   |
  1057. |----|---------------------|----------------------|
  1058. | 34 |  adjustmentBureau   |  Adjustment Bureau   |
  1059. |----|---------------------|----------------------|
  1060. | 35 |        ascoh        |        ASCOH         |
  1061. |----|---------------------|----------------------|
  1062.        _           _ _                            
  1063.       | |         | | |                          
  1064.    ___| |__   __ _| | | ___ _ __   __ _  ___  ___
  1065.   / __| '_ \ / _` | | |/ _ \ '_ \ / _` |/ _ \/ __|
  1066.  | (__| | | | (_| | | |  __/ | | | (_| |  __/\__ \
  1067.   \___|_| |_|\__,_|_|_|\___|_| |_|\__, |\___||___/
  1068.                                    __/ |          
  1069.                                   |___/          
  1070.  
  1071. game.managers[9].challenges
  1072. |---|----------------|-----------------|
  1073. |   |     .name      |     .label      |
  1074. |---|----------------|-----------------|
  1075. | 0 |    ironWill    |    Iron Will    |
  1076. |---|----------------|-----------------|
  1077. | 1 | winterIsComing | Winter Has Come |
  1078. |---|----------------|-----------------|
  1079. | 2 |    anarchy     |     Anarchy     |
  1080. |---|----------------|-----------------|
  1081. | 3 |     energy     |     Energy      |
  1082. |---|----------------|-----------------|
  1083. | 4 |    atheism     |     Atheism     |
  1084. |---|----------------|-----------------|
  1085. | 5 |   1000Years    |   1000 years    |
  1086. |---|----------------|-----------------|
  1087. | 6 |    blackSky    |    Black Sky    |
  1088. |---|----------------|-----------------|
  1089.       _        _      
  1090.      | |      | |      
  1091.   ___| |_ __ _| |_ ___
  1092.  / __| __/ _` | __/ __|
  1093.  \__ \ || (_| | |_\__ \
  1094.  |___/\__\__,_|\__|___/
  1095.                        
  1096. game.managers[10].stats
  1097. |----|----------------------|---------------------------------|
  1098. |    |        .name         |             .title              |
  1099. |----|----------------------|---------------------------------|
  1100. | 0  |     totalKittens     |          Total Kittens          |
  1101. |----|----------------------|---------------------------------|
  1102. | 1  |     kittensDead      |          Kittens Dead           |
  1103. |----|----------------------|---------------------------------|
  1104. | 2  |      totalYears      |       Total Years Played        |
  1105. |----|----------------------|---------------------------------|
  1106. | 3  |     totalResets      |           Run Number            |
  1107. |----|----------------------|---------------------------------|
  1108. | 4  |     totalParagon     |          Total Paragon          |
  1109. |----|----------------------|---------------------------------|
  1110. | 5  |    eventsObserved    |      Rare Events Observed       |
  1111. |----|----------------------|---------------------------------|
  1112. | 6  |  unicornsSacrificed  |       Unicorns Sacrificed       |
  1113. |----|----------------------|---------------------------------|
  1114. | 7  | buildingsConstructed |      Buildings Constructed      |
  1115. |----|----------------------|---------------------------------|
  1116. | 8  |     totalClicks      |          Total Clicks           |
  1117. |----|----------------------|---------------------------------|
  1118. | 9  |     totalTrades      |        Trades Completed         |
  1119. |----|----------------------|---------------------------------|
  1120. | 10 |     totalCrafts      |         Crafting Times          |
  1121. |----|----------------------|---------------------------------|
  1122. | 11 |    averageKittens    | Avg. Kittens Born (Per Century) |
  1123. |----|----------------------|---------------------------------|
  1124.              _     _
  1125.             (_)   | |
  1126.  __   _____  _  __| |
  1127.  \ \ / / _ \| |/ _` |
  1128.   \ V / (_) | | (_| |
  1129.    \_/ \___/|_|\__,_|
  1130.                      
  1131. game.managers[11].voidUpgrades
  1132. |---|----------------|-----------------|
  1133. |   |     .name      |     .label      |
  1134. |---|----------------|-----------------|
  1135. | 0 | spaceCathedral | Space Cathedral |
  1136. |---|----------------|-----------------|
  1137.  
  1138.   _        _        
  1139.  | |      | |        
  1140.  | |_ __ _| |__  ___
  1141.  | __/ _` | '_ \/ __|
  1142.  | || (_| | |_) \__ \
  1143.   \__\__,_|_.__/|___/
  1144.                      
  1145. game.tabs
  1146. |---|--------------|--------------|
  1147. |   |   .tabName   |    .tabId    |
  1148. |---|--------------|--------------|
  1149. | 0 |   Bonfire    |   Bonfire    |
  1150. |---|--------------|--------------|
  1151. | 1 |     City     |   Village    |
  1152. |---|--------------|--------------|
  1153. | 2 |   Science    |   Science    |
  1154. |---|--------------|--------------|
  1155. | 3 |   Workshop   |   Workshop   |
  1156. |---|--------------|--------------|
  1157. | 4 |    Trade     |    Trade     |
  1158. |---|--------------|--------------|
  1159. | 5 |   Religion   |   Religion   |
  1160. |---|--------------|--------------|
  1161. | 6 |    Space     |    Space     |
  1162. |---|--------------|--------------|
  1163. | 7 |     Time     |     Time     |
  1164. |---|--------------|--------------|
  1165. | 8 | Achievements | Achievements |
  1166. |---|--------------|--------------|
  1167. | 9 |    Stats     |    Stats     |
  1168. |---|--------------|--------------|
  1169. */
  1170.  
  1171. /*
  1172.             _____  _____ _____ _____   ______ _ _ _                      
  1173.      /\    / ____|/ ____|_   _|_   _| |  ____(_) | |                      
  1174.     /  \  | (___ | |      | |   | |   | |__   _| | | __   ____ _ _ __ ___
  1175.    / /\ \  \___ \| |      | |   | |   |  __| | | | | \ \ / / _` | '__/ __|
  1176.   / ____ \ ____) | |____ _| |_ _| |_  | |    | | | |  \ V / (_| | |  \__ \
  1177.  /_/    \_\_____/ \_____|_____|_____| |_|    |_|_|_|   \_/ \__,_|_|  |___/
  1178.  
  1179. var nipBot = {};
  1180.  
  1181. nipBot.managers = [[" "],[".id"]];
  1182.  
  1183. for(var i=0; i<game.managers.length; i++)
  1184. {
  1185.     nipBot.managers[0].push(i);
  1186.     nipBot.managers[1].push(game.managers[i].id);
  1187. }
  1188. //arrayInArrayToAscii(nipBot.managers)
  1189.  
  1190. nipBot.workshop = {};
  1191. nipBot.workshop.crafts = [[" "],[".name"],[".label"]];
  1192.  
  1193. for(var i=0; i<game.managers[0].crafts.length; i++)
  1194. {
  1195.     nipBot.workshop.crafts[0].push(i);
  1196.     nipBot.workshop.crafts[1].push(game.managers[0].crafts[i].name);
  1197.     nipBot.workshop.crafts[2].push(game.managers[0].crafts[i].label);
  1198. }
  1199. //arrayInArrayToAscii(nipBot.workshop.crafts)
  1200.  
  1201. nipBot.workshop.upgrades = [[" "],[".name"],[".label"]];
  1202. for(var i=0; i<game.managers[0].upgrades.length; i++)
  1203. {
  1204.     nipBot.workshop.upgrades[0].push(i);
  1205.     nipBot.workshop.upgrades[1].push(game.managers[0].upgrades[i].name);
  1206.     nipBot.workshop.upgrades[2].push(game.managers[0].upgrades[i].label);
  1207. }
  1208. //arrayInArrayToAscii(nipBot.workshop.upgrades)
  1209.  
  1210. nipBot.diplomacy = {};
  1211. nipBot.diplomacy.races = [[" "],[".name"],[".title"]];
  1212. for(var i=0; i<game.managers[1].races.length; i++)
  1213. {
  1214.     nipBot.diplomacy.races[0].push(i);
  1215.     nipBot.diplomacy.races[1].push(game.managers[1].races[i].name);
  1216.     nipBot.diplomacy.races[2].push(game.managers[1].races[i].title);
  1217. }
  1218. //arrayInArrayToAscii(nipBot.diplomacy.races)
  1219.  
  1220.  
  1221. nipBot.bld = [[" "],[".name"],[".label"],[".stages"]];
  1222. for(var i=0; i<game.managers[2].buildingsData.length; i++)
  1223. {
  1224.  
  1225.     if (typeof game.managers[2].buildingsData[i].stages !== 'undefined')
  1226.     {
  1227.         for(var j=0; j<game.managers[2].buildingsData[i].stages.length; j++)
  1228.         {
  1229.             nipBot.bld[0].push(i);
  1230.             nipBot.bld[1].push(game.managers[2].buildingsData[i].name);
  1231.             nipBot.bld[2].push(game.managers[2].buildingsData[i].stages[j].label);
  1232.             nipBot.bld[3].push(j);
  1233.         }
  1234.     }
  1235.     else
  1236.     {
  1237.         nipBot.bld[0].push(i);
  1238.         nipBot.bld[1].push(game.managers[2].buildingsData[i].name);
  1239.         nipBot.bld[2].push(game.managers[2].buildingsData[i].label);
  1240.         nipBot.bld[3].push(" ");
  1241.     }
  1242. }
  1243. //arrayInArrayToAscii(nipBot.bld)
  1244.  
  1245. nipBot.science = {};
  1246. nipBot.science.techs = [[" "],[".name"],[".label"]];
  1247. for(var i=0; i<game.managers[3].techs.length; i++)
  1248. {
  1249.     nipBot.science.techs[0].push(i);
  1250.     nipBot.science.techs[1].push(game.managers[3].techs[i].name);
  1251.     nipBot.science.techs[2].push(game.managers[3].techs[i].label);
  1252. }
  1253. //arrayInArrayToAscii(nipBot.science.techs)
  1254.  
  1255. nipBot.science.policies = [[" "],[".name"],[".label"]];
  1256. for(var i=0; i<game.managers[3].policies.length; i++)
  1257. {
  1258.     nipBot.science.policies[0].push(i);
  1259.     nipBot.science.policies[1].push(game.managers[3].policies[i].name);
  1260.     nipBot.science.policies[2].push(game.managers[3].policies[i].label);
  1261. }
  1262. //arrayInArrayToAscii(nipBot.science.policies)
  1263.  
  1264. nipBot.religion = {};
  1265. nipBot.religion.religionUpgrades = [[" "],[".name"],[".label"]];
  1266. for(var i=0; i<game.managers[5].religionUpgrades.length; i++)
  1267. {
  1268.     nipBot.religion.religionUpgrades[0].push(i);
  1269.     nipBot.religion.religionUpgrades[1].push(game.managers[5].religionUpgrades[i].name);
  1270.     nipBot.religion.religionUpgrades[2].push(game.managers[5].religionUpgrades[i].label);
  1271. }
  1272. //arrayInArrayToAscii(nipBot.religion.religionUpgrades)
  1273.  
  1274. nipBot.religion.transcendenceUpgrades = [[" "],[".name"],[".label"]];
  1275. for(var i=0; i<game.managers[5].transcendenceUpgrades.length; i++)
  1276. {
  1277.     nipBot.religion.transcendenceUpgrades[0].push(i);
  1278.     nipBot.religion.transcendenceUpgrades[1].push(game.managers[5].transcendenceUpgrades[i].name);
  1279.     nipBot.religion.transcendenceUpgrades[2].push(game.managers[5].transcendenceUpgrades[i].label);
  1280. }
  1281. //arrayInArrayToAscii(nipBot.religion.transcendenceUpgrades)
  1282.  
  1283. nipBot.religion.zigguratUpgrades = [[" "],[".name"],[".label"]];
  1284. for(var i=0; i<game.managers[5].zigguratUpgrades.length; i++)
  1285. {
  1286.     nipBot.religion.zigguratUpgrades[0].push(i);
  1287.     nipBot.religion.zigguratUpgrades[1].push(game.managers[5].zigguratUpgrades[i].name);
  1288.     nipBot.religion.zigguratUpgrades[2].push(game.managers[5].zigguratUpgrades[i].label);
  1289. }
  1290. //arrayInArrayToAscii(nipBot.religion.zigguratUpgrades)
  1291.  
  1292. nipBot.space = {};
  1293. nipBot.space.programs = [[" "],[".name"],[".label"]];
  1294. for(var i=0; i<game.managers[6].programs.length; i++)
  1295. {
  1296.     nipBot.space.programs[0].push(i);
  1297.     nipBot.space.programs[1].push(game.managers[6].programs[i].name);
  1298.     nipBot.space.programs[2].push(game.managers[6].programs[i].label);
  1299. }
  1300. //arrayInArrayToAscii(nipBot.space.programs)
  1301.  
  1302. nipBot.space.planets = [[" "],[".name"],[".label"]];
  1303. for(var i=0; i<game.managers[6].planets.length; i++)
  1304. {
  1305.     nipBot.space.planets[0].push(i);
  1306.     nipBot.space.planets[1].push(game.managers[6].planets[i].name);
  1307.     nipBot.space.planets[2].push(game.managers[6].planets[i].label);
  1308. }
  1309. //arrayInArrayToAscii(nipBot.space.planets)
  1310.  
  1311. nipBot.space.buildings = [[" "],[".name"],[".label"],["..planets"],["..planets[]"]];
  1312. for(var i=0; i<game.managers[6].planets.length; i++)
  1313. {
  1314.     for(var j=0; j<game.managers[6].planets[i].buildings.length; j++)
  1315.     {
  1316.         nipBot.space.buildings[0].push(nipBot.space.buildings[0].length-1);
  1317.         nipBot.space.buildings[1].push(game.managers[6].planets[i].buildings[j].name);
  1318.         nipBot.space.buildings[2].push(game.managers[6].planets[i].buildings[j].label);
  1319.         nipBot.space.buildings[3].push(game.managers[6].planets[i].name);
  1320.         nipBot.space.buildings[4].push(i);
  1321.     }
  1322. }
  1323. //arrayInArrayToAscii(nipBot.space.buildings)
  1324.  
  1325. nipBot.time = {};
  1326. nipBot.time.chronoforgeUpgrades = [[" "],[".name"],[".label"]];
  1327. for(var i=0; i<game.managers[7].chronoforgeUpgrades.length; i++)
  1328. {
  1329.     nipBot.time.chronoforgeUpgrades[0].push(i);
  1330.     nipBot.time.chronoforgeUpgrades[1].push(game.managers[7].chronoforgeUpgrades[i].name);
  1331.     nipBot.time.chronoforgeUpgrades[2].push(game.managers[7].chronoforgeUpgrades[i].label);
  1332. }
  1333. //arrayInArrayToAscii(nipBot.time.chronoforgeUpgrades)
  1334.  
  1335. nipBot.time.voidspaceUpgrades = [[" "],[".name"],[".label"]];
  1336. for(var i=0; i<game.managers[7].voidspaceUpgrades.length; i++)
  1337. {
  1338.     nipBot.time.voidspaceUpgrades[0].push(i);
  1339.     nipBot.time.voidspaceUpgrades[1].push(game.managers[7].voidspaceUpgrades[i].name);
  1340.     nipBot.time.voidspaceUpgrades[2].push(game.managers[7].voidspaceUpgrades[i].label);
  1341. }
  1342. //arrayInArrayToAscii(nipBot.time.voidspaceUpgrades)
  1343.  
  1344. nipBot.prestige = {};
  1345. nipBot.prestige.perks = [[" "],[".name"],[".label"]];
  1346. for(var i=0; i<game.managers[8].perks.length; i++)
  1347. {
  1348.     nipBot.prestige.perks[0].push(i);
  1349.     nipBot.prestige.perks[1].push(game.managers[8].perks[i].name);
  1350.     nipBot.prestige.perks[2].push(game.managers[8].perks[i].label);
  1351. }
  1352. //arrayInArrayToAscii(nipBot.prestige.perks)
  1353.  
  1354. nipBot.challenges = [[" "],[".name"],[".label"]];
  1355. for(var i=0; i<game.managers[9].challenges.length; i++)
  1356. {
  1357.     nipBot.challenges[0].push(i);
  1358.     nipBot.challenges[1].push(game.managers[9].challenges[i].name);
  1359.     nipBot.challenges[2].push(game.managers[9].challenges[i].label);
  1360. }
  1361. //arrayInArrayToAscii(nipBot.challenges)
  1362.  
  1363. nipBot.stats = [[" "],[".name"],[".title"]];
  1364. for(var i=0; i<game.managers[10].stats.length; i++)
  1365. {
  1366.     nipBot.stats[0].push(i);
  1367.     nipBot.stats[1].push(game.managers[10].stats[i].name);
  1368.     nipBot.stats[2].push(game.managers[10].stats[i].title);
  1369. }
  1370. //arrayInArrayToAscii(nipBot.stats)
  1371.  
  1372. nipBot.void = [[" "],[".name"],[".label"]];
  1373. for(var i=0; i<game.managers[11].voidUpgrades.length; i++)
  1374. {
  1375.     nipBot.void[0].push(i);
  1376.     nipBot.void[1].push(game.managers[11].voidUpgrades[i].name);
  1377.     nipBot.void[2].push(game.managers[11].voidUpgrades[i].label);
  1378. }
  1379. //arrayInArrayToAscii(nipBot.void)
  1380.  
  1381. nipBot.tabs = [[" "],[".tabName"],[".tabId"]];
  1382. for(var i=0; i<game.tabs.length; i++)
  1383. {
  1384.     nipBot.tabs[0].push(i);
  1385.     nipBot.tabs[1].push(game.tabs[i].tabName);
  1386.     nipBot.tabs[2].push(game.tabs[i].tabId);
  1387. }
  1388. //arrayInArrayToAscii(nipBot.tabs)
  1389.  
  1390.  
  1391. */
  1392.  
  1393. /*
  1394.             _____  _____ _____ _____   ______                    
  1395.      /\    / ____|/ ____|_   _|_   _| |  ____|                  
  1396.     /  \  | (___ | |      | |   | |   | |__ _   _ _ __   ___ ___
  1397.    / /\ \  \___ \| |      | |   | |   |  __| | | | '_ \ / __/ __|
  1398.   / ____ \ ____) | |____ _| |_ _| |_  | |  | |_| | | | | (__\__ \
  1399.  /_/    \_\_____/ \_____|_____|_____| |_|   \__,_|_| |_|\___|___/
  1400.  
  1401. function arrayInArrayToAscii(LeArray)
  1402. {
  1403.     var LeString = "\n";
  1404.     var LeLine1 = "";
  1405.     var LeLine2 = "";
  1406.     var LeLine3 = "";
  1407.     var LeNbMaxChar = 0;
  1408.     for(var i=0; i<LeArray[0].length; i++)
  1409.     {
  1410.         LeLine1 = "";
  1411.         LeLine2 = "";
  1412.         LeLine3 = "";    
  1413.         for(var j=0; j<LeArray.length; j++)
  1414.         {
  1415.             LeNbMaxChar = getMaxCharNumber(LeArray[j]);
  1416.  
  1417.             LeLine1 += "|-"+printNbChar("-",LeNbMaxChar)+"-";
  1418.             if(j==LeArray.length-1)
  1419.             {
  1420.                 LeLine1 += "|\n";
  1421.             }
  1422.             LeLine2 += "| "+fillWithChar(LeArray[j][i], " ", LeNbMaxChar)+" ";
  1423.             if(j==LeArray.length-1)
  1424.             {
  1425.                 LeLine2 += "|\n";
  1426.             }
  1427.             if(i==LeArray[0].length-1)
  1428.             {
  1429.                 LeLine3 += "|-"+printNbChar("-",LeNbMaxChar)+"-";
  1430.                 if(j==LeArray.length-1)
  1431.                 {
  1432.                     LeLine3 += "|\n";
  1433.                 }
  1434.             }
  1435.         }  
  1436.         LeString += LeLine1+LeLine2+LeLine3;
  1437.     }
  1438.  
  1439.     return LeString;
  1440. }
  1441.  
  1442. function arrayToAscii(LeArray)
  1443. {
  1444.     var LeString = "\n";
  1445.     var LeNbMaxChar = getMaxCharNumber(LeArray);
  1446.     for(var i=0; i<LeArray.length; i++)
  1447.     {
  1448.         LeString += "|-"+printNbChar("-",LeNbMaxChar)+"-|\n";
  1449.         LeString += "| "+fillWithChar(LeArray[i], " ", LeNbMaxChar)+" |\n";
  1450.         if(i==LeArray.length-1)
  1451.         {
  1452.             LeString += "|-"+printNbChar("-",LeNbMaxChar)+"-|\n";
  1453.         }
  1454.     }
  1455.     return LeString;
  1456. }
  1457.  
  1458. function fillWithChar(LeString, LeChar, LeNb)
  1459. {
  1460.     var LeNbMissing = LeNb - String(LeString).length;
  1461.     var LeStringEnd = String(LeString);
  1462.     for(var i=0; i<LeNbMissing; i++)
  1463.     {
  1464.         if(i % 2 == 0)
  1465.         {
  1466.             LeStringEnd += LeChar;
  1467.         }
  1468.         else
  1469.         {
  1470.             LeStringEnd = LeChar+LeStringEnd;
  1471.         }
  1472.     }
  1473.     return LeStringEnd;
  1474. }
  1475.  
  1476. function printNbChar(LeChar, LeNb)
  1477. {
  1478.     var LeString = "";
  1479.     for(var i=0; i<LeNb; i++)
  1480.     {
  1481.         LeString += LeChar;
  1482.     }
  1483.     return LeString;
  1484. }
  1485.  
  1486. function getMaxCharNumber(LeArray)
  1487. {
  1488.     var LeCharMax = 0;
  1489.     for(var i=0; i<LeArray.length; i++)
  1490.     {
  1491.         if(String(LeArray[i]).length > LeCharMax)
  1492.         {
  1493.             LeCharMax = String(LeArray[i]).length;
  1494.         }
  1495.     }
  1496.     return LeCharMax;
  1497.  
  1498. }
  1499.  
  1500. */
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507. /*
  1508.   _   _ _       ____        _  
  1509.  | \ | (_)     |  _ \      | |  
  1510.  |  \| |_ _ __ | |_) | ___ | |_
  1511.  | . ` | | '_ \|  _ < / _ \| __|
  1512.  | |\  | | |_) | |_) | (_) | |_
  1513.  |_| \_|_| .__/|____/ \___/ \__|
  1514.          | |                    
  1515.          |_|                    
  1516. */
  1517.  
  1518. // Global Vars :
  1519.  
  1520. var nipBot = {};
  1521. nipBot.config = {};
  1522.  
  1523. nipBot.config.spinnerFrameCount = 0
  1524. nipBot.config.spinnerFrames = ['⠋','⠛','⠙','⠹','⠸','⢸','⢰','⣰','⣠','⣤','⣄','⣆','⡆','⡇','⠇','⠏']
  1525.  
  1526. nipBot.config.mainLastTickChecked = 0;
  1527. nipBot.config.mainEvryTicks = 5;
  1528.  
  1529. nipBot.config.speed = 1;
  1530. nipBot.config.speedTmp = 1;
  1531. nipBot.config.speedMax = 200;
  1532.  
  1533.  
  1534. if(!!localStorage.getItem("nipBotConfig"))
  1535. {
  1536.     myConfig = JSON.parse(localStorage.getItem("nipBotConfig"));
  1537. }
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544. nipBot.main = function()
  1545. {
  1546.     if(game.ticks >= nipBot.config.mainLastTickChecked + nipBot.config.mainEvryTicks)
  1547.     {
  1548.         nipBot.spinner();
  1549.         nipBot.config.mainLastTickChecked = gamePage.ticks;
  1550.     }
  1551. }
  1552.  
  1553. nipBot.spinner = function()
  1554. {  
  1555.     //var frames = ['⠋','⠛','⠙','⠹','⠸','⢸','⢰','⣰','⣠','⣤','⣄','⣆','⡆','⡇','⠇','⠏'];
  1556.     document.getElementById('mySpinner').innerHTML = ""+nipBot.config.spinnerFrames[nipBot.config.spinnerFrameCount];
  1557.     nipBot.config.spinnerFrameCount++;
  1558.     if(nipBot.config.spinnerFrameCount >= nipBot.config.spinnerFrames.length)
  1559.     {
  1560.         nipBot.config.spinnerFrameCount = 0;
  1561.     }
  1562. }
  1563.  
  1564. nipBot.init = function()
  1565. {
  1566.    
  1567.     // Add the NipBot CSS
  1568.     injectCss();
  1569.     // Add NipBot button for NipBot menu
  1570.     document.getElementById('motd').innerHTML += "&nbsp;<a href='#' class='myAnimStart' id='mySpinner' onclick='toggleMenu();'>?</a>";
  1571.    
  1572.     // Add the NipBot HTML
  1573.     injectHtmlMenu();  
  1574.  
  1575.     // Start the spinner in the NipBot button
  1576.     nipBot.spinner();
  1577.  
  1578.     // Start the animation (Minimise to top left corner)
  1579.     setTimeout(function (){
  1580.         g('mySpinner').className = "myAnimEnd";
  1581.     }, 1000);
  1582.  
  1583.     // Stop the css "zoom" render for better perf
  1584.     setTimeout(function (){
  1585.         g('mySpinner').className = "";
  1586.     }, 5000);
  1587.  
  1588. }
  1589.  
  1590. nipBot.saveConfig = function()
  1591. {
  1592.    
  1593.     nipBot.config.speed                 = g('mySpeed').value;
  1594.     //console.log(myConfig.speed);
  1595.     if(nipBot.config.speed < 1 || nipBot.config.speed > nipBot.config.speedMax)
  1596.     {
  1597.         nipBot.config.speed = 1;
  1598.     }
  1599.    
  1600.     localStorage.setItem("nipBotConfig", JSON.stringify(nipBot.config));
  1601.  
  1602. }
  1603.  
  1604.  
  1605. nipBot.init();
  1606.  
  1607.  
  1608.  
  1609.  
  1610. /*
  1611.   _____       _           _     ______                    
  1612.  |_   _|     (_)         | |   |  ____|                  
  1613.    | |  _ __  _  ___  ___| |_  | |__ _   _ _ __   ___ ___
  1614.    | | | '_ \| |/ _ \/ __| __| |  __| | | | '_ \ / __/ __|
  1615.   _| |_| | | | |  __/ (__| |_  | |  | |_| | | | | (__\__ \
  1616.  |_____|_| |_| |\___|\___|\__| |_|   \__,_|_| |_|\___|___/
  1617.             _/ |                                          
  1618.            |__/                                          
  1619. */
  1620.  
  1621. //game.resetAutomatic();
  1622. if(!game.resetAutomaticNiped){game.resetAutomaticNiped = game.resetAutomatic;}
  1623. game.resetAutomatic = function()
  1624. {
  1625.     //nipBot.main();
  1626.     game.resetAutomaticNiped();
  1627.     //page been reloaded , nothing to do here//
  1628. };
  1629.  
  1630. //game._wipe();
  1631. if(!game._wipeNiped){game._wipeNiped = game._wipe;}
  1632. game._wipe = function()
  1633. {
  1634.     //nipBot.main();
  1635.     game._wipeNiped();
  1636.     //page been reloaded , nothing to do here//
  1637. };
  1638.  
  1639. //game.timer.updateScheduledEvents();
  1640. if(!game.timer.updateScheduledEventsNiped){game.timer.updateScheduledEventsNiped = game.timer.updateScheduledEvents;}
  1641. game.timer.updateScheduledEvents = function()
  1642. {
  1643.     nipBot.main();
  1644.     game.timer.updateScheduledEventsNiped();
  1645. };
  1646.  
  1647. //game.updateModel();
  1648. if(!game.nipUpdateModel){game.nipUpdateModel = game.updateModel;}
  1649. game.updateModel = function()
  1650. {
  1651.     for(var i = 0; i < nipBot.config.speed; i++)
  1652.     {
  1653.         if(i != 0)
  1654.         {
  1655.             game.calendar.tick();
  1656.         }
  1657.         game.nipUpdateModel();
  1658.     }
  1659. }
  1660.  
  1661. //game.toggleScheme();
  1662. if(!game.toggleSchemeNiped){game.toggleSchemeNiped = game.toggleScheme;}
  1663. game.toggleScheme = function(themeId)
  1664. {
  1665.     game.toggleSchemeNiped(themeId);
  1666.     setTimeout(nipBot.updateScheme, 500);
  1667.     //nipBot.main();
  1668. };
  1669.  
  1670. //game.togglePause();
  1671. if(!game.togglePauseNiped){game.togglePauseNiped = game.togglePause;}
  1672. game.togglePause = function()
  1673. {
  1674.     game.togglePauseNiped();
  1675.     //nipBot.main();
  1676. };
  1677.  
  1678.  
  1679.  
  1680.  
  1681. function injectCss()
  1682. {
  1683.     var cssCode = printCss();
  1684.     var styleElement = document.createElement("style");
  1685.     styleElement.type = "text/css";
  1686.     if (styleElement.styleSheet)
  1687.     {
  1688.         styleElement.styleSheet.cssText = cssCode;
  1689.     }
  1690.     else
  1691.     {
  1692.         styleElement.appendChild(document.createTextNode(cssCode));
  1693.     }
  1694.     document.getElementsByTagName("head")[0].appendChild(styleElement);
  1695.    
  1696. }
  1697.  
  1698. function injectHtmlMenu()
  1699. {
  1700.     var myDiv = document.createElement("div");
  1701.     //myDiv.innerHTML = myStrHtml;
  1702.     //myDiv.setAttribute("class", "dialog help");
  1703.     myDiv.setAttribute("style", "display:none;");
  1704.     myDiv.setAttribute("id", "myMenuId");
  1705.     document.body.appendChild(myDiv);
  1706. }
  1707.  
  1708. /*
  1709.   _    _ _______ __  __ _                  _____  _____ _____
  1710.  | |  | |__   __|  \/  | |        ___     / ____|/ ____/ ____|
  1711.  | |__| |  | |  | \  / | |       ( _ )   | |    | (___| (___  
  1712.  |  __  |  | |  | |\/| | |       / _ \/\ | |     \___ \\___ \
  1713.  | |  | |  | |  | |  | | |____  | (_>  < | |____ ____) |___) |
  1714.  |_|  |_|  |_|  |_|  |_|______|  \___/\/  \_____|_____/_____/
  1715.  
  1716. */
  1717. nipBot.style = {};
  1718. nipBot.style.borderW = window.getComputedStyle(g("optionsDiv")).borderBlockEndWidth;
  1719. nipBot.style.borderS = window.getComputedStyle(g("optionsDiv")).borderBlockEndStyle;
  1720. nipBot.style.borderC = window.getComputedStyle(g("optionsDiv")).borderBlockEndColor;
  1721.  
  1722.  
  1723. nipBot.updateScheme = function()
  1724. {
  1725.     //window.getComputedStyle(document.body).color
  1726.     //window.getComputedStyle(document.body).backgroundColor
  1727.     // a
  1728.     //window.getComputedStyle(document.getElementById("options-link")).color
  1729.     //window.getComputedStyle(g("optionsDiv")).color
  1730.     //window.getComputedStyle(g("optionsDiv")).backgroundColor
  1731.     //optionsDiv
  1732.     //
  1733.     //borderBlockEndColor: "rgb(64, 64, 64)"
  1734.     //borderBlockEndStyle: "solid"
  1735.     //borderBlockEndWidth: "1px"
  1736.     //window.getComputedStyle(g("optionsDiv")).borderBlockEndColor
  1737.     //window.getComputedStyle(g("optionsDiv")).borderBlockEndStyle
  1738.     //window.getComputedStyle(g("optionsDiv")).borderBlockEndWidth
  1739.     console.log("nipBot.updateScheme");
  1740.    
  1741.     nipBot.style.borderW = window.getComputedStyle(g("optionsDiv")).borderBlockEndWidth;
  1742.     nipBot.style.borderS = window.getComputedStyle(g("optionsDiv")).borderBlockEndStyle;
  1743.     nipBot.style.borderC = window.getComputedStyle(g("optionsDiv")).borderBlockEndColor;
  1744.    
  1745.     g('myMenuId').style.border              = nipBot.style.borderW+" "+nipBot.style.borderS+" "+nipBot.style.borderC;
  1746.    
  1747.     g('myMenuId').style.color               = window.getComputedStyle(g("optionsDiv")).color;
  1748.     g('myMenuId').style.backgroundColor     = window.getComputedStyle(g("optionsDiv")).backgroundColor;
  1749.    
  1750.     //g("myMenuId").style.left              = g("leftColumn").clientWidth+"px";
  1751.     //g("myMenuId").style.width                 = "calc(100% - "+g("leftColumn").clientWidth+"px)";
  1752.     g("myMenuId").style.left                = "25%";
  1753.     g("myMenuId").style.width               = "75%";   
  1754.    
  1755.    
  1756. };
  1757.  
  1758. function genHtmlMenu()
  1759. {
  1760. //          <a href="#" class="close" onclick="toggleMenu();" style="position: absolute; top: 0px; right: 0px; padding:16px;">close</a>
  1761. //          Déja Vus ! speed : <input id="mySpeed" type="number" min="1" max="`+nipBot.config.speedMax+`" value="`+nipBot.config.speedTmp+`" style="width:5ch">
  1762.  
  1763.     var myStrHtml = ""
  1764.     myStrHtml = `
  1765.     <div id="myMenuCont">
  1766.         <div style="height: 50px;border 1px red;" >
  1767.             <div style="height: 100%;width : 32%;border : 1px;">
  1768.             1
  1769.             </div>
  1770.             <div style="height: 100%;width : 32%;border : 1px;">
  1771.             2
  1772.             </div>
  1773.             <div style="height: 100%;width : 32%;border : 1px;">
  1774.             3
  1775.             </div>
  1776.         </div>
  1777.        
  1778.         <div style="height: calc(100% - 100px);border 1px red;" >
  1779.             hello
  1780.         </div>
  1781.        
  1782.         <div style="height: 50px;border 1px red;" >
  1783.             <div>
  1784.             1
  1785.             </div>
  1786.             <div>
  1787.             2
  1788.             </div>     
  1789.         </div>
  1790.     </div>
  1791.  
  1792.     `;
  1793.    
  1794.    
  1795.     g("myMenuId").innerHTML = myStrHtml;
  1796.     g("myMenuId").style.left = g("leftColumn").clientWidth+"px";
  1797.     g("myMenuId").style.width = "calc(100% - "+g("leftColumn").clientWidth+"px)";
  1798.    
  1799.  
  1800. }
  1801. function printCss()
  1802. {
  1803.     return `
  1804.    
  1805.     #myMenuId
  1806.     {
  1807.         height: 100%;
  1808.         top: 0px;
  1809.         overflow: auto;
  1810.         width: calc(100% - 400px);
  1811.         position: absolute;
  1812.         background: black;
  1813.         left: 400px;
  1814.         padding: 10px;
  1815.         box-sizing: border-box;
  1816.        
  1817.        
  1818.     }
  1819.    
  1820.     #myMenuCont
  1821.     {
  1822.         display: flex;
  1823.         width: 100%;
  1824.         height: 100%;
  1825.         flex-direction: column;
  1826.     }  
  1827.     #mySpinner
  1828.     {
  1829.         text-decoration:none;
  1830.         transition: transform ease 4s, background-color ease 4s;
  1831.         transform-origin: left top;
  1832.     }
  1833.     .myAnimStart
  1834.     {
  1835.         position: fixed;
  1836.         transform: scale(30);
  1837.         background-color:rgba(30,30,30,0.6);
  1838.     }
  1839.     .myAnimEnd
  1840.     {
  1841.         position: fixed;
  1842.         transform: scale(1);
  1843.         background-color:rgba(200,200,200,0);
  1844.  
  1845.     }
  1846.  
  1847.     .close
  1848.     {
  1849.         transition : background-color ease 0.3s;
  1850.     }
  1851.     .close:hover
  1852.     {
  1853.         background-color:rgba(255,0,0,0.3);
  1854.     }
  1855.  
  1856.     .scheme_grassy #myMenuId
  1857.     {
  1858.         padding: 10px;
  1859.         background-color: #C6EBA1; 
  1860.     }
  1861.     #myMenuIdTable
  1862.     {
  1863.         text-align:center;
  1864.         width:100%;
  1865.     }
  1866.     #myMenuIdTable > tbody > tr > td
  1867.     {
  1868.         padding:8px 0 8px 0;
  1869.     }
  1870.  
  1871.     `;
  1872. }
  1873.  
  1874.  
  1875. function toggleMenu()
  1876. {
  1877.    
  1878.     if(g('myMenuId').style.display == "none")
  1879.     {
  1880.         //myConfig.speedTmp = myConfig.speed;
  1881.         //myConfig.speed = 1;
  1882.         //printHtmlMenu();
  1883.         nipBot.updateScheme();
  1884.        
  1885.         nipBot.config.speedTmp = nipBot.config.speed;
  1886.         nipBot.config.speed = 1;
  1887.         genHtmlMenu();
  1888.         g('myMenuId').style.display = "block";
  1889.     }
  1890.     else
  1891.     {
  1892.         //myConfig.speed = myConfig.speedTmp;
  1893.         //mySaveConfig();
  1894.         nipBot.config.speed = nipBot.config.speedTmp;
  1895.         //nipBot.saveConfig();
  1896.         g('myMenuId').style.display = "none";
  1897.     }
  1898. }
  1899.  
  1900. function g(id)
  1901. {
  1902.     return document.getElementById(id);
  1903. }
  1904.  
  1905.  
  1906.  
  1907.  
  1908. /*
  1909. */
  1910.  
  1911.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement