Loot boxes now have ritual items and you can click on them, or the enemy just dies.

This commit is contained in:
Zed A. Shaw 2025-06-23 01:33:09 -04:00
parent 3c5021e4c9
commit fb064ffbf1
6 changed files with 53 additions and 34 deletions

View file

@ -28,12 +28,12 @@ namespace System {
std::shared_ptr<sf::Shader> sprite_effect(GameLevel &level, Entity entity);
void player_status(GameLevel &level);
void distribute_loot(World &world, Entity& ent, nlohmann::json& entity_data);
void distribute_loot(GameLevel &level, Entity& ent);
void pickup(GameLevel &level, Entity entity);
bool place_in_container(World& world, Entity cont_id, const string& name, Entity world_entity);
void remove_from_container(World& world, Entity cont_id, const string& name);
void remove_from_world(GameLevel &level, Entity entity);
}