Version 40

This commit is contained in:
2023-09-19 21:45:47 +02:00
parent 0209c6ff77
commit 2234656ec3
31 changed files with 2778 additions and 212 deletions

62
add.txt
View File

@@ -1,36 +1,35 @@
click.offline.make click.offline.make
max 5 hour max 5 hour
name gen com.cost cost name gen com.cost cost
1 dog = 1 clicks/s = 100 | 100 clicks 1 dog = 1 clicks/s = 100 | 100 clicks
1 cat = 12 c/s = 1 000 | 10 dogs 1 cat = 12 c/s = 1 000 | 10 dogs
1 fox = 18 c/s = 1 500 | 15 dogs 1 fox = 18 c/s = 1 500 | 15 dogs
1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs 1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs
1 hamster = 130 c/s = 10 100 | 1 wolf + 2 cats 1 hamster = 130 c/s = 10 100 | 1 wolf + 2 cats
1 whale = 220 c/s = 16 200 | 2 wolfs 1 whale = 220 c/s = 16 200 | 2 wolf
1 cappibara = 280 c/s = 20 200 | 1 whale + 4 cats 1 capybara = 280 c/s = 20 200 | 1 whale + 4 cats
1 platapus = 400 c/s = 28 300 | 1 cappy + 1 wolf 1 platypus = 400 c/s = 28 300 | 1 cappy + 1 wolf
1 porcupine = 650 c/s = 44 500 | 1 pussy + 1 whale (Dikobraz) 1 porcupine = 650 c/s = 44 500 | 1 pussy + 1 whale (Dikobraz)
1 hippo = 950 c/s = 64 700 | 1 porcupine + 2 hamsters 1 hippo = 950 c/s = 64 700 | 1 porcupine + 2 hamsters
1 snake = 1 000 c/s = 72 800 | 2 whales + 4 hamsters 1 snake = 1 000 c/s = 72 800 | 2 whales + 4 hamsters
1 cheetah = 3 000 c/s = 202 200 | 2 snakes + 2 pussy 1 cheetah = 3 000 c/s = 202 200 | 2 snakes + 2 pussy
1 python = 7 800 c/s = 525 700 | 1 cheetah + 5 hippo 1 python = 7 800 c/s = 525 700 | 1 cheetah + 5 hippo
1 girrafe = 8 400 c/s = 555 700 | 1 python + 20 foxes 1 giraffe = 8 400 c/s = 555 700 | 1 python + 20 foxes
1 otter 1 otter = 9 000 c/s = 596 100 | 1 giraffe + 2 cappy
1 meerkat 1 meerkat = 9 800 c/s = 644 700 | 1 otter + 3 whale
1 raccoon 1 raccoon = 14 500 c/s = 956 200 | 1 meerkat + 7 porcupine
1 owl 1 owl = 16 000 c/s = 1 029 000 | 1 raccoon + 1 snuk
1 badger 1 badger =
1 squirrel 1 squirrel =
1 chameleon 1 chameleon =
1 chicken 1 chicken =
1 wombat 1 wombat =
1 panther 1 panther =
1 coyote 1 coyote =
1 frog 1 frog =
1 bear 1 bear =
1 pig 1 pig =
1 citronovník = 30 lemons/h 1 citronovník = 30 lemons/h
@@ -76,3 +75,6 @@ P fur - 1 125 cs
C fur - 1 500 cs C fur - 1 500 cs
lemon lemon
Help - CZ
Help - En

View File

@@ -1,3 +1,27 @@
v40
Added: Otters + Meerkats + Raccoons + Owls
Prestige!
!!!DARK_MODE!!!
Upgrades: - More Click per Click
Links to videos for help()
better clicks counter in BRB
NEW Lemons buying system (pain for user) from 1 (maybe 0) to 99
new bigger numbers (sextillion, quintillion, ext...)
cursor: pointer; for buttons
Removed: Lang Missing button
PNG files for some animals (now using SVG!)
Fixed: Upgrades section
My mentality
For new thing adding ||
Note: NOW Promote in Wallpaper engine AND Instagram
Add Complete history page
Sounds?
v39 v39
Added: Pythons + Giraffes Added: Pythons + Giraffes
New Nav. bar for Shop New Nav. bar for Shop
@@ -29,7 +53,7 @@
Fixed: Nothing Fixed: Nothing
Note: FIRST VERSION ON DA NEEEW DOMAIN Note: FIRST VERSION ON DA NEEEW DOMAIN
+ onto wallpaper engine :D + onto wallpaper engine :D // no
v37 v37
Added: Better Language Added: Better Language

View File

@@ -6,14 +6,6 @@ body {
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;
} }
#LANGMISS{
position: absolute;
width: 100%;
height: 100%;
text-align: center;
z-index: 20;
visibility: hidden;
}
#tycoon{ #tycoon{
position: absolute; position: absolute;
width: 100%; width: 100%;
@@ -28,7 +20,10 @@ body {
left: 50%; left: 50%;
text-align: center; text-align: center;
transform: translate(-50%,0); transform: translate(-50%,0);
font-size: 15pt; font-size: 17.5pt;
}
@media only screen and (max-width: 700px){
#logclick{font-size: 15pt;}
} }
#disclick{ #disclick{
position: absolute; position: absolute;
@@ -56,6 +51,7 @@ body {
left: 50%; left: 50%;
margin: -150px 0 0 -150px; margin: -150px 0 0 -150px;
border-radius: 150px; border-radius: 150px;
cursor: pointer;
} }
/* Other BTNS */ /* Other BTNS */
.Yt{ .Yt{

View File

@@ -14,7 +14,7 @@ body {
} }
/* Clisks */ /* Clisks */
.joe{ #jonathan{
position: fixed; position: fixed;
z-index: 1; z-index: 1;
display: flex; display: flex;
@@ -54,7 +54,7 @@ body {
aspect-ratio: 1/1; aspect-ratio: 1/1;
margin: 0.5rem; margin: 0.5rem;
object-fit: contain; object-fit: contain;
pointer-events: none pointer-events: none;
} }
.backtop{ .backtop{
@@ -114,18 +114,15 @@ body {
.buyone{ .buyone{
width: 200px; width: 200px;
height: 50px; height: 50px;
cursor: pointer;
} }
.buymax{ .buymax{
width: 50px; width: 50px;
height: 50px; height: 50px;
cursor: pointer;
} }
main{
position: relative;
}
/* By MrEidam */ /* By MrEidam */
.clickbtn{ .clickbtn{
@@ -151,7 +148,7 @@ button{
@media only screen and (max-width: 800px){ @media only screen and (max-width: 555px){
.row{ .row{
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
@@ -233,7 +230,7 @@ ul li:hover:last-child{
border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
} }
ul li:hover{ ul li:hover{
box-shadow: inset 0 0 5px #33ff33, box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66; inset 0 0 10px #66ff66;
} }
ul li:last-child{ ul li:last-child{

View File

@@ -1,9 +1,9 @@
@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*{ *{
margin: 0; margin: 0;
padding: 0; padding: 0;
user-select: none; user-select: none;
box-sizing: border-box; box-sizing: border-box;
scroll-behavior: smooth;
} }
body { body {
@@ -11,30 +11,26 @@ body {
/*background: linear-gradient(#009000, black);*/ /*background: linear-gradient(#009000, black);*/
background-color: #ccc; background-color: #ccc;
} }
#jonathan{
#links{ position: fixed;
position: relative; z-index: 1;
width: 100%;
margin: 1rem auto;
padding: 10px;
display: flex; display: flex;
justify-content: space-around; justify-content: center;
} align-items: center;
.link { height: 200px;
position: relative; width: 100%;
text-align: center; margin: 0;
background-color: var(--color); top: 0;
width: 200px; border-radius: 0 0 90px 90px;
height: 50px; background: linear-gradient(#11ABFF, #ccccccab);
margin: 1rem auto;
padding: 10px;
border: 3.69px solid #333333;
border-radius: 69px;
} }
/* By MrEidam */ /* By MrEidam */
/* Clisks */ /* Lemons */
#loglm{ #loglm{
position: relative;
background-color: papayawhip; background-color: papayawhip;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -42,13 +38,238 @@ body {
gap: 5ch; gap: 5ch;
margin: 0 5vw 0 5vw; margin: 0 5vw 0 5vw;
padding: 1rem; padding: 1rem;
border: 5px dashed #effd5f66; border: 5px dashed #d3e418e1;
border-radius: 1rem; border-radius: 1rem;
z-index: 69;
width: auto;
top: 30px;
height: 85px;
filter: drop-shadow(10px 8px 6px #333);
} }
#imglm{ #imglm{
width: 40px; width: 50px;
height: 40px; height: 50px;
margin: 0.1rem; margin: 0.1rem;
width: 100px;
aspect-ratio: 1/1;
margin: 0.1rem;
object-fit: contain;
pointer-events: none;
} }
/* By MrEidam */ /* By MrEidam */
main{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
/* By MrEidam */
.item{
background-color: papayawhip/*var(--color)*/;
/*border: 2px solid #333;*/
border: none;
top: 5px;
margin: 2rem 3vw 2rem 3vw;
padding: 1rem;
border-radius: 6.9px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
width: 500px;
height: 390px;
filter: drop-shadow(0px 20px 14px #444);
}
.item img{
width: 100px;
aspect-ratio: 1/1;
margin: 0.5rem;
object-fit: contain;
filter: drop-shadow(10px 8px 6px #333);
pointer-events: none
}
.buttons{
display: flex;
justify-content: space-around;
}
/* By MrEidam */
.buttons button{
background-color: var(--Bcolor);
border-radius: 8px;
margin: 1rem;
}
.buyone{
width: 200px;
height: 50px;
}
.buyTone{
width: 100px;
height: 50px;
}
.buymax{
width: 50px;
height: 50px;
}
/* By MrEidam */
.clickbtn{
display: flex;
justify-content: space-around;
}
.clickbtn button{
background-color: var(--Bcolor);
border-radius: 8px;
margin: 0 1rem 0.5rem 1rem;
}
.row{
display: flex;
flex-direction: row;
justify-content: center;
}
button{
border: none;
filter: drop-shadow(8px 6px 4px #555);
}
@media only screen and (max-width: 550px){
.row{
flex-direction: column;
justify-content: center;
}
.item{
width: auto;
margin: 2rem 10vw 2rem 10vw;
}
}
#prog{
appearance: none;
width: 200px;
}
h2{
text-transform: uppercase;
letter-spacing: 5px;
font-weight: 900;
word-spacing: 10px;
}
#ItsTime{
position: relative;
margin: 1rem;
width: 69%;
height: 69px;
display: none;
border-radius: 6.9px;
transition: 0.5s;
animation: time 1s linear infinite;
background-color: #3d3;
text-transform: uppercase;
letter-spacing: 5px;
font-weight: 900;
word-spacing: 10px;
font-family: 'Poppins', sans-serif;
cursor: cell;
}
@keyframes time{
from{filter: hue-rotate(0deg);}
to{filter: hue-rotate(360deg);}
}
.menu-container{
position: fixed;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins';
z-index: 500;
}
.button{
position: relative;
background: #1b1b1b;
color: #fff;
font-size: 20px;
padding: 8px 20px;
width: 150px;/* 100% */
line-height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;
cursor: pointer;
transition: width .4s;
}
.button.expand{
width: 100%;
}
.fas.expand:before{
content: '\f00d';
}
ul{
list-style: none;
position: absolute;
top: 65px;
display: block;
background: #1b1b1b;
width: 100%;
text-align: center;
border-radius: 5px;
display: none;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding-inline-start: 0px;
}
ul:before{
position: absolute;
content: '';
width: 20px;
height: 20px;
background: #1b1b1b;
top: -10px;
right: 15px;
transform: rotate(45deg);
z-index: -1;
}
ul li{
line-height: 35px;
padding: 8px 20px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,.1);
}
ul li:hover:first-child{
border-radius: 5px 5px 0 0;
}
ul li:hover:last-child{
border-radius: 0 0 5px 5px;
}
ul li:hover{
box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66;
}
ul li:last-child{
border-bottom: none;
}
ul li a{
color: #fff;
font-size: 18px;
text-decoration: none;
}
ul li:hover a{
color: #44dd44;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

5
img/angel-wings.svg Normal file
View File

@@ -0,0 +1,5 @@
<!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
<title>angel-wings</title>
<path d="M29.734 5.921c-0.805-1.845-2.521-2.832-3.23-2.122l0-0c-0.766 0.767 0.291 1.837 0.364 3.557-7.080 5.271-14.155 6.428-21.245 0.108 0.031-1.784 1.148-2.883 0.367-3.666l0 0c-0.709-0.71-2.425 0.277-3.23 2.122-2.702 6.193-0.598 22.443 5.483 21.96-1.373-3.151-2.733-6.737-3.539-10.529 1.643 4.523 4.513 8.46 7.353 7.5-1.998-2.508-4.121-5.445-5.618-8.757 2.185 3.692 5.326 6.605 7.676 5.335-1.856-1.659-3.841-3.59-5.541-5.82 2.482 2.34 5.454 3.838 7.020 2.34-1.298-0.631-2.703-1.419-4.039-2.338l4.673 2.031 4.275-1.737c-1.203 0.794-2.445 1.48-3.602 2.043 1.566 1.497 4.537 0 7.020-2.34-1.7 2.229-3.685 4.161-5.541 5.82 2.35 1.27 5.491-1.642 7.676-5.335-1.497 3.312-3.62 6.249-5.618 8.757 2.84 0.961 5.71-2.976 7.353-7.5-0.806 3.792-2.166 7.378-3.539 10.529 6.081 0.482 8.184-15.768 5.483-21.96zM5.622 7.464c-0.101-0.090-0.201-0.181-0.302-0.274 0.101 0.093 0.201 0.184 0.302 0.274zM4.611 6.511c-0.099-0.099-0.199-0.199-0.298-0.3 0.099 0.102 0.199 0.202 0.298 0.3zM5.282 7.154c-0.096-0.089-0.191-0.179-0.287-0.27 0.096 0.091 0.191 0.181 0.287 0.27zM4.941 6.833c-0.095-0.091-0.19-0.183-0.285-0.277 0.095 0.094 0.19 0.186 0.285 0.277zM27.232 7.081c-0.12 0.092-0.24 0.182-0.36 0.271 0.12-0.089 0.24-0.18 0.36-0.271zM27.969 6.503c0.12-0.096 0.239-0.193 0.359-0.292-0.12 0.098-0.239 0.196-0.359 0.292zM27.234 7.079c0.121-0.092 0.241-0.186 0.362-0.28-0.121 0.095-0.241 0.188-0.362 0.28zM27.602 6.794c0.12-0.094 0.239-0.189 0.359-0.285-0.12 0.096-0.239 0.191-0.359 0.285zM16.247 7.439c2.952 0 5.344-1.168 5.344-2.608s-2.393-2.608-5.344-2.608-5.344 1.168-5.344 2.608c0 1.44 2.393 2.608 5.344 2.608zM16.247 2.641c2.183 0 3.953 0.864 3.953 1.929s-1.77 1.929-3.953 1.929-3.953-0.864-3.953-1.929c0-1.065 1.77-1.929 3.953-1.929z"></path>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

1644
img/meerkat.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 124 KiB

1
img/otter.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#A78E81" d="M2.381 8.671c-1.573 0-2.359.786-1.573 1.573 1.573 1.573 3.145 1.573 3.931.786L2.381 8.671zm6.29-6.29c0-1.573.786-2.359 1.573-1.573 1.573 1.573 1.573 3.145.786 3.931L8.671 2.381zm-4.717 9.435s8.547 14.433 14.939 16.512c3.344 1.087 5.692.599 7.863-1.573s2.406-4.447 1.573-7.863C26.937 13.188 11.816 3.954 11.816 3.954l-7.862 7.862z"/><path fill="#A78E81" d="M16.129 26.852c4.231 5.36 8.793 7.807 10.465 6.519 1.624-1.25-.324-2.578-2.174-6.954-1.936-4.58-10.526-2.397-8.291.435zM26.85 16.07c5.36 4.231 7.803 8.858 6.516 10.53-1.25 1.624-2.578-.324-6.954-2.174-4.581-1.936-2.394-10.591.438-8.356z"/><path fill="#846659" d="M17.008 21.564c.699-1.287-.914-3.363-2.504-3.314-1.172.036-3.617 1.934-5.883-.746-.209.209-.304.496-.311.829 1.158 1.577 2.472 3.242 3.848 4.765 1.656.479 3.913.192 4.85-1.534zm1.242-7.06c-.049 1.589 2.028 3.203 3.314 2.504 1.712-.93 2.007-3.159 1.544-4.81-1.545-1.372-3.246-2.703-4.851-3.882-.3.02-.56.113-.753.306 2.679 2.265.782 4.71.746 5.882z"/><path fill="#CAB8AC" d="M13.341 16.895c1.589-.049 3.203 2.028 2.504 3.314-1.12 2.061-4.135 2.086-5.74 1.183-1.79-1.007-3.732-4.157-2.646-5.243 2.265 2.68 4.709.783 5.882.746zm3.553-3.553c-.049 1.589 2.028 3.203 3.314 2.504 2.061-1.12 2.086-4.135 1.183-5.74-1.007-1.79-4.157-3.732-5.243-2.646 2.679 2.265.782 4.71.746 5.882z"/><path fill="#A78E81" d="M27.542 24.397c3.474 3.474 8.731 10.139 7.863 11.008-.868.868-7.534-4.389-11.008-7.863s-4.014-5.422-3.145-6.29c.868-.869 2.816-.329 6.29 3.145zM12.603 3.167c2.171 2.171 1.554 4.736-1.573 7.863s-5.692 3.744-7.863 1.573-2.34-5.523.787-8.649 6.477-2.958 8.649-.787z"/><path fill="#CAB8AC" d="M13.738 4.303c1.223 1.223 1.991 5.173-1.136 8.3s-7.076 2.359-8.3 1.136c-1.93-1.93 1.223-5.067 2.796-6.64s4.71-4.726 6.64-2.796z"/><path fill="#292F33" d="M9.457 6.312c.868.868.868 2.277 0 3.145s-2.277.868-3.145 0-.082-1.49.787-2.358 1.49-1.655 2.358-.787z"/><circle fill="#292F33" cx="4.74" cy="9.457" r="1.112"/><circle fill="#292F33" cx="9.457" cy="4.74" r="1.112"/><path fill="#A78E81" d="M10.655 10.401c-.426 0-.82-.101-1.132-.308-.189-.125-.241-.38-.116-.57.125-.19.38-.242.57-.116.452.299 1.339.188 2.019-.253.276-.179.906-.674.785-1.399-.037-.224.114-.436.338-.473.225-.036.436.114.473.338.139.836-.291 1.668-1.15 2.224-.565.368-1.205.557-1.787.557z"/><path fill="#A78E81" d="M7.931 13.619c-.103 0-.207-.009-.31-.026-.224-.038-.376-.249-.338-.473.038-.224.251-.375.473-.338.722.121 1.22-.509 1.399-.786.441-.681.553-1.568.253-2.019-.125-.189-.074-.444.116-.57.189-.126.445-.074.57.116.489.739.387 1.939-.249 2.92-.488.753-1.187 1.176-1.914 1.176z"/><path fill="#846659" d="M25.635 28.904c-1.021-1.634-1.501-3.563-.898-4.166.613-.613 2.073-.745 4.186.878-1.348-1.286-3.757-2.695-4.186-5.044.123 2.164-.419 4.625-4.125 4.043 2.082.614 5.023 4.289 5.023 4.289z"/><g fill="#67757F"><path d="M2.928 15.73c-.028 0-.057-.002-.086-.008-.264-.047-.44-.3-.393-.564.407-2.269 1.793-3.891 3.707-4.338.261-.06.523.102.584.363.061.262-.101.523-.363.584-1.524.356-2.634 1.689-2.971 3.564-.042.233-.246.399-.478.399z"/><path d="M5.072 15.974c-.253 0-.466-.195-.484-.451-.079-1.078.493-2.498 1.586-3.008.244-.113.533-.009.646.235.113.243.009.533-.235.646-.671.313-1.08 1.335-1.028 2.056.02.268-.181.501-.449.52-.013.002-.024.002-.036.002zm6.208-9.209c-.037 0-.074-.004-.111-.013-.262-.061-.424-.323-.363-.584.448-1.914 2.07-3.299 4.338-3.707.264-.047.517.129.564.393.047.264-.128.517-.393.564-1.875.337-3.207 1.447-3.564 2.971-.05.225-.25.376-.471.376z"/><path d="M12.944 6.877c-.069 0-.139-.015-.205-.046-.244-.113-.348-.403-.235-.646.51-1.093 1.919-1.664 3.008-1.586.268.019.469.253.449.52-.019.267-.248.468-.52.449-.712-.048-1.742.357-2.056 1.028-.083.177-.258.281-.441.281z"/></g></svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

1
img/owl.svg Normal file
View File

@@ -0,0 +1 @@
<svg id="レイヤー_1" data-name="レイヤー 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 513.99 459.58"><defs><style>.cls-1{fill:#ac8c6e;}.cls-2{fill:#916d4f;}.cls-3{clip-path:url(#clip-path);}.cls-4{fill:#f1e9e0;}.cls-5{fill:#64625f;}.cls-6{fill:#e3ccb1;}.cls-7{fill:#bf9d89;}.cls-8{fill:#705543;}.cls-9{fill:#8d705b;}.cls-10{fill:#e3c657;}.cls-11{fill:#6d4f27;}.cls-12{fill:#f8d579;}.cls-13{fill:#595855;}</style><clipPath id="clip-path"><circle class="cls-1" cx="256.66" cy="226.84" r="226.84" transform="translate(-85.22 247.92) rotate(-45)"/></clipPath></defs><circle class="cls-2" cx="262.58" cy="232.74" r="226.84"/><circle class="cls-1" cx="256.66" cy="226.84" r="226.84" transform="translate(-85.22 247.92) rotate(-45)"/><g class="cls-3"><path class="cls-4" d="M139.67,293.33s-57.5-58.75-45-93.75,51.25-81.25,51.25-81.25l76.25,8.75,36.25,78.75,82.5-102.5s73.75,35,78.75,88.75-58.75,115-58.75,115Z"/><path class="cls-5" d="M158.42,120.69s-43.75,15.48-53.75,70.37,42.5,98.52,42.5,98.52h-17.5s-52.6-51-41.25-109.78c12.5-64.74,68.75-80.22,68.75-80.22"/><path class="cls-5" d="M358.07,120.69s43.75,15.48,53.75,70.37-42.5,98.52-42.5,98.52h17.5s52.59-51,41.25-109.78c-12.5-64.74-68.75-80.22-68.75-80.22"/><path class="cls-6" d="M416.33,255.7s-10,37.45-37.5,31.69S335.08,260,335.08,260s-11.25,30.25-33.75,27.37c-19.24-2.46-36.62-27-41.25-34.07v-1.94l-.63,1-.62-1v1.94c-4.63,7.07-22,31.61-41.25,34.07-22.5,2.88-33.75-27.37-33.75-27.37s-16.25,21.61-43.75,27.37-37.5-31.69-37.5-31.69c-32.5,36-76.25-27.37-76.25-27.37C42.58,463.14,259.45,464.58,259.45,464.58s216.88-1.44,233.13-236.25C492.58,228.33,448.83,291.71,416.33,255.7Z"/></g><path class="cls-7" d="M40.47,235.11C40.47,109.83,142,8.27,267.3,8.27A225.76,225.76,0,0,1,401.4,52.18,225.92,225.92,0,0,0,256.66,0C131.39,0,29.82,101.56,29.82,226.84a226.46,226.46,0,0,0,92.76,182.92A226.33,226.33,0,0,1,40.47,235.11Z"/><path class="cls-8" d="M425.53,346S402.36,187.91,459,172.91s60.63,156.44,50.94,176.25c-9.76,20-18-2.5-18-2.5s0,33.59-22.13,34.38c-17.48.62-23.14-30-23.14-30S431.7,376.66,425.53,346Z"/><path class="cls-9" d="M421.37,335.2S398.2,177.08,454.8,162.08s60.63,156.43,50.94,176.25c-9.76,20-18-2.5-18-2.5s0,33.58-22.13,34.37c-17.48.63-23.14-30-23.14-30S427.54,365.83,421.37,335.2Z"/><path class="cls-8" d="M8.85,346S-14.3,187.91,42.3,172.91s60.63,156.44,50.94,176.25c-9.78,20-18-2.5-18-2.5s0,33.59-22.13,34.38c-17.5.62-23.16-30-23.16-30S15,376.66,8.85,346Z"/><path class="cls-9" d="M4.69,335.2S-18.46,177.08,38.12,162.08s60.65,156.43,51,176.25c-9.78,20-18-2.5-18-2.5s0,33.58-22.13,34.37c-17.5.63-23.16-30-23.16-30S10.86,365.83,4.69,335.2Z"/><ellipse class="cls-10" cx="169.67" cy="191.45" rx="38.75" ry="41.88"/><ellipse class="cls-10" cx="350.92" cy="191.45" rx="38.75" ry="41.88"/><path class="cls-11" d="M196.52,191.05c0,16.4-11.46,29.69-25.62,29.69s-25.63-13.29-25.63-29.69,11.49-29.69,25.63-29.69S196.52,174.65,196.52,191.05Z"/><path class="cls-11" d="M377.36,191.05c0,16.4-11.46,29.69-25.62,29.69s-25.63-13.29-25.63-29.69,11.49-29.69,25.63-29.69S377.36,174.65,377.36,191.05Z"/><path class="cls-12" d="M168.4,453.75s-28.89-17.49-20-24.17,62-6.88,68.92,6.49-10.86,21-10.86,21l-8.88-10-10.84,9.17L173.4,442.91Z"/><path class="cls-12" d="M360.57,453.75s28.88-17.49,20-24.17-62-6.88-68.93,6.49,10.86,21,10.86,21l8.89-10,10.84,9.17,13.34-13.34Z"/><path class="cls-9" d="M245.1,215.83s-1.33-23.22-16-28.37-69.47-25.38-63.89-38.7c0,0,5.71-10.63,25.67-4.18,0,0-62.78-15.53-63.75-31.25-.75-11.9,26.25-8.75,26.25-8.75S73.42,37.84,100,15.92s114.45,92.86,134.41,118.65,24,58,24,58"/><path class="cls-9" d="M271.72,215.83s1.33-23.22,16-28.37,69.48-25.38,63.89-38.7c0,0-5.7-10.63-25.66-4.18,0,0,62.77-15.53,63.75-31.25.74-11.9-26.25-8.75-26.25-8.75s80-66.74,53.36-88.66S302.32,108.78,282.36,134.57s-23.94,58-23.94,58"/><path class="cls-13" d="M258.42,193.33l-30,23.75s6.25,38.75,31.25,61.25c0,0,25-37.5,27.5-60Z"/><path class="cls-9" d="M132.17,352.08s13.75-46.25,26.25-35,13.75,38.75,13.75,38.75-13.75-18.75-18.75-17.5S132.17,352.08,132.17,352.08Z"/><path class="cls-9" d="M172.17,404.58s13.75-46.25,26.25-35,13.75,38.75,13.75,38.75-13.75-18.75-18.75-17.5S172.17,404.58,172.17,404.58Z"/><path class="cls-9" d="M329.67,404.58s13.75-46.25,26.25-35,13.75,38.75,13.75,38.75-13.75-18.75-18.75-17.5S329.67,404.58,329.67,404.58Z"/><path class="cls-9" d="M255.92,404.58s13.75-46.25,26.25-35,13.75,38.75,13.75,38.75-13.75-18.75-18.75-17.5S255.92,404.58,255.92,404.58Z"/><path class="cls-9" d="M213.42,352.08s13.75-46.25,26.25-35,13.75,38.75,13.75,38.75-13.75-18.75-18.75-17.5S213.42,352.08,213.42,352.08Z"/><path class="cls-9" d="M294.67,352.08s13.75-46.25,26.25-35,13.75,38.75,13.75,38.75-13.75-18.75-18.75-17.5S294.67,352.08,294.67,352.08Z"/><path class="cls-9" d="M364.67,352.08s13.75-46.25,26.25-35,13.75,38.75,13.75,38.75-13.75-18.75-18.75-17.5S364.67,352.08,364.67,352.08Z"/></svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

1
img/racoon.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#99AAB5" d="M10.668 5.616C9.032 2.479 4.439 1.005 3.584 2.298s.707 10.152 1.757 9.967c1.051-.185 5.327-6.649 5.327-6.649z"/><path fill="#292F33" d="M9.841 7.674c-1.27-2.68-4.696-4.82-5.304-3.745-.435.771.122 5.263.757 7.696l4.547-3.951z"/><path fill="#99AAB5" d="M25.284 5.616c1.636-3.137 6.228-4.611 7.084-3.318s-.708 10.152-1.758 9.967c-1.051-.185-5.326-6.649-5.326-6.649z"/><path fill="#292F33" d="M26.36 7.674c1.231-2.686 4.501-4.854 5.07-3.786.416.78-.178 5.425-.815 7.825L26.36 7.674z"/><path fill="#99AAB5" d="M33.13 13.316c-2.583-3.164-9.048-11.601-15.155-11.601S5.404 10.152 2.821 13.316C-.317 17.16-.23 21.613.573 24.193c.805 2.587 3.155 5.038 9.261 7.431 2.065.809 5.705 2.393 8.142 2.393s6.076-1.583 8.142-2.393c6.106-2.393 8.457-4.843 9.261-7.431.802-2.58.89-7.033-2.249-10.877z"/><path fill="#E1E8ED" d="M17.976 14.408c0-4.913-4.078-4.855-6.542-4.572C6.922 10.353.076 16.597.076 20.569c0 1.39.16 2.631.496 3.624.584 1.726 1.875 3.015 5.034 5.266 3.49-8.351 12.37-11.246 12.37-15.051z"/><path fill="#292F33" d="M17.976 15.777c0-2.399-4.389-3.04-6.649-2.678C6.443 13.882.587 20.633.572 24.07v.013c.002.006.001.111.001.111s.384 1.401 1.623 2.815c.867.991 2.346 2.068 3.333 2.584l.01-.011c2.952-3.861 6.877-6.416 10.022-7.617 1.763-.673 2.415-3.5 2.415-6.188z"/><circle fill="#99AAB5" cx="13.396" cy="17.489" r="1.527"/><path fill="#E1E8ED" d="M17.976 14.408c0-4.913 4.078-4.855 6.542-4.572 4.511.518 11.357 6.762 11.357 10.734 0 1.39-.16 2.631-.496 3.624-.584 1.726-1.875 3.015-5.034 5.266-3.489-8.352-12.369-11.247-12.369-15.052z"/><path fill="#292F33" d="M17.976 15.777c0-2.399 4.389-3.04 6.649-2.678 4.884.783 10.74 7.534 10.755 10.971v.013c-.002.006-.001.111-.001.111s-.384 1.401-1.623 2.815c-.868.991-2.347 2.068-3.333 2.584l-.01-.011c-2.952-3.861-6.877-6.416-10.022-7.617-1.763-.673-2.415-3.5-2.415-6.188z"/><circle fill="#99AAB5" cx="22.555" cy="17.489" r="1.527"/><path fill="#66757F" d="M20.746 22.102c-.923-1.073-1.75-19.035-2.77-19.035s-1.847 17.962-2.77 19.035h5.54z"/><path fill="#E1E8ED" d="M24.915 24.184c-1.636-2.06-4.164-3.705-6.94-3.705s-5.304 1.646-6.94 3.705c-1.388 1.748-1.388 3.061-.925 4.226.482 1.214 1.388 2.821 4.164 3.986.939.394 2.594 1.165 3.701 1.165 1.108 0 2.762-.771 3.701-1.165 2.776-1.165 3.682-2.772 4.164-3.986.463-1.165.463-2.478-.925-4.226z"/><path fill="#292F33" d="M21.614 28.372c-.689-.562-1.629.184-3.639.184s-2.95-.746-3.639-.184c-.689.562.585 2.308 3.639 2.308s4.328-1.746 3.639-2.308z"/><path fill="#66757F" d="M13.165 24.769c-.133 0-.268-.035-.391-.107-3.002-1.792-8.357-.913-9.664-.286-.378.184-.835.023-1.019-.357-.182-.381-.022-.837.358-1.019 1.744-.838 7.624-1.725 11.107.35.362.217.481.685.264 1.047-.142.239-.395.372-.655.372z"/><path fill="#66757F" d="M2.141 29.702c-.168 0-.337-.056-.478-.169-.328-.264-.38-.744-.116-1.073 1.455-1.807 4.896-4.888 11.581-5.216.419-.035.779.304.8.725.021.421-.304.779-.725.8-6.089.299-9.171 3.041-10.467 4.649-.151.187-.372.284-.595.284zm31.669 0c-.223 0-.443-.097-.594-.284-1.295-1.608-4.377-4.35-10.467-4.649-.42-.021-.745-.379-.725-.8.021-.42.383-.763.8-.725 6.685.328 10.124 3.409 11.58 5.216.264.329.213.809-.115 1.073-.141.113-.31.169-.479.169z"/><path fill="#66757F" d="M22.787 24.769c-.26 0-.514-.133-.657-.373-.216-.362-.097-.83.264-1.047 3.482-2.076 9.366-1.188 11.107-.35.381.182.541.638.358 1.018-.182.381-.636.544-1.018.358-1.31-.628-6.664-1.505-9.664.286-.123.074-.257.108-.39.108z"/><path fill="#292F33" d="M21.614 22.244c0 1.765-2.539 3.223-3.639 3.223-1.1 0-3.639-1.458-3.639-3.223s1.629-1.81 3.639-1.81 3.639.045 3.639 1.81z"/></svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

1
img/svg.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 534 283.5" xml:space="preserve"><defs><linearGradient x1="265.7" y1="72.3" x2="265.7" y2="212.4" id="a" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9763,-0.2164,0.2164,0.9763,-26.4711,60.2204)"><stop id="stop3591" offset="0" style="stop-color:#d1000d;stop-opacity:1"/><stop id="stop3593" offset="1" style="stop-color:#3d0000;stop-opacity:1"/></linearGradient><linearGradient x1="265.7" y1="72.3" x2="265.7" y2="212.4" id="b" xlink:href="#a" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9763,-0.2164,0.2164,0.9763,-26.4711,60.2204)"/></defs><path d="m476.8 73.3-83.6 18.5c-8.9 2-15.9 9.3-17.5 18.4-1.6 9.1 2.7 18.5 10.6 23.3 5 3 11 4 16.7 2.7l61.4-13.6 1.1 4.9-85.6 19c-1-1.5-1.7-3.2-2.2-4.9l-11-49.1 110.9-24.6c8.9-2 15.9-9.3 17.5-18.4 1.6-9.1-2.7-18.5-10.6-23.3-5-3-11-4-16.7-2.7L297.9 61.2c-4.9 1-9.5 3.7-12.7 7.6-2.9 3.4-4.2 7.2-5.3 11.5-1.8 7.5-21.3 77.4-25.4 88.1-9.2-7.9-66.9-67.9-67.6-68.7-0.3-0.4-1.4-1.1-1.5-1.6-5.5-6.1-13.8-8.8-21.8-7L49.3 116.4c-10.4 2.3-19.8 8.6-25.9 17.4-6.1 8.7-8.9 19.5-7.8 30.1 0.2 1.8 0.5 3.5 0.8 5.3l1.6 7c2.3 10.5 8.5 20 17.1 26.4 8.5 6.3 19.1 9.3 29.7 8.4 1.8-0.2 3.5-0.4 5.3-0.8l38.9-8.6 37-8.2 1.1 4.9-96.2 21.3c-8.9 2-15.9 9.3-17.5 18.4-1.6 9.1 2.7 18.5 10.6 23.3 5 3 11 4 16.7 2.7l98.1-21.8c10.4-2.3 19.8-8.6 25.9-17.4 6.1-8.7 8.9-19.5 7.8-30.1-0.2-1.8-0.5-3.5-0.8-5.3l-1.6-7c-2.3-10.5-8.5-20-17.1-26.4-8.5-6.3-19.1-9.3-29.7-8.4-1.8 0.2-3.5 0.4-5.3 0.8l-38.9 8.6-37 8.2-1.1-4.9 99.6-22.1c16.5 17.9 75.3 73.3 75.3 73.3 7 6.4 17 9.7 26.8 7.6l7-1.6c10.6-2.4 17.3-11.1 21.9-20.5 5.4-10.9 9.1-22.6 12.8-34.2 6.3-19.9 11.7-40 16.8-60.3l1-0.2 11.2 49.8 0.3 1.1c3 10.6 8.4 20.7 16.7 28.1 8.8 7.8 20.4 11.8 32.1 10.7 1.7-0.2 3.4-0.4 5.1-0.8l109.9-24.4c12.1-2.7 20-15 17.3-27.1L503.9 90.6C501.2 78.5 488.8 70.7 476.8 73.3" id="path3595" fill="url(#b)"/></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -16,8 +16,7 @@
<link rel="icon" href="./img/brb-still.png"> <link rel="icon" href="./img/brb-still.png">
</head> </head>
<body> <body id="body">
<button id="LANGMISS">You didn't have the language changer activated<br />Now you do<br /><br /><br />Please reload with "F5"</button>
<!-- Shop --> <!-- Shop -->
<div id="tycoon"> <div id="tycoon">
<!--<a href="shop.html" id="shop"><p></p></a>--> <!--<a href="shop.html" id="shop"><p></p></a>-->
@@ -43,7 +42,7 @@
<li><a href="upgrade.html" id="upg">Upgrades</a></li> <li><a href="upgrade.html" id="upg">Upgrades</a></li>
<li onclick="reset()"><a id="del">RESET</a></li> <li onclick="reset()"><a id="del">RESET</a></li>
<li onclick="help()"><a id="sos">???</a></li> <li onclick="help()"><a id="sos">???</a></li>
<li style="display: none;" onclick="LDmodes()"><a id="modes">Dark Mode</a></li> <li onclick="SLDmodes()"><a id="modes">Dark Mode</a></li>
<li onclick="language()"><a id="langs">Change Language into Czech</a></li> <li onclick="language()"><a id="langs">Change Language into Czech</a></li>
</ul> </ul>
</div> </div>
@@ -67,7 +66,7 @@
</script> </script>
<!-- YouTube --> <!-- YouTube -->
<div class="Yt" style="position:absolute;width:110px;height:40px;overflow:hidden;background:linear-gradient(#d44,#722);border:none;border-radius:1rem;filter:drop-shadow(10px 8px 6px #333);"> <div id="yt" class="Yt" style="position:absolute;width:110px;height:40px;overflow:hidden;background:linear-gradient(#d44,#722);border:none;border-radius:1rem;filter:drop-shadow(10px 8px 6px #333);">
<img style="position:absolute;width:100%;height:100%;" src="./img/YT.png" title="Můj YT kanál"> <img style="position:absolute;width:100%;height:100%;" src="./img/YT.png" title="Můj YT kanál">
<a style="position:absolute;width:100%;height:100%;" href="https://www.youtube.com/@mreidam" title="Můj YouTube kanál" target="_blank"></a> <a style="position:absolute;width:100%;height:100%;" href="https://www.youtube.com/@mreidam" title="Můj YouTube kanál" target="_blank"></a>
</div> </div>

View File

@@ -1,13 +1,8 @@
// Items // Items
let items; let items;
var cs = 0; let cs = 0;
let e = 0; let e = 0;
var anime = false; let anime = false;
var mislg = document.getElementById('LANGMISS');
let flag = document.getElementById('flag');
let del = document.getElementById('del');
let sos = document.getElementById('sos');
let shop = document.getElementById('shop');
function load(){ function load(){
if (localStorage.getItem('items')!=null){ if (localStorage.getItem('items')!=null){
@@ -54,7 +49,9 @@ window.onload = function(){
lt3:0, lt3:0,
lang:0, lang:0,
pres:1, pres:1,
mode:0,
Mclick:1,
token:0,
} }
load(); load();
update(); update();
@@ -65,7 +62,7 @@ window.onload = function(){
} }
cash(); cash();
checklang() checklang()
missdezz() LDmodes()
} }
// Reset // Reset
@@ -109,7 +106,10 @@ function reset(){
lemons:0, lemons:0,
lt3:0, lt3:0,
lang:items.lang, lang:items.lang,
pres:items.pres, pres:1,
mode:items.mode,
Mclick:1,
token:0,
} }
} }
if((items.lang == 0) && confirm('Vážně chceš všechno resetovat?') && confirm('Seš si jistý?')){ if((items.lang == 0) && confirm('Vážně chceš všechno resetovat?') && confirm('Seš si jistý?')){
@@ -151,7 +151,10 @@ function reset(){
lemons:0, lemons:0,
lt3:0, lt3:0,
lang:items.lang, lang:items.lang,
pres:items.pres, pres:1,
mode:items.mode,
Mclick:1,
token:0,
} }
} }
} }
@@ -161,14 +164,20 @@ function update(){
let i = JSON.stringify(items); let i = JSON.stringify(items);
localStorage.setItem('items', i); localStorage.setItem('items', i);
if(items.lang == 1){ if(items.lang == 1){
document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and generating ${fornum(cs)} c/s!` document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and generating ${fornum(cs*items.pres)} c/s!`
} }
if(items.lang == 0){ if(items.lang == 0){
document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs)} k/s!` document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs*items.pres)} k/s!`
}
if((items.mode != 0)&&(items.mode != 1)){
items.mode = 0;
} }
checklang(); checklang();
} }
// Upload
function upload(){update();load();}
// BRB // BRB
function beriba(){ function beriba(){
document.getElementById('unpressed').style.visibility='visible' document.getElementById('unpressed').style.visibility='visible'
@@ -177,40 +186,34 @@ function beriba(){
} }
function clicking(){ function clicking(){
items.clicks += 1; items.clicks += 1*(items.Mclick||1)*items.pres;
console.log(items.clicks);
update(); update();
document.getElementById('unpressed').style.visibility='hidden' document.getElementById('unpressed').style.visibility='hidden'
document.getElementById('pressed').style.visibility='visible' document.getElementById('pressed').style.visibility='visible'
anime=false; anime=false;
setTimeout(beriba, 75) setTimeout(beriba, 75);
} }
function cash(){ function cash(){
setTimeout (function money(){ setTimeout (function money(){
cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400; cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000;
items.clicks += cs; items.clicks += cs*items.pres;
update();cash(); update();cash();
},1000) },1000)
} }
// HELP // HELP
function help(){ function help(){
e++ if(items.lang == 1){ /* EN */
if(e==1){ window.open('https://youtu.be/G0fP-l-05dM');
alert(`Click the button to earn clicks! }else if(items.lang == 0){ /* CZ */
Click on me for more...`); window.open('https://youtu.be/XhmETe4MSVI');
}
if(e==2){
alert(`After 100 clicks, click the link above to take you to the shop!
Click on me for more. .`);
}
if(e==3){
alert(`In the shop click on the buy dog button to buy a dog`);
e=0;
} }
} }
// Languages Cz || Uk
function language(){ function language(){
if(items.lang == 0){ /* CZ */ if(items.lang == 0){ /* CZ */
items.lang = 1; items.lang = 1;
@@ -233,44 +236,66 @@ function language(){
upg.innerHTML = 'Upgrades'; upg.innerHTML = 'Upgrades';
modes.innerHTML = 'Switch into Dark Mode'; modes.innerHTML = 'Switch into Dark Mode';
langs.innerHTML = 'Změň si jazyk do Češtiny'; langs.innerHTML = 'Změň si jazyk do Češtiny';
} }
upload();
} }
function checklang(){ function checklang(){
if(items.lang == 0){ /* CZ */ if(items.lang == 0){ /* CZ */
document.documentElement.setAttribute('lang', 'cz'); document.documentElement.setAttribute('lang', 'cz');
del.innerHTML = 'RESET'; del.innerHTML = 'Reset';
sos.innerHTML = 'POMOC'; sos.innerHTML = 'Pomoc';
shop.innerHTML = 'Obchod'; shop.innerHTML = 'Obchod';
upg.innerHTML = 'Vylepšení'; upg.innerHTML = 'Vylepšení';
modes.innerHTML = 'Změn do Temného módu'; if((items.mode||0) == 0){
modes.innerHTML = 'Změn do Temného módu';
}else if(items.mode == 1){
modes.innerHTML = 'Změn do Světlého módu';
}
langs.innerHTML = 'Switch into English'; langs.innerHTML = 'Switch into English';
}else if(items.lang == 1){ /* UK */ }else if(items.lang == 1){ /* UK */
document.documentElement.setAttribute('lang', 'en'); document.documentElement.setAttribute('lang', 'en');
del.innerHTML = 'RESET'; del.innerHTML = 'Reset';
sos.innerHTML = 'HELP'; sos.innerHTML = 'Help';
shop.innerHTML = 'Shop'; shop.innerHTML = 'Shop';
upg.innerHTML = 'Upgrades'; upg.innerHTML = 'Upgrades';
modes.innerHTML = 'Switch into Dark Mode'; if((items.mode||0) == 0){
modes.innerHTML = 'Switch into Dark Mode';
}else if(items.mode == 1){
modes.innerHTML = 'Switch into Light Mode';
}
langs.innerHTML = 'Změň si jazyk do Češtiny'; langs.innerHTML = 'Změň si jazyk do Češtiny';
}
}
// Dark || Light Mode
function SLDmodes(){
if(items.mode == 0){
items.mode = 1;
}else if(items.mode == 1){
items.mode = 0;
} }
LDmodes()
console.log(items.mode);
}
function LDmodes(){
if((items.mode||0) == 0){// Light Mode
body.style.background = '#fff';
tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%)';
yt.style.filter = 'drop-shadow(10px 8px 6px #333)';
}else if(items.mode == 1){// Dark Mode
body.style.background = '#333';
tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#333 70%)';
yt.style.filter = 'drop-shadow(10px 8px 6px #666)';
}
upload();
} }
function missdezz(){
if(items.lang != 0 && items.lang !=1){
items.lang = 1
mislg.style.visibility = 'visible';
}
}
// Function to convert a number into a more readable format // Function to convert a number into a more readable format
function fornum(num) { function fornum(num) {
// Define the suffixes for thousands and millions // Define the suffixes for thousands and millions
const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua']; const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld'];
// Divide the number by 1000 until it is less than 1000 // Divide the number by 1000 until it is less than 1000
let i = 0; let i = 0;

View File

@@ -4,7 +4,7 @@ let cs
function update(){ function update(){
let i = JSON.stringify(items); let i = JSON.stringify(items);
localStorage.setItem('items', i); localStorage.setItem('items', i);
cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400; cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000;
} }
function c(x){ function c(x){
items.clicks += x; items.clicks += x;
@@ -15,12 +15,18 @@ function c(x){
// Load // Load
function load(){ function load(){
items = JSON.parse(localStorage.getItem('items')); items = JSON.parse(localStorage.getItem('items'));
LDmodes()
cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400; cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000;
if(items.lang == 1){ if(items.lang == 1){
document.documentElement.setAttribute('lang', 'en'); document.documentElement.setAttribute('lang', 'en');
disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs)} each second!` if((items.mode||0) == 0){
modes.innerHTML = 'Switch into Dark Mode';
}else if((items.mode||0) == 1){
modes.innerHTML = 'Switch into Light Mode';
}
upg.innerHTML = 'Upgrades'
disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs*items.pres)} per second!`
disdog.innerHTML=`You've got ${fornum(items.dogs)} dogs!` disdog.innerHTML=`You've got ${fornum(items.dogs)} dogs!`
discat.innerHTML=`You've got ${fornum(items.cats)} cats!` discat.innerHTML=`You've got ${fornum(items.cats)} cats!`
disfox.innerHTML=`You've got ${fornum(items.foxes)} foxes!` disfox.innerHTML=`You've got ${fornum(items.foxes)} foxes!`
@@ -35,6 +41,10 @@ function load(){
dische.innerHTML=`You've got ${fornum(items.cheetahs)} cheetahs!` dische.innerHTML=`You've got ${fornum(items.cheetahs)} cheetahs!`
dispyt.innerHTML=`You've got ${fornum(items.pythons)} pythons!` dispyt.innerHTML=`You've got ${fornum(items.pythons)} pythons!`
disgir.innerHTML=`You've got ${fornum(items.girrafes)} giraffes!` disgir.innerHTML=`You've got ${fornum(items.girrafes)} giraffes!`
disoth.innerHTML=`You've got ${fornum(items.otters)} otters!`
dismee.innerHTML=`You've got ${fornum(items.meerkat)} meerkats!`
disrac.innerHTML=`You've got ${fornum(items.raccoon)} racoons!`
disowl.innerHTML=`You've got ${fornum(items.owl)} owls!`
@@ -43,20 +53,24 @@ function load(){
document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!` document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!`
disdgmake.innerHTML=`They're generating ${fornum(items.dogs*1)} clicks per second!` disdgmake.innerHTML=`They're generating ${fornum((items.dogs*1)*items.pres)} clicks per second!`
disctmake.innerHTML=`They're generating ${fornum(items.cats*12)} clicks per second!` disctmake.innerHTML=`They're generating ${fornum((items.cats*12)*items.pres)} clicks per second!`
disfxmake.innerHTML=`They're generating ${fornum(items.foxes*18)} clicks per second!` disfxmake.innerHTML=`They're generating ${fornum((items.foxes*18)*items.pres)} clicks per second!`
diswlmake.innerHTML=`They're generating ${fornum(items.wolfs*100)} clicks per second!` diswlmake.innerHTML=`They're generating ${fornum((items.wolfs*100)*items.pres)} clicks per second!`
dishmmake.innerHTML=`They're generating ${fornum(items.hamsters*130)} clicks per second!` dishmmake.innerHTML=`They're generating ${fornum((items.hamsters*130)*items.pres)} clicks per second!`
diswhmake.innerHTML=`They're generating ${fornum(items.whales*220)} clicks per second!` diswhmake.innerHTML=`They're generating ${fornum((items.whales*220)*items.pres)} clicks per second!`
discpmake.innerHTML=`They're generating ${fornum(items.capybaras*280)} clicks per second!` discpmake.innerHTML=`They're generating ${fornum((items.capybaras*280)*items.pres)} clicks per second!`
displmake.innerHTML=`They're generating ${fornum(items.platapuses*400)} clicks per second!` displmake.innerHTML=`They're generating ${fornum((items.platapuses*400)*items.pres)} clicks per second!`
disprmake.innerHTML=`They're generating ${fornum(items.porcupines*650)} clicks per second!` disprmake.innerHTML=`They're generating ${fornum((items.porcupines*650)*items.pres)} clicks per second!`
dishimake.innerHTML=`They're generating ${fornum(items.hippos*950)} clicks per second!` dishimake.innerHTML=`They're generating ${fornum((items.hippos*950)*items.pres)} clicks per second!`
dissnmake.innerHTML=`They're generating ${fornum(items.snakes*1000)} clicks per second!` dissnmake.innerHTML=`They're generating ${fornum((items.snakes*1000)*items.pres)} clicks per second!`
dischmake.innerHTML=`They're generating ${fornum(items.cheetahs*3000)} clicks per second!` dischmake.innerHTML=`They're generating ${fornum((items.cheetahs*3000)*items.pres)} clicks per second!`
dispymake.innerHTML=`They're generating ${fornum(items.pythons*7800)} clicks per second!` dispymake.innerHTML=`They're generating ${fornum((items.pythons*7800)*items.pres)} clicks per second!`
disgimake.innerHTML=`They're generating ${fornum(items.girrafes*8400)} clicks per second!` disgimake.innerHTML=`They're generating ${fornum((items.girrafes*8400)*items.pres)} clicks per second!`
disotmake.innerHTML=`They're generating ${fornum((items.otters*9000)*items.pres)} clicks per second!`
dismeemake.innerHTML=`They're generating ${fornum((items.meerkat*9800)*items.pres)} clicks per second!`
disramake.innerHTML=`They're generating ${fornum((items.raccoon*14500)*items.pres)} clicks per second!`
disowmake.innerHTML=`They're generating ${fornum((items.owl*16000)*items.pres)} clicks per second!`
dg1.innerHTML = 'Buy a Dog for 100 clicks' dg1.innerHTML = 'Buy a Dog for 100 clicks'
ct1.innerHTML = 'Buy a Cat for 10 dogs' ct1.innerHTML = 'Buy a Cat for 10 dogs'
@@ -72,6 +86,10 @@ function load(){
ch1.innerHTML = 'Buy a Cheetah for <br /> 2 snakes and 2 platypuses' ch1.innerHTML = 'Buy a Cheetah for <br /> 2 snakes and 2 platypuses'
py1.innerHTML = 'Buy a Python for <br /> 1 cheetah and 5 hippos' py1.innerHTML = 'Buy a Python for <br /> 1 cheetah and 5 hippos'
gi1.innerHTML = 'Buy a Giraffe for <br /> 1 python and 20 foxes' gi1.innerHTML = 'Buy a Giraffe for <br /> 1 python and 20 foxes'
ot1.innerHTML = 'Buy a Otter for <br /> 1 giraffe and 2 capybaras'
me1.innerHTML = 'Buy a Meerkat for <br /> 1 otter and 3 whales'
ra1.innerHTML = 'Buy a Raccoon for <br /> 1 meerkat and 7 porcupines'
ow1.innerHTML = 'Buy a Owl for <br /> 1 racoon and 1 snake'
lm1.innerHTML = 'Buy a Lemon for <b style="font-weight: 1000;">some</b> cats' lm1.innerHTML = 'Buy a Lemon for <b style="font-weight: 1000;">some</b> cats'
lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons' lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons'
@@ -90,10 +108,20 @@ function load(){
Cch1.innerHTML = 'Buy a Cheetah for <br /> 350 k clicks' Cch1.innerHTML = 'Buy a Cheetah for <br /> 350 k clicks'
Cpy1.innerHTML = 'Buy a Python for <br /> 820 k clicks' Cpy1.innerHTML = 'Buy a Python for <br /> 820 k clicks'
Cgi1.innerHTML = 'Buy a Giraffe for <br /> 880 k clicks' Cgi1.innerHTML = 'Buy a Giraffe for <br /> 880 k clicks'
Cot1.innerHTML = 'Buy a Otter for <br> 950 k clicks'
Cme1.innerHTML = 'Buy a Meerkat for <br> 1 mil clicks'
Cra1.innerHTML = 'Buy a Raccoon for <br> 1.5 mil clicks'
Cow1.innerHTML = 'Buy a Owl for <br> 1.8 mil clicks'
} }
if(items.lang == 0){ if(items.lang == 0){
document.documentElement.setAttribute('lang', 'cz'); document.documentElement.setAttribute('lang', 'cz');
document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs)} každou sekundu!` if((items.mode||0) == 0){
modes.innerHTML = 'Změn do Temného módu';
}else if((items.mode||0) == 1){
modes.innerHTML = 'Změn do Světlého módu';
}
upg.innerHTML = 'Vylepšení'
document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs*items.pres)} za sekundu!`
document.getElementById('disdog').innerHTML=`Právě máš ${fornum(items.dogs)} psů!` document.getElementById('disdog').innerHTML=`Právě máš ${fornum(items.dogs)} psů!`
document.getElementById('discat').innerHTML=`Právě máš ${fornum(items.cats)} koček!` document.getElementById('discat').innerHTML=`Právě máš ${fornum(items.cats)} koček!`
document.getElementById('disfox').innerHTML=`Právě máš ${fornum(items.foxes)} lišek!` document.getElementById('disfox').innerHTML=`Právě máš ${fornum(items.foxes)} lišek!`
@@ -101,13 +129,17 @@ function load(){
document.getElementById('disham').innerHTML=`Právě máš ${fornum(items.hamsters)} křečků!` document.getElementById('disham').innerHTML=`Právě máš ${fornum(items.hamsters)} křečků!`
document.getElementById('diswha').innerHTML=`Právě máš ${fornum(items.whales)} velryb!` document.getElementById('diswha').innerHTML=`Právě máš ${fornum(items.whales)} velryb!`
document.getElementById('discap').innerHTML=`Právě máš ${fornum(items.capybaras)} kapybar!` document.getElementById('discap').innerHTML=`Právě máš ${fornum(items.capybaras)} kapybar!`
document.getElementById('displa').innerHTML=`Právě máš ${fornum(items.platapuses)} plakopysků!` document.getElementById('displa').innerHTML=`Právě máš ${fornum(items.platapuses)} ptakopysků!`
document.getElementById('dispor').innerHTML=`Právě máš ${fornum(items.porcupines)} dikobrazů!` document.getElementById('dispor').innerHTML=`Právě máš ${fornum(items.porcupines)} dikobrazů!`
document.getElementById('diship').innerHTML=`Právě máš ${fornum(items.hippos)} hrochů!` document.getElementById('diship').innerHTML=`Právě máš ${fornum(items.hippos)} hrochů!`
document.getElementById('dissna').innerHTML=`Právě máš ${fornum(items.snakes)} hadů!` document.getElementById('dissna').innerHTML=`Právě máš ${fornum(items.snakes)} hadů!`
document.getElementById('dische').innerHTML=`Právě máš ${fornum(items.cheetahs)} gepardů!` document.getElementById('dische').innerHTML=`Právě máš ${fornum(items.cheetahs)} gepardů!`
document.getElementById('dispyt').innerHTML=`Právě máš ${fornum(items.pythons)} kober!` document.getElementById('dispyt').innerHTML=`Právě máš ${fornum(items.pythons)} kober!`
document.getElementById('disgir').innerHTML=`Právě máš ${fornum(items.girrafes)} gepardů!` document.getElementById('disgir').innerHTML=`Právě máš ${fornum(items.girrafes)} žiraf!`
document.getElementById('disoth').innerHTML=`Právě máš ${fornum(items.otters)} vyder!`
document.getElementById('dismee').innerHTML=`Právě máš ${fornum(items.meerkat)} surikat!`
document.getElementById('disrac').innerHTML=`Právě máš ${fornum(items.raccoon)} mývalů!`
document.getElementById('disowl').innerHTML=`Právě máš ${fornum(items.owl)} sov!`
@@ -116,20 +148,25 @@ function load(){
document.getElementById('dislt3').innerHTML=`Právě máš ${fornum(items.lt3)} citronovníků!` document.getElementById('dislt3').innerHTML=`Právě máš ${fornum(items.lt3)} citronovníků!`
document.getElementById('disdgmake').innerHTML=`Generují ${fornum(items.dogs*1)} kliků za sekundu!` document.getElementById('disdgmake').innerHTML=`Generují ${fornum((items.dogs*1)*items.pres)} kliků za sekundu!`
document.getElementById('disctmake').innerHTML=`Generují ${fornum(items.cats*12)} kliků za sekundu!` document.getElementById('disctmake').innerHTML=`Generují ${fornum((items.cats*12)*items.pres)} kliků za sekundu!`
document.getElementById('disfxmake').innerHTML=`Generují ${fornum(items.foxes*18)} kliků za sekundu!` document.getElementById('disfxmake').innerHTML=`Generují ${fornum((items.foxes*18)*items.pres)} kliků za sekundu!`
document.getElementById('diswlmake').innerHTML=`Generují ${fornum(items.wolfs*100)} kliků za sekundu!` document.getElementById('diswlmake').innerHTML=`Generují ${fornum((items.wolfs*100)*items.pres)} kliků za sekundu!`
document.getElementById('dishmmake').innerHTML=`Generují ${fornum(items.hamsters*130)} kliků za sekundu!` document.getElementById('dishmmake').innerHTML=`Generují ${fornum((items.hamsters*130)*items.pres)} kliků za sekundu!`
document.getElementById('diswhmake').innerHTML=`Generují ${fornum(items.whales*220)} kliků za sekundu!` document.getElementById('diswhmake').innerHTML=`Generují ${fornum((items.whales*220)*items.pres)} kliků za sekundu!`
document.getElementById('discpmake').innerHTML=`Generují ${fornum(items.capybaras*280)} kliků za sekundu!` document.getElementById('discpmake').innerHTML=`Generují ${fornum((items.capybaras*280)*items.pres)} kliků za sekundu!`
document.getElementById('displmake').innerHTML=`Generují ${fornum(items.platapuses*400)} kliků za sekundu!` document.getElementById('displmake').innerHTML=`Generují ${fornum((items.platapuses*400)*items.pres)} kliků za sekundu!`
document.getElementById('disprmake').innerHTML=`Generují ${fornum(items.porcupines*650)} kliků za sekundu!` document.getElementById('disprmake').innerHTML=`Generují ${fornum((items.porcupines*650)*items.pres)} kliků za sekundu!`
document.getElementById('dishimake').innerHTML=`Generují ${fornum(items.hippos*950)} kliků za sekundu!` document.getElementById('dishimake').innerHTML=`Generují ${fornum((items.hippos*950)*items.pres)} kliků za sekundu!`
document.getElementById('dissnmake').innerHTML=`Generují ${fornum(items.snakes*1000)} kliků za sekundu!` document.getElementById('dissnmake').innerHTML=`Generují ${fornum((items.snakes*1000)*items.pres)} kliků za sekundu!`
document.getElementById('dischmake').innerHTML=`Generují ${fornum(items.cheetahs*3000)} kliků za sekundu!` document.getElementById('dischmake').innerHTML=`Generují ${fornum((items.cheetahs*3000)*items.pres)} kliků za sekundu!`
document.getElementById('dispymake').innerHTML=`Generují ${fornum(items.pythons*7800)} kliků za sekundu!` document.getElementById('dispymake').innerHTML=`Generují ${fornum((items.pythons*7800)*items.pres)} kliků za sekundu!`
document.getElementById('disgimake').innerHTML=`Generují ${fornum(items.girrafes*8400)} kliků za sekundu!` document.getElementById('disgimake').innerHTML=`Generují ${fornum((items.girrafes*8400)*items.pres)} kliků za sekundu!`
document.getElementById('disotmake').innerHTML=`Generují ${fornum((items.otters*9000)*items.pres)} kliků za sekundu!`
document.getElementById('dismeemake').innerHTML=`Generují ${fornum((items.meerkat*9800)*items.pres)} kliků za sekundu!`
document.getElementById('disramake').innerHTML=`Generují ${fornum((items.raccoon*14500)*items.pres)} kliků za sekundu!`
document.getElementById('disowmake').innerHTML=`Generují ${fornum((items.owl*16000)*items.pres)} kliků za sekundu!`
dg1.innerHTML = 'Kup Psa za 100 kliků' dg1.innerHTML = 'Kup Psa za 100 kliků'
ct1.innerHTML = 'Kup Kočku za 10 psů' ct1.innerHTML = 'Kup Kočku za 10 psů'
@@ -145,6 +182,10 @@ function load(){
ch1.innerHTML = 'Kup Geparda za <br /> 2 hady a 2 ptakopysky' ch1.innerHTML = 'Kup Geparda za <br /> 2 hady a 2 ptakopysky'
py1.innerHTML = 'Kup Kobru za <br /> 1 geparda a 5 hrochů' py1.innerHTML = 'Kup Kobru za <br /> 1 geparda a 5 hrochů'
gi1.innerHTML = 'Kup Žirafu za <br /> 1 kobru a 20 lišek' gi1.innerHTML = 'Kup Žirafu za <br /> 1 kobru a 20 lišek'
ot1.innerHTML = 'Kup Vydru za <br /> 1 žirafu a 20 lišek'
me1.innerHTML = 'Kup Surikatu za <br /> 1 kobru a 20 lišek'
ra1.innerHTML = 'Kup Mývala za <br /> 1 kobru a 20 lišek'
ow1.innerHTML = 'Kup Sovu za <br /> 1 kobru a 20 lišek'
lm1.innerHTML = 'Kup Citrón za <b style="font-weight: 1000;">pár</b> koček' lm1.innerHTML = 'Kup Citrón za <b style="font-weight: 1000;">pár</b> koček'
lt1.innerHTML = 'Kup Citrónovník za 5 citrónů' lt1.innerHTML = 'Kup Citrónovník za 5 citrónů'
@@ -163,6 +204,10 @@ function load(){
Cch1.innerHTML = 'Kup Geparda za <br /> 350 k kliků' Cch1.innerHTML = 'Kup Geparda za <br /> 350 k kliků'
Cpy1.innerHTML = 'Kup Kobru za <br /> 820 k kliků' Cpy1.innerHTML = 'Kup Kobru za <br /> 820 k kliků'
Cgi1.innerHTML = 'Kup Žirafu za <br /> 880 k kliků' Cgi1.innerHTML = 'Kup Žirafu za <br /> 880 k kliků'
Cot1.innerHTML = 'Kup Vydru za <br /> 950 k kliků'
Cme1.innerHTML = 'Kup Surikatu za <br /> 1 mil kliků'
Cra1.innerHTML = 'Kup Mývala za <br /> 1,5 mil kliků'
Cow1.innerHTML = 'Kup Sovu za <br /> 1,8 mil kliků'
} }
} }
load(); load();
@@ -172,7 +217,7 @@ function upload(){update();load();}
function cash(){ function cash(){
setTimeout (function money(){ setTimeout (function money(){
items.clicks += cs; items.clicks += cs*items.pres;
upload(); upload();
cash();click(); cash();click();
},1000) },1000)
@@ -298,13 +343,48 @@ function buygir(){
} }
upload(); upload();
} }
function buyoth(){
if(items.girrafes>=1 && items.capybaras>=2){
items.girrafes-=1;
items.capybaras-=2;
items.otters++;
}
upload();
}
function buymee(){
if(items.otters>=1 && items.whales>=3){
items.otters-=1;
items.whales-=3;
items.meerkat++;
}
upload();
}
function buyrac(){
if(items.meerkat>=1 && items.porcupines>=7){
items.meerkat-=1;
items.porcupines-=7;
items.raccoon++;
}
upload();
}
function buyowl(){
if(items.raccoon>=1 && items.snakes>=1){
items.pythons-=1;
items.snakes-=1;
items.owl++;
}
upload();
}
function buylem(){ function buylem(){
if(items.cats>=20){ let RanLemCost = Math.floor(Math.random()*100);
items.cats-=20; if(items.cats>=RanLemCost){
items.cats-=RanLemCost;
items.lemons+=1; items.lemons+=1;
} }
upload(); upload();
@@ -322,9 +402,6 @@ function buylt3(){
/* Max Shop */ /* Max Shop */
function mxdg(){ function mxdg(){
one = Math.floor(items.clicks / 100) one = Math.floor(items.clicks / 100)
@@ -357,9 +434,10 @@ function lemmvalue(){
upload(); upload();
}*/ }*/
function mxlm(){ function mxlm(){
one = Math.floor(items.cats/20) let RanLemCost = Math.floor(Math.random()*100);
one = Math.floor(items.cats/RanLemCost)
items.cats -= one*20 items.cats -= one*RanLemCost
items.lemons += one items.lemons += one
upload(); upload();
} }
@@ -552,18 +630,115 @@ function mxgi(){
} }
upload(); upload();
} }
function mxot(){
one = Math.floor(items.girrafes/1);
two = Math.floor(items.capybaras/2);
if(one<=two){
items.girrafes -= one*1;
items.capybaras -= one*2;
items.otters += one;
}else if(one>=two){
items.girrafes -= two*1;
items.capybaras -= two*2;
items.otters += two;
}else{
console.log('You fucked up you stupid bitch')
}
upload();
}
function mxme(){
one = Math.floor(items.otters/1);
two = Math.floor(items.whales/3);
if(one<=two){
items.otters -= one*1;
items.whales -= one*3;
items.meerkat += one;
}else if(one>=two){
items.otters -= two*1;
items.whales -= two*3;
items.meerkat += two;
}else{
console.log('You fucked up you stupid bitch')
}
upload();
}
function mxra(){
one = Math.floor(items.meerkat/1);
two = Math.floor(items.porcupines/7);
if(one<=two){
items.meerkat -= one*1;
items.porcupines -= one*7;
items.raccoon += one;
}else if(one>=two){
items.meerkat -= two*1;
items.porcupines -= two*7;
items.raccoon += two;
}else{
console.log('You fucked up you stupid bitch')
}
upload();
}
function mxow(){
one = Math.floor(items.raccoon/1);
two = Math.floor(items.snakes/1);
if(one<=two){
items.raccoon -= one*1;
items.snakes -= one*1;
items.owl += one;
}else if(one>=two){
items.raccoon -= two*1;
items.snakes -= two*1;
items.owl += two;
}else{
console.log('You fucked up you stupid bitch')
}
upload();
}
// Dark || Light Mode
function SLDmodes(){
if(items.mode == 0){
items.mode = 1;
}else if(items.mode == 1){
items.mode = 0;
}
LDmodes()
console.log(items.mode);
}
function LDmodes(){
let Bimts = document.querySelectorAll('.item');
if((items.mode||0) == 0){// Light Mode
body.style.background = '#ddd';
body.style.color = '#000';
jonathan.style.background = 'linear-gradient(#11ABFF, #ccccccab)';
Bimts.forEach((e) => {
e.style.background = '#ffefd5';
});
logclick.style.background = '#ffefd5';
logclick.style.border = '5px dashed #00f';
logclick.style.filter = 'drop-shadow(10px 8px 6px #222)';
}else if(items.mode == 1){// Dark Mode
body.style.background = '#333';
body.style.color = '#fff';
jonathan.style.background = 'linear-gradient(#11ABFF, #333333ab)';
Bimts.forEach((e) => {
e.style.background = '#666055';
});
logclick.style.background = '#666055';
logclick.style.border = '5px dashed #006';
logclick.style.filter = 'drop-shadow(10px 8px 6px #222)';
}
}
// Function to convert a number into a more readable format // Function to convert a number into a more readable format
function fornum(num) { function fornum(num) {
// Define the suffixes for thousands and millions // Define the suffixes for thousands and millions
const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua']; const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld'];
// Divide the number by 1000 until it is less than 1000 // Divide the number by 1000 until it is less than 1000
let i = 0; let i = 0;
@@ -794,3 +969,66 @@ function mxCgi(){
upload(); upload();
} }
// Other space
function buyCoth(){
if(items.clicks >= 950000){
items.otters++;
items.clicks -= 950000;
upload();
}
}
function mxCot(){
one = Math.floor(items.clicks / 950000)
items.clicks -= one * 950000
items.otters += one
upload();
}
// Mii Cat
function buyCmee(){
if(items.clicks >= 1000000){
items.meerkat++;
items.clicks -= 1000000;
upload();
}
}
function mxCme(){
one = Math.floor(items.clicks / 1000000)
items.clicks -= one * 1000000
items.meerkat += one
upload();
}
// C rac
function buyCrac(){
if(items.clicks >= 1500000){
items.raccoon++;
items.clicks -= 1500000;
upload();
}
}
function mxCra(){
one = Math.floor(items.clicks / 1500000)
items.clicks -= one * 1500000
items.raccoon += one
upload();
}
// O
function buyCowl(){
if(items.clicks >= 1800000){
items.owl++;
items.clicks -= 1800000;
upload();
}
}
function mxCow(){
one = Math.floor(items.clicks / 1800000)
items.clicks -= one * 1800000
items.owl += one
upload();
}

View File

@@ -5,36 +5,295 @@ let cs;
function update(){ function update(){
let i = JSON.stringify(items); let i = JSON.stringify(items);
localStorage.setItem('items', i); localStorage.setItem('items', i);
if(items.token >= 1000*items.pres){
prog.style.display = 'none';
presBT1.style.display = 'none';
presBT10.style.display = 'none';
presBTmax.style.display = 'none';
progva.style.display = 'none';
ItsTime.style.display = 'block';
}
} }
function load(){ function load(){
if (localStorage.getItem('items')!=null){ if (localStorage.getItem('items')!=null){
items = JSON.parse(localStorage.getItem('items')); items = JSON.parse(localStorage.getItem('items'));
LDmodes()
prog.max = 1000*items.pres;
}
if(items.lang == 0){ // CZ
document.documentElement.setAttribute('lang', 'cz');
if((items.mode||0) == 0){
modes.innerHTML = 'Změn do Temného módu';
}else if((items.mode||0) == 1){
modes.innerHTML = 'Změn do Světlého módu';
}
dislm.innerHTML = `Právě máš ${fornum(items.lemons)} citrónů!`;
disMcmake.innerHTML = `Zatím ti každý klik dává ${fornum((items.Mclick||1)*items.pres)} kliků!`;
Mc1.innerHTML = `Kup si vylepšení na kliky za <br> ${fornum(20+(items.Mclick||1)*(items.Mclick||1))} citrónů`;
progva.innerHTML = `Zatím máš jen ${items.token} lístků z ${1000*items.pres}!`
presBT1.innerHTML = `1 Lístek za <br> <b style="font-weight: 1000;">pár</b> Citrónů`
presBT10.innerHTML = `10 Lístků za <br> <b style="font-weight: 1000;">10 párů</b> Citrónů`
presBTmax.innerHTML = `Max lístků za <br> <b style="font-weight: 1000;">několik</b> Citrónů`
ItsTime.innerHTML = `Pojďme jít!`;
if(items.pres > 1){
got.innerHTML = `Právě máš ${items.pres-1} Prestiž bodů`
}
}else if(items.lang == 1){ // En
document.documentElement.setAttribute('lang', 'en');
if((items.mode||0) == 0){
modes.innerHTML = 'Switch into Dark Mode';
}else if((items.mode||0) == 1){
modes.innerHTML = 'Switch into Light Mode';
}
dislm.innerHTML = `You've got ${fornum(items.lemons)} lemons!`;
disMcmake.innerHTML = `So far every click gives you ${fornum((items.Mclick||1)*items.pres)} clicks!`;
Mc1.innerHTML = `Buy an upgrade for your clicks<br> for ${fornum(20+(items.Mclick||1)*(items.Mclick||1))} lemons`;
progva.innerHTML = `So far you got ${items.token} token out of ${1000*items.pres}!`
presBT1.innerHTML = `1 Ticket for <br> <b style="font-weight: 1000;">some</b> Lemons`
presBT10.innerHTML = `10 Tickets for <br> <b style="font-weight: 1000;">some more</b> Lemons`
presBTmax.innerHTML = `Buy all Ticket for <br> <b style="font-weight: 1000;">some</b> Lemons`
ItsTime.innerHTML = `Let's do this!`;
if(items.pres > 1){
got.innerHTML = `You've got ${items.pres-1} Prestige points`
}
} }
cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950;
document.getElementById('dislm').innerHTML = `You've got ${items.lemons} lemons!`
} }
function upload(){ // Upload
update(); function upload(){update();load();}
load();
}
function cash(){ function cash(){
setTimeout (function money(){ setTimeout (function money(){
cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950; cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000;
items.clicks += cs; items.clicks += cs*items.pres;
update();cash(); update();cash();
},1000) },1000)
} }
function fornum(num) {
// Define the suffixes for thousands and millions
const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld'];
// Divide the number by 1000 until it is less than 1000
let i = 0;
while (num >= 1000 && i < suffixes.length - 1) {
num /= 1000;
i++;
}
num = Math.floor(num * 10) / 10;
return num + suffixes[i];
}
window.onload = function(){ window.onload = function(){
load();cash(); load();cash();progress();
if((items.token != 0)&&(items.token < 1)){
items.token = 0;
}
}
/* U P G R A D E S */
function buyMcc(){
if(items.lemons>=20+(items.Mclick||1)*(items.Mclick||1)){
items.lemons -= 20+(items.Mclick||1)*(items.Mclick||1);
if((items.Mclick != 1)&&(items.Mclick < 2)){
items.Mclick = 1;
}
items.Mclick += 4;
console.log(items.Mclick);
upload();
}
}
function tblb(){ // Token Basic Lemon Buy
if(items.lemons >= 2000){
items.lemons -= 2000;
items.token++;
console.log(items.token);
}
progress();
upload();
}
function tmlm(){ // Token More Lemon Buy
if(items.lemons >= 20000){
items.lemons -= 20000;
items.token += 10;
console.log(items.token);
}
progress();
upload();
}
function talb(){ // Token All Lemon Buy
let C = ((1000*items.pres) - items.token)
for(let i = 0; i<C; i++){
if(items.lemons >= 2000){
items.lemons -= 2000;
items.token++;
console.log(items.token);
}
progress();
upload();
}
}
function progress(){
prog.value = `${items.token}`
prog.title = `${items.token}/${1000*items.pres}`
upload();
}
function TheThing(){
if(items.lang == 0 && items.token >= (1000*items.pres) && confirm(`Za Prestiže budeš získávat více kliků, ale tvůj postup se vynuluje (až na Prestiž body). Chceš se 'Znovuzrodit'?`)){ // CZ
alert(`Získal jsi 0.5 prestiže bodů!`);
items.pres += 0.5;
upload();
items = {
clicks:0,
dogs:0,
cats:0,
foxes:0,
wolfs:0,
hamsters:0,
whales:0,
capybaras:0,
platapuses:0,
porcupines:0,
hippos:0,
snakes:0,
cheetahs:0,
pythons:0,
girrafes:0,
lions:0,
otters:0,
meerkat:0,
raccoon:0,
owl:0,
badger:0,
squirrel:0,
chameleon:0,
chicken:0,
wombat:0,
panther:0,
coyote:0,
frog:0,
bear:0,
pig:0,
lemons:0,
lt3:0,
lang:items.lang,
pres:items.pres,
mode:items.mode,
Mclick:1,
token:0,
}
location.href = './index.html';
}else if(items.lang == 1 && items.token >= (1000*items.pres) && confirm(`For Prestige You'll earn more clicks, but your progress resets (except prestige points). Do you wish to 'Rebirth'?`)){ // En
alert(`You've earn 0.5 prestige points!`);
items.pres += 0.5;
upload();
items = {
clicks:0,
dogs:0,
cats:0,
foxes:0,
wolfs:0,
hamsters:0,
whales:0,
capybaras:0,
platapuses:0,
porcupines:0,
hippos:0,
snakes:0,
cheetahs:0,
pythons:0,
girrafes:0,
lions:0,
otters:0,
meerkat:0,
raccoon:0,
owl:0,
badger:0,
squirrel:0,
chameleon:0,
chicken:0,
wombat:0,
panther:0,
coyote:0,
frog:0,
bear:0,
pig:0,
lemons:0,
lt3:0,
lang:items.lang,
pres:items.pres,
mode:items.mode,
Mclick:1,
token:0,
}
location.href = './index.html';
}
}
// Dark || Light Mode
function SLDmodes(){
if(items.mode == 0){
items.mode = 1;
}else if(items.mode == 1){
items.mode = 0;
}
LDmodes();
upload();
console.log(items.mode);
}
function LDmodes(){
let Bimts = document.querySelectorAll('.item');
if((items.mode||0) == 0){// Light Mode
body.style.background = '#ddd';
body.style.color = '#000';
jonathan.style.background = 'linear-gradient(#11ABFF, #ccccccab)';
Bimts.forEach((e) => {
e.style.background = '#ffefd5';
});
loglm.style.background = '#ffefd5';
loglm.style.filter = 'drop-shadow(10px 8px 6px #222)';
}else if(items.mode == 1){// Dark Mode
body.style.background = '#333';
body.style.color = '#fff';
jonathan.style.background = 'linear-gradient(#11ABFF, #333333ab)';
Bimts.forEach((e) => {
e.style.background = '#666055';
});
loglm.style.background = '#666055'; // effd5f66
loglm.style.filter = 'drop-shadow(10px 8px 6px #222)';
}
} }

105
shop.html
View File

@@ -17,9 +17,9 @@
<link rel="icon" href="./img/shop.png"> <link rel="icon" href="./img/shop.png">
</head> </head>
<body> <body id="body">
<!-- Clicks --> <!-- Clicks -->
<section class="joe"> <section class="joe" id="jonathan">
<div id="logclick"> <div id="logclick">
<img src="./img/icons8-rest.svg" id="imgcli" draggable="false"> <img src="./img/icons8-rest.svg" id="imgcli" draggable="false">
<p id="disclick"></p> <p id="disclick"></p>
@@ -346,11 +346,103 @@
<p id="disgimake"></p> <p id="disgimake"></p>
</div> </div>
<!-- Otter -->
<div class="item">
<img src="./img/otter.svg">
<div class="buttons" style="--Bcolor: #bc8f8f">
<button onclick="buyoth()" class="buyone" id="ot1">
Buy a Otter
</button>
<button onclick="mxot()" class="buymax">
MAX
</button>
</div>
<div class="clickbtn" style="--Bcolor: #bc8f8f">
<button onclick="buyCoth()" class="buyone" id="Cot1">
Buy a Otter for clicks
</button>
<button onclick="mxCot()" class="buymax">
MAX
</button>
</div>
<p id="disoth"></p>
<p id="disotmake"></p>
</div>
<!-- Meerkat -->
<div class="item">
<img src="./img/meerkat.svg">
<div class="buttons" style="--Bcolor: #cd853f">
<button onclick="buymee()" class="buyone" id="me1">
Buy a Meerkat
</button>
<button onclick="mxme()" class="buymax">
MAX
</button>
</div>
<div class="clickbtn" style="--Bcolor: #cd853f">
<button onclick="buyCmee()" class="buyone" id="Cme1">
Buy a Meerkat for clicks
</button>
<button onclick="mxCme()" class="buymax">
MAX
</button>
</div>
<p id="dismee"></p>
<p id="dismeemake"></p>
</div>
<!-- Racoon -->
<div class="item">
<img src="./img/racoon.svg">
<div class="buttons" style="--Bcolor: #708090">
<button onclick="buyrac()" class="buyone" id="ra1">
Buy a Racoon
</button>
<button onclick="mxra()" class="buymax">
MAX
</button>
</div>
<div class="clickbtn" style="--Bcolor: #708090">
<button onclick="buyCrac()" class="buyone" id="Cra1">
Buy a Racoon for clicks
</button>
<button onclick="mxCra()" class="buymax">
MAX
</button>
</div>
<p id="disrac"></p>
<p id="disramake"></p>
</div>
<!-- Owl -->
<div class="item">
<img src="./img/owl.svg">
<div class="buttons" style="--Bcolor: #f4a460">
<button onclick="buyowl()" class="buyone" id="ow1">
Buy a Owl
</button>
<button onclick="mxow()" class="buymax">
MAX
</button>
</div>
<div class="clickbtn" style="--Bcolor: #f4a460">
<button onclick="buyCowl()" class="buyone" id="Cow1">
Buy a Owl for clicks
</button>
<button onclick="mxCow()" class="buymax">
MAX
</button>
</div>
<p id="disowl"></p>
<p id="disowmake"></p>
</div>
</article> </article>
<section class="row"> <article class="main">
<!-- Lemons --> <!-- Lemons -->
<div class="item"> <div class="item">
<img src="./img/lemon.svg" draggable="false"> <img src="./img/lemon.svg" draggable="false">
@@ -380,7 +472,8 @@
<p id="dislt3"></p> <p id="dislt3"></p>
<p id="disltmake"></p> <p id="disltmake"></p>
</div> </div>
</section> </article>
</main> </main>
<div class="menu-container"> <div class="menu-container">
@@ -390,9 +483,7 @@
<ul> <ul>
<li><a href="index.html" id="brb">BRB</a></li> <li><a href="index.html" id="brb">BRB</a></li>
<li><a href="upgrade.html" id="upg">Upgrades</a></li> <li><a href="upgrade.html" id="upg">Upgrades</a></li>
<li style="display: none;" onclick="reset()"><a id="del">RESET</a></li> <li onclick="SLDmodes()"><a id="modes">Dark Mode</a></li>
<li style="display: none;" onclick="help()"><a id="sos">???</a></li>
<li style="display: none;" onclick="LDmodes()"><a id="modes">Dark Mode</a></li>
</ul> </ul>
</div> </div>
<script> <script>

View File

@@ -5,34 +5,95 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<title>BRB - Upgrades</title> <title>BRB - Upgrades</title>
<link rel="stylesheet" href="./css/upgr.css"> <link rel="stylesheet" href="./css/upgr.css">
<link rel="icon" href="./img/upgrade-icon-png-12.jpg"> <link rel="icon" href="./img/upgrade-icon-png-12.jpg">
</head> </head>
<body> <body id="body">
<!-- BRB --> <!-- BRB -->
<header> <header>
<div id="links"> <!-- lemons -->
<p class="link" style="--color:#ff6655"> <section class="joe" id="jonathan">
<a href="index.html">Go to BRB!</a> <div id="loglm">
</p> <img src="./img/lemon.svg" id="imglm" draggable="false">
<p class="link" style="--color:darkorange"> <p id="dislm"></p>
<a href="shop.html" id="clickbrb">Go back to Shop!</a> </div>
</p> </section>
</div>
<!-- lemons -->
<div id="loglm">
<img src="./img/Lemons.png" id="imglm" draggable="false">
<p id="dislm"></p>
</div>
</header> </header>
<h1 style="text-align:center;margin-top:5rem;"> <main style="margin-top: 210px;">
COMING SOON... <!-- Example -->
</h1> <div class="item" style="--color: ">
<h2>BRB</h2>
<img src="./img/brb-still.png">
<div class="buttons" style="--Bcolor: darkred">
<button onclick="buyMcc()" class="buyone" id="Mc1">
Buy a Lorem ipsum, dolor sit amet consectetur
</button><!--
<button onclick="mxMc()" class="buymax">
MAX
</button>-->
</div>
<p id="disMcmake"></p>
</div>
<div class="item">
<h2>Prestige</h2>
<img src="./img/angel-wings.svg">
<div>
<progress id="prog" min="0" max="1000" value="0"></progress>
</div>
<div class="buttons" style="--Bcolor: gold">
<button class="buyTone" onclick="tblb()" id="presBT1">
Buy 1 ticket
</button>
<button class="buyTone" onclick="tmlm()" id="presBT10">
Buy 10 tickets
</button>
<button class="buyTone" onclick="talb()" id="presBTmax">
Buy All tickets
</button>
</div>
<button id="ItsTime" onclick="TheThing();"></button>
<p id="progva"></p>
<p id="got"></p>
</div>
</main>
<div class="menu-container">
<div class="button">Menu
<span class="fas fa-bars"></span>
</div>
<ul>
<li><a href="index.html" id="BRB">BRB</a></li>
<li><a href="shop.html" id="shop">Shop</a></li>
<li onclick="SLDmodes()"><a id="modes">Dark Mode</a></li>
</ul>
</div>
<script>
$(document).ready(function(){
$('.button').click(function(){
if($(this).hasClass('expand')){
$('ul').slideUp(function(){
$('.button').removeClass('expand');
$('.fas').removeClass('expand');
})
}else{
$(this).addClass('expand');
setTimeout(function(){
$('.fas').addClass('expand');
$('ul').stop().slideDown();
},200);
}
})
})
</script>
<script src="./js/upgr.js"></script> <script src="./js/upgr.js"></script>
</body> </body>