summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/interface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp
index 5fc52f3..869d2c4 100644
--- a/src/game/interface.cpp
+++ b/src/game/interface.cpp
@@ -272,6 +272,11 @@ void state_t::tick(double dt)
debug_AI ^= 1;
print("debug_AI = " + std::to_string(debug_AI));
break;
+
+ case sf::Keyboard::Key::F12:
+ game->crystals = (size_t)-1;
+ print("INFINITE CRYSTALS\n");
+ break;
default:;
}
default:;