From 1b5cc1926fc37fc07a92d6f13fb8716bab6e9ae8 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 15 Jul 2020 11:50:43 -0400 Subject: [PATCH] Display vore stats properly --- src/components/Statblock.vue | 22 ++++++++-------------- src/game/combat.ts | 20 ++++++++++++++++++++ src/game/entity.ts | 11 ++++++++--- src/game/interface.ts | 15 ++++++++------- src/game/vore.ts | 17 +++++------------ 5 files changed, 49 insertions(+), 36 deletions(-) diff --git a/src/components/Statblock.vue b/src/components/Statblock.vue index f610c23..cd1c295 100644 --- a/src/components/Statblock.vue +++ b/src/components/Statblock.vue @@ -25,20 +25,12 @@
-
- -
{{ subject.bulk }}
+
+ +
{{subject.voreStats[stat]}}
-
Bulk
-
How much space you take up
-
-
-
- -
{{ subject.containers.reduce((total, container) => total + container.contents.length, 0) }}
-
-
Prey Count
-
How many things you've eaten
+
{{ stat }}
+
{{ voreStatDescs[stat] }}
@@ -51,7 +43,7 @@