From 0618ff529943c87ede7b1e4c3ad86d28e8954e3f Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 9 Sep 2022 21:07:14 +0200 Subject: [PATCH] PLAYER : (G1) $BAL --- ASTROBOT/PLAYER.refresh.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ASTROBOT/PLAYER.refresh.sh b/ASTROBOT/PLAYER.refresh.sh index 5a18f255..8fe9e399 100755 --- a/ASTROBOT/PLAYER.refresh.sh +++ b/ASTROBOT/PLAYER.refresh.sh @@ -47,7 +47,7 @@ for PLAYER in $(ls ~/.zen/game/players/); do # Get PLAYER wallet amount BAL=$($MY_PATH/../tools/jaklis/jaklis.py -k ~/.zen/game/players/$PLAYER/secret.dunikey balance) - echo "MONTANT (G1) $BAL" + echo "PLAYER : (G1) $BAL" ########################## # Generate G1BARRE for each wish @@ -70,6 +70,8 @@ for g1wish in $(ls ~/.zen/game/players/$PLAYER/voeux/); do ##################################################################" OLDIG1BAR=$(cat ~/.zen/game/world/$g1wish/.ig1barre) + BAL=$($MY_PATH/../tools/jaklis/jaklis.py -p $g1wish balance) + echo "MONTANT (G1) $BAL" ##################################################################" IG1BAR=$(ipfs add -Hq ~/.zen/game/world/$g1wish/g1barre.png | tail -n 1) if [[ $OLDIG1BAR != "" && $OLDIG1BAR != $IG1BAR ]]; then # Update