Quick hack to test finding a better light. If you find the gold you get a better light.

This commit is contained in:
Zed A. Shaw 2024-11-25 02:38:24 -05:00
parent a9217e8423
commit 62f986719d
3 changed files with 9 additions and 2 deletions

View file

@ -33,6 +33,7 @@ void configure_world(DinkyECS::World &world, Map &game_map) {
world.set<Combat>(player.entity, {100, 10});
world.set<Tile>(player.entity, {config.PLAYER_TILE});
world.set<Inventory>(player.entity, {5});
world.set<LightSource>(player.entity, {200});
auto enemy = world.entity();
world.set<Position>(enemy, {game_map.place_entity(1)});