Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.25 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
  5. <meta charset = "utf-8">
  6. </head>
  7. <body>
  8. <title>God Clicker</title>
  9. <br>
  10. <br>
  11. <button onmouseup = "Prestige();">Prestige</button>
  12. <button style="position:absolute; top: 50%; left: 50%" onmouseup = "god_points();">One god point</button>
  13. <p id = "god_point_count" style = "text-align:right">God Points: 0</p>
  14. <button onmouseup = "Dryads();"><p style = "border:5px" id = "dryads">Dryads</p></button>
  15. <p id="dryads_count" style = "text-align:right">Dryads: 0</p>
  16. <br>
  17. <button onmouseup = "Naiads();"><p style = "border:5px">Naiads</p></button>
  18. <p id="naiads_count" style = "text-align:right">Naiads: 0</p>
  19. <br>
  20. <button onmouseup = "Nokks();"><p style = "border:5px">Nøkks</p></button>
  21. <p id = "nokks_count" style = "text-align:right">Nøkks: 0</p>
  22. <br>
  23. <button onmouseup = "Satyrs();"><p style = "border:5px">Satyrs</p></button>
  24. <p id = "satyrs_count" style = "text-align:right">Satyrs: 0</p>
  25. <br>
  26. <button onmouseup = "Einherjar();"><p style = "border:5px">Einherjar</p></button>
  27. <p id = "einherjar_count" style = "text-align:right">Einherjar: 0</p>
  28. <br>
  29. <button onmouseup = "Valkyries();"><p style = "border:5px">Valkyries</p></button>
  30. <p id = "valkyries_count" style = "text-align:right">Valkyries: 0</p>
  31. <br>
  32. <button onmouseup = "Thanes();"><p style = "border:5px">Thanes</p></button>
  33. <p id = "thanes_count" style = "text-align:right">Thanes: 0</p>
  34. <br>
  35. <button onmouseup = "Hypnos();"><p style = "border:5px">Hypnos</p></button>
  36. <p id = "hypnos_count" style = "text-align:right">Hypnos: 0</p>
  37. <br>
  38. <button onmouseup = "Forseti();"><p style = "border:5px">Forseti</p></button>
  39. <p id = "forseti_count" style = "text-align:right">Forseti: 0</p>
  40. <br>
  41. <button onmouseup = "Snotra();"><p style = "border:5px">Snotra</p></button>
  42. <p id = "snotra_count" style = "text-align:right">Snotras: 0</p>
  43. <br>
  44. <button onmouseup = "Surt();"><p style = "border:5px">Surt</p></button>
  45. <p id = "surt_count" style = "text-align:right">Surts: 0</p>
  46. <br>
  47. <button onmouseup = "Mimir();"><p style = "border:5px">Mimir</p></button>
  48. <p id = "mimir_count" style = "text-align:right">Mimirs: 0</p>
  49. <br>
  50. <button onmouseup = "Skirnir();"><p style = "border:5px">Skirnir</p></button>
  51. <p id = "skirnir_count" style = "text-align:right">Skirnirs: 0</p>
  52. <br>
  53. <button onmouseup = "Jack();"><p style = "border:5px">Surmanbrander</p></button>
  54. <p id = "jack_count" style = "text-align:right">Surmandbranders: 0</p>
  55. <br>
  56. <button onmouseup = "Nyx();"><p style = "border:5px">Nyx</p></button>
  57. <p id = "nyx_count" style = "text-align:right">Nyxes: 0</p>
  58. <br>
  59. <button onmouseup = "Hod();"><p style = "border:5px">Hod</p></button>
  60. <p id = "hod_count" style = "text-align:right">Hods: 0</p>
  61. <br>
  62. <button onmouseup = "UtgardLoki();"><p style = "border:5px">Utgard-Loki</p></button>
  63. <p id = "utgard_loki_count" style = "text-align:right">Utgard-Lokis: 0</p>
  64. <button onmouseup = "Thoth();"><p style = "border:5px">Thoth</p></button>
  65. <p id = "thoth_count" style = "text-align:right">Thoths: 0</p>
  66. <button onmouseup = "Sif();"><p style = "border:5px">Sif</p></button>
  67. <p id = "sif_count" style = "text-align:right">Sifs: 0</p>
  68. <button onmouseup = "Metis();"><p style = "border:5px">Metis</p></button>
  69. <p id = "metis_count" style = "text-align:right">Metisi: 0</p>
  70. <button onmouseup = "Thetis();"><p style = "border:5px">Thetis</p></button>
  71. <p id = "thetis_count" style = "text-align:right">Thetisi: 0</p>
  72. <button onmouseup = "Anubis();"><p style = "border:5px">Anubis</p></button>
  73. <p id = "anubis_count" style = "text-align:right">Anubises: 0</p>
  74. <button onmouseup = "Atlas();"><p style = "border:5px">Atlas</p></button>
  75. <p id = "atlas_count" style = "text-align:right">Atlases : 0</p>
  76. <p id = "prestige_count" style = "text-align:right"></p>
  77. <div id = "button_1"></div>
  78. <script>
  79. god_points = 0;
  80. dryads = 0;
  81. dryads_price = 1;
  82. upgrade1 = false;
  83. naiads = 0;
  84. naiads_price = 175;
  85. nokks = 0;
  86. nokks_price = 5e3;
  87. satyrs = 0;
  88. satyrs_price = 1e5;
  89. einherjar = 0;
  90. einherjar_price = 6.7e6;
  91. valkyries = 0;
  92. valkyries_price = 1.2e8;
  93. thanes = 0;
  94. thanes_price = 4.8e10;
  95. hypnosi = 0;
  96. hypnosi_price = 1.6e12;
  97. forseti = 0;
  98. forseti_price = 1.3e14;
  99. snotra = 0;
  100. snotra_price = 6.5e15;
  101. surt = 0;
  102. surt_price = 1.7e17;
  103. mimir = 0;
  104. mimir_price = 6.3e18;
  105. skirnir = 0;
  106. skirnir_price = mimir_price * 50;
  107. jack = 0;
  108. jack_price = skirnir_price * 50;
  109. nyx = 0;
  110. nyx_price = jack_price * 100;
  111. hod = 0;
  112. hod_price = nyx_price * 100;
  113. utgard_loki = 0;
  114. utgard_loki_price = nyx_price * 50;
  115. thoth = 0;
  116. thoth_price = utgard_loki_price * 50;
  117. sif = 0;
  118. sif_price = thoth_price * 50;
  119. metis = 0;
  120. metis_price = sif_price * 50;
  121. thetis = 0;
  122. thetis_price = metis_price * 50;
  123. anubis = 0;
  124. anubis_price = thetis_price * 50;
  125. atlas = 0;
  126. atlas_price = anubis_price * 50;
  127. prestige_question = false;
  128.  
  129. var prestige = 0;
  130. function god_points() {
  131. document.getElementById("god_point_count").innerHTML = "God Points: " + (++god_points);
  132. }
  133. function Dryads(){
  134. if (god_points >= dryads_price){
  135. document.getElementById("dryads_count").innerHTML = "Dryads: " + (++dryads);
  136. god_pointss -= dryads_price;
  137. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  138. dryads_price *= 3/2;
  139. document.getElementById("dryads").innerHTML = "Dryads Cost: " + dryads_price;
  140. }
  141. }
  142. function Naiads(){
  143. if (god_points >= naiads_price){
  144. document.getElementById("naiads_count").innerHTML = "Naiads: " + (++naiads)
  145. god_pointss -= naiads_price;
  146. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  147. naiads_price *= 3/2;
  148. }
  149. }
  150. function Nokks(){
  151. if (god_points >= nokks_price){
  152. document.getElementById("nokks_count").innerHTML = "Nøkks: " + (++nokks)
  153. god_pointss -= nokks_price;
  154. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points_2;
  155. nokks_price *= 3/2;
  156. }
  157. }
  158. function Satyrs(){
  159. if (god_points >= satyrs_price){
  160. document.getElementById("satyrs_count").innerHTML = "Satyrs: " + (++satyrs);
  161. god_points -= satyrs_price;
  162. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points_2;
  163. satyrs_price *= 3/2;
  164. }
  165. }
  166. function Einherjar(){
  167. if (god_points >= einherjar_price){
  168. document.getElementById("einherjar_count").innerHTML = "Einherjar: " + (++einherjar);
  169. god_points -= einherjar_price;
  170. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  171. einherjar_price *= 3/2;
  172. }
  173. }
  174. function Valkyries(){
  175. if (god_points >= valkyries_price){
  176. document.getElementById("valkyries_count").innerHTML = "Valkyries: " + (++valkyries);
  177. god_points -= valkyries_price;
  178. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  179. valkyries_price *= 3/2;
  180. }
  181. }
  182. function Thanes(){
  183. if (god_points >= thanes_price){
  184. document.getElementById("thanes_count").innerHTML = "Thanes: " + (++thanes);
  185. god_points -= thanes_price;
  186. document.getElementById("god_point_count").innerHMTL = "God Points: " + god_points;
  187. thanes_price *= 3/2;
  188. }
  189. }
  190. function Hypnos(){
  191. if(god_points >= hypnosi_price){
  192. document.getElementById("hypnos_count").innerHTML = "Hypnosi: " + (++hypnosi);
  193. god_points -= hypnosi_price;
  194. document.getElementById("god_point_count").innerHMTL = "God Points: " + god_points;
  195. hypnosi_price *= 3/2;
  196. }
  197. }
  198. function Forseti(){
  199. if(god_points >= forseti_price){
  200. document.getElementById("forseti_count").innerHTML = "Forseti: " + (++forseti);
  201. god_points -= forseti_price;
  202. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  203. forseti_price *= 3/2;
  204. }
  205. }
  206. function Snotra(){
  207. if(god_points >= snotra_price){
  208. //1e11
  209. document.getElementById("snotra_count").innerHMTL = "Snotras: " + (++snotra);
  210. god_points -= snotra_price;
  211. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  212. snotra_price *= 3/2;
  213. }
  214. }
  215. function Surt(){
  216. if(god_points >= surt_price){
  217. //1e12
  218. document.getElementById("surt_count").innerHMTL = "Surts: " + (++surt);
  219. god_points -= surt_price;
  220. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  221. surt_price *= 3/2;
  222. }
  223. }
  224. function Mimir(){
  225. if(god_points >= mimir_price){
  226. //multiply previous by 10
  227. document.getElementById("mimir_count").innerHTML = "Mimirs: " + (++mimir);
  228. god_points -= mimir_price;
  229. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  230. mimir_price *= 3/2;
  231. }
  232. }
  233. function Skirnir(){
  234. if(god_points >= skirnir_price){
  235. //same as last time
  236. document.getElementById("skirnir_count").innerHTML = "Skirnir: " + (++skirnir);
  237. god_points -= skirnir_price;
  238. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  239. skirnir_price *= 3/2;
  240. }
  241. }
  242. function Jack(){
  243. if(god_points >= jack_price){
  244. document.getElementById("jack_count").innerHTML = "Surmanbranders: " + (++jack);
  245. god_points -= jack_price;
  246. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  247. jack_price *= 3/2;
  248. }
  249. }
  250. function Nyx(){
  251. if(god_points >= nyx_price){
  252. document.getElementById("nyx_count").innerHTML = "Nyxes: " + (++nyx);
  253. god_points -= nyx_price;
  254. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  255. nyx_price *= 3/2;
  256. }
  257. }
  258. function Hod(){
  259. if(god_points >= hod_price){
  260. document.getElementById("hod_count").innerHTML = "Hods: " + (++hod);
  261. god_points -= hod_price;
  262. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  263. hod_price *= 3/2;
  264. }
  265. }
  266. function UtgardLoki(){
  267. if(god_points >= utgard_loki_price){
  268. document.getElementById("utgard_loki_count").innerHTML = "Utgard-Lokis: " + ++(utgard_loki);
  269. god_points -= utgard_loki_price;
  270. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  271. utgard_loki_price *= 3/2;
  272. }
  273. }
  274. function Thoth(){
  275. if(god_points >= thoth_price){
  276. document.getElementById("thoth_count").innerHTML = "Thoths: " + (++thoth);
  277. god_points -= thoth_price;
  278. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  279. thoth_price *= 3/2;
  280. }
  281. }
  282. function Sif(){
  283. if(god_points >= sif_price){
  284. document.getElementById("sif_count").innerHTML = "Sifs: " + (++sif);
  285. god_points -= sif_price;
  286. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  287. sif_price *= 3/2;
  288. }
  289. }
  290. function Metis(){
  291. if(god_points >= metis_price){
  292. document.getElementById("metis_count").innerHTML = "Metisi: " + (++metis);
  293. god_points -= metis_price;
  294. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  295. metis_price *= 3/2;
  296. }
  297. }
  298. function Thetis(){
  299. if(god_points >= thetis_price){
  300. document.getElementById("thetis_count").innerHTML = "Thetisi: " + (++thetis);
  301. god_points -= thetis_price;
  302. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  303. thetis_price *= 3/2;
  304. }
  305. }
  306. function Anubis(){
  307. if(god_points >= anubis_price){
  308. document.getElementById("anubis_count").innerHTML = "Anubises: " + (++anubis);
  309. god_points -= anubis_price;
  310. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  311. anubis_price *= 3/2;
  312. }
  313. }
  314. function Atlas(){
  315. if(god_points >= atlas_price){
  316. document.getElementById("atlas_count").innerHTML = "Atlases: " + (++atlas);
  317. god_points -= anubis_price;
  318. document.getElementById("god_point_count").innerHTML = "God Points: " + god_points;
  319. anubis_price *= 3/2;
  320. }
  321. }
  322. setInterval(
  323. function(){
  324. if(upgrade1 = false){
  325. god_points += dryads;
  326. } else if (upgrade1 = true)
  327. document.getElementById("god_point_count").innerHTML = "<b>God points: </b>" + god_points;
  328. }, 10000);
  329.  
  330. setInterval(
  331. function(){
  332. god_points += naiads;
  333. document.getElementById("god_point_count").innerHTML = "<b>God points: </b>" + god_points;
  334. }
  335. , 1000);
  336.  
  337. setInterval(
  338. function(){
  339. god_points += 40*nokks;
  340. god_points += 200*satyrs;
  341. document.getElementById("god_point_count").innerHTML = "<b>God points:</b>" + god_points ;
  342. }, 100);
  343.  
  344. setInterval(
  345. function(){
  346. god_points += 200*einherjar;
  347. god_points += 1000*valkyries;
  348. god_points += 1e4*thanes;
  349. god_points += 1e6*hypnosi;
  350. god_points += 1e8*forseti;
  351. god_points += 5e9*snotra;
  352. god_points += 1e11*surt;
  353. god_points += 5e12*mimir;
  354. god_points += 1e14*skirnir;
  355. god_points += 5e15*jack;
  356. god_points += 1e17*nyx;
  357. god_points += 5e18*hod;
  358. god_points += 1e20*utgard_loki;
  359. god_points += 5e21*thoth;
  360. god_points += 1e23*sif;
  361. god_points += 5e24*metis;
  362. god_points += 1e26*thetis;
  363. god_points += 5e27*anubis;
  364. god_points += 1e29*atlas;
  365. }, 10);
  366. document.getElementById("god_point_count").innerHTML = "<b>God points:</b>" + god_points;
  367. function Prestige(){
  368. var prestige_question = window.confirm("Do you really want to proceed and prestige? \n This will erase all cookies and upgrades.")
  369. if (prestige_question = true){
  370. god_points = 0;
  371. document.getElementById("god_point_count").textContent = "God Points: 0";
  372. dryads = 0;
  373. document.getElementById("dryads_count").textContent= "Dryads: 0";
  374. naiads = 0;
  375. document.getElementById("naiads_count").textContent = "Naiads: 0";
  376. nokks = 0;
  377. document.getElementById("nokks_count").textContent = "Nøkks: 0";
  378. satyrs = 0;
  379. document.getElementById("satyrs_count").textContent = "Satyrs: 0";
  380. einherjar = 0;
  381. document.getElementById("einherjar_count").textContent = "Einherjar: 0";
  382. valkyries = 0;
  383. document.getElementById("valkyries_count").textContent = "Valkyries: 0";
  384. thanes = 0;
  385. document.getElementById("thanes_count").textContent = "Thanes: 0";
  386. hypnosi = 0;
  387. document.getElementById("hypnos_count").textContent = "Hypnosi: 0";
  388. forseti = 0;
  389. document.getElementById("forseti_count").textContent = "Forseti: 0";
  390. snotra = 0;
  391. document.getElementById("snotra_count").textContent = "Snotras: 0";
  392. surt = 0;
  393. document.getElementById("surt_count").textContent = "Surts: 0";
  394. mimir = 0;
  395. document.getElementById("mimir_count").textContent = "Mimirs: 0";
  396. skirnir = 0;
  397. document.getElementById("skirnir_count").textContent = "Skirnirs: 0";
  398. jack = 0;
  399. document.getElementById("jack_count").textContent = "Surmanbranders: 0";
  400. nyx = 0;
  401. document.getElementById("nyx_count").textContent = "Nyxes: 0";
  402. hod = 0;
  403. document.getElementById("hod_count").textContent = "Hods: 0";
  404. utgard_loki = 0;
  405. document.getElementById("utgard_loki_count").textContent = "Utgard-Lokis: 0";
  406. thoth = 0;
  407. document.getElementById("thoth_count").textContent = "Thoths: 0";
  408. sif = 0;
  409. document.getElementById("sif_count").textContent = "Sifs: 0";
  410. metis = 0;
  411. document.getElementById("metis_count").textContent = "Metisi: 0";
  412. thetis = 0;
  413. document.getElementById("thetis_count").textContent = "Thetisi: 0";
  414. anubis = 0;
  415. document.getElementById("anubis_count").textContent = "Anubises: 0";
  416. atlas = 0;
  417. document.getElementById("atlas_count").textContent = "Atlases: 0";
  418. document.getElementById("prestige_count").innerHTML = "Prestiges: " + (++prestige);
  419. }
  420. }
  421. if(dryads >= 10){
  422. document.getElementById("button_1").innerHTML = "<button onclick = 'button1();'>Forest Gain</button>"
  423. }
  424. function button1(){
  425. if(dryads >= 10){
  426. dryads_upgrade1 = true;
  427. }
  428. }
  429.  
  430. </script>
  431. </body>
  432. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement