Small tweaks before making damage to body parts work.
This commit is contained in:
parent
ae0d205037
commit
cbd4b858ac
2 changed files with 5 additions and 4 deletions
|
|
@ -202,7 +202,7 @@ void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
|
|||
auto &inventory = world.get<inventory::Model>(player.entity);
|
||||
|
||||
auto healing = System::spawn_item(world, "REPAIR_KIT");
|
||||
inventory.add("pocket_l", healing);
|
||||
inventory.add("inv0", healing);
|
||||
world.make_constant(healing);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,13 +16,14 @@ namespace gui {
|
|||
{
|
||||
$gui.position(x, y, width, height);
|
||||
$gui.layout(
|
||||
"[*%(100, 200)body_ui]"
|
||||
"[*%(100, 300)body_ui]"
|
||||
"[_]"
|
||||
"[_]"
|
||||
"[=inv0|=inv1|=inv2]"
|
||||
"[=inv3|=inv4|=inv5]"
|
||||
"[=inv6|=inv7|=inv8]"
|
||||
"[=hand_r]"
|
||||
"[=pocket_l]");
|
||||
"[=hand_main]"
|
||||
"[=hand_off]");
|
||||
}
|
||||
|
||||
void StatusUI::init() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue