|
|
@@ -12,6 +12,8 @@ function initGame(story, state) { |
|
|
function initGamePostSetup(state) { |
|
|
function initGamePostSetup(state) { |
|
|
const holder = document.querySelector("#player-info"); |
|
|
const holder = document.querySelector("#player-info"); |
|
|
|
|
|
|
|
|
|
|
|
holder.innerHTML = ""; |
|
|
|
|
|
|
|
|
Object.entries(state.player.stats).forEach(([key, val]) => { |
|
|
Object.entries(state.player.stats).forEach(([key, val]) => { |
|
|
|
|
|
|
|
|
if (val.type == "meter") { |
|
|
if (val.type == "meter") { |
|
|
|