Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
- <meta charset = "utf-8">
- </head>
- <body>
- <title>God Clicker</title>
- <br>
- <br>
- <button onmouseup = "Prestige();">Prestige</button>
- <button style="position:absolute; top: 50%; left: 50%" onmouseup = "god_points();">One god point</button>
- <p id = "god_point_count" style = "text-align:right">God Points: 0</p>
- <button onmouseup = "Dryads();"><p style = "border:5px" id = "dryads">Dryads</p></button>
- <p id="dryads_count" style = "text-align:right">Dryads: 0</p>
- <br>
- <button onmouseup = "Naiads();"><p style = "border:5px">Naiads</p></button>
- <p id="naiads_count" style = "text-align:right">Naiads: 0</p>
- <br>
- <button onmouseup = "Nokks();"><p style = "border:5px">Nøkks</p></button>
- <p id = "nokks_count" style = "text-align:right">Nøkks: 0</p>
- <br>
- <button onmouseup = "Satyrs();"><p style = "border:5px">Satyrs</p></button>
- <p id = "satyrs_count" style = "text-align:right">Satyrs: 0</p>
- <br>
- <button onmouseup = "Einherjar();"><p style = "border:5px">Einherjar</p></button>
- <p id = "einherjar_count" style = "text-align:right">Einherjar: 0</p>
- <br>
- <button onmouseup = "Valkyries();"><p style = "border:5px">Valkyries</p></button>
- <p id = "valkyries_count" style = "text-align:right">Valkyries: 0</p>
- <br>
- <button onmouseup = "Thanes();"><p style = "border:5px">Thanes</p></button>
- <p id = "thanes_count" style = "text-align:right">Thanes: 0</p>
- <br>
- <button onmouseup = "Hypnos();"><p style = "border:5px">Hypnos</p></button>
- <p id = "hypnos_count" style = "text-align:right">Hypnos: 0</p>
- <br>
- <button onmouseup = "Forseti();"><p style = "border:5px">Forseti</p></button>
- <p id = "forseti_count" style = "text-align:right">Forseti: 0</p>
- <br>
- <button onmouseup = "Snotra();"><p style = "border:5px">Snotra</p></button>
- <p id = "snotra_count" style = "text-align:right">Snotras: 0</p>
- <br>
- <button onmouseup = "Surt();"><p style = "border:5px">Surt</p></button>
- <p id = "surt_count" style = "text-align:right">Surts: 0</p>
- <br>
- <button onmouseup = "Mimir();"><p style = "border:5px">Mimir</p></button>
- <p id = "mimir_count" style = "text-align:right">Mimirs: 0</p>
- <br>
- <button onmouseup = "Skirnir();"><p style = "border:5px">Skirnir</p></button>
- <p id = "skirnir_count" style = "text-align:right">Skirnirs: 0</p>
- <br>
- <button onmouseup = "Jack();"><p style = "border:5px">Surmanbrander</p></button>
- <p id = "jack_count" style = "text-align:right">Surmandbranders: 0</p>
- <br>
- <button onmouseup = "Nyx();"><p style = "border:5px">Nyx</p></button>
- <p id = "nyx_count" style = "text-align:right">Nyxes: 0</p>
- <br>
- <button onmouseup = "Hod();"><p style = "border:5px">Hod</p></button>
- <p id = "hod_count" style = "text-align:right">Hods: 0</p>
- <br>
- <button onmouseup = "UtgardLoki();"><p style = "border:5px">Utgard-Loki</p></button>
- <p id = "utgard_loki_count" style = "text-align:right">Utgard-Lokis: 0</p>
- <button onmouseup = "Thoth();"><p style = "border:5px">Thoth</p></button>
- <p id = "thoth_count" style = "text-align:right">Thoths: 0</p>
- <button onmouseup = "Sif();"><p style = "border:5px">Sif</p></button>
- <p id = "sif_count" style = "text-align:right">Sifs: 0</p>
- <button onmouseup = "Metis();"><p style = "border:5px">Metis</p></button>
- <p id = "metis_count" style = "text-align:right">Metisi: 0</p>
- <button onmouseup = "Thetis();"><p style = "border:5px">Thetis</p></button>
- <p id = "thetis_count" style = "text-align:right">Thetisi: 0</p>
- <button onmouseup = "Anubis();"><p style = "border:5px">Anubis</p></button>
- <p id = "anubis_count" style = "text-align:right">Anubises: 0</p>
- <button onmouseup = "Atlas();"><p style = "border:5px">Atlas</p></button>
- <p id = "atlas_count" style = "text-align:right">Atlases : 0</p>
- <p id = "prestige_count" style = "text-align:right"></p>
- <div id = "button_1"></div>
- <script>
- god_points = 0;
- dryads = 0;
- dryads_price = 1;
- upgrade1 = false;
- naiads = 0;
- naiads_price = 175;
- nokks = 0;
- nokks_price = 5e3;
- satyrs = 0;
- satyrs_price = 1e5;
- einherjar = 0;
- einherjar_price = 6.7e6;
- valkyries = 0;
- valkyries_price = 1.2e8;
- thanes = 0;
- thanes_price = 4.8e10;
- hypnosi = 0;
- hypnosi_price = 1.6e12;
- forseti = 0;
- forseti_price = 1.3e14;
- snotra = 0;
- snotra_price = 6.5e15;
- surt = 0;
- surt_price = 1.7e17;
- mimir = 0;
- mimir_price = 6.3e18;
- skirnir = 0;
- skirnir_price = mimir_price * 50;
- jack = 0;
- jack_price = skirnir_price * 50;
- nyx = 0;
- nyx_price = jack_price * 100;
- hod = 0;
- hod_price = nyx_price * 100;
- utgard_loki = 0;
- utgard_loki_price = nyx_price * 50;
- thoth = 0;
- thoth_price = utgard_loki_price * 50;
- sif = 0;
- sif_price = thoth_price * 50;
- metis = 0;
- metis_price = sif_price * 50;
- thetis = 0;
- thetis_price = metis_price * 50;
- anubis = 0;
- anubis_price = thetis_price * 50;
- atlas = 0;
- atlas_price = anubis_price * 50;
- prestige_question = false;
- var prestige = 0;
- function god_points() {
- document.getElementById("god_point_count").innerHTML = "God Points: " + (++god_points);
- }
- function Dryads(){
- if (god_points >= dryads_price){
- document.getElementById("dryads_count").innerHTML = "Dryads: " + (++dryads);
- god_pointss -= dryads_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- dryads_price *= 3/2;
- document.getElementById("dryads").innerHTML = "Dryads Cost: " + dryads_price;
- }
- }
- function Naiads(){
- if (god_points >= naiads_price){
- document.getElementById("naiads_count").innerHTML = "Naiads: " + (++naiads)
- god_pointss -= naiads_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- naiads_price *= 3/2;
- }
- }
- function Nokks(){
- if (god_points >= nokks_price){
- document.getElementById("nokks_count").innerHTML = "Nøkks: " + (++nokks)
- god_pointss -= nokks_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points_2;
- nokks_price *= 3/2;
- }
- }
- function Satyrs(){
- if (god_points >= satyrs_price){
- document.getElementById("satyrs_count").innerHTML = "Satyrs: " + (++satyrs);
- god_points -= satyrs_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points_2;
- satyrs_price *= 3/2;
- }
- }
- function Einherjar(){
- if (god_points >= einherjar_price){
- document.getElementById("einherjar_count").innerHTML = "Einherjar: " + (++einherjar);
- god_points -= einherjar_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- einherjar_price *= 3/2;
- }
- }
- function Valkyries(){
- if (god_points >= valkyries_price){
- document.getElementById("valkyries_count").innerHTML = "Valkyries: " + (++valkyries);
- god_points -= valkyries_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- valkyries_price *= 3/2;
- }
- }
- function Thanes(){
- if (god_points >= thanes_price){
- document.getElementById("thanes_count").innerHTML = "Thanes: " + (++thanes);
- god_points -= thanes_price;
- document.getElementById("god_point_count").innerHMTL = "God Points: " + god_points;
- thanes_price *= 3/2;
- }
- }
- function Hypnos(){
- if(god_points >= hypnosi_price){
- document.getElementById("hypnos_count").innerHTML = "Hypnosi: " + (++hypnosi);
- god_points -= hypnosi_price;
- document.getElementById("god_point_count").innerHMTL = "God Points: " + god_points;
- hypnosi_price *= 3/2;
- }
- }
- function Forseti(){
- if(god_points >= forseti_price){
- document.getElementById("forseti_count").innerHTML = "Forseti: " + (++forseti);
- god_points -= forseti_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- forseti_price *= 3/2;
- }
- }
- function Snotra(){
- if(god_points >= snotra_price){
- //1e11
- document.getElementById("snotra_count").innerHMTL = "Snotras: " + (++snotra);
- god_points -= snotra_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- snotra_price *= 3/2;
- }
- }
- function Surt(){
- if(god_points >= surt_price){
- //1e12
- document.getElementById("surt_count").innerHMTL = "Surts: " + (++surt);
- god_points -= surt_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- surt_price *= 3/2;
- }
- }
- function Mimir(){
- if(god_points >= mimir_price){
- //multiply previous by 10
- document.getElementById("mimir_count").innerHTML = "Mimirs: " + (++mimir);
- god_points -= mimir_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- mimir_price *= 3/2;
- }
- }
- function Skirnir(){
- if(god_points >= skirnir_price){
- //same as last time
- document.getElementById("skirnir_count").innerHTML = "Skirnir: " + (++skirnir);
- god_points -= skirnir_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- skirnir_price *= 3/2;
- }
- }
- function Jack(){
- if(god_points >= jack_price){
- document.getElementById("jack_count").innerHTML = "Surmanbranders: " + (++jack);
- god_points -= jack_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- jack_price *= 3/2;
- }
- }
- function Nyx(){
- if(god_points >= nyx_price){
- document.getElementById("nyx_count").innerHTML = "Nyxes: " + (++nyx);
- god_points -= nyx_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- nyx_price *= 3/2;
- }
- }
- function Hod(){
- if(god_points >= hod_price){
- document.getElementById("hod_count").innerHTML = "Hods: " + (++hod);
- god_points -= hod_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- hod_price *= 3/2;
- }
- }
- function UtgardLoki(){
- if(god_points >= utgard_loki_price){
- document.getElementById("utgard_loki_count").innerHTML = "Utgard-Lokis: " + ++(utgard_loki);
- god_points -= utgard_loki_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- utgard_loki_price *= 3/2;
- }
- }
- function Thoth(){
- if(god_points >= thoth_price){
- document.getElementById("thoth_count").innerHTML = "Thoths: " + (++thoth);
- god_points -= thoth_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- thoth_price *= 3/2;
- }
- }
- function Sif(){
- if(god_points >= sif_price){
- document.getElementById("sif_count").innerHTML = "Sifs: " + (++sif);
- god_points -= sif_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- sif_price *= 3/2;
- }
- }
- function Metis(){
- if(god_points >= metis_price){
- document.getElementById("metis_count").innerHTML = "Metisi: " + (++metis);
- god_points -= metis_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- metis_price *= 3/2;
- }
- }
- function Thetis(){
- if(god_points >= thetis_price){
- document.getElementById("thetis_count").innerHTML = "Thetisi: " + (++thetis);
- god_points -= thetis_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- thetis_price *= 3/2;
- }
- }
- function Anubis(){
- if(god_points >= anubis_price){
- document.getElementById("anubis_count").innerHTML = "Anubises: " + (++anubis);
- god_points -= anubis_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- anubis_price *= 3/2;
- }
- }
- function Atlas(){
- if(god_points >= atlas_price){
- document.getElementById("atlas_count").innerHTML = "Atlases: " + (++atlas);
- god_points -= anubis_price;
- document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
- anubis_price *= 3/2;
- }
- }
- setInterval(
- function(){
- if(upgrade1 = false){
- god_points += dryads;
- } else if (upgrade1 = true)
- document.getElementById("god_point_count").innerHTML = "<b>God points: </b>" + god_points;
- }, 10000);
- setInterval(
- function(){
- god_points += naiads;
- document.getElementById("god_point_count").innerHTML = "<b>God points: </b>" + god_points;
- }
- , 1000);
- setInterval(
- function(){
- god_points += 40*nokks;
- god_points += 200*satyrs;
- document.getElementById("god_point_count").innerHTML = "<b>God points:</b>" + god_points ;
- }, 100);
- setInterval(
- function(){
- god_points += 200*einherjar;
- god_points += 1000*valkyries;
- god_points += 1e4*thanes;
- god_points += 1e6*hypnosi;
- god_points += 1e8*forseti;
- god_points += 5e9*snotra;
- god_points += 1e11*surt;
- god_points += 5e12*mimir;
- god_points += 1e14*skirnir;
- god_points += 5e15*jack;
- god_points += 1e17*nyx;
- god_points += 5e18*hod;
- god_points += 1e20*utgard_loki;
- god_points += 5e21*thoth;
- god_points += 1e23*sif;
- god_points += 5e24*metis;
- god_points += 1e26*thetis;
- god_points += 5e27*anubis;
- god_points += 1e29*atlas;
- }, 10);
- document.getElementById("god_point_count").innerHTML = "<b>God points:</b>" + god_points;
- function Prestige(){
- var prestige_question = window.confirm("Do you really want to proceed and prestige? \n This will erase all cookies and upgrades.")
- if (prestige_question = true){
- god_points = 0;
- document.getElementById("god_point_count").textContent = "God Points: 0";
- dryads = 0;
- document.getElementById("dryads_count").textContent= "Dryads: 0";
- naiads = 0;
- document.getElementById("naiads_count").textContent = "Naiads: 0";
- nokks = 0;
- document.getElementById("nokks_count").textContent = "Nøkks: 0";
- satyrs = 0;
- document.getElementById("satyrs_count").textContent = "Satyrs: 0";
- einherjar = 0;
- document.getElementById("einherjar_count").textContent = "Einherjar: 0";
- valkyries = 0;
- document.getElementById("valkyries_count").textContent = "Valkyries: 0";
- thanes = 0;
- document.getElementById("thanes_count").textContent = "Thanes: 0";
- hypnosi = 0;
- document.getElementById("hypnos_count").textContent = "Hypnosi: 0";
- forseti = 0;
- document.getElementById("forseti_count").textContent = "Forseti: 0";
- snotra = 0;
- document.getElementById("snotra_count").textContent = "Snotras: 0";
- surt = 0;
- document.getElementById("surt_count").textContent = "Surts: 0";
- mimir = 0;
- document.getElementById("mimir_count").textContent = "Mimirs: 0";
- skirnir = 0;
- document.getElementById("skirnir_count").textContent = "Skirnirs: 0";
- jack = 0;
- document.getElementById("jack_count").textContent = "Surmanbranders: 0";
- nyx = 0;
- document.getElementById("nyx_count").textContent = "Nyxes: 0";
- hod = 0;
- document.getElementById("hod_count").textContent = "Hods: 0";
- utgard_loki = 0;
- document.getElementById("utgard_loki_count").textContent = "Utgard-Lokis: 0";
- thoth = 0;
- document.getElementById("thoth_count").textContent = "Thoths: 0";
- sif = 0;
- document.getElementById("sif_count").textContent = "Sifs: 0";
- metis = 0;
- document.getElementById("metis_count").textContent = "Metisi: 0";
- thetis = 0;
- document.getElementById("thetis_count").textContent = "Thetisi: 0";
- anubis = 0;
- document.getElementById("anubis_count").textContent = "Anubises: 0";
- atlas = 0;
- document.getElementById("atlas_count").textContent = "Atlases: 0";
- document.getElementById("prestige_count").innerHTML = "Prestiges: " + (++prestige);
- }
- }
- if(dryads >= 10){
- document.getElementById("button_1").innerHTML = "<button onclick = 'button1();'>Forest Gain</button>"
- }
- function button1(){
- if(dryads >= 10){
- dryads_upgrade1 = true;
- }
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement