Prep for the actually making ritual crafting work.

This commit is contained in:
Zed A. Shaw 2025-04-26 02:21:59 -04:00
parent ad1d08ca96
commit 292711f91f
10 changed files with 56 additions and 74 deletions

View file

@ -96,19 +96,3 @@ TEST_CASE("the ritual belt works", "[rituals-belt]") {
REQUIRE(!the_belt.has(0));
}
}
TEST_CASE("LevelManager makes a temp belt", "[rituals-belt]") {
LevelManager lm;
lm.temp_create_player_rituals();
auto& level = lm.current();
auto& the_belt = level.world->get<RitualBelt>(level.player);
REQUIRE(the_belt.has(0));
auto& ritual = the_belt.get(0);
REQUIRE(ritual.damage > 0);
REQUIRE(the_belt.has(1));
ritual = the_belt.get(1);
REQUIRE(ritual.damage > 1);
}