summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-11 01:53:05 +0100
committertroido <troido@protonmail.com>2020-02-11 01:53:05 +0100
commit62138ca19acdef140359745ebee41be5e4c5ce09 (patch)
treea59c0d70d8b024693b2c57fc42ba3d1665623eb6 /src/main.rs
parent97850d8c1ee3522ccce30ef31ed91601da8c0730 (diff)
health is now also shown (but never changed)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 1c253ea..15171e9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -241,7 +241,8 @@ fn default_assemblages() -> Encyclopedia {
["Player", {
"name": ["arg", "name"]
}],
- ["Inventory", {"capacity": ["int", 3]}]
+ ["Inventory", {"capacity": ["int", 3]}],
+ ["Health", {"health": ["int", 9], "maxhealth": ["int", 10]}]
]
}
})).unwrap()