Bring in basic placeholder assets for things like walls, souns, and font.
This commit is contained in:
parent
e742b8772d
commit
8073997eb3
28 changed files with 7 additions and 76 deletions
|
|
@ -199,12 +199,7 @@ void WorldBuilder::place_stairs(DinkyECS::World& world, GameConfig& config) {
|
|||
|
||||
void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
|
||||
auto& player = world.get_the<Player>();
|
||||
|
||||
auto torch_id = System::spawn_item(world, "TORCH_BAD");
|
||||
|
||||
auto &inventory = world.get<inventory::Model>(player.entity);
|
||||
inventory.add("hand_r", torch_id);
|
||||
world.make_constant(torch_id);
|
||||
|
||||
auto healing = System::spawn_item(world, "POTION_HEALING_SMALL");
|
||||
inventory.add("pocket_l", healing);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue