MarseyWorld/files/assets/js/bugs.js

10 lines
285 B
JavaScript

const shit_num = document.getElementById('shit_num').value
new BugController({
imageSprite: "/i/fly-sprite.webp",
canDie: false,
minBugs: Math.min(MINFLIES + (shit_num * 2), ACTUALMAXFILES),
maxBugs: Math.min(MAXFLIES + (shit_num * 2), ACTUALMAXFILES),
mouseOver: "multiply"
});