Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function () {
- $('[data-toggle="tooltip"]').tooltip();
- });
- var smalldogscount = 0;
- var borkscountpsur = 0;
- var fixed = 0;
- var borkscount = 0;
- function Bork() {
- borkscount++;
- }
- function SDB() {
- if (borkscount >= 10) {
- borkscount -= 10;
- smalldogscount++;
- borkscountpsur += .3;
- setInterval(function () {
- borkscount++;
- }, 3000);
- } else {
- }
- }
- setInterval(function () {
- if (borkscount > 0) {
- document.getElementById("borks").innerHTML = borkscount + " Borks";
- }
- if (smalldogscount > 0) {
- document.getElementById("SDB").innerHTML = "Small Dogs x" + smalldogscount;
- }
- if (borkscountpsur > 0) {
- fixed = borkscountpsur.toFixed(1);
- document.getElementById("BCA").innerHTML = "+" + fixed + " Borks per second";
- }
- }, 100);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement