diff --git a/changelog b/changelog
index ae9cdc1..7362d92 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,12 @@
+ v44
+ Added: NEW ANIMAL - Chameleon
+ Better language choosing method for newcommers
+ Official reddit community
+ Button in shop that will scroll you to the top of the page
+ Complete history in https://history.mreidam-brb.com
+
+ Fixed: Menu in upgrades was not at fixed position
+
v43
Added: Small changelog button
Squrrel + Badger
diff --git a/css/brb.css b/css/brb.css
index 2264c3a..e3b9034 100644
--- a/css/brb.css
+++ b/css/brb.css
@@ -75,7 +75,7 @@ body{
transition: 0.5s;
}
.changelog:hover svg{
- color: #d33;
+ color: #a33;
}
/* Social */
diff --git a/css/lang.css b/css/lang.css
new file mode 100644
index 0000000..da83cce
--- /dev/null
+++ b/css/lang.css
@@ -0,0 +1,43 @@
+*{
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+body{
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ min-height: 100vh;
+ background: linear-gradient(-45deg, #5add5a, #333);
+}
+article{
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ filter: blur(500px);
+}
+section{
+ z-index: 5;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 2em 5em;
+ filter: drop-shadow(0px 20px 14px #444);
+}
+section button{
+ width: 300px;
+ height: 150px;
+ margin: 1rem;
+ background-image: var(--bci);
+ background-size: contain;
+ background-repeat: no-repeat;
+ border: none;
+ cursor: pointer;
+ transition: 0.5s;
+}
+section:hover button:not(:hover){
+ filter: blur(10px);
+ transition: 0.5s;
+}
\ No newline at end of file
diff --git a/css/menu.css b/css/menu.css
index 520bea6..4c34e87 100644
--- a/css/menu.css
+++ b/css/menu.css
@@ -1,5 +1,5 @@
.menu-container{
- position: absolute;
+ position: fixed;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
@@ -8,6 +8,7 @@
align-items: center;
justify-content: center;
font-family: 'Poppins';
+ z-index: 500;
}
.button{
position: relative;
diff --git a/css/shop.css b/css/shop.css
index 024dbbb..c8ade72 100644
--- a/css/shop.css
+++ b/css/shop.css
@@ -149,6 +149,32 @@ button{
}
}
+.upwards{
+ position: fixed;
+ bottom: 16px;
+ right: 32px;
+ width: 50px;
+ height: 50px;
+ border-radius: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ filter: drop-shadow(10px 8px 6px #333);
+ background: #999;
+ opacity: 0;
+ pointer-events: none;
+ transition: all .4s;
+}
+.upwards.active{
+ bottom: 32px;
+ opacity: 1;
+ pointer-events: auto;
+}
+.upwards img{
+ width: 1.25em;
+ filter: drop-shadow(10px 8px 6px #333);
+}
+
::-webkit-scrollbar{
background: transparent;
width: 5px;
diff --git a/img/Porcupine.png b/img/Porcupine.png
deleted file mode 100644
index 3dc2007..0000000
Binary files a/img/Porcupine.png and /dev/null differ
diff --git a/img/arrow-up.svg b/img/arrow-up.svg
new file mode 100644
index 0000000..20df2fd
--- /dev/null
+++ b/img/arrow-up.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/chameleon.svg b/img/chameleon.svg
new file mode 100644
index 0000000..0ab414f
--- /dev/null
+++ b/img/chameleon.svg
@@ -0,0 +1,52 @@
+
+
+
diff --git a/img/cz-flag.svg b/img/cz-flag.svg
new file mode 100644
index 0000000..cdee68c
--- /dev/null
+++ b/img/cz-flag.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/img/hippopotamus.png b/img/hippopotamus.png
deleted file mode 100644
index 2df7046..0000000
Binary files a/img/hippopotamus.png and /dev/null differ
diff --git a/img/hippopotamus.svg b/img/hippopotamus.svg
new file mode 100644
index 0000000..e6051a0
--- /dev/null
+++ b/img/hippopotamus.svg
@@ -0,0 +1,566 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/img/lang-icon.svg b/img/lang-icon.svg
new file mode 100644
index 0000000..cae9e49
--- /dev/null
+++ b/img/lang-icon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/platapus.png b/img/platapus.png
deleted file mode 100644
index 928bbc4..0000000
Binary files a/img/platapus.png and /dev/null differ
diff --git a/img/platypus.svg b/img/platypus.svg
new file mode 100644
index 0000000..4232d27
--- /dev/null
+++ b/img/platypus.svg
@@ -0,0 +1,32 @@
+
+
+
\ No newline at end of file
diff --git a/img/porcupine.svg b/img/porcupine.svg
new file mode 100644
index 0000000..828d93f
--- /dev/null
+++ b/img/porcupine.svg
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/img/reddit.svg b/img/reddit.svg
new file mode 100644
index 0000000..3920c89
--- /dev/null
+++ b/img/reddit.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/img/uk-flag.svg b/img/uk-flag.svg
new file mode 100644
index 0000000..9131483
--- /dev/null
+++ b/img/uk-flag.svg
@@ -0,0 +1,16 @@
+
+
\ No newline at end of file
diff --git a/index.html b/index.html
index 403d4a2..0c95eaf 100644
--- a/index.html
+++ b/index.html
@@ -59,7 +59,7 @@
-
+
Menu
@@ -79,6 +79,9 @@
+
+
+
diff --git a/js/lang.js b/js/lang.js
new file mode 100644
index 0000000..7a4a639
--- /dev/null
+++ b/js/lang.js
@@ -0,0 +1,25 @@
+let items;
+
+function load(){if(localStorage.getItem('items')!=null){items=JSON.parse(localStorage.getItem('items'));}}
+function update(){let i = JSON.stringify(items);localStorage.setItem('items', i);}
+
+window.onload = function(){
+ load();
+ items.joke=1;
+}
+
+// Upload
+function upload(){update();load();}
+
+function language(lan){
+ if(lan == 0){
+ items.lang=0;
+ upload();
+ location.href = '../index.html';
+ }
+ if(lan == 1){
+ items.lang=1;
+ upload();
+ location.href = '../index.html';
+ }
+}
\ No newline at end of file
diff --git a/js/main.js b/js/main.js
index 48b305c..bb16c03 100644
--- a/js/main.js
+++ b/js/main.js
@@ -3,27 +3,25 @@ let items;
let cs = 0;
let anime = false;
-const changeEN = ` v43
-Added: Small changelog button (this)
- Squrrel + Badger
- Better function for buying animals for clicks
- Better jonathan in BRB
+const changeEN = ` v44
+Added: NEW ANIMAL - Chameleon
+ Better language choosing method for newcommers
+ Official Reddit community
+ Button in shop that will scroll you to the top of the page
+ Complete history in https://history.mreidam-brb.com
-Fixed: Menu hitbox
- lag while loading BRB
+Fixed: Menu in upgrades was not at fixed position
+ `
-Removed: text shadow in light mode settings`
+const changeCZ = ` v44
+Přidáno: NOVÉ ZVÍŘE - Chameleón
+ Lepší výběr jazyků pro ty co nikdy nehráli BRB
+ Oficiání Reddit comunita
+ Tlačítko v obchodě, které vás přenese na začátek stránky
+ Celá historie BRB na stránce https://history.mreidam-brb.com
-const changeCZ = ` v43
-Přidáno: Malé tlačítko s aktualizacemi (toto)
- Veverka + Jezevec
- Lepší funkci pro nakupování zvířátek za kliky
- Lepší jonathan v BRB
-
-Upraveno: Hitboxy Menu
- Sekání během načítání BRB
-
-Smazáno: stín textu behem světlého módu v nastavení`
+Upraveno: Menu ve Vylepšení nebylo na stále pozici
+ `
function load(){
if (localStorage.getItem('items')!=null){
@@ -73,17 +71,19 @@ window.onload = function(){
mode:0,
Mclick:1,
token:0,
+ joke:0,
}
load();
update();
for(let item in items){
- if(!items.item){
- items.item = 0;
+ if(!items[item]){
+ items[item] = 0;
}
}
+ if(items.joke==0||!items.joke){location.href = './lang';}
cash();
- checklang()
- LDmodes()
+ checklang();
+ LDmodes();
}
// Update
diff --git a/js/shop.js b/js/shop.js
index e543e8f..7394ade 100644
--- a/js/shop.js
+++ b/js/shop.js
@@ -4,7 +4,7 @@ let cs
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 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000;
+ 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.badger*32000 + items.squirrel*50000 + items.chameleon*70000;
}
function c(x){
items.clicks += x;
@@ -16,7 +16,7 @@ function c(x){
function load(){
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 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000 + items.badger*32000 + items.squirrel*50000;
+ 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.badger*32000 + items.squirrel*50000 + items.chameleon*70000;
if(items.lang == 1){
document.documentElement.setAttribute('lang', 'en');
@@ -44,6 +44,7 @@ function load(){
disowl.innerHTML=`You've got ${fornum(items.owl)} owls!`
disbad.innerHTML=`You've got ${fornum(items.badger)} badgers!`
dissqu.innerHTML=`You've got ${fornum(items.squirrel)} squirrels!`
+ discha.innerHTML=`You've got ${fornum(items.chameleon)} chameleons!`
@@ -72,51 +73,54 @@ function load(){
disowmake.innerHTML=`They're generating ${fornum((items.owl*16000)*items.pres)} clicks per second!`
disbamake.innerHTML=`They're generating ${fornum((items.badger*32000)*items.pres)} clicks per second!`
dissqmake.innerHTML=`They're generating ${fornum((items.squirrel*50000)*items.pres)} clicks per second!`
+ dischamake.innerHTML=`They're generating ${fornum((items.chameleon*70000)*items.pres)} clicks per second!`
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'
+ 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'
- py1.innerHTML = 'Buy a Python for 1 cheetah and 5 hippos'
- gi1.innerHTML = 'Buy a Giraffe for 1 python and 20 foxes'
- ot1.innerHTML = 'Buy a Otter for 1 giraffe and 2 capybaras'
- me1.innerHTML = 'Buy a Meerkat for 1 otter and 3 whales'
- ra1.innerHTML = 'Buy a Raccoon for 1 meerkat and 7 porcupines'
- ow1.innerHTML = 'Buy a Owl for 1 racoon and 1 snake'
- ba1.innerHTML = 'Buy a Badger for 1 owl and 2 pythons'
- sq1.innerHTML = 'Buy a Squirrel for 1 badger and 5 cheetah'
+ 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'
+ py1.innerHTML = 'Buy a Python for 1 cheetah and 5 hippos'
+ gi1.innerHTML = 'Buy a Giraffe for 1 python and 20 foxes'
+ ot1.innerHTML = 'Buy a Otter for 1 giraffe and 2 capybaras'
+ me1.innerHTML = 'Buy a Meerkat for 1 otter and 3 whales'
+ ra1.innerHTML = 'Buy a Raccoon for 1 meerkat and 7 porcupines'
+ ow1.innerHTML = 'Buy a Owl for 1 racoon and 1 snake'
+ ba1.innerHTML = 'Buy a Badger for 1 owl and 2 pythons'
+ sq1.innerHTML = 'Buy a Squirrel for 1 badger and 5 cheetah'
+ cha1.innerHTML = 'Buy a Chameleon for 1 squirrel and 2 meerkats'
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'
- Cpy1.innerHTML = 'Buy a Python for 820 k clicks'
- Cgi1.innerHTML = 'Buy a Giraffe for 880 k 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'
+ Cpy1.innerHTML = 'Buy a Python for 820 k clicks'
+ Cgi1.innerHTML = 'Buy a Giraffe for 880 k clicks'
Cot1.innerHTML = 'Buy a Otter for 950 k clicks'
Cme1.innerHTML = 'Buy a Meerkat for 1 mil clicks'
Cra1.innerHTML = 'Buy a Raccoon for 1.5 mil clicks'
Cow1.innerHTML = 'Buy a Owl for 1.8 mil clicks'
Cba1.innerHTML = 'Buy a Badger for 3.5 mil clicks'
Csq1.innerHTML = 'Buy a Squirrel for 5.5 mil clicks'
+ Ccha1.innerHTML = 'Buy a Chameleon for 7.7 mil clicks'
}
if(items.lang == 0){
document.documentElement.setAttribute('lang', 'cz');
@@ -144,6 +148,7 @@ function load(){
document.getElementById('disowl').innerHTML=`Právě máš ${fornum(items.owl)} sov!`
document.getElementById('disbad').innerHTML=`Právě máš ${fornum(items.badger)} jezevců!`
document.getElementById('dissqu').innerHTML=`Právě máš ${fornum(items.squirrel)} veverek!`
+ document.getElementById('discha').innerHTML=`Právě máš ${fornum(items.chameleon)} chameleónů!`
@@ -172,52 +177,55 @@ function load(){
document.getElementById('disowmake').innerHTML=`Generují ${fornum((items.owl*16000)*items.pres)} kliků za sekundu!`
document.getElementById('disbamake').innerHTML=`Generují ${fornum((items.badger*32000)*items.pres)} kliků za sekundu!`
document.getElementById('dissqmake').innerHTML=`Generují ${fornum((items.squirrel*50000)*items.pres)} kliků za sekundu!`
+ document.getElementById('dischamake').innerHTML=`Generují ${fornum((items.chameleon*70000)*items.pres)} kliků za sekundu!`
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'
+ 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 kapybaru 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'
- py1.innerHTML = 'Kup Kobru za 1 geparda a 5 hrochů'
- gi1.innerHTML = 'Kup Žirafu za 1 kobru a 20 lišek'
- ot1.innerHTML = 'Kup Vydru za 1 žirafu a 2 kapybary'
- me1.innerHTML = 'Kup Surikatu za 1 vydru a 3 velryby'
- ra1.innerHTML = 'Kup Mývala za 1 surikatu a 7 dikobrazů'
- ow1.innerHTML = 'Kup Sovu za 1 mývala a 1 hada'
- ba1.innerHTML = 'Kup Jezevce za 1 sovu a 2 kobry'
- sq1.innerHTML = 'Kup Veverku za 1 jezevce a 5 gepardů'
+ cp1.innerHTML = 'Kup Kapybaru za 1 velrybu a 4 kočky'
+ pl1.innerHTML = 'Kup Ptakopyska za 1 kapybaru 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'
+ py1.innerHTML = 'Kup Kobru za 1 geparda a 5 hrochů'
+ gi1.innerHTML = 'Kup Žirafu za 1 kobru a 20 lišek'
+ ot1.innerHTML = 'Kup Vydru za 1 žirafu a 2 kapybary'
+ me1.innerHTML = 'Kup Surikatu za 1 vydru a 3 velryby'
+ ra1.innerHTML = 'Kup Mývala za 1 surikatu a 7 dikobrazů'
+ ow1.innerHTML = 'Kup Sovu za 1 mývala a 1 hada'
+ ba1.innerHTML = 'Kup Jezevce za 1 sovu a 2 kobry'
+ sq1.innerHTML = 'Kup Veverku za 1 jezevce a 5 gepardů'
+ cha1.innerHTML = 'Kup Chameleóna za 1 veverku a 2 surikaty'
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ů'
- Cpy1.innerHTML = 'Kup Kobru za 820 k kliků'
- Cgi1.innerHTML = 'Kup Žirafu za 880 k kliků'
- Cot1.innerHTML = 'Kup Vydru za 950 k kliků'
- Cme1.innerHTML = 'Kup Surikatu za 1 mil kliků'
- Cra1.innerHTML = 'Kup Mývala za 1,5 mil kliků'
- Cow1.innerHTML = 'Kup Sovu za 1,8 mil kliků'
- Cba1.innerHTML = 'Kup Jezevce za 3,5 mil kliků'
- Csq1.innerHTML = 'Kup Veverku za 5,5 mil kliků'
+ 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ů'
+ Cpy1.innerHTML = 'Kup Kobru za 820 k kliků'
+ Cgi1.innerHTML = 'Kup Žirafu za 880 k kliků'
+ Cot1.innerHTML = 'Kup Vydru za 950 k kliků'
+ Cme1.innerHTML = 'Kup Surikatu za 1 mil kliků'
+ Cra1.innerHTML = 'Kup Mývala za 1,5 mil kliků'
+ Cow1.innerHTML = 'Kup Sovu za 1,8 mil kliků'
+ Cba1.innerHTML = 'Kup Jezevce za 3,5 mil kliků'
+ Csq1.innerHTML = 'Kup Veverku za 5,5 mil kliků'
+ Ccha1.innerHTML = 'Kup Chameleóna za 7,7 mil kliků'
}
}
load();
@@ -250,7 +258,6 @@ function buydog(){
items.dogs += 1;
}
upload();
- click()
}
function buycat(){
if(items.dogs>=10){
@@ -401,6 +408,14 @@ function buysqu(){
}
upload();
}
+function buycha(){
+ if(items.squirrel>=1 && items.meerkat>=2){
+ items.squirrel-=1;
+ items.meerkat-=2;
+ items.chameleon++;
+ }
+ upload();
+}
@@ -450,15 +465,6 @@ function mxfx(){
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(){
let RanLemCost = Math.floor(Math.random()*100);
one = Math.floor(items.cats/RanLemCost)
@@ -645,6 +651,15 @@ function mxsq(){
}
upload();
}
+function mxcha(){
+ const amount = Math.min(Math.floor(items.squirrel/1), Math.floor(items.meerkat/2));
+ if(amount > 0){
+ items.squirrel -= amount*1;
+ items.meerkat -= amount*2;
+ items.chameleon += amount;
+ }
+ upload();
+}
// Dark || Light Mode
function LDmodes(){
@@ -795,4 +810,18 @@ function mxCba(){cManimal('badger', 3500000)}
// squirt
function buyCsqu(){canimal('squirrel', 5500000)}
-function mxCsq(){cManimal('squirrel', 5500000)}
\ No newline at end of file
+function mxCsq(){cManimal('squirrel', 5500000)}
+
+// cha cha
+function buyCcha(){canimal('chameleon', 7700000)}
+function mxCcha(){cManimal('chameleon', 7700000)}
+
+const upArr = document.querySelector('.upwards');
+
+window.addEventListener('scroll', () => {
+ if(window.scrollY >= 600){
+ upArr.classList.add('active');
+ }else{
+ upArr.classList.remove('active');
+ }
+})
\ No newline at end of file
diff --git a/lang/index.html b/lang/index.html
new file mode 100644
index 0000000..ac4e0ae
--- /dev/null
+++ b/lang/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+ BRB - language
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/settings.html b/settings.html
index cef7e4b..aac0890 100644
--- a/settings.html
+++ b/settings.html
@@ -39,7 +39,7 @@
-
+
Menu
diff --git a/shop.html b/shop.html
index aa0c6a0..f6b94ec 100644
--- a/shop.html
+++ b/shop.html
@@ -192,7 +192,7 @@