commit 317cac71a77ffa8edeb4b8a056ca779474406402
Author: MrEidam <126872183+MrEidam@users.noreply.github.com>
Date: Thu Aug 31 21:32:20 2023 +0200
Add files via upload
diff --git a/add.txt b/add.txt
new file mode 100644
index 0000000..cba1b4f
--- /dev/null
+++ b/add.txt
@@ -0,0 +1,75 @@
+click.offline.make
+max 5 hour
+
+ name gen com.cost cost
+1 dog = 1 clicks/s = 100 | 100 clicks
+1 cat = 12 c/s = 1 000 | 10 dogs
+1 fox = 18 c/s = 1 500 | 15 dogs
+1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs
+1 hamster = 130 c/s = 10 100 | 1 wolf + 2 cats
+1 whale = 220 c/s = 16 200 | 2 wolfs
+1 cappibara = 280 c/s = 20 200 | 1 whale + 4 cats
+1 platapus = 400 c/s = 28 300 | 1 cappy + 1 wolf
+1 porcupine = 650 c/s = 44 500 | 1 pussy + 1 whale (Dikobraz)
+1 hippo = 950 c/s = 64 700 | 1 porcupine + 2 hamters
+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 python =
+1 girrafe = 1 000 000 c/s
+1 otter
+1 meerkat
+1 raccoon
+1 owl
+1 badger
+1 squirrel
+1 chameleon
+1 chicken
+1 wombat
+1 panther
+1 coyote
+1 frog
+1 bear
+1 pig
+
+1 citronovník = 30 lemons/h
+
+36,7% k 10 citronum že vyroste citronovník
+
+compile to .exe and add it to the play store
+
+add complete history of clicks, dogs, cats, lemons, ...
+
+
+
+
+
+ Upgrades!
+
+Button
+Green button - 2.5 clicks per clicks
+Yellow button - 4 clicks/click + random Chance for a lemon
+Purple button - 6 c/c
+Cyan button - 10 c/c + random chance for ______
+
+ Dog
+R collar - 1.5 cs
+G collar - 2 cs
+Y collar - 5 cs
+P collar - 8.2 cs
+C collar - 15 cs
+
+ Cat
+R collar - 150 cs
+G collar - 200 cs
+Y collar - 500 cs
+P collar - 750 cs
+C collar - 1 000 cs
+
+ Fox
+R fur - 225 cs
+G fur - 300 cs
+Y fur - 666 cs
+P fur - 1 125 cs
+C fur - 1 500 cs
+
+lemon
\ No newline at end of file
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..e106e2f
--- /dev/null
+++ b/changelog
@@ -0,0 +1,69 @@
+ v38
+ Added: Snakes + Cheetas
+ new UI design for Shop Goer buttons and click displayer
+ new UI for flags
+ !!FIXED_BUTTONS_AND_CLICKS_IN_SHOP
+ Animated clicking for click displayer
+
+ Removed: Nothing
+
+ Fixed: Nothing
+
+ Note: FIRST VERSION ON DA NEEEW DOMAIN
+ + onto wallpaper engine :D
+
+ v37
+ Added: Better Language
+ Porcupines + Hippos
+ Buy Option - Clicks for E V E R Y T H I N G*
+ *exept Lemonds + L. Trees (Upgrades)
+ into local.storage almost 20 new animals (I HOPE)
+ Hidden Prestige multiplier (¯\_(ツ)_/¯)
+ 'Coming soon...' to Upgrade menu
+
+ Removed: Nothing
+
+ Fixed: !!!!BRAND_NEW_SHOP_USER_INteRFACE!!!!
+ Shop I fixed shop (hapines)
+ - Shop.pain
+ -wanna cry
+
+ Note: Make the game harder (To eazy)
+ Main.js - 274 lines
+ Shop.js - 631 lines
+
+
+ v36
+ Added: Better Czech version
+ Buy Option - Clicks for Cats
+
+ Fixed: BRB now still
+
+ v35
+ Added: Platapuses
+ Better Ui
+ Now Czech Version
+
+ Fixed: Items not loading propebly
+
+
+ v34
+ Added: New Button to Upgrades menu
+ Shop UI
+
+ Fixed: Finally fixed NaN, Undefined, Null error
+
+ v33
+ Added: New UI for shop
+
+ v32 /* 18.4. 2023 */
+ Added: max value shop for wolfs, whales, hamsters, capybaras
+ icons for said animals
+ new interface for BRB clicking
+
+ Removed: scrolling in BRB clicking
+
+ Fixed: button to get to the shop was updated
+
+ v31
+ undefined and NaN fix for adding new animals
\ No newline at end of file
diff --git a/css/brb.css b/css/brb.css
new file mode 100644
index 0000000..827a9cc
--- /dev/null
+++ b/css/brb.css
@@ -0,0 +1,112 @@
+body {
+ font-size: 15pt;
+ user-select: none;
+ padding: 0;
+ margin: 0;
+ background-color: #fff;
+}
+#LANGMISS{
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ text-align: center;
+ z-index: 20;
+ visibility: hidden;
+}
+#tycoon{
+ position: absolute;
+ width: 100%;
+ height: 200px;
+ background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%);
+}
+#shop{
+ position: absolute;
+ width: 100%;
+ top: 20%;
+ text-align: center;
+ color: #000000;
+ text-decoration: underline;
+ transform: translateY(-50%);
+}
+#cool{
+ position: absolute;
+ top: 98px;
+ left: 0%;
+ width: 100%;
+ height: 25%;
+ /*background: radial-gradient(#9aff9a,#fff);*/
+}
+#logclick{
+ position: absolute;
+ width: 100%;
+ top: 40px;
+ left: 50%;
+ text-align: center;
+ transform: translate(-50%,0);
+}
+#disclick{
+ position: absolute;
+ width: 100%;
+}
+
+/*BRB*/
+#unpressed{
+ position: absolute;
+ width: 300px;
+ height: 300px;
+ border-radius: 150px;
+}
+#pressed{
+ position: absolute;
+ width: 300px;
+ height: 300px;
+ visibility: hidden;
+ border-radius: 150px;
+}
+#button{
+ user-select: none;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin: -150px 0 0 -150px;
+ border-radius: 150px;
+}
+/* Other BTNS */
+.reset{
+ position: absolute;
+ user-select: none;
+ width: 69px;
+ height: 50px;
+ bottom: 5px;
+ right: 5px;
+ background-color: #f00;
+ color: #fff;
+}
+.help{
+ position: absolute;
+ user-select: none;
+ width: 69px;
+ height: 50px;
+ bottom: 60px;
+ right: 5px;
+ background-color: darkgoldenrod;
+ color: #fff;
+}
+.Yt{
+ position: absolute;
+ bottom: 0px;
+ margin: 0.5rem;
+ left: 0;
+}
+.flag{
+ position: absolute;
+ user-select: none;
+ width: 69px;
+ height: 50px;
+ border-radius: 1rem;
+ bottom: 50px;
+ left: 0%;
+ margin: 0.5rem;
+ color: #000;
+ filter: drop-shadow(10px 8px 6px #333);
+}
\ No newline at end of file
diff --git a/css/shop.css b/css/shop.css
new file mode 100644
index 0000000..8772f0b
--- /dev/null
+++ b/css/shop.css
@@ -0,0 +1,179 @@
+*{
+ margin: 0;
+ padding: 0;
+ user-select: none;
+ box-sizing: border-box;
+ scroll-behavior: smooth;
+}
+
+body {
+ font-size: 15pt;
+ /*background: linear-gradient(#009000, black);*/
+ background-color: #ccc;
+}
+
+/* Clisks */
+#logclick{
+ background-color: papayawhip;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 5ch;
+ margin: 0 5vw 0 5vw;
+ padding: 1rem;
+ border: 5px dashed blue;
+ border-radius: 1rem;
+ z-index: 69;
+ width: auto;
+ height: 85px;
+ filter: drop-shadow(10px 8px 6px #333);
+}
+
+#imgcli{
+ width: 50px;
+ height: 50px;
+ margin: 0.1rem;
+ width: 100px;
+ aspect-ratio: 1/1;
+ margin: 0.5rem;
+ object-fit: contain;
+ pointer-events: none
+}
+
+#links{
+ position: relative;
+ width: 100%;
+ margin: 1rem auto;
+ padding: 10px;
+ display: flex;
+ justify-content: space-around;
+}
+.link{
+ position: relative;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ background-color: var(--color);
+ min-width: 200px;
+ height: 50px;
+ margin: 1rem auto;
+ border: 3.69px none #333333;
+ filter: drop-shadow(10px 8px 6px #333);
+ border-radius: 69px;
+}
+
+.backtop{
+ height: 230px;
+ max-width: auto;
+ margin: 0 1.5vw 0 1.5vw;
+ border-radius: 0 0 90px 90px;
+ background: linear-gradient(#11ABFF, #ccccccab);
+ /*border: red solid 5px;*/
+}
+
+.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: 340px;
+ 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;
+}
+
+.buymax{
+ width: 50px;
+ height: 50px;
+}
+
+main{
+ position: relative;
+}
+
+
+/* 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;
+}
+
+/*@media only screen and (max-width: 1100px){
+ .row .item{
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ left: 50%;
+ transform: translateXyy(-50%);
+ }
+}*/
+
+button{
+ border: none;
+ filter: drop-shadow(8px 6px 4px #555);
+}
+
+
+
+
+@media only screen and (max-width: 800px){
+ .row{
+ flex-direction: column;
+ justify-content: center;
+ }
+ .item{
+ width: auto;
+ margin: 2rem 10vw 2rem 10vw;
+ }
+}
\ No newline at end of file
diff --git a/css/upgr.css b/css/upgr.css
new file mode 100644
index 0000000..0ae23ce
--- /dev/null
+++ b/css/upgr.css
@@ -0,0 +1,54 @@
+*{
+ margin: 0;
+ padding: 0;
+ user-select: none;
+ box-sizing: border-box;
+ scroll-behavior: smooth;
+}
+
+body {
+ font-size: 15pt;
+ /*background: linear-gradient(#009000, black);*/
+ background-color: #ccc;
+}
+
+#links{
+ position: relative;
+ width: 100%;
+ margin: 1rem auto;
+ padding: 10px;
+ display: flex;
+ justify-content: space-around;
+}
+.link {
+ position: relative;
+ text-align: center;
+ background-color: var(--color);
+ width: 200px;
+ height: 50px;
+ margin: 1rem auto;
+ padding: 10px;
+ border: 3.69px solid #333333;
+ border-radius: 69px;
+}
+/* By MrEidam */
+
+/* Clisks */
+#loglm{
+ background-color: papayawhip;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 5ch;
+ margin: 0 5vw 0 5vw;
+ padding: 1rem;
+ border: 5px dashed #effd5f66;
+ border-radius: 1rem;
+}
+
+#imglm{
+ width: 40px;
+ height: 40px;
+ margin: 0.1rem;
+}
+/* By MrEidam */
\ No newline at end of file
diff --git a/img/Cat.png b/img/Cat.png
new file mode 100644
index 0000000..fe09efd
Binary files /dev/null and b/img/Cat.png differ
diff --git a/img/Click.png b/img/Click.png
new file mode 100644
index 0000000..65d2191
Binary files /dev/null and b/img/Click.png differ
diff --git a/img/Dog.png b/img/Dog.png
new file mode 100644
index 0000000..ceb9d9e
Binary files /dev/null and b/img/Dog.png differ
diff --git a/img/Fox.png b/img/Fox.png
new file mode 100644
index 0000000..0fc5dee
Binary files /dev/null and b/img/Fox.png differ
diff --git a/img/Hamsta.png b/img/Hamsta.png
new file mode 100644
index 0000000..e2172d1
Binary files /dev/null and b/img/Hamsta.png differ
diff --git a/img/Lemons.png b/img/Lemons.png
new file mode 100644
index 0000000..2339cf4
Binary files /dev/null and b/img/Lemons.png differ
diff --git a/img/Lemt3.png b/img/Lemt3.png
new file mode 100644
index 0000000..901fe29
Binary files /dev/null and b/img/Lemt3.png differ
diff --git a/img/Porcupine.png b/img/Porcupine.png
new file mode 100644
index 0000000..3dc2007
Binary files /dev/null and b/img/Porcupine.png differ
diff --git a/img/Wolf.png b/img/Wolf.png
new file mode 100644
index 0000000..ec30657
Binary files /dev/null and b/img/Wolf.png differ
diff --git a/img/YT.png b/img/YT.png
new file mode 100644
index 0000000..dc7bcad
Binary files /dev/null and b/img/YT.png differ
diff --git a/img/brb-pressed.png b/img/brb-pressed.png
new file mode 100644
index 0000000..71f01ab
Binary files /dev/null and b/img/brb-pressed.png differ
diff --git a/img/brb-still.png b/img/brb-still.png
new file mode 100644
index 0000000..ad1141d
Binary files /dev/null and b/img/brb-still.png differ
diff --git a/img/capy.png b/img/capy.png
new file mode 100644
index 0000000..84c3532
Binary files /dev/null and b/img/capy.png differ
diff --git a/img/capybara.svg b/img/capybara.svg
new file mode 100644
index 0000000..2460890
--- /dev/null
+++ b/img/capybara.svg
@@ -0,0 +1,38 @@
+
+
+
\ No newline at end of file
diff --git a/img/cat-body.svg b/img/cat-body.svg
new file mode 100644
index 0000000..abce513
--- /dev/null
+++ b/img/cat-body.svg
@@ -0,0 +1,52 @@
+
\ No newline at end of file
diff --git a/img/cat-head.svg b/img/cat-head.svg
new file mode 100644
index 0000000..8591d06
--- /dev/null
+++ b/img/cat-head.svg
@@ -0,0 +1,26 @@
+
\ No newline at end of file
diff --git a/img/cheetah.svg b/img/cheetah.svg
new file mode 100644
index 0000000..092a564
--- /dev/null
+++ b/img/cheetah.svg
@@ -0,0 +1,506 @@
+
+
+
diff --git a/img/click-click.png b/img/click-click.png
new file mode 100644
index 0000000..e452774
Binary files /dev/null and b/img/click-click.png differ
diff --git a/img/click-click.svg b/img/click-click.svg
new file mode 100644
index 0000000..14fe672
--- /dev/null
+++ b/img/click-click.svg
@@ -0,0 +1,30 @@
+
+
+
diff --git a/img/click-rest.png b/img/click-rest.png
new file mode 100644
index 0000000..993e828
Binary files /dev/null and b/img/click-rest.png differ
diff --git a/img/click-rest.svg b/img/click-rest.svg
new file mode 100644
index 0000000..18be4c7
--- /dev/null
+++ b/img/click-rest.svg
@@ -0,0 +1,26 @@
+
+
+
diff --git a/img/dog.svg b/img/dog.svg
new file mode 100644
index 0000000..51c2b4f
--- /dev/null
+++ b/img/dog.svg
@@ -0,0 +1,23 @@
+
\ No newline at end of file
diff --git a/img/fg-cz.png b/img/fg-cz.png
new file mode 100644
index 0000000..2d58661
Binary files /dev/null and b/img/fg-cz.png differ
diff --git a/img/fg-uk.png b/img/fg-uk.png
new file mode 100644
index 0000000..35ec8f1
Binary files /dev/null and b/img/fg-uk.png differ
diff --git a/img/fox.svg b/img/fox.svg
new file mode 100644
index 0000000..13704a4
--- /dev/null
+++ b/img/fox.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/hamster.svg b/img/hamster.svg
new file mode 100644
index 0000000..9e33099
--- /dev/null
+++ b/img/hamster.svg
@@ -0,0 +1,24 @@
+
\ No newline at end of file
diff --git a/img/hippopotamus.png b/img/hippopotamus.png
new file mode 100644
index 0000000..2df7046
Binary files /dev/null and b/img/hippopotamus.png differ
diff --git a/img/icons8-clicked.png b/img/icons8-clicked.png
new file mode 100644
index 0000000..8a4b40f
Binary files /dev/null and b/img/icons8-clicked.png differ
diff --git a/img/icons8-rest.svg b/img/icons8-rest.svg
new file mode 100644
index 0000000..6d7d9a9
--- /dev/null
+++ b/img/icons8-rest.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/lemon-tree.svg b/img/lemon-tree.svg
new file mode 100644
index 0000000..f045b01
--- /dev/null
+++ b/img/lemon-tree.svg
@@ -0,0 +1,58 @@
+
+
+
diff --git a/img/lemon.svg b/img/lemon.svg
new file mode 100644
index 0000000..e6dafd4
--- /dev/null
+++ b/img/lemon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/platapus.png b/img/platapus.png
new file mode 100644
index 0000000..928bbc4
Binary files /dev/null and b/img/platapus.png differ
diff --git a/img/shop.png b/img/shop.png
new file mode 100644
index 0000000..7dadb79
Binary files /dev/null and b/img/shop.png differ
diff --git a/img/snake.svg b/img/snake.svg
new file mode 100644
index 0000000..1753178
--- /dev/null
+++ b/img/snake.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/upgrade-icon-png-12.jpg b/img/upgrade-icon-png-12.jpg
new file mode 100644
index 0000000..4306888
Binary files /dev/null and b/img/upgrade-icon-png-12.jpg differ
diff --git a/img/wha.png b/img/wha.png
new file mode 100644
index 0000000..b9b3ada
Binary files /dev/null and b/img/wha.png differ
diff --git a/img/whale.svg b/img/whale.svg
new file mode 100644
index 0000000..c1e96ad
--- /dev/null
+++ b/img/whale.svg
@@ -0,0 +1,141 @@
+
+
+
+
diff --git a/img/wolf.svg b/img/wolf.svg
new file mode 100644
index 0000000..af40205
--- /dev/null
+++ b/img/wolf.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..5135e32
--- /dev/null
+++ b/index.html
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+ BRB - Clicking
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Error with da flag
+
+
+
+

+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/main.js b/main.js
new file mode 100644
index 0000000..832ef00
--- /dev/null
+++ b/main.js
@@ -0,0 +1,275 @@
+// Items
+let items;
+var cs = 0;
+let e = 0;
+var 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(){
+ if (localStorage.getItem('items')!=null){
+ items = JSON.parse(localStorage.getItem('items'));
+ }
+}
+
+window.onload = function(){
+ 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:0,
+ pres:1,
+
+ }
+ load();
+ update();
+ for(let item in items){
+ if(!items.item) items.item = 0;
+ }
+ cash();
+ checklang()
+ missdezz()
+}
+
+// Reset
+function reset(){
+ if(items.lang == 1){
+ if(confirm('Do you really want to reset everything?')){
+ if(confirm('Are you sure?')){
+ alert('Everything Reseted');
+ 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:1,
+ }
+ }
+ }
+ }
+ if(items.lang == 0){
+ if(confirm('Vážně chceš všechno resetovat?')){
+ if(confirm('Seš si jistý?')){
+ alert('Vše resetováno');
+ 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:1,
+ }
+ }
+ }
+ }
+}
+
+// Update
+function update(){
+ let i = JSON.stringify(items);
+ localStorage.setItem('items', i);
+ if(items.lang == 1){
+ document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and generating ${fornum(cs)} c/s!`
+ flag.src = './img/fg-cz.png'
+ }
+ if(items.lang == 0){
+ document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs)} k/s!`
+ flag.src = './img/fg-uk.png'
+ }
+ checklang();
+}
+
+// BRB
+function beriba(){
+ document.getElementById('unpressed').style.visibility='visible'
+ document.getElementById('pressed').style.visibility='hidden'
+ anime=true;
+}
+
+function clicking(){
+ items.clicks += 1;
+ update();
+
+ document.getElementById('unpressed').style.visibility='hidden'
+ document.getElementById('pressed').style.visibility='visible'
+ anime=false;
+
+ setTimeout(beriba, 75)
+}
+
+function cash(){
+ 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.clicks += cs;
+ update();cash();
+ },1000)
+}
+
+// HELP
+function help(){
+ e++
+ if(e==1){
+ alert('Click the button to earn clicks!');
+ alert('Click on me for more...');
+ }
+ if(e==2){
+ alert('After 100 clicks, click the link above to take you to the shop!');
+ alert('Click on me for more. .');
+ }
+ if(e==3){
+ alert('In the shop click on the buy dog button to buy a dog');
+ e=0;
+ }
+}
+function language(){
+ if(items.lang == 0){ /* CZ */
+ items.lang = 1;
+ console.log(items.lang);
+ del.innerHTML = 'RESET'
+ sos.innerHTML = 'POMOC'
+ shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!'
+
+ }else if(items.lang == 1){ /* UK */
+ items.lang = 0;
+ console.log(items.lang);
+ del.innerHTML = 'RESET'
+ sos.innerHTML = 'HELP'
+ shop.innerHTML = 'Click me to get to the Shop!'
+
+ }
+}
+
+function checklang(){
+ if(items.lang == 0){ /* CZ */
+ del.innerHTML = 'RESET'
+ sos.innerHTML = 'POMOC'
+ shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!'
+
+ }else if(items.lang == 1){ /* UK */
+ del.innerHTML = 'RESET'
+ sos.innerHTML = 'HELP'
+ shop.innerHTML = 'Click me to get to the Shop!'
+
+ }
+}
+
+
+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 fornum(num) {
+ // Define the suffixes for thousands and millions
+ const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua'];
+
+ // 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];
+}
\ No newline at end of file
diff --git a/shop.html b/shop.html
new file mode 100644
index 0000000..8a3b376
--- /dev/null
+++ b/shop.html
@@ -0,0 +1,355 @@
+
+
+
+
+
+
+
+
+ BRB - Shop
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/shop.js b/shop.js
new file mode 100644
index 0000000..4b00dcb
--- /dev/null
+++ b/shop.js
@@ -0,0 +1,684 @@
+let cs
+
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+let = document.getElementById('')
+
+// Update
+function update(){
+ let i = JSON.stringify(items);
+ 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;
+}
+function c(x){
+ items.clicks += x;
+ console.log(x + ' clicks added!');
+ upload();
+}
+
+// Load
+function load(){
+ items = JSON.parse(localStorage.getItem('items'));
+ 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;
+
+ if(items.lang == 1){
+ disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs)} c/s!`
+ disdog.innerHTML=`You've got ${fornum(items.dogs)} dogs!`
+ discat.innerHTML=`You've got ${fornum(items.cats)} cats!`
+ disfox.innerHTML=`You've got ${fornum(items.foxes)} foxes!`
+ diswol.innerHTML=`You've got ${fornum(items.wolfs)} wolfs!`
+ disham.innerHTML=`You've got ${fornum(items.hamsters)} hamsters!`
+ diswha.innerHTML=`You've got ${fornum(items.whales)} whales!`
+ discap.innerHTML=`You've got ${fornum(items.capybaras)} capybaras!`
+ displa.innerHTML=`You've got ${fornum(items.platapuses)} platypuses!`
+ dispor.innerHTML=`You've got ${fornum(items.porcupines)} porcupines!`
+ diship.innerHTML=`You've got ${fornum(items.hippos)} hippopotamuses!`
+ dissna.innerHTML=`You've got ${fornum(items.snakes)} snakes!`
+ dische.innerHTML=`You've got ${fornum(items.cheetahs)} cheetahs!`
+
+
+
+
+ document.getElementById('dislem').innerHTML=`You've got ${fornum(items.lemons)} lemons!`
+ document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!`
+
+
+ disdgmake.innerHTML=`They're generating ${fornum(items.dogs*1)} clicks per second!`
+ disctmake.innerHTML=`They're generating ${fornum(items.cats*12)} clicks per second!`
+ disfxmake.innerHTML=`They're generating ${fornum(items.foxes*18)} clicks per second!`
+ diswlmake.innerHTML=`They're generating ${fornum(items.wolfs*100)} clicks per second!`
+ dishmmake.innerHTML=`They're generating ${fornum(items.hamsters*130)} clicks per second!`
+ diswhmake.innerHTML=`They're generating ${fornum(items.whales*220)} clicks per second!`
+ discpmake.innerHTML=`They're generating ${fornum(items.capybaras*280)} clicks per second!`
+ displmake.innerHTML=`They're generating ${fornum(items.platapuses*400)} clicks per second!`
+ disprmake.innerHTML=`They're generating ${fornum(items.porcupines*650)} clicks per second!`
+ dishimake.innerHTML=`They're generating ${fornum(items.hippos*950)} clicks per second!`
+ dissnmake.innerHTML=`They're generating ${fornum(items.snakes*1000)} clicks per second!`
+ dischmake.innerHTML=`They're generating ${fornum(items.cheetahs*3000)} clicks per second!`
+
+ brb.innerHTML = 'Go to BRB!'
+ upg.innerHTML = 'Go to Upgrades!'
+ dg1.innerHTML = 'Buy a Dog for 100 clicks'
+ ct1.innerHTML = 'Buy a Cat for 10 dogs'
+ fx1.innerHTML = 'Buy a Fox for 15 dogs'
+ wl1.innerHTML = 'Buy a Wolf for
6 dogs and 5 foxes'
+ hm1.innerHTML = 'Buy a Hamster for
1 wolf and 2 cats'
+ wh1.innerHTML = 'Buy a Whale for 2 wolfs'
+ cp1.innerHTML = 'Buy a Capybara for
1 whale and 4 cats'
+ pl1.innerHTML = 'Buy a Platypus for
1 capybara and 1 wolf'
+ pr1.innerHTML = 'Buy a Porcupine for
1 platypus and 1 whale'
+ hi1.innerHTML = 'Buy a Hippopotamus for
1 porcupine and 2 hamsters'
+ sn1.innerHTML = 'Buy a Snake for
2 whales and 4 hamsters'
+ ch1.innerHTML = 'Buy a Cheetah for
2 snakes and 2 platypuses'
+
+ lm1.innerHTML = 'Buy a Lemon for some cats'
+ lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons'
+
+ // Buying for clicks
+ Cct1.innerHTML = 'Buy a Cat for
1,2 k clicks'
+ Cfx1.innerHTML = 'Buy a Fox for
1,8 k clicks'
+ Cwl1.innerHTML = 'Buy a Wolf for
10 k clicks'
+ Chm1.innerHTML = 'Buy a Hamster for
13 k clicks'
+ Cwh1.innerHTML = 'Buy a Whale for
22 k clicks'
+ Ccp1.innerHTML = 'Buy a Capybara for
28 k clicks'
+ Cpl1.innerHTML = 'Buy a Platypus for
42 k clicks'
+ Cpr1.innerHTML = 'Buy a Porcupine for
70 k clicks'
+ Chi1.innerHTML = 'Buy a Hippopotamus for
100 k clicks'
+ Csn1.innerHTML = 'Buy a Snake for
150 k clicks'
+ Cch1.innerHTML = 'Buy a Cheetah for
350 k clicks'
+ }
+ if(items.lang == 0){
+ document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs)} k/s!`
+ 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('disfox').innerHTML=`Právě máš ${fornum(items.foxes)} lišek!`
+ document.getElementById('diswol').innerHTML=`Právě máš ${fornum(items.wolfs)} vlků!`
+ 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('discap').innerHTML=`Právě máš ${fornum(items.capybaras)} kapybar!`
+ document.getElementById('displa').innerHTML=`Právě máš ${fornum(items.platapuses)} plakopysků!`
+ document.getElementById('dispor').innerHTML=`Právě máš ${fornum(items.porcupines)} dikobrazů!`
+ document.getElementById('diship').innerHTML=`Právě máš ${fornum(items.hippos)} hrochů!`
+ document.getElementById('dissna').innerHTML=`Právě máš ${fornum(items.snakes)} hadů!`
+ document.getElementById('dische').innerHTML=`Právě máš ${fornum(items.cheetahs)} gepardů!`
+
+
+
+
+ document.getElementById('dislem').innerHTML=`Právě máš ${fornum(items.lemons)} citrónů!`
+ 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('disctmake').innerHTML=`Generují ${fornum(items.cats*12)} kliků za sekundu!`
+ document.getElementById('disfxmake').innerHTML=`Generují ${fornum(items.foxes*18)} kliků za sekundu!`
+ document.getElementById('diswlmake').innerHTML=`Generují ${fornum(items.wolfs*100)} kliků za sekundu!`
+ document.getElementById('dishmmake').innerHTML=`Generují ${fornum(items.hamsters*130)} kliků za sekundu!`
+ document.getElementById('diswhmake').innerHTML=`Generují ${fornum(items.whales*220)} kliků za sekundu!`
+ document.getElementById('discpmake').innerHTML=`Generují ${fornum(items.capybaras*280)} kliků za sekundu!`
+ document.getElementById('displmake').innerHTML=`Generují ${fornum(items.platapuses*400)} kliků za sekundu!`
+ document.getElementById('disprmake').innerHTML=`Generují ${fornum(items.porcupines*650)} kliků za sekundu!`
+ document.getElementById('dishimake').innerHTML=`Generují ${fornum(items.hippos*950)} kliků za sekundu!`
+ document.getElementById('dissnmake').innerHTML=`Generují ${fornum(items.snakes*1000)} kliků za sekundu!`
+ document.getElementById('dischmake').innerHTML=`Generují ${fornum(items.cheetahs*3000)} kliků za sekundu!`
+
+
+ brb.innerHTML = 'B.R.B.'
+ upg.innerHTML = 'Vylepšení'
+ dg1.innerHTML = 'Kup Psa za 100 kliků'
+ ct1.innerHTML = 'Kup Kočku za 10 psů'
+ fx1.innerHTML = 'Kup Lišku za 15 psů'
+ wl1.innerHTML = 'Kup Vlka za
6 psů a 5 lišek'
+ hm1.innerHTML = 'Kup Křečka za
1 vlka a 2 kočky'
+ wh1.innerHTML = 'Kup Velrybu za 2 vlky'
+ cp1.innerHTML = 'Kup Kapybaru za
1 velrybu a 4 kočky'
+ pl1.innerHTML = 'Kup Ptakopyska za
1 capybaru a 1 vlka'
+ pr1.innerHTML = 'Kup Dikobraza za
1 ptakopyska a 1 velrybu'
+ hi1.innerHTML = 'Kup Hrocha za
1 dikobraza a 2 křečků'
+ sn1.innerHTML = 'Kup Hada za
2 velryby a 4 křečky'
+ ch1.innerHTML = 'Kup Geparda za
2 hady a 2 ptakopysky'
+
+ lm1.innerHTML = 'Kup Citrón za pár koček'
+ lt1.innerHTML = 'Kup Citrónovník za 5 citrónů'
+
+ // Buying for clicks
+ Cct1.innerHTML = 'Kup Kočku za
1,2 k kliků'
+ Cfx1.innerHTML = 'Kup Lišku za
1,8 k kliků'
+ Cwl1.innerHTML = 'Kup Vlka za
10 k kliků'
+ Chm1.innerHTML = 'Kup Křečka za
13 k kliků'
+ Cwh1.innerHTML = 'Kup Velrybu za
22 k kliků'
+ Ccp1.innerHTML = 'Kup Kapybaru za
28 k kliků'
+ Cpl1.innerHTML = 'Kup Ptakopyska za
42 k kliků'
+ Cpr1.innerHTML = 'Kup Dikobraza za
70 k kliků'
+ Chi1.innerHTML = 'Kup Hrocha za
100 k kliků'
+ Csn1.innerHTML = 'Kup Hada za
150 k kliků'
+ Cch1.innerHTML = 'Kup Geparda za
350 k kliků'
+ }
+}
+load();
+
+// Upload
+function upload(){update();load();}
+
+function cash(){
+ setTimeout (function money(){
+ items.clicks += cs;
+ upload();
+ cash();click()
+ },1000)
+}
+cash();
+
+function click(){
+ setTimeout(function decoration(){
+ document.getElementById('imgcli').src = './img/icons8-clicked.png'
+ },500);
+ setTimeout(function decoration(){
+ document.getElementById('imgcli').src = './img/icons8-rest.svg'
+ },1000)
+}
+
+// Nákupy
+function buydog(){
+ if (items.clicks>=100){
+ items.clicks -= 100;
+ items.dogs += 1;
+ }
+ upload();
+ click()
+}
+function buycat(){
+ if(items.dogs>=10){
+ items.dogs-=10;
+ items.cats+=1;
+ }
+ upload();
+}
+function buyfox(){
+ if(items.dogs>=15){
+ items.dogs-=15;
+ items.foxes+=1;
+ }
+ upload();
+}
+function buywol(){
+ if(items.dogs>=6 && items.foxes>=5){
+ items.dogs-=6;
+ items.foxes-=5;
+ items.wolfs+=1;
+ }
+ upload();
+}
+function buyham(){
+ if(items.wolfs>=1 && items.cats>=2){
+ items.wolfs-=1;
+ items.cats-=2;
+ items.hamsters+=1;
+ }
+ upload();
+}
+function buywha(){
+ if(items.wolfs>=2){
+ items.wolfs-=2;
+ items.whales+=1;
+ }
+ upload();
+}
+function buycap(){
+ if(items.whales>=1 && items.cats>=4){
+ items.whales-=1;
+ items.cats-=4;
+ items.capybaras+=1;
+ }
+ upload();
+}
+function buypla(){
+ if(items.capybaras>=1 && items.wolfs>=1){
+ items.capybaras-=1;
+ items.wolfs-=1;
+ items.platapuses+=1;
+ }
+ upload();
+}
+function buypor(){
+ if(items.platapuses>=1 && items.whales>=1){
+ items.platapuses-=1;
+ items.whales-=1;
+ items.porcupines++;
+ }
+ upload();
+}
+function buyhip(){
+ if(items.porcupines>=1 && items.hamsters>=2){
+ items.porcupines-=1;
+ items.hamsters-=2;
+ items.hippos++;
+ }
+ upload();
+}
+function buysna(){
+ if(items.whales>=2 && items.hamsters>=4){
+ items.whales-=2;
+ items.hamsters-=4;
+ items.snakes++;
+ }
+ upload();
+}
+function buyche(){
+ if(items.snakes>=2 && items.platapuses>=2){
+ items.snakes-=2;
+ items.platapuses-=2;
+ items.cheetahs++;
+ }
+ upload();
+}
+
+
+
+function buylem(){
+ if(items.cats>=20){
+ items.cats-=20;
+ items.lemons+=1;
+ }
+ upload();
+}
+function buylt3(){
+ if (items.lemons>=5) {
+ items.lemons-=5;
+ items.lt3+=1;
+ }
+ upload();
+}
+
+
+
+
+
+
+
+
+
+/* Max Shop */
+function mxdg(){
+ one = Math.floor(items.clicks / 100)
+
+ items.clicks -= one * 100
+ items.dogs += one
+ upload();
+}
+function mxct(){
+ one = Math.floor(items.dogs / 10)
+
+ items.dogs -= one * 10
+ items.cats += one
+ upload();
+}
+function mxfx(){
+ one = Math.floor(items.dogs/15)
+
+ items.dogs -= one*15
+ items.foxes += one
+ upload();
+}
+/*
+function lemmvalue(){
+ mdog = items.cats/20;
+ maxdog = Math.floor(mdog);
+ floordog = maxdog*20
+ items.cats -= floordog
+ items.lemons += maxdog
+ upload();
+}*/
+function mxlm(){
+ one = Math.floor(items.cats/20)
+
+ items.cats -= one*20
+ items.lemons += one
+ upload();
+}
+function mxlt(){
+ one = Math.floor(items.lemons/5)
+
+ items.lemons -= one*5
+ items.lt3 += one
+ upload()
+}
+function mxwh(){
+ one = Math.floor(items.wolfs/2)
+
+ items.wolfs -= one*2
+ items.whales += one
+ upload()
+}
+let one,two,val
+
+// Max Wolf
+
+function mxwl(){
+ one = Math.floor(items.foxes/5)
+ two = Math.floor(items.dogs/6)
+
+ if(one<=two){
+ items.foxes -= one*5
+ items.dogs -= one*6
+ items.wolfs += one
+ }else if(one>=two){
+ items.foxes -= two*5
+ items.dogs -= two*6
+ items.wolfs += two
+ }else{
+ console.log('You fucked up you stupid bitch')
+ }
+ upload();
+}
+
+function mxhm(){
+ one = Math.floor(items.wolfs/1)
+ two = Math.floor(items.cats/2)
+
+ if(one<=two){
+ items.wolfs -= one*1
+ items.cats -= one*2
+ items.hamsters += one
+ }else if(one>=two){
+ items.wolfs -= two*1
+ items.cats -= two*2
+ items.hamsters += two
+ }else{
+ console.log('You fucked up you stupid bitch')
+ }
+ upload();
+}
+function mxcp(){
+ one = Math.floor(items.whales/1)
+ two = Math.floor(items.cats/4)
+
+ if(one<=two){
+ items.whales -= one*1
+ items.cats -= one*4
+ items.capybaras += one
+ }else if(one>=two){
+ items.whales -= two*1
+ items.cats -= two*4
+ items.capybaras += two
+ }else{
+ console.log('You fucked up you stupid bitch')
+ }
+ upload();
+}
+function mxpl(){
+ one = Math.floor(items.capybaras/1)
+ two = Math.floor(items.wolfs/1)
+
+ if(one<=two){
+ items.capybaras -= one*1
+ items.wolfs -= one*1
+ items.platapuses += one
+ }else if(one>=two){
+ items.capybaras -= two*1
+ items.wolfs -= two*1
+ items.platapuses += two
+ }else{
+ console.log('You fucked up you stupid bitch')
+ }
+ upload();
+}
+function mxpr(){
+ one = Math.floor(items.platapuses/1)
+ two = Math.floor(items.whales/1)
+
+ if(one<=two){
+ items.platapuses -= one*1
+ items.whales -= one*1
+ items.porcupines += one
+ }else if(one>=two){
+ items.platapuses -= two*1
+ items.whales -= two*1
+ items.porcupines += two
+ }else{
+ console.log('You fucked up you stupid bitch')
+ }
+ upload();
+}
+function mxhi(){
+ one = Math.floor(items.porcupines/1)
+ two = Math.floor(items.hamsters/2)
+
+ if(one<=two){
+ items.porcupines -= one*1
+ items.hamsters -= one*2
+ items.hippos += one
+ }else if(one>=two){
+ items.porcupines -= two*1
+ items.hamsters -= two*2
+ items.hippos += two
+ }else{
+ console.log('You fucked up you stupid bitch')
+ }
+ upload();
+}
+function mxsn(){
+ one = Math.floor(items.whales/2);
+ two = Math.floor(items.hamsters/4);
+
+ if(one<=two){
+ items.whales -= one*2;
+ items.hamsters -= one*4;
+ items.snakes += one;
+ }else if(one>=two){
+ items.whales -= two*2;
+ items.hamsters -= two*4;
+ items.snakes += two;
+ }else{
+ console.log('You fucked up you stupid bitch');
+ }
+ upload();
+}
+function mxch(){
+ one = Math.floor(items.snakes/2);
+ two = Math.floor(items.platapuses/2);
+
+ if(one<=two){
+ items.snakes -= one*2;
+ items.platapuses -= one*2;
+ items.cheetahs += one;
+ }else if(one>=two){
+ items.snakes -= two*2;
+ items.platapuses -= two*2;
+ items.cheetahs += two;
+ }else{
+ console.log('You fucked up you stupid bitch')
+ }
+ upload();
+}
+
+
+
+
+
+
+
+// Function to convert a number into a more readable format
+function fornum(num) {
+ // Define the suffixes for thousands and millions
+ const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua'];
+
+ // Divide the number by 1000 until it is less than 1000
+ let i = 0;
+ while (num >= 1000 && i < suffixes.length - 1) {
+ num /= 1000;
+ i++;
+ }
+
+ // Round the number to one decimal place
+ num = Math.floor(num * 10) / 10;
+
+ // Concatenate the number with the appropriate suffix
+ return num + suffixes[i];
+}
+
+
+
+
+
+
+/* SHOPPING WITH ONLY CLICKS */
+
+// cat
+function buyCcat(){
+ if(items.clicks >= 1200){
+ items.cats++;
+ items.clicks -= 1200;
+ upload();
+ }
+}
+function mxCct(){
+ one = Math.floor(items.clicks / 1200)
+
+ items.clicks -= one * 1200
+ items.cats += one
+ upload();
+}
+
+// fox
+function buyCfox(){
+ if(items.clicks >= 1800){
+ items.foxes++;
+ items.clicks -= 1800;
+ upload();
+ }
+}
+function mxCfx(){
+ one = Math.floor(items.clicks / 1800)
+
+ items.clicks -= one * 1800
+ items.foxes += one
+ upload();
+}
+
+// wolf
+function buyCwol(){
+ if(items.clicks >= 10000){
+ items.wolfs++;
+ items.clicks -= 10000;
+ upload();
+ }
+}
+function mxCwl(){
+ one = Math.floor(items.clicks / 10000)
+
+ items.clicks -= one * 10000
+ items.wolfs += one
+ upload();
+}
+
+// hamster
+function buyCham(){
+ if(items.clicks >= 13000){
+ items.hamsters++;
+ items.clicks -= 13000;
+ upload();
+ }
+}
+function mxChm(){
+ one = Math.floor(items.clicks / 13000)
+
+ items.clicks -= one * 13000
+ items.hamsters += one
+ upload();
+}
+
+// whale
+function buyCwha(){
+ if(items.clicks >= 22000){
+ items.whales++;
+ items.clicks -= 22000;
+ upload();
+ }
+}
+function mxCwh(){
+ one = Math.floor(items.clicks / 22000)
+
+ items.clicks -= one * 22000
+ items.whales += one
+ upload();
+}
+
+// cappybarra
+function buyCcap(){
+ if(items.clicks >= 28000){
+ items.capybaras++;
+ items.clicks -= 28000;
+ upload();
+ }
+}
+function mxCcp(){
+ one = Math.floor(items.clicks / 28000)
+
+ items.clicks -= one * 28000
+ items.capybaras += one
+ upload();
+}
+
+// platypussy
+function buyCpla(){
+ if(items.clicks >= 42000){
+ items.platapuses++;
+ items.clicks -= 42000;
+ upload();
+ }
+}
+function mxCpl(){
+ one = Math.floor(items.clicks / 42000)
+
+ items.clicks -= one * 42000
+ items.platapuses += one
+ upload();
+}
+
+// porcupine
+function buyCpor(){
+ if(items.clicks >= 70000){
+ items.porcupines++;
+ items.clicks -= 70000;
+ upload();
+ }
+}
+function mxCpr(){
+ one = Math.floor(items.clicks / 70000)
+
+ items.clicks -= one * 70000
+ items.porcupines += one
+ upload();
+}
+
+// hippopopopotamusss
+function buyChip(){
+ if(items.clicks >= 100000){
+ items.hippos++;
+ items.clicks -= 100000;
+ upload();
+ }
+}
+function mxChi(){
+ one = Math.floor(items.clicks / 100000)
+
+ items.clicks -= one * 100000
+ items.hippos += one
+ upload();
+}
+
diff --git a/upgr.js b/upgr.js
new file mode 100644
index 0000000..18b7cf0
--- /dev/null
+++ b/upgr.js
@@ -0,0 +1,40 @@
+let items;
+let cs;
+
+// Update
+function update(){
+ let i = JSON.stringify(items);
+ localStorage.setItem('items', i);
+}
+
+function load(){
+ if (localStorage.getItem('items')!=null){
+ items = JSON.parse(localStorage.getItem('items'));
+ }
+
+
+
+
+
+ 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(){
+ update();
+ load();
+}
+
+function cash(){
+ 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.clicks += cs;
+ update();cash();
+ },1000)
+}
+
+
+window.onload = function(){
+ load();cash();
+}
\ No newline at end of file
diff --git a/upgrade.html b/upgrade.html
new file mode 100644
index 0000000..bc8a175
--- /dev/null
+++ b/upgrade.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+ BRB - Upgrades
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+ COMING SOON...
+
+
+
+
+
\ No newline at end of file
diff --git a/upgrades.json b/upgrades.json
new file mode 100644
index 0000000..e69de29