Skip to content

Commit

Permalink
car vroom
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonTDM committed Jul 12, 2024
1 parent 04d2a0d commit 4312bc7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions game/Custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
#dNewPlantTitle {
font-family: "dwarvesc" !important;
}
.hidden {
display: none;
}
#dNewPlantTitle {
font-size: 30px !important;
margin-top: 6px;
Expand Down
5 changes: 5 additions & 0 deletions game/js/Cheatcodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ document.addEventListener("keydown", (event) => {
1
);
}
// oneko
if (keysPressed["c"] && keysPressed["a"] && keysPressed["t"]) {
// remove .hidden from #oneko
document.getElementById("oneko").classList.remove("hidden");
}
});

document.addEventListener("keyup", (event) => {
Expand Down
1 change: 1 addition & 0 deletions game/oneko.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@

function init() {
nekoEl.id = "oneko";
nekoEl.classList.add("hidden");
nekoEl.ariaHidden = true;
nekoEl.style.width = "32px";
nekoEl.style.height = "32px";
Expand Down

0 comments on commit 4312bc7

Please sign in to comment.