/*
(function(){var d=document,s=d.createElement('script');s.src='https://github.com/kitten-science/kitten-scientists/releases/download/v2.0.0-beta.7/kitten-scientists-2.0.0-beta.7.user.js';d.body.appendChild(s);})();
javascript:(function(){var d=document,s=d.createElement('script');s.src='https://pastebin.com/raw/TSS37BiV?.js';d.body.appendChild(s);})();
_ ____ _ _
(_) | _ \ | | (_)
_ __ _ _ __ | |_) | ___ | |_ _ ___
| '_ \| | '_ \| _ < / _ \| __| | / __|
| | | | | |_) | |_) | (_) | |_ _| \__ \
|_| |_|_| .__/|____/ \___/ \__(_) |___/
| | _/ |
|_| |__/
*/
/*
var enstr = "\n";
gamePage.bld.meta[0].meta.forEach(
function(montruck)
{
enstr += montruck.name+"\t";
if(montruck.label)
{
enstr += montruck.label+"\n";
}
else if(montruck.stage)
{
montruck.stages.forEach(
function(monmachin)
{
enstr += monmachin.label+"\t";
});
enstr += "\n"
}
else
{
enstr += montruck.name+" ?\n";
}
});
enstr
Name Label Stage2
field Catnip Field
pasture Pasture Solar Farm
aqueduct Aqueduct Hydro Plant
hut Hut
logHouse Log House
mansion Mansion
library Library Data Center
academy Academy
observatory Observatory
biolab Bio Lab
barn Barn
warehouse Warehouse
harbor Harbour
mine Mine
quarry Quarry
smelter Smelter
calciner Calciner
steamworks Steamworks
magneto Magneto
lumberMill Lumber Mill
oilWell Oil Well
workshop Workshop
factory Factory
reactor Reactor
accelerator Accelerator
tradepost Tradepost
mint Mint
amphitheatre Amphitheatre Broadcast Tower
chapel Chapel
temple Temple
unicornPasture Unic. Pasture
ziggurat Ziggurat
chronosphere Chronosphere
aiCore AI Core
zebraOutpost Zebra Outpost
zebraWorkshop Zebra Workshop
zebraForge Zebra Forge
-------------------------------------------
var enstr = "";
gamePage.village.jobNames.forEach(
function(montruck){
enstr += montruck+"\n";
}
);
enstr
woodcutter
farmer
scholar
hunter
miner
priest
geologist
engineer
-------------------------------------------
var enstr = "";
for (let [key, value] of Object.entries(gamePage.science.metaCache)) {
//console.log(`${key}: ${value.name}`);
enstr += `${value.name}`+"\n";
}
enstr
paradoxalKnowledge
voidSpace
tachyonTheory
dimensionalPhysics
chronophysics
exogeophysics
hydroponics
terraformation
antimatter
superconductors
advExogeology
thorium
exogeology
orbitalEngineering
oilProcessing
sattelites
particlePhysics
nanotechnology
blackchain
quantumCryptography
ai
robotics
rocketry
nuclearFission
ecology
electronics
combustion
metalurgy
mechanization
genetics
biochemistry
industrialization
biology
drama
metaphysics
electricity
chemistry
acoustics
architecture
archeology
physics
navigation
cryptotheology
astronomy
theology
steel
machinery
philosophy
writing
engineering
currency
construction
math
civil
metal
animal
archery
mining
agriculture
calendar
brewery
-------------------------------------------
var enstr = "";
gamePage.workshop.meta[0].meta.forEach(
function(montruck){
enstr += montruck.name+"\n";
}
);
enstr
mineralHoes
ironHoes
mineralAxes
ironAxes
steelAxe
reinforcedSaw
steelSaw
titaniumSaw
alloySaw
titaniumAxe
alloyAxe
unobtainiumAxe
unobtainiumSaw
stoneBarns
reinforcedBarns
reinforcedWarehouses
titaniumBarns
alloyBarns
concreteBarns
titaniumWarehouses
alloyWarehouses
concreteWarehouses
storageBunkers
energyRifts
stasisChambers
voidEnergy
darkEnergy
chronoforge
tachyonAccelerators
fluxCondensator
lhc
photovoltaic
thinFilm
qdot
solarSatellites
cargoShips
barges
reactorVessel
ironwood
concreteHuts
unobtainiumHuts
eludiumHuts
silos
refrigeration
compositeBow
crossbow
railgun
bolas
huntingArmor
steelArmor
alloyArmor
nanosuits
caravanserai
advancedRefinement
goldOre
geodesy
register
strenghtenBuild
miningDrill
unobtainiumDrill
coalFurnace
deepMining
pyrolysis
electrolyticSmelting
oxidation
steelPlants
automatedPlants
nuclearPlants
rotaryKiln
fluidizedReactors
nuclearSmelters
orbitalGeodesy
printingPress
offsetPress
photolithography
uplink
starlink
cryocomputing
machineLearning
factoryAutomation
advancedAutomation
pneumaticPress
combustionEngine
fuelInjectors
factoryLogistics
factoryOptimization
factoryRobotics
spaceEngineers
aiEngineers
chronoEngineers
spaceManufacturing
celestialMechanics
astrolabe
titaniumMirrors
unobtainiumReflectors
eludiumReflectors
hydroPlantTurbines
amBases
aiBases
amFission
amReactors
amReactorsMK2
voidReactors
relicStation
amDrive
pumpjack
biofuel
unicornSelection
gmo
cadSystems
seti
logistics
augumentation
internet
neuralNetworks
assistance
enrichedUranium
coldFusion
thoriumReactors
enrichedThorium
hubbleTelescope
satnav
satelliteRadio
astrophysicists
mWReactor
eludiumCracker
thoriumEngine
oilRefinery
oilDistillation
factoryProcessing
voidAspiration
distorsion
turnSmoothly
-------------------------------------------
var enstr = "";
gamePage.diplomacy.races.forEach(
function(montruck){
enstr += montruck.name+"\n";
}
);
enstr
lizards
sharks
griffins
nagas
zebras
spiders
dragons
leviathans
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
-------------------------------------------
*/
/*
_____ _ _ _
/ ____| | | | | |
| | __| | ___ | |__ __ _| | __ ____ _ _ __ ___
| | |_ | |/ _ \| '_ \ / _` | | \ \ / / _` | '__/ __|
| |__| | | (_) | |_) | (_| | | \ V / (_| | | \__ \
\_____|_|\___/|_.__/ \__,_|_| \_/ \__,_|_| |___/
*/
//Frame count of spiner
var myCount = 0;
//Trigger mySpinner() evry x ticks
var evryTicks = 5;
//Store last trick that triggered mySpinner
var lastTick = 0;
// Array to store craft list, [i][0] = resToCraftName [i][1] = resTriggerName
var craftList = [
["wood", "catnip"],
["beam", "wood"],
["slab", "minerals"],
["plate", "iron"],
["steel", "coal"],
["manuscript", "culture"],
["kerosene", "oil"],
["thorium", "uranium"],
["alloy", "titanium"],
["eludium", "unobtainium"]
];
var myConfig = {
speed :1,
speedTmp :1,
autoObserveBtn :false,
autoHunt :false,
autoHuntSec :10,
autoPraise :false,
autoPraiseSec :10,
autoTradeZebras :false,
autoTradeZebrasTitaniumPerCent :80,
autoTradeZebrasSpend :20,
autoTradeLeviathans :false,
autoTradeLeviathansSec :10,
autoTradeLeviathansSpend :40,
autoTradeBcoin :false,
autoTradeBcoinBuyMax :1000,
autoTradeBcoinSellMin :1088,
autoCombustTC :false,
autoCombustTCHeat :10,
autoCombustTCNb :1,
autoResetPraise :false,
autoResetPraiseUnit :999999,
autoFurs :false,
autoFursSec :10,
autoCompedium :false,
autoCompediumSec :10,
autoCompediumSpend :2,
autoBlueprint :false,
autoBlueprintSec :10,
autoBlueprintSpend :1,
wood :false,
woodSec :10,
woodSpend :10,
beam :false,
beamSec :10,
beamSpend :10,
slab :false,
slabSec :10,
slabSpend :10,
plate :false,
plateSec :10,
plateSpend :10,
steel :false,
steelSec :10,
steelSpend :10,
manuscript :false,
manuscriptSec :10,
manuscriptSpend :1,
kerosene :false,
keroseneSec :10,
keroseneSpend :10,
thorium :false,
thoriumSec :10,
thoriumSpend :10,
alloy :false,
alloySec :10,
alloySpend :10,
eludium :false,
eludiumSec :10,
eludiumSpend :10
};
if(!!localStorage.getItem("nipBotConfig"))
{
myConfig = JSON.parse(localStorage.getItem("nipBotConfig"));
}
/*
_____ _ _
|_ _| (_) | |
| | _ __ _ ___ ___| |_
| | | '_ \| |/ _ \/ __| __|
_| |_| | | | | __/ (__| |_
|_____|_| |_| |\___|\___|\__|
_/ |
|__/
*/
game.server.refreshNiped = game.server.refresh;
game.server.refreshNipedCount = 0;
game.server.refresh = function (){
game.server.refreshNipedCount++;
if(game.server.refreshNipedCount > (myConfig.speed * 100))
{
game.server.refreshNiped();
game.server.refreshNipedCount = 0;
}
}
game.resetAutomaticNiped = game.resetAutomatic;
game.resetAutomatic = function (){
myTurnOffJobs();
game.resetAutomaticNiped();
}
gamePage.time.gainTemporalFlux = function (timestamp){
if (!this.game.science.get("calendar").researched){
return;
}
var now = Date.now();
var delta = now - ( timestamp || 0 );
if (delta <= 0){
return;
}
// Update temporalFluxMax from values loaded
this.game.updateCaches();
this.game.resPool.update();
var temporalAccelerator = this.getCFU("temporalAccelerator");
var energyRatio = 1 + (temporalAccelerator.val * temporalAccelerator.effects["timeRatio"]);
var temporalFluxGained = Math.round(delta / ( 60 * 1000 ) * (this.game.ticksPerSecond * energyRatio)); // 5 every 60 seconds
temporalFluxGained = Math.round(temporalFluxGained * myConfig.speed)
var temporalFluxAdded = this.game.resPool.addResEvent("temporalFlux", temporalFluxGained);
var bonusSeconds = Math.floor(temporalFluxAdded / this.game.ticksPerSecond);
if (bonusSeconds > 0){
this.game.msg("You have recharged " + bonusSeconds + " second"
+ (bonusSeconds > 1 ? "s" : "") + " of temporal flux");
}
}
gamePage.timer.updateScheduledEvents = function()
{
nipBot();
for (var i in this.scheduledHandlers)
{
this.scheduledHandlers[i]();
}
this.scheduledHandlers = [];
};
document.getElementById('motd').innerHTML += " ?";
setTimeout(function (){
g('mySpinner').className = "myAnimEnd";
}, 1000);
setTimeout(function (){
g('mySpinner').className = "";
}, 5000);
mySpinner();
injectCss();
injectHtmlMenu();
if(!gamePage.nipUpdateModel){gamePage.nipUpdateModel = gamePage.updateModel;}
gamePage.updateModel = function()
{
for(var myi = 0; myi < myConfig.speed; myi++)
{
if(myi != 0)
{
game.calendar.tick();
}
game.nipUpdateModel();
}
}
/*
______ _ _ _____
| ____| | | | |_ _|
| |__ _ _ _ __ ___ ___ | | | | | |
| __| | | | '_ \ / __/ __| | | | | | |
| | | |_| | | | | (__\__ \ | |__| |_| |_
|_| \__,_|_| |_|\___|___/ \____/|_____|
*/
function g(id)
{
return document.getElementById(id);
}
function gr(id)
{
return gamePage.resPool.get(id);
}
function myLast(arr)
{
return arr[arr.length -1];
}
function getRace(race)
{
for(var i=0;i= frames.length)
{
myCount = 0;
}
}
function printCss()
{
var cssCode = "";
cssCode += `
#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: 30px;
background-color: #C6EBA1;
}
#myMenuIdTable
{
text-align:center;
width:100%;
}
#myMenuIdTable > tbody > tr > td
{
padding:8px 0 8px 0;
}
`;
return cssCode;
}
function printHtmlMenu()
{
var myStrHtml = ""
myStrHtml = `
close