Small tweaks before making damage to body parts work.

This commit is contained in:
Zed A. Shaw 2026-03-29 22:24:50 -04:00
parent ae0d205037
commit cbd4b858ac
2 changed files with 5 additions and 4 deletions

View file

@ -202,7 +202,7 @@ void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
auto &inventory = world.get<inventory::Model>(player.entity); auto &inventory = world.get<inventory::Model>(player.entity);
auto healing = System::spawn_item(world, "REPAIR_KIT"); auto healing = System::spawn_item(world, "REPAIR_KIT");
inventory.add("pocket_l", healing); inventory.add("inv0", healing);
world.make_constant(healing); world.make_constant(healing);
} }

View file

@ -16,13 +16,14 @@ namespace gui {
{ {
$gui.position(x, y, width, height); $gui.position(x, y, width, height);
$gui.layout( $gui.layout(
"[*%(100, 200)body_ui]" "[*%(100, 300)body_ui]"
"[_]"
"[_]" "[_]"
"[=inv0|=inv1|=inv2]" "[=inv0|=inv1|=inv2]"
"[=inv3|=inv4|=inv5]" "[=inv3|=inv4|=inv5]"
"[=inv6|=inv7|=inv8]" "[=inv6|=inv7|=inv8]"
"[=hand_r]" "[=hand_main]"
"[=pocket_l]"); "[=hand_off]");
} }
void StatusUI::init() { void StatusUI::init() {