Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- NipBotVersion : 0.1
- NipBotDate : 2020.09.14
- KittenGameUrl : bloodrizer.ru/games/kittens/
- KittenGameVersion : 1.4.8.1
- ========================================================
- _ _ _ ____ _ ___ ___ ___ ___
- | \ | (_) | _ \ | | |__ \ / _ \__ \ / _ \
- | \| |_ _ __ | |_) | ___ | |_ ) | | | | ) | | | |
- | . ` | | '_ \| _ < / _ \| __| / /| | | |/ /| | | |
- | |\ | | |_) | |_) | (_) | |_ / /_| |_| / /_| |_| |
- |_| \_|_| .__/|____/ \___/ \__| |____|\___/____|\___/
- | |
- |_|
- ========================================================
- new job
- check evry seconds
- check evry ticks
- conditions
- SI ressource IS =, >, < TO unit of res , % of stock, % of max storage , sec of production
- action
- */
- /*
- __ __
- | \/ |
- | \ / | __ _ _ __ __ _ __ _ ___ _ __ ___
- | |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__/ __|
- | | | | (_| | | | | (_| | (_| | __/ | \__ \
- |_| |_|\__,_|_| |_|\__,_|\__, |\___|_| |___/
- __/ |
- |___/
- game.managers
- |----|--------------|
- | NB | ID |
- |----|--------------|
- | 0 | workshop |
- |----|--------------|
- | 1 | diplomacy |
- |----|--------------|
- | 2 | bld |
- |----|--------------|
- | 3 | science |
- |----|--------------|
- | 4 | achievements |
- |----|--------------|
- | 5 | religion |
- |----|--------------|
- | 6 | space |
- |----|--------------|
- | 7 | time |
- |----|--------------|
- | 8 | prestige |
- |----|--------------|
- | 9 | challenges |
- |----|--------------|
- | 10 | stats |
- |----|--------------|
- | 11 | void |
- |----|--------------|
- _ _
- | | | |
- __ _____ _ __| | _____| |__ ___ _ __
- \ \ /\ / / _ \| '__| |/ / __| '_ \ / _ \| '_ \
- \ V V / (_) | | | <\__ \ | | | (_) | |_) |
- \_/\_/ \___/|_| |_|\_\___/_| |_|\___/| .__/
- | |
- |_|
- game.managers[0].crafts
- |----|------------|---------------|
- | | .name | .label |
- |----|------------|---------------|
- | 0 | wood | Refine Catnip |
- |----|------------|---------------|
- | 1 | beam | Wooden Beam |
- |----|------------|---------------|
- | 2 | slab | Stone Slab |
- |----|------------|---------------|
- | 3 | plate | Metal Plate |
- |----|------------|---------------|
- | 4 | steel | Steel |
- |----|------------|---------------|
- | 5 | concrate | Concrete |
- |----|------------|---------------|
- | 6 | gear | Gear |
- |----|------------|---------------|
- | 7 | alloy | Alloy |
- |----|------------|---------------|
- | 8 | eludium | Eludium |
- |----|------------|---------------|
- | 9 | scaffold | Scaffold |
- |----|------------|---------------|
- | 10 | ship | Trade Ship |
- |----|------------|---------------|
- | 11 | tanker | Tanker |
- |----|------------|---------------|
- | 12 | kerosene | Kerosene |
- |----|------------|---------------|
- | 13 | parchment | Parchment |
- |----|------------|---------------|
- | 14 | manuscript | Manuscript |
- |----|------------|---------------|
- | 15 | compedium | Compendium |
- |----|------------|---------------|
- | 16 | blueprint | Blueprint |
- |----|------------|---------------|
- | 17 | thorium | Thorium |
- |----|------------|---------------|
- | 18 | megalith | Megalith |
- |----|------------|---------------|
- | 19 | bloodstone | Bloodstone |
- |----|------------|---------------|
- game.managers[0].upgrades
- |-----|-----------------------|------------------------|
- | | .name | .label |
- |-----|-----------------------|------------------------|
- | 0 | mineralHoes | Mineral Hoes |
- |-----|-----------------------|------------------------|
- | 1 | ironHoes | Iron Hoes |
- |-----|-----------------------|------------------------|
- | 2 | mineralAxes | Mineral Axe |
- |-----|-----------------------|------------------------|
- | 3 | ironAxes | Iron Axe |
- |-----|-----------------------|------------------------|
- | 4 | steelAxe | Steel Axe |
- |-----|-----------------------|------------------------|
- | 5 | reinforcedSaw | Reinforced Saw |
- |-----|-----------------------|------------------------|
- | 6 | steelSaw | Steel Saw |
- |-----|-----------------------|------------------------|
- | 7 | titaniumSaw | Titanium Saw |
- |-----|-----------------------|------------------------|
- | 8 | alloySaw | Alloy Saw |
- |-----|-----------------------|------------------------|
- | 9 | titaniumAxe | Titanium Axe |
- |-----|-----------------------|------------------------|
- | 10 | alloyAxe | Alloy Axe |
- |-----|-----------------------|------------------------|
- | 11 | unobtainiumAxe | Unobtainium Axe |
- |-----|-----------------------|------------------------|
- | 12 | unobtainiumSaw | Unobtainium Saw |
- |-----|-----------------------|------------------------|
- | 13 | stoneBarns | Expanded Barns |
- |-----|-----------------------|------------------------|
- | 14 | reinforcedBarns | Reinforced Barns |
- |-----|-----------------------|------------------------|
- | 15 | reinforcedWarehouses | Reinforced Warehouses |
- |-----|-----------------------|------------------------|
- | 16 | titaniumBarns | Titanium Barns |
- |-----|-----------------------|------------------------|
- | 17 | alloyBarns | Alloy Barns |
- |-----|-----------------------|------------------------|
- | 18 | concreteBarns | Concrete Barns |
- |-----|-----------------------|------------------------|
- | 19 | titaniumWarehouses | Titanium Warehouses |
- |-----|-----------------------|------------------------|
- | 20 | alloyWarehouses | Alloy Warehouses |
- |-----|-----------------------|------------------------|
- | 21 | concreteWarehouses | Concrete Warehouses |
- |-----|-----------------------|------------------------|
- | 22 | storageBunkers | Storage Bunkers |
- |-----|-----------------------|------------------------|
- | 23 | energyRifts | Energy Rifts |
- |-----|-----------------------|------------------------|
- | 24 | stasisChambers | Stasis Chambers |
- |-----|-----------------------|------------------------|
- | 25 | voidEnergy | Void Energy |
- |-----|-----------------------|------------------------|
- | 26 | darkEnergy | Dark Energy |
- |-----|-----------------------|------------------------|
- | 27 | chronoforge | Chronoforge |
- |-----|-----------------------|------------------------|
- | 28 | tachyonAccelerators | Tachyon Accelerators |
- |-----|-----------------------|------------------------|
- | 29 | fluxCondensator | Flux Condensator |
- |-----|-----------------------|------------------------|
- | 30 | lhc | LHC |
- |-----|-----------------------|------------------------|
- | 31 | photovoltaic | Photovoltaic Cells |
- |-----|-----------------------|------------------------|
- | 32 | thinFilm | Thin Film Cells |
- |-----|-----------------------|------------------------|
- | 33 | qdot | Quantum Dot Cells |
- |-----|-----------------------|------------------------|
- | 34 | solarSatellites | Solar Satellites |
- |-----|-----------------------|------------------------|
- | 35 | cargoShips | Expanded Cargo |
- |-----|-----------------------|------------------------|
- | 36 | barges | Barges |
- |-----|-----------------------|------------------------|
- | 37 | reactorVessel | Reactor Vessel |
- |-----|-----------------------|------------------------|
- | 38 | ironwood | Ironwood Huts |
- |-----|-----------------------|------------------------|
- | 39 | concreteHuts | Concrete Huts |
- |-----|-----------------------|------------------------|
- | 40 | unobtainiumHuts | Unobtainium Huts |
- |-----|-----------------------|------------------------|
- | 41 | eludiumHuts | Eludium Huts |
- |-----|-----------------------|------------------------|
- | 42 | silos | Silos |
- |-----|-----------------------|------------------------|
- | 43 | refrigeration | Refrigeration |
- |-----|-----------------------|------------------------|
- | 44 | compositeBow | Composite Bow |
- |-----|-----------------------|------------------------|
- | 45 | crossbow | Crossbow |
- |-----|-----------------------|------------------------|
- | 46 | railgun | Railgun |
- |-----|-----------------------|------------------------|
- | 47 | bolas | Bolas |
- |-----|-----------------------|------------------------|
- | 48 | huntingArmor | Hunting Armour |
- |-----|-----------------------|------------------------|
- | 49 | steelArmor | Steel Armour |
- |-----|-----------------------|------------------------|
- | 50 | alloyArmor | Alloy Armour |
- |-----|-----------------------|------------------------|
- | 51 | nanosuits | Nanosuits |
- |-----|-----------------------|------------------------|
- | 52 | caravanserai | Caravanserai |
- |-----|-----------------------|------------------------|
- | 53 | advancedRefinement | Catnip Enrichment |
- |-----|-----------------------|------------------------|
- | 54 | goldOre | Gold Ore |
- |-----|-----------------------|------------------------|
- | 55 | geodesy | Geodesy |
- |-----|-----------------------|------------------------|
- | 56 | register | Register |
- |-----|-----------------------|------------------------|
- | 57 | strenghtenBuild | Concrete Pillars |
- |-----|-----------------------|------------------------|
- | 58 | miningDrill | Mining Drill |
- |-----|-----------------------|------------------------|
- | 59 | unobtainiumDrill | Unobtainium Drill |
- |-----|-----------------------|------------------------|
- | 60 | coalFurnace | Coal Furnace |
- |-----|-----------------------|------------------------|
- | 61 | deepMining | Deep Mining |
- |-----|-----------------------|------------------------|
- | 62 | pyrolysis | Pyrolysis |
- |-----|-----------------------|------------------------|
- | 63 | electrolyticSmelting | Electrolytic Smelting |
- |-----|-----------------------|------------------------|
- | 64 | oxidation | Oxidation |
- |-----|-----------------------|------------------------|
- | 65 | steelPlants | Steel Plants |
- |-----|-----------------------|------------------------|
- | 66 | automatedPlants | Automated Plants |
- |-----|-----------------------|------------------------|
- | 67 | nuclearPlants | Nuclear Plants |
- |-----|-----------------------|------------------------|
- | 68 | rotaryKiln | Rotary Kiln |
- |-----|-----------------------|------------------------|
- | 69 | fluidizedReactors | Fluidized Reactors |
- |-----|-----------------------|------------------------|
- | 70 | nuclearSmelters | Nuclear Smelters |
- |-----|-----------------------|------------------------|
- | 71 | orbitalGeodesy | Orbital Geodesy |
- |-----|-----------------------|------------------------|
- | 72 | printingPress | Printing Press |
- |-----|-----------------------|------------------------|
- | 73 | offsetPress | Offset Press |
- |-----|-----------------------|------------------------|
- | 74 | photolithography | Photolithography |
- |-----|-----------------------|------------------------|
- | 75 | uplink | Uplink |
- |-----|-----------------------|------------------------|
- | 76 | starlink | Starlink |
- |-----|-----------------------|------------------------|
- | 77 | cryocomputing | Cryocomputing |
- |-----|-----------------------|------------------------|
- | 78 | machineLearning | Machine Learning |
- |-----|-----------------------|------------------------|
- | 79 | factoryAutomation | Workshop Automation |
- |-----|-----------------------|------------------------|
- | 80 | advancedAutomation | Advanced Automation |
- |-----|-----------------------|------------------------|
- | 81 | pneumaticPress | Pneumatic Press |
- |-----|-----------------------|------------------------|
- | 82 | combustionEngine | High Pressure Engine |
- |-----|-----------------------|------------------------|
- | 83 | fuelInjectors | Fuel Injectors |
- |-----|-----------------------|------------------------|
- | 84 | factoryLogistics | Factory Logistics |
- |-----|-----------------------|------------------------|
- | 85 | factoryOptimization | Factory Optimization |
- |-----|-----------------------|------------------------|
- | 86 | factoryRobotics | Factory Robotics |
- |-----|-----------------------|------------------------|
- | 87 | spaceEngineers | Space Engineers |
- |-----|-----------------------|------------------------|
- | 88 | aiEngineers | AI Engineers |
- |-----|-----------------------|------------------------|
- | 89 | chronoEngineers | Chronoengineers |
- |-----|-----------------------|------------------------|
- | 90 | spaceManufacturing | Space Manufacturing |
- |-----|-----------------------|------------------------|
- | 91 | celestialMechanics | Celestial Mechanics |
- |-----|-----------------------|------------------------|
- | 92 | astrolabe | Astrolabe |
- |-----|-----------------------|------------------------|
- | 93 | titaniumMirrors | Titanium Reflectors |
- |-----|-----------------------|------------------------|
- | 94 | unobtainiumReflectors | Unobtainium Reflectors |
- |-----|-----------------------|------------------------|
- | 95 | eludiumReflectors | Eludium Reflectors |
- |-----|-----------------------|------------------------|
- | 96 | hydroPlantTurbines | Hydro Plant Turbines |
- |-----|-----------------------|------------------------|
- | 97 | amBases | Antimatter Bases |
- |-----|-----------------------|------------------------|
- | 98 | aiBases | AI Bases |
- |-----|-----------------------|------------------------|
- | 99 | amFission | Antimatter Fission |
- |-----|-----------------------|------------------------|
- | 100 | amReactors | Antimatter Reactors |
- |-----|-----------------------|------------------------|
- | 101 | amReactorsMK2 | Advanced AM Reactors |
- |-----|-----------------------|------------------------|
- | 102 | voidReactors | Void Reactors |
- |-----|-----------------------|------------------------|
- | 103 | relicStation | Relic Station |
- |-----|-----------------------|------------------------|
- | 104 | amDrive | Antimatter Drive |
- |-----|-----------------------|------------------------|
- | 105 | pumpjack | Pumpjack |
- |-----|-----------------------|------------------------|
- | 106 | biofuel | Biofuel Processing |
- |-----|-----------------------|------------------------|
- | 107 | unicornSelection | Unicorn Selection |
- |-----|-----------------------|------------------------|
- | 108 | gmo | GM Catnip |
- |-----|-----------------------|------------------------|
- | 109 | cadSystems | CAD System |
- |-----|-----------------------|------------------------|
- | 110 | seti | SETI |
- |-----|-----------------------|------------------------|
- | 111 | logistics | Logistics |
- |-----|-----------------------|------------------------|
- | 112 | augumentation | Augmentations |
- |-----|-----------------------|------------------------|
- | 113 | internet | Telecommunication |
- |-----|-----------------------|------------------------|
- | 114 | neuralNetworks | Neural Networks |
- |-----|-----------------------|------------------------|
- | 115 | assistance | Robotic Assistance |
- |-----|-----------------------|------------------------|
- | 116 | enrichedUranium | Enriched Uranium |
- |-----|-----------------------|------------------------|
- | 117 | coldFusion | Cold Fusion |
- |-----|-----------------------|------------------------|
- | 118 | thoriumReactors | Thorium Reactors |
- |-----|-----------------------|------------------------|
- | 119 | enrichedThorium | Enriched Thorium |
- |-----|-----------------------|------------------------|
- | 120 | hubbleTelescope | Hubble Space Telescope |
- |-----|-----------------------|------------------------|
- | 121 | satnav | Satellite Navigation |
- |-----|-----------------------|------------------------|
- | 122 | satelliteRadio | Satellite Radio |
- |-----|-----------------------|------------------------|
- | 123 | astrophysicists | Astrophysicists |
- |-----|-----------------------|------------------------|
- | 124 | mWReactor | Microwarp Reactors |
- |-----|-----------------------|------------------------|
- | 125 | eludiumCracker | Planet Busters |
- |-----|-----------------------|------------------------|
- | 126 | thoriumEngine | Thorium Drive |
- |-----|-----------------------|------------------------|
- | 127 | oilRefinery | Oil Refinery |
- |-----|-----------------------|------------------------|
- | 128 | oilDistillation | Oil Distillation |
- |-----|-----------------------|------------------------|
- | 129 | factoryProcessing | Factory Processing |
- |-----|-----------------------|------------------------|
- | 130 | voidAspiration | Void Aspiration |
- |-----|-----------------------|------------------------|
- | 131 | distorsion | Distortion |
- |-----|-----------------------|------------------------|
- | 132 | turnSmoothly | Chronosurge |
- |-----|-----------------------|------------------------|
- | 133 | invisibleBlackHand | Invisible Black Hand |
- |-----|-----------------------|------------------------|
- _ _ _
- | (_) | |
- __| |_ _ __ | | ___ _ __ ___ __ _ ___ _ _
- / _` | | '_ \| |/ _ \| '_ ` _ \ / _` |/ __| | | |
- | (_| | | |_) | | (_) | | | | | | (_| | (__| |_| |
- \__,_|_| .__/|_|\___/|_| |_| |_|\__,_|\___|\__, |
- | | __/ |
- |_| |___/
- game.managers[1].races
- |---|------------|------------|
- | | .name | .title |
- |---|------------|------------|
- | 0 | lizards | Lizards |
- |---|------------|------------|
- | 1 | sharks | Sharks |
- |---|------------|------------|
- | 2 | griffins | Griffins |
- |---|------------|------------|
- | 3 | nagas | Nagas |
- |---|------------|------------|
- | 4 | zebras | Zebras |
- |---|------------|------------|
- | 5 | spiders | Spiders |
- |---|------------|------------|
- | 6 | dragons | Dragons |
- |---|------------|------------|
- | 7 | leviathans | Leviathans |
- |---|------------|------------|
- _ _ _
- | | | | | |
- | |__ | | __| |
- | '_ \| |/ _` |
- | |_) | | (_| |
- |_.__/|_|\__,_|
- game.managers[2].buildingsData
- |----|----------------|-----------------|---------|
- | | .name | .label | .stages |
- |----|----------------|-----------------|---------|
- | 0 | field | Catnip Field | |
- |----|----------------|-----------------|---------|
- | 1 | pasture | Pasture | 0 |
- |----|----------------|-----------------|---------|
- | 1 | pasture | Solar Farm | 1 |
- |----|----------------|-----------------|---------|
- | 2 | aqueduct | Aqueduct | 0 |
- |----|----------------|-----------------|---------|
- | 2 | aqueduct | Hydro Plant | 1 |
- |----|----------------|-----------------|---------|
- | 3 | hut | Hut | |
- |----|----------------|-----------------|---------|
- | 4 | logHouse | Log House | |
- |----|----------------|-----------------|---------|
- | 5 | mansion | Mansion | |
- |----|----------------|-----------------|---------|
- | 6 | library | Library | 0 |
- |----|----------------|-----------------|---------|
- | 6 | library | Data Center | 1 |
- |----|----------------|-----------------|---------|
- | 7 | academy | Academy | |
- |----|----------------|-----------------|---------|
- | 8 | observatory | Observatory | |
- |----|----------------|-----------------|---------|
- | 9 | biolab | Bio Lab | |
- |----|----------------|-----------------|---------|
- | 10 | barn | Barn | |
- |----|----------------|-----------------|---------|
- | 11 | warehouse | Warehouse | |
- |----|----------------|-----------------|---------|
- | 12 | harbor | Harbour | |
- |----|----------------|-----------------|---------|
- | 13 | mine | Mine | |
- |----|----------------|-----------------|---------|
- | 14 | quarry | Quarry | |
- |----|----------------|-----------------|---------|
- | 15 | smelter | Smelter | |
- |----|----------------|-----------------|---------|
- | 16 | calciner | Calciner | |
- |----|----------------|-----------------|---------|
- | 17 | steamworks | Steamworks | |
- |----|----------------|-----------------|---------|
- | 18 | magneto | Magneto | |
- |----|----------------|-----------------|---------|
- | 19 | lumberMill | Lumber Mill | |
- |----|----------------|-----------------|---------|
- | 20 | oilWell | Oil Well | |
- |----|----------------|-----------------|---------|
- | 21 | workshop | Workshop | |
- |----|----------------|-----------------|---------|
- | 22 | factory | Factory | |
- |----|----------------|-----------------|---------|
- | 23 | reactor | Reactor | |
- |----|----------------|-----------------|---------|
- | 24 | accelerator | Accelerator | |
- |----|----------------|-----------------|---------|
- | 25 | tradepost | Tradepost | |
- |----|----------------|-----------------|---------|
- | 26 | mint | Mint | |
- |----|----------------|-----------------|---------|
- | 27 | brewery | Brewery | |
- |----|----------------|-----------------|---------|
- | 28 | amphitheatre | Amphitheatre | 0 |
- |----|----------------|-----------------|---------|
- | 28 | amphitheatre | Broadcast Tower | 1 |
- |----|----------------|-----------------|---------|
- | 29 | chapel | Chapel | |
- |----|----------------|-----------------|---------|
- | 30 | temple | Temple | |
- |----|----------------|-----------------|---------|
- | 31 | unicornPasture | Unic. Pasture | |
- |----|----------------|-----------------|---------|
- | 32 | ziggurat | Ziggurat | |
- |----|----------------|-----------------|---------|
- | 33 | chronosphere | Chronosphere | |
- |----|----------------|-----------------|---------|
- | 34 | aiCore | AI Core | |
- |----|----------------|-----------------|---------|
- | 35 | zebraOutpost | Zebra Outpost | |
- |----|----------------|-----------------|---------|
- | 36 | zebraWorkshop | Zebra Workshop | |
- |----|----------------|-----------------|---------|
- | 37 | zebraForge | Zebra Forge | |
- |----|----------------|-----------------|---------|
- _
- (_)
- ___ ___ _ ___ _ __ ___ ___
- / __|/ __| |/ _ \ '_ \ / __/ _ \
- \__ \ (__| | __/ | | | (_| __/
- |___/\___|_|\___|_| |_|\___\___|
- game.managers[3].techs
- |----|---------------------|-------------------------|
- | | .name | .label |
- |----|---------------------|-------------------------|
- | 0 | calendar | Calendar |
- |----|---------------------|-------------------------|
- | 1 | agriculture | Agriculture |
- |----|---------------------|-------------------------|
- | 2 | archery | Archery |
- |----|---------------------|-------------------------|
- | 3 | mining | Mining |
- |----|---------------------|-------------------------|
- | 4 | metal | Metal Working |
- |----|---------------------|-------------------------|
- | 5 | animal | Animal Husbandry |
- |----|---------------------|-------------------------|
- | 6 | brewery | Catnip Processing |
- |----|---------------------|-------------------------|
- | 7 | civil | Civil Service |
- |----|---------------------|-------------------------|
- | 8 | math | Mathematics |
- |----|---------------------|-------------------------|
- | 9 | construction | Construction |
- |----|---------------------|-------------------------|
- | 10 | engineering | Engineering |
- |----|---------------------|-------------------------|
- | 11 | currency | Currency |
- |----|---------------------|-------------------------|
- | 12 | writing | Writing |
- |----|---------------------|-------------------------|
- | 13 | philosophy | Philosophy |
- |----|---------------------|-------------------------|
- | 14 | machinery | Machinery |
- |----|---------------------|-------------------------|
- | 15 | steel | Steel |
- |----|---------------------|-------------------------|
- | 16 | theology | Theology |
- |----|---------------------|-------------------------|
- | 17 | astronomy | Astronomy |
- |----|---------------------|-------------------------|
- | 18 | navigation | Navigation |
- |----|---------------------|-------------------------|
- | 19 | architecture | Architecture |
- |----|---------------------|-------------------------|
- | 20 | physics | Physics |
- |----|---------------------|-------------------------|
- | 21 | metaphysics | Metaphysics |
- |----|---------------------|-------------------------|
- | 22 | chemistry | Chemistry |
- |----|---------------------|-------------------------|
- | 23 | acoustics | Acoustics |
- |----|---------------------|-------------------------|
- | 24 | drama | Drama and Poetry |
- |----|---------------------|-------------------------|
- | 25 | archeology | Geology |
- |----|---------------------|-------------------------|
- | 26 | electricity | Electricity |
- |----|---------------------|-------------------------|
- | 27 | biology | Biology |
- |----|---------------------|-------------------------|
- | 28 | biochemistry | Biochemistry |
- |----|---------------------|-------------------------|
- | 29 | genetics | Genetics |
- |----|---------------------|-------------------------|
- | 30 | industrialization | Industrialization |
- |----|---------------------|-------------------------|
- | 31 | mechanization | Mechanization |
- |----|---------------------|-------------------------|
- | 32 | metalurgy | Metallurgy |
- |----|---------------------|-------------------------|
- | 33 | combustion | Combustion |
- |----|---------------------|-------------------------|
- | 34 | ecology | Ecology |
- |----|---------------------|-------------------------|
- | 35 | electronics | Electronics |
- |----|---------------------|-------------------------|
- | 36 | robotics | Robotics |
- |----|---------------------|-------------------------|
- | 37 | ai | Artificial Intelligence |
- |----|---------------------|-------------------------|
- | 38 | quantumCryptography | Quantum Cryptography |
- |----|---------------------|-------------------------|
- | 39 | blackchain | Blackchain |
- |----|---------------------|-------------------------|
- | 40 | nuclearFission | Nuclear Fission |
- |----|---------------------|-------------------------|
- | 41 | rocketry | Rocketry |
- |----|---------------------|-------------------------|
- | 42 | oilProcessing | Oil Processing |
- |----|---------------------|-------------------------|
- | 43 | sattelites | Satellites |
- |----|---------------------|-------------------------|
- | 44 | orbitalEngineering | Orbital Engineering |
- |----|---------------------|-------------------------|
- | 45 | thorium | Thorium |
- |----|---------------------|-------------------------|
- | 46 | exogeology | Exogeology |
- |----|---------------------|-------------------------|
- | 47 | advExogeology | Advanced Exogeology |
- |----|---------------------|-------------------------|
- | 48 | nanotechnology | Nanotechnology |
- |----|---------------------|-------------------------|
- | 49 | superconductors | Superconductors |
- |----|---------------------|-------------------------|
- | 50 | antimatter | Antimatter |
- |----|---------------------|-------------------------|
- | 51 | terraformation | Terraformation |
- |----|---------------------|-------------------------|
- | 52 | hydroponics | Hydroponics |
- |----|---------------------|-------------------------|
- | 53 | exogeophysics | Exophysics |
- |----|---------------------|-------------------------|
- | 54 | particlePhysics | Particle Physics |
- |----|---------------------|-------------------------|
- | 55 | dimensionalPhysics | Dimensional Physics |
- |----|---------------------|-------------------------|
- | 56 | chronophysics | Chronophysics |
- |----|---------------------|-------------------------|
- | 57 | tachyonTheory | Tachyon Theory |
- |----|---------------------|-------------------------|
- | 58 | cryptotheology | Cryptotheology |
- |----|---------------------|-------------------------|
- | 59 | voidSpace | Void Space |
- |----|---------------------|-------------------------|
- | 60 | paradoxalKnowledge | Paradox Theory |
- |----|---------------------|-------------------------|
- game.managers[3].policies
- |----|---------------------------|------------------------------|
- | | .name | .label |
- |----|---------------------------|------------------------------|
- | 0 | liberty | Liberty |
- |----|---------------------------|------------------------------|
- | 1 | tradition | Tradition |
- |----|---------------------------|------------------------------|
- | 2 | monarchy | Monarchy |
- |----|---------------------------|------------------------------|
- | 3 | authocracy | Autocracy |
- |----|---------------------------|------------------------------|
- | 4 | republic | Republic |
- |----|---------------------------|------------------------------|
- | 5 | socialism | Socialism |
- |----|---------------------------|------------------------------|
- | 6 | liberalism | Liberalism |
- |----|---------------------------|------------------------------|
- | 7 | communism | Communism |
- |----|---------------------------|------------------------------|
- | 8 | fascism | Fascism |
- |----|---------------------------|------------------------------|
- | 9 | technocracy | Technocracy |
- |----|---------------------------|------------------------------|
- | 10 | theocracy | Order of the Stars |
- |----|---------------------------|------------------------------|
- | 11 | expansionism | Cosmological Libertarianism |
- |----|---------------------------|------------------------------|
- | 12 | transkittenism | Transkittenism |
- |----|---------------------------|------------------------------|
- | 13 | necrocracy | Necrocracy |
- |----|---------------------------|------------------------------|
- | 14 | radicalXenophobia | Radical Xenophobia |
- |----|---------------------------|------------------------------|
- | 15 | diplomacy | Diplomacy |
- |----|---------------------------|------------------------------|
- | 16 | isolationism | Isolationism |
- |----|---------------------------|------------------------------|
- | 17 | zebraRelationsAppeasement | Zebra Relations: Appeasement |
- |----|---------------------------|------------------------------|
- | 18 | zebraRelationsBellicosity | Zebra Relations: Bellicosity |
- |----|---------------------------|------------------------------|
- | 19 | knowledgeSharing | Knowledge Sharing |
- |----|---------------------------|------------------------------|
- | 20 | culturalExchange | Cultural Exchange |
- |----|---------------------------|------------------------------|
- | 21 | bigStickPolicy | Big Stick Policy |
- |----|---------------------------|------------------------------|
- | 22 | cityOnAHill | City On A Hill |
- |----|---------------------------|------------------------------|
- | 23 | outerSpaceTreaty | Outer Space Treaty |
- |----|---------------------------|------------------------------|
- | 24 | militarizeSpace | Militarize Space |
- |----|---------------------------|------------------------------|
- | 25 | stoicism | Stoicism |
- |----|---------------------------|------------------------------|
- | 26 | epicurianism | Epicurianism |
- |----|---------------------------|------------------------------|
- | 27 | rationality | Rationality |
- |----|---------------------------|------------------------------|
- | 28 | mysticism | Mysticism |
- |----|---------------------------|------------------------------|
- | 29 | stripMining | Strip Mining |
- |----|---------------------------|------------------------------|
- | 30 | clearCutting | Clear Cutting |
- |----|---------------------------|------------------------------|
- | 31 | environmentalism | Environmentalism |
- |----|---------------------------|------------------------------|
- | 32 | sustainability | Sustainability |
- |----|---------------------------|------------------------------|
- | 33 | fullIndustrialization | Full Industrialization |
- |----|---------------------------|------------------------------|
- | 34 | conservation | Conservation |
- |----|---------------------------|------------------------------|
- | 35 | openWoodlands | Open Woodlands |
- |----|---------------------------|------------------------------|
- | 36 | spaceBasedTerraforming | Space-based terraforming |
- |----|---------------------------|------------------------------|
- | 37 | clearSkies | Clear skies |
- |----|---------------------------|------------------------------|
- _ _ _
- | (_) (_)
- _ __ ___| |_ __ _ _ ___ _ __
- | '__/ _ \ | |/ _` | |/ _ \| '_ \
- | | | __/ | | (_| | | (_) | | | |
- |_| \___|_|_|\__, |_|\___/|_| |_|
- __/ |
- |___/
- game.managers[5].religionUpgrades
- |---|-----------------|------------------|
- | | .name | .label |
- |---|-----------------|------------------|
- | 0 | solarchant | Solar Chant |
- |---|-----------------|------------------|
- | 1 | scholasticism | Scholasticism |
- |---|-----------------|------------------|
- | 2 | goldenSpire | Golden Spire |
- |---|-----------------|------------------|
- | 3 | sunAltar | Sun Altar |
- |---|-----------------|------------------|
- | 4 | stainedGlass | Stained Glass |
- |---|-----------------|------------------|
- | 5 | solarRevolution | Solar Revolution |
- |---|-----------------|------------------|
- | 6 | basilica | Basilica |
- |---|-----------------|------------------|
- | 7 | templars | Templar |
- |---|-----------------|------------------|
- | 8 | apocripha | Apocrypha |
- |---|-----------------|------------------|
- | 9 | transcendence | Transcendence |
- |---|-----------------|------------------|
- game.managers[5].transcendenceUpgrades
- |---|---------------|----------------|
- | | .name | .label |
- |---|---------------|----------------|
- | 0 | blackObelisk | Black Obelisk |
- |---|---------------|----------------|
- | 1 | blackNexus | Black Nexus |
- |---|---------------|----------------|
- | 2 | blackCore | Black Core |
- |---|---------------|----------------|
- | 3 | singularity | Event Horizon |
- |---|---------------|----------------|
- | 4 | blackLibrary | Black Library |
- |---|---------------|----------------|
- | 5 | blackRadiance | Black Radiance |
- |---|---------------|----------------|
- | 6 | blazar | Blazar |
- |---|---------------|----------------|
- | 7 | darkNova | Dark Nova |
- |---|---------------|----------------|
- | 8 | holyGenocide | Holy Genocide |
- |---|---------------|----------------|
- game.managers[5].zigguratUpgrades
- |---|-------------------|--------------------|
- | | .name | .label |
- |---|-------------------|--------------------|
- | 0 | unicornTomb | Unicorn Tomb |
- |---|-------------------|--------------------|
- | 1 | ivoryTower | Ivory Tower |
- |---|-------------------|--------------------|
- | 2 | ivoryCitadel | Ivory Citadel |
- |---|-------------------|--------------------|
- | 3 | skyPalace | Sky Palace |
- |---|-------------------|--------------------|
- | 4 | unicornUtopia | Unicorn Utopia |
- |---|-------------------|--------------------|
- | 5 | sunspire | Sunspire |
- |---|-------------------|--------------------|
- | 6 | marker | Marker |
- |---|-------------------|--------------------|
- | 7 | unicornGraveyard | Unicorn Graveyard |
- |---|-------------------|--------------------|
- | 8 | unicornNecropolis | Unicorn Necropolis |
- |---|-------------------|--------------------|
- | 9 | blackPyramid | Black Pyramid |
- |---|-------------------|--------------------|
- ___ _ __ __ _ ___ ___
- / __| '_ \ / _` |/ __/ _ \
- \__ \ |_) | (_| | (_| __/
- |___/ .__/ \__,_|\___\___|
- | |
- |_|
- game.managers[6].programs
- |----|------------------------|--------------------------|
- | | .name | .label |
- |----|------------------------|--------------------------|
- | 0 | orbitalLaunch | Orbital Launch |
- |----|------------------------|--------------------------|
- | 1 | moonMission | Moon Mission |
- |----|------------------------|--------------------------|
- | 2 | duneMission | Dune Mission |
- |----|------------------------|--------------------------|
- | 3 | piscineMission | Piscine Mission |
- |----|------------------------|--------------------------|
- | 4 | heliosMission | Helios Mission |
- |----|------------------------|--------------------------|
- | 5 | terminusMission | T-minus Mission |
- |----|------------------------|--------------------------|
- | 6 | kairoMission | Kairo Mission |
- |----|------------------------|--------------------------|
- | 7 | rorschachMission | Rorschach |
- |----|------------------------|--------------------------|
- | 8 | yarnMission | Yarn Mission |
- |----|------------------------|--------------------------|
- | 9 | umbraMission | Umbra Mission |
- |----|------------------------|--------------------------|
- | 10 | charonMission | Charon Mission |
- |----|------------------------|--------------------------|
- | 11 | centaurusSystemMission | Centaurus System Mission |
- |----|------------------------|--------------------------|
- | 12 | furthestRingMission | Furthest Ring |
- |----|------------------------|--------------------------|
- game.managers[6].planets
- |----|-----------------|------------------|
- | | .name | .label |
- |----|-----------------|------------------|
- | 0 | cath | Cath |
- |----|-----------------|------------------|
- | 1 | moon | Moon |
- |----|-----------------|------------------|
- | 2 | dune | Dune |
- |----|-----------------|------------------|
- | 3 | piscine | Piscine |
- |----|-----------------|------------------|
- | 4 | helios | Helios |
- |----|-----------------|------------------|
- | 5 | terminus | T-Minus |
- |----|-----------------|------------------|
- | 6 | kairo | Kairo |
- |----|-----------------|------------------|
- | 7 | yarn | Yarn |
- |----|-----------------|------------------|
- | 8 | umbra | Umbra |
- |----|-----------------|------------------|
- | 9 | charon | Charon |
- |----|-----------------|------------------|
- | 10 | centaurusSystem | Centaurus System |
- |----|-----------------|------------------|
- | 11 | furthestRing | Furthest Ring |
- |----|-----------------|------------------|
- game.managers[6].planets[].buildings
- |----|---------------------|----------------------|-----------------|-------------|
- | | .name | .label | ..planets | ..planets[] |
- |----|---------------------|----------------------|-----------------|-------------|
- | 0 | spaceElevator | Space Elevator | cath | 0 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 1 | sattelite | Satellite | cath | 0 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 2 | spaceStation | Space St. | cath | 0 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 3 | moonOutpost | Lunar Outpost | moon | 1 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 4 | moonBase | Moon Base | moon | 1 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 5 | planetCracker | Planet Cracker | dune | 2 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 6 | hydrofracturer | Hydraulic Fracturer | dune | 2 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 7 | spiceRefinery | Spice Refinery | dune | 2 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 8 | researchVessel | Research Vessel | piscine | 3 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 9 | orbitalArray | Orbital Array | piscine | 3 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 10 | sunlifter | Sunlifter | helios | 4 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 11 | containmentChamber | Cont. Chamber | helios | 4 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 12 | heatsink | Heatsink | helios | 4 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 13 | sunforge | Sunforge | helios | 4 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 14 | cryostation | Cryostation | terminus | 5 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 15 | spaceBeacon | Space Beacon | kairo | 6 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 16 | terraformingStation | Terraforming Station | yarn | 7 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 17 | hydroponics | Hydroponics | yarn | 7 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 18 | hrHarvester | HR Harvester | umbra | 8 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 19 | entangler | Entanglement St. | charon | 9 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 20 | tectonic | Tectonic | centaurusSystem | 10 |
- |----|---------------------|----------------------|-----------------|-------------|
- | 21 | moltenCore | Molten Core | centaurusSystem | 10 |
- |----|---------------------|----------------------|-----------------|-------------|
- _ _
- | | (_)
- | |_ _ _ __ ___ ___
- | __| | '_ ` _ \ / _ \
- | |_| | | | | | | __/
- \__|_|_| |_| |_|\___|
- game.managers[7].chronoforgeUpgrades
- |---|---------------------|----------------------|
- | | .name | .label |
- |---|---------------------|----------------------|
- | 0 | temporalBattery | Temporal Battery |
- |---|---------------------|----------------------|
- | 1 | blastFurnace | Chrono Furnace |
- |---|---------------------|----------------------|
- | 2 | timeBoiler | Time Boiler |
- |---|---------------------|----------------------|
- | 3 | temporalAccelerator | Temporal Accelerator |
- |---|---------------------|----------------------|
- | 4 | temporalImpedance | Time Impedance |
- |---|---------------------|----------------------|
- | 5 | ressourceRetrieval | Resource Retrieval |
- |---|---------------------|----------------------|
- game.managers[7].voidspaceUpgrades
- |---|------------------|------------------|
- | | .name | .label |
- |---|------------------|------------------|
- | 0 | cryochambers | Cryochamber |
- |---|------------------|------------------|
- | 1 | usedCryochambers | Used Cryochamber |
- |---|------------------|------------------|
- | 2 | voidHoover | Void Hoover |
- |---|------------------|------------------|
- | 3 | voidRift | Void Rift |
- |---|------------------|------------------|
- | 4 | chronocontrol | Chronocontrol |
- |---|------------------|------------------|
- | 5 | voidResonator | Void Resonator |
- |---|------------------|------------------|
- _ _
- | | (_)
- _ __ _ __ ___ ___| |_ _ __ _ ___
- | '_ \| '__/ _ \/ __| __| |/ _` |/ _ \
- | |_) | | | __/\__ \ |_| | (_| | __/
- | .__/|_| \___||___/\__|_|\__, |\___|
- | | __/ |
- |_| |___/
- game.managers[8].perks
- |----|---------------------|----------------------|
- | | .name | .label |
- |----|---------------------|----------------------|
- | 0 | engeneering | Enlightenment |
- |----|---------------------|----------------------|
- | 1 | codexVox | Codex Vox |
- |----|---------------------|----------------------|
- | 2 | codexLogos | Codex Logos |
- |----|---------------------|----------------------|
- | 3 | codexAgrum | Codex Agrum |
- |----|---------------------|----------------------|
- | 4 | megalomania | Megalomania |
- |----|---------------------|----------------------|
- | 5 | blackCodex | Black Codex |
- |----|---------------------|----------------------|
- | 6 | codexLeviathanianus | Codex Leviathanianus |
- |----|---------------------|----------------------|
- | 7 | goldenRatio | Golden Ratio |
- |----|---------------------|----------------------|
- | 8 | divineProportion | Divine Proportion |
- |----|---------------------|----------------------|
- | 9 | vitruvianFeline | Vitruvian Feline |
- |----|---------------------|----------------------|
- | 10 | renaissance | Renaissance |
- |----|---------------------|----------------------|
- | 11 | diplomacy | Diplomacy |
- |----|---------------------|----------------------|
- | 12 | zebraDiplomacy | Zebra Diplomacy |
- |----|---------------------|----------------------|
- | 13 | zebraCovenant | Zebra Covenant |
- |----|---------------------|----------------------|
- | 14 | chronomancy | Chronomancy |
- |----|---------------------|----------------------|
- | 15 | astromancy | Astromancy |
- |----|---------------------|----------------------|
- | 16 | unicornmancy | Unicornmancy |
- |----|---------------------|----------------------|
- | 17 | anachronomancy | Anachronomancy |
- |----|---------------------|----------------------|
- | 18 | carnivals | Carnivals |
- |----|---------------------|----------------------|
- | 19 | willenfluff | Venus of Willenfluff |
- |----|---------------------|----------------------|
- | 20 | pawgan | Pawgan Rituals |
- |----|---------------------|----------------------|
- | 21 | numerology | Numerology |
- |----|---------------------|----------------------|
- | 22 | numeromancy | Numeromancy |
- |----|---------------------|----------------------|
- | 23 | malkuth | Malkuth |
- |----|---------------------|----------------------|
- | 24 | yesod | Yesod |
- |----|---------------------|----------------------|
- | 25 | hod | Hod |
- |----|---------------------|----------------------|
- | 26 | netzach | Netzach |
- |----|---------------------|----------------------|
- | 27 | tiferet | Tiferet |
- |----|---------------------|----------------------|
- | 28 | gevurah | Gevurah |
- |----|---------------------|----------------------|
- | 29 | chesed | Chesed |
- |----|---------------------|----------------------|
- | 30 | binah | Binah |
- |----|---------------------|----------------------|
- | 31 | chokhmah | Chokhmah |
- |----|---------------------|----------------------|
- | 32 | keter | Keter |
- |----|---------------------|----------------------|
- | 33 | voidOrder | Order of the Void |
- |----|---------------------|----------------------|
- | 34 | adjustmentBureau | Adjustment Bureau |
- |----|---------------------|----------------------|
- | 35 | ascoh | ASCOH |
- |----|---------------------|----------------------|
- _ _ _
- | | | | |
- ___| |__ __ _| | | ___ _ __ __ _ ___ ___
- / __| '_ \ / _` | | |/ _ \ '_ \ / _` |/ _ \/ __|
- | (__| | | | (_| | | | __/ | | | (_| | __/\__ \
- \___|_| |_|\__,_|_|_|\___|_| |_|\__, |\___||___/
- __/ |
- |___/
- game.managers[9].challenges
- |---|----------------|-----------------|
- | | .name | .label |
- |---|----------------|-----------------|
- | 0 | ironWill | Iron Will |
- |---|----------------|-----------------|
- | 1 | winterIsComing | Winter Has Come |
- |---|----------------|-----------------|
- | 2 | anarchy | Anarchy |
- |---|----------------|-----------------|
- | 3 | energy | Energy |
- |---|----------------|-----------------|
- | 4 | atheism | Atheism |
- |---|----------------|-----------------|
- | 5 | 1000Years | 1000 years |
- |---|----------------|-----------------|
- | 6 | blackSky | Black Sky |
- |---|----------------|-----------------|
- _ _
- | | | |
- ___| |_ __ _| |_ ___
- / __| __/ _` | __/ __|
- \__ \ || (_| | |_\__ \
- |___/\__\__,_|\__|___/
- game.managers[10].stats
- |----|----------------------|---------------------------------|
- | | .name | .title |
- |----|----------------------|---------------------------------|
- | 0 | totalKittens | Total Kittens |
- |----|----------------------|---------------------------------|
- | 1 | kittensDead | Kittens Dead |
- |----|----------------------|---------------------------------|
- | 2 | totalYears | Total Years Played |
- |----|----------------------|---------------------------------|
- | 3 | totalResets | Run Number |
- |----|----------------------|---------------------------------|
- | 4 | totalParagon | Total Paragon |
- |----|----------------------|---------------------------------|
- | 5 | eventsObserved | Rare Events Observed |
- |----|----------------------|---------------------------------|
- | 6 | unicornsSacrificed | Unicorns Sacrificed |
- |----|----------------------|---------------------------------|
- | 7 | buildingsConstructed | Buildings Constructed |
- |----|----------------------|---------------------------------|
- | 8 | totalClicks | Total Clicks |
- |----|----------------------|---------------------------------|
- | 9 | totalTrades | Trades Completed |
- |----|----------------------|---------------------------------|
- | 10 | totalCrafts | Crafting Times |
- |----|----------------------|---------------------------------|
- | 11 | averageKittens | Avg. Kittens Born (Per Century) |
- |----|----------------------|---------------------------------|
- _ _
- (_) | |
- __ _____ _ __| |
- \ \ / / _ \| |/ _` |
- \ V / (_) | | (_| |
- \_/ \___/|_|\__,_|
- game.managers[11].voidUpgrades
- |---|----------------|-----------------|
- | | .name | .label |
- |---|----------------|-----------------|
- | 0 | spaceCathedral | Space Cathedral |
- |---|----------------|-----------------|
- _ _
- | | | |
- | |_ __ _| |__ ___
- | __/ _` | '_ \/ __|
- | || (_| | |_) \__ \
- \__\__,_|_.__/|___/
- game.tabs
- |---|--------------|--------------|
- | | .tabName | .tabId |
- |---|--------------|--------------|
- | 0 | Bonfire | Bonfire |
- |---|--------------|--------------|
- | 1 | City | Village |
- |---|--------------|--------------|
- | 2 | Science | Science |
- |---|--------------|--------------|
- | 3 | Workshop | Workshop |
- |---|--------------|--------------|
- | 4 | Trade | Trade |
- |---|--------------|--------------|
- | 5 | Religion | Religion |
- |---|--------------|--------------|
- | 6 | Space | Space |
- |---|--------------|--------------|
- | 7 | Time | Time |
- |---|--------------|--------------|
- | 8 | Achievements | Achievements |
- |---|--------------|--------------|
- | 9 | Stats | Stats |
- |---|--------------|--------------|
- */
- /*
- _____ _____ _____ _____ ______ _ _ _
- /\ / ____|/ ____|_ _|_ _| | ____(_) | |
- / \ | (___ | | | | | | | |__ _| | | __ ____ _ _ __ ___
- / /\ \ \___ \| | | | | | | __| | | | | \ \ / / _` | '__/ __|
- / ____ \ ____) | |____ _| |_ _| |_ | | | | | | \ V / (_| | | \__ \
- /_/ \_\_____/ \_____|_____|_____| |_| |_|_|_| \_/ \__,_|_| |___/
- var nipBot = {};
- nipBot.managers = [[" "],[".id"]];
- for(var i=0; i<game.managers.length; i++)
- {
- nipBot.managers[0].push(i);
- nipBot.managers[1].push(game.managers[i].id);
- }
- //arrayInArrayToAscii(nipBot.managers)
- nipBot.workshop = {};
- nipBot.workshop.crafts = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[0].crafts.length; i++)
- {
- nipBot.workshop.crafts[0].push(i);
- nipBot.workshop.crafts[1].push(game.managers[0].crafts[i].name);
- nipBot.workshop.crafts[2].push(game.managers[0].crafts[i].label);
- }
- //arrayInArrayToAscii(nipBot.workshop.crafts)
- nipBot.workshop.upgrades = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[0].upgrades.length; i++)
- {
- nipBot.workshop.upgrades[0].push(i);
- nipBot.workshop.upgrades[1].push(game.managers[0].upgrades[i].name);
- nipBot.workshop.upgrades[2].push(game.managers[0].upgrades[i].label);
- }
- //arrayInArrayToAscii(nipBot.workshop.upgrades)
- nipBot.diplomacy = {};
- nipBot.diplomacy.races = [[" "],[".name"],[".title"]];
- for(var i=0; i<game.managers[1].races.length; i++)
- {
- nipBot.diplomacy.races[0].push(i);
- nipBot.diplomacy.races[1].push(game.managers[1].races[i].name);
- nipBot.diplomacy.races[2].push(game.managers[1].races[i].title);
- }
- //arrayInArrayToAscii(nipBot.diplomacy.races)
- nipBot.bld = [[" "],[".name"],[".label"],[".stages"]];
- for(var i=0; i<game.managers[2].buildingsData.length; i++)
- {
- if (typeof game.managers[2].buildingsData[i].stages !== 'undefined')
- {
- for(var j=0; j<game.managers[2].buildingsData[i].stages.length; j++)
- {
- nipBot.bld[0].push(i);
- nipBot.bld[1].push(game.managers[2].buildingsData[i].name);
- nipBot.bld[2].push(game.managers[2].buildingsData[i].stages[j].label);
- nipBot.bld[3].push(j);
- }
- }
- else
- {
- nipBot.bld[0].push(i);
- nipBot.bld[1].push(game.managers[2].buildingsData[i].name);
- nipBot.bld[2].push(game.managers[2].buildingsData[i].label);
- nipBot.bld[3].push(" ");
- }
- }
- //arrayInArrayToAscii(nipBot.bld)
- nipBot.science = {};
- nipBot.science.techs = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[3].techs.length; i++)
- {
- nipBot.science.techs[0].push(i);
- nipBot.science.techs[1].push(game.managers[3].techs[i].name);
- nipBot.science.techs[2].push(game.managers[3].techs[i].label);
- }
- //arrayInArrayToAscii(nipBot.science.techs)
- nipBot.science.policies = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[3].policies.length; i++)
- {
- nipBot.science.policies[0].push(i);
- nipBot.science.policies[1].push(game.managers[3].policies[i].name);
- nipBot.science.policies[2].push(game.managers[3].policies[i].label);
- }
- //arrayInArrayToAscii(nipBot.science.policies)
- nipBot.religion = {};
- nipBot.religion.religionUpgrades = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[5].religionUpgrades.length; i++)
- {
- nipBot.religion.religionUpgrades[0].push(i);
- nipBot.religion.religionUpgrades[1].push(game.managers[5].religionUpgrades[i].name);
- nipBot.religion.religionUpgrades[2].push(game.managers[5].religionUpgrades[i].label);
- }
- //arrayInArrayToAscii(nipBot.religion.religionUpgrades)
- nipBot.religion.transcendenceUpgrades = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[5].transcendenceUpgrades.length; i++)
- {
- nipBot.religion.transcendenceUpgrades[0].push(i);
- nipBot.religion.transcendenceUpgrades[1].push(game.managers[5].transcendenceUpgrades[i].name);
- nipBot.religion.transcendenceUpgrades[2].push(game.managers[5].transcendenceUpgrades[i].label);
- }
- //arrayInArrayToAscii(nipBot.religion.transcendenceUpgrades)
- nipBot.religion.zigguratUpgrades = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[5].zigguratUpgrades.length; i++)
- {
- nipBot.religion.zigguratUpgrades[0].push(i);
- nipBot.religion.zigguratUpgrades[1].push(game.managers[5].zigguratUpgrades[i].name);
- nipBot.religion.zigguratUpgrades[2].push(game.managers[5].zigguratUpgrades[i].label);
- }
- //arrayInArrayToAscii(nipBot.religion.zigguratUpgrades)
- nipBot.space = {};
- nipBot.space.programs = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[6].programs.length; i++)
- {
- nipBot.space.programs[0].push(i);
- nipBot.space.programs[1].push(game.managers[6].programs[i].name);
- nipBot.space.programs[2].push(game.managers[6].programs[i].label);
- }
- //arrayInArrayToAscii(nipBot.space.programs)
- nipBot.space.planets = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[6].planets.length; i++)
- {
- nipBot.space.planets[0].push(i);
- nipBot.space.planets[1].push(game.managers[6].planets[i].name);
- nipBot.space.planets[2].push(game.managers[6].planets[i].label);
- }
- //arrayInArrayToAscii(nipBot.space.planets)
- nipBot.space.buildings = [[" "],[".name"],[".label"],["..planets"],["..planets[]"]];
- for(var i=0; i<game.managers[6].planets.length; i++)
- {
- for(var j=0; j<game.managers[6].planets[i].buildings.length; j++)
- {
- nipBot.space.buildings[0].push(nipBot.space.buildings[0].length-1);
- nipBot.space.buildings[1].push(game.managers[6].planets[i].buildings[j].name);
- nipBot.space.buildings[2].push(game.managers[6].planets[i].buildings[j].label);
- nipBot.space.buildings[3].push(game.managers[6].planets[i].name);
- nipBot.space.buildings[4].push(i);
- }
- }
- //arrayInArrayToAscii(nipBot.space.buildings)
- nipBot.time = {};
- nipBot.time.chronoforgeUpgrades = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[7].chronoforgeUpgrades.length; i++)
- {
- nipBot.time.chronoforgeUpgrades[0].push(i);
- nipBot.time.chronoforgeUpgrades[1].push(game.managers[7].chronoforgeUpgrades[i].name);
- nipBot.time.chronoforgeUpgrades[2].push(game.managers[7].chronoforgeUpgrades[i].label);
- }
- //arrayInArrayToAscii(nipBot.time.chronoforgeUpgrades)
- nipBot.time.voidspaceUpgrades = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[7].voidspaceUpgrades.length; i++)
- {
- nipBot.time.voidspaceUpgrades[0].push(i);
- nipBot.time.voidspaceUpgrades[1].push(game.managers[7].voidspaceUpgrades[i].name);
- nipBot.time.voidspaceUpgrades[2].push(game.managers[7].voidspaceUpgrades[i].label);
- }
- //arrayInArrayToAscii(nipBot.time.voidspaceUpgrades)
- nipBot.prestige = {};
- nipBot.prestige.perks = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[8].perks.length; i++)
- {
- nipBot.prestige.perks[0].push(i);
- nipBot.prestige.perks[1].push(game.managers[8].perks[i].name);
- nipBot.prestige.perks[2].push(game.managers[8].perks[i].label);
- }
- //arrayInArrayToAscii(nipBot.prestige.perks)
- nipBot.challenges = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[9].challenges.length; i++)
- {
- nipBot.challenges[0].push(i);
- nipBot.challenges[1].push(game.managers[9].challenges[i].name);
- nipBot.challenges[2].push(game.managers[9].challenges[i].label);
- }
- //arrayInArrayToAscii(nipBot.challenges)
- nipBot.stats = [[" "],[".name"],[".title"]];
- for(var i=0; i<game.managers[10].stats.length; i++)
- {
- nipBot.stats[0].push(i);
- nipBot.stats[1].push(game.managers[10].stats[i].name);
- nipBot.stats[2].push(game.managers[10].stats[i].title);
- }
- //arrayInArrayToAscii(nipBot.stats)
- nipBot.void = [[" "],[".name"],[".label"]];
- for(var i=0; i<game.managers[11].voidUpgrades.length; i++)
- {
- nipBot.void[0].push(i);
- nipBot.void[1].push(game.managers[11].voidUpgrades[i].name);
- nipBot.void[2].push(game.managers[11].voidUpgrades[i].label);
- }
- //arrayInArrayToAscii(nipBot.void)
- nipBot.tabs = [[" "],[".tabName"],[".tabId"]];
- for(var i=0; i<game.tabs.length; i++)
- {
- nipBot.tabs[0].push(i);
- nipBot.tabs[1].push(game.tabs[i].tabName);
- nipBot.tabs[2].push(game.tabs[i].tabId);
- }
- //arrayInArrayToAscii(nipBot.tabs)
- */
- /*
- _____ _____ _____ _____ ______
- /\ / ____|/ ____|_ _|_ _| | ____|
- / \ | (___ | | | | | | | |__ _ _ _ __ ___ ___
- / /\ \ \___ \| | | | | | | __| | | | '_ \ / __/ __|
- / ____ \ ____) | |____ _| |_ _| |_ | | | |_| | | | | (__\__ \
- /_/ \_\_____/ \_____|_____|_____| |_| \__,_|_| |_|\___|___/
- function arrayInArrayToAscii(LeArray)
- {
- var LeString = "\n";
- var LeLine1 = "";
- var LeLine2 = "";
- var LeLine3 = "";
- var LeNbMaxChar = 0;
- for(var i=0; i<LeArray[0].length; i++)
- {
- LeLine1 = "";
- LeLine2 = "";
- LeLine3 = "";
- for(var j=0; j<LeArray.length; j++)
- {
- LeNbMaxChar = getMaxCharNumber(LeArray[j]);
- LeLine1 += "|-"+printNbChar("-",LeNbMaxChar)+"-";
- if(j==LeArray.length-1)
- {
- LeLine1 += "|\n";
- }
- LeLine2 += "| "+fillWithChar(LeArray[j][i], " ", LeNbMaxChar)+" ";
- if(j==LeArray.length-1)
- {
- LeLine2 += "|\n";
- }
- if(i==LeArray[0].length-1)
- {
- LeLine3 += "|-"+printNbChar("-",LeNbMaxChar)+"-";
- if(j==LeArray.length-1)
- {
- LeLine3 += "|\n";
- }
- }
- }
- LeString += LeLine1+LeLine2+LeLine3;
- }
- return LeString;
- }
- function arrayToAscii(LeArray)
- {
- var LeString = "\n";
- var LeNbMaxChar = getMaxCharNumber(LeArray);
- for(var i=0; i<LeArray.length; i++)
- {
- LeString += "|-"+printNbChar("-",LeNbMaxChar)+"-|\n";
- LeString += "| "+fillWithChar(LeArray[i], " ", LeNbMaxChar)+" |\n";
- if(i==LeArray.length-1)
- {
- LeString += "|-"+printNbChar("-",LeNbMaxChar)+"-|\n";
- }
- }
- return LeString;
- }
- function fillWithChar(LeString, LeChar, LeNb)
- {
- var LeNbMissing = LeNb - String(LeString).length;
- var LeStringEnd = String(LeString);
- for(var i=0; i<LeNbMissing; i++)
- {
- if(i % 2 == 0)
- {
- LeStringEnd += LeChar;
- }
- else
- {
- LeStringEnd = LeChar+LeStringEnd;
- }
- }
- return LeStringEnd;
- }
- function printNbChar(LeChar, LeNb)
- {
- var LeString = "";
- for(var i=0; i<LeNb; i++)
- {
- LeString += LeChar;
- }
- return LeString;
- }
- function getMaxCharNumber(LeArray)
- {
- var LeCharMax = 0;
- for(var i=0; i<LeArray.length; i++)
- {
- if(String(LeArray[i]).length > LeCharMax)
- {
- LeCharMax = String(LeArray[i]).length;
- }
- }
- return LeCharMax;
- }
- */
- /*
- _ _ _ ____ _
- | \ | (_) | _ \ | |
- | \| |_ _ __ | |_) | ___ | |_
- | . ` | | '_ \| _ < / _ \| __|
- | |\ | | |_) | |_) | (_) | |_
- |_| \_|_| .__/|____/ \___/ \__|
- | |
- |_|
- */
- // Global Vars :
- var nipBot = {};
- nipBot.config = {};
- nipBot.config.spinnerFrameCount = 0
- nipBot.config.spinnerFrames = ['⠋','⠛','⠙','⠹','⠸','⢸','⢰','⣰','⣠','⣤','⣄','⣆','⡆','⡇','⠇','⠏']
- nipBot.config.mainLastTickChecked = 0;
- nipBot.config.mainEvryTicks = 5;
- nipBot.config.speed = 1;
- nipBot.config.speedTmp = 1;
- nipBot.config.speedMax = 200;
- if(!!localStorage.getItem("nipBotConfig"))
- {
- myConfig = JSON.parse(localStorage.getItem("nipBotConfig"));
- }
- nipBot.main = function()
- {
- if(game.ticks >= nipBot.config.mainLastTickChecked + nipBot.config.mainEvryTicks)
- {
- nipBot.spinner();
- nipBot.config.mainLastTickChecked = gamePage.ticks;
- }
- }
- nipBot.spinner = function()
- {
- //var frames = ['⠋','⠛','⠙','⠹','⠸','⢸','⢰','⣰','⣠','⣤','⣄','⣆','⡆','⡇','⠇','⠏'];
- document.getElementById('mySpinner').innerHTML = ""+nipBot.config.spinnerFrames[nipBot.config.spinnerFrameCount];
- nipBot.config.spinnerFrameCount++;
- if(nipBot.config.spinnerFrameCount >= nipBot.config.spinnerFrames.length)
- {
- nipBot.config.spinnerFrameCount = 0;
- }
- }
- nipBot.init = function()
- {
- // Add the NipBot CSS
- injectCss();
- // Add NipBot button for NipBot menu
- document.getElementById('motd').innerHTML += " <a href='#' class='myAnimStart' id='mySpinner' onclick='toggleMenu();'>?</a>";
- // Add the NipBot HTML
- injectHtmlMenu();
- // Start the spinner in the NipBot button
- nipBot.spinner();
- // Start the animation (Minimise to top left corner)
- setTimeout(function (){
- g('mySpinner').className = "myAnimEnd";
- }, 1000);
- // Stop the css "zoom" render for better perf
- setTimeout(function (){
- g('mySpinner').className = "";
- }, 5000);
- }
- nipBot.saveConfig = function()
- {
- nipBot.config.speed = g('mySpeed').value;
- //console.log(myConfig.speed);
- if(nipBot.config.speed < 1 || nipBot.config.speed > nipBot.config.speedMax)
- {
- nipBot.config.speed = 1;
- }
- localStorage.setItem("nipBotConfig", JSON.stringify(nipBot.config));
- }
- nipBot.init();
- /*
- _____ _ _ ______
- |_ _| (_) | | | ____|
- | | _ __ _ ___ ___| |_ | |__ _ _ _ __ ___ ___
- | | | '_ \| |/ _ \/ __| __| | __| | | | '_ \ / __/ __|
- _| |_| | | | | __/ (__| |_ | | | |_| | | | | (__\__ \
- |_____|_| |_| |\___|\___|\__| |_| \__,_|_| |_|\___|___/
- _/ |
- |__/
- */
- //game.resetAutomatic();
- if(!game.resetAutomaticNiped){game.resetAutomaticNiped = game.resetAutomatic;}
- game.resetAutomatic = function()
- {
- //nipBot.main();
- game.resetAutomaticNiped();
- //page been reloaded , nothing to do here//
- };
- //game._wipe();
- if(!game._wipeNiped){game._wipeNiped = game._wipe;}
- game._wipe = function()
- {
- //nipBot.main();
- game._wipeNiped();
- //page been reloaded , nothing to do here//
- };
- //game.timer.updateScheduledEvents();
- if(!game.timer.updateScheduledEventsNiped){game.timer.updateScheduledEventsNiped = game.timer.updateScheduledEvents;}
- game.timer.updateScheduledEvents = function()
- {
- nipBot.main();
- game.timer.updateScheduledEventsNiped();
- };
- //game.updateModel();
- if(!game.nipUpdateModel){game.nipUpdateModel = game.updateModel;}
- game.updateModel = function()
- {
- for(var i = 0; i < nipBot.config.speed; i++)
- {
- if(i != 0)
- {
- game.calendar.tick();
- }
- game.nipUpdateModel();
- }
- }
- //game.toggleScheme();
- if(!game.toggleSchemeNiped){game.toggleSchemeNiped = game.toggleScheme;}
- game.toggleScheme = function(themeId)
- {
- game.toggleSchemeNiped(themeId);
- setTimeout(nipBot.updateScheme, 500);
- //nipBot.main();
- };
- //game.togglePause();
- if(!game.togglePauseNiped){game.togglePauseNiped = game.togglePause;}
- game.togglePause = function()
- {
- game.togglePauseNiped();
- //nipBot.main();
- };
- function injectCss()
- {
- var cssCode = printCss();
- var styleElement = document.createElement("style");
- styleElement.type = "text/css";
- if (styleElement.styleSheet)
- {
- styleElement.styleSheet.cssText = cssCode;
- }
- else
- {
- styleElement.appendChild(document.createTextNode(cssCode));
- }
- document.getElementsByTagName("head")[0].appendChild(styleElement);
- }
- function injectHtmlMenu()
- {
- var myDiv = document.createElement("div");
- //myDiv.innerHTML = myStrHtml;
- //myDiv.setAttribute("class", "dialog help");
- myDiv.setAttribute("style", "display:none;");
- myDiv.setAttribute("id", "myMenuId");
- document.body.appendChild(myDiv);
- }
- /*
- _ _ _______ __ __ _ _____ _____ _____
- | | | |__ __| \/ | | ___ / ____|/ ____/ ____|
- | |__| | | | | \ / | | ( _ ) | | | (___| (___
- | __ | | | | |\/| | | / _ \/\ | | \___ \\___ \
- | | | | | | | | | | |____ | (_> < | |____ ____) |___) |
- |_| |_| |_| |_| |_|______| \___/\/ \_____|_____/_____/
- */
- nipBot.style = {};
- nipBot.style.borderW = window.getComputedStyle(g("optionsDiv")).borderBlockEndWidth;
- nipBot.style.borderS = window.getComputedStyle(g("optionsDiv")).borderBlockEndStyle;
- nipBot.style.borderC = window.getComputedStyle(g("optionsDiv")).borderBlockEndColor;
- nipBot.updateScheme = function()
- {
- //window.getComputedStyle(document.body).color
- //window.getComputedStyle(document.body).backgroundColor
- // a
- //window.getComputedStyle(document.getElementById("options-link")).color
- //window.getComputedStyle(g("optionsDiv")).color
- //window.getComputedStyle(g("optionsDiv")).backgroundColor
- //optionsDiv
- //
- //borderBlockEndColor: "rgb(64, 64, 64)"
- //borderBlockEndStyle: "solid"
- //borderBlockEndWidth: "1px"
- //window.getComputedStyle(g("optionsDiv")).borderBlockEndColor
- //window.getComputedStyle(g("optionsDiv")).borderBlockEndStyle
- //window.getComputedStyle(g("optionsDiv")).borderBlockEndWidth
- console.log("nipBot.updateScheme");
- nipBot.style.borderW = window.getComputedStyle(g("optionsDiv")).borderBlockEndWidth;
- nipBot.style.borderS = window.getComputedStyle(g("optionsDiv")).borderBlockEndStyle;
- nipBot.style.borderC = window.getComputedStyle(g("optionsDiv")).borderBlockEndColor;
- g('myMenuId').style.border = nipBot.style.borderW+" "+nipBot.style.borderS+" "+nipBot.style.borderC;
- g('myMenuId').style.color = window.getComputedStyle(g("optionsDiv")).color;
- g('myMenuId').style.backgroundColor = window.getComputedStyle(g("optionsDiv")).backgroundColor;
- //g("myMenuId").style.left = g("leftColumn").clientWidth+"px";
- //g("myMenuId").style.width = "calc(100% - "+g("leftColumn").clientWidth+"px)";
- g("myMenuId").style.left = "25%";
- g("myMenuId").style.width = "75%";
- };
- function genHtmlMenu()
- {
- // <a href="#" class="close" onclick="toggleMenu();" style="position: absolute; top: 0px; right: 0px; padding:16px;">close</a>
- // Déja Vus ! speed : <input id="mySpeed" type="number" min="1" max="`+nipBot.config.speedMax+`" value="`+nipBot.config.speedTmp+`" style="width:5ch">
- var myStrHtml = ""
- myStrHtml = `
- <div id="myMenuCont">
- <div style="height: 50px;border 1px red;" >
- <div style="height: 100%;width : 32%;border : 1px;">
- 1
- </div>
- <div style="height: 100%;width : 32%;border : 1px;">
- 2
- </div>
- <div style="height: 100%;width : 32%;border : 1px;">
- 3
- </div>
- </div>
- <div style="height: calc(100% - 100px);border 1px red;" >
- hello
- </div>
- <div style="height: 50px;border 1px red;" >
- <div>
- 1
- </div>
- <div>
- 2
- </div>
- </div>
- </div>
- `;
- g("myMenuId").innerHTML = myStrHtml;
- g("myMenuId").style.left = g("leftColumn").clientWidth+"px";
- g("myMenuId").style.width = "calc(100% - "+g("leftColumn").clientWidth+"px)";
- }
- function printCss()
- {
- return `
- #myMenuId
- {
- height: 100%;
- top: 0px;
- overflow: auto;
- width: calc(100% - 400px);
- position: absolute;
- background: black;
- left: 400px;
- padding: 10px;
- box-sizing: border-box;
- }
- #myMenuCont
- {
- display: flex;
- width: 100%;
- height: 100%;
- flex-direction: column;
- }
- #mySpinner
- {
- text-decoration:none;
- transition: transform ease 4s, background-color ease 4s;
- transform-origin: left top;
- }
- .myAnimStart
- {
- position: fixed;
- transform: scale(30);
- background-color:rgba(30,30,30,0.6);
- }
- .myAnimEnd
- {
- position: fixed;
- transform: scale(1);
- background-color:rgba(200,200,200,0);
- }
- .close
- {
- transition : background-color ease 0.3s;
- }
- .close:hover
- {
- background-color:rgba(255,0,0,0.3);
- }
- .scheme_grassy #myMenuId
- {
- padding: 10px;
- background-color: #C6EBA1;
- }
- #myMenuIdTable
- {
- text-align:center;
- width:100%;
- }
- #myMenuIdTable > tbody > tr > td
- {
- padding:8px 0 8px 0;
- }
- `;
- }
- function toggleMenu()
- {
- if(g('myMenuId').style.display == "none")
- {
- //myConfig.speedTmp = myConfig.speed;
- //myConfig.speed = 1;
- //printHtmlMenu();
- nipBot.updateScheme();
- nipBot.config.speedTmp = nipBot.config.speed;
- nipBot.config.speed = 1;
- genHtmlMenu();
- g('myMenuId').style.display = "block";
- }
- else
- {
- //myConfig.speed = myConfig.speedTmp;
- //mySaveConfig();
- nipBot.config.speed = nipBot.config.speedTmp;
- //nipBot.saveConfig();
- g('myMenuId').style.display = "none";
- }
- }
- function g(id)
- {
- return document.getElementById(id);
- }
- /*
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement