Untitled
unknown
plain_text
9 months ago
778 B
7
Indexable
var cowsPerSecDisplay = 0;
//calls the amount of clicks on the cow
var cows = 0;
//calls the amount of cows you get per click
var perCow = 1;
//list to show reviews of the cow shop
var reviews = ["No one knows about your cows", "Farmers around the country are buying your cows", "Everyone is buying your cows in this galaxy"];
//function for the cows per second button with a perimeter and adds the amount of cows per second display
function cowsPerSecond(amount) {
if (cows>= function( ) {
cows = cows + amount;
updateScreen();
}) {
cows = cows - 500;
timedLoop(100, __);
}
cowsPerSecDisplay = cowsPerSecDisplay + 50;
}
//button for the cows that you click
onEvent("cowButton", "click", function( ) {
cows = cows + perCow ;
updateScreen();
});Editor is loading...
Leave a Comment