diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index a89f03cf..c299223c 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -146,7 +146,7 @@ for PLAYER in ${PLAYERONE[@]}; do ############################################################## ## SPECIAL TAG "voeu" => Creation G1Voeu (G1Titre) makes AstroBot TW G1Processing ############################################################## - ${MY_PATH}/VOEUX.create.sh ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/index.html "${PLAYER}" + ${MY_PATH}/VOEUX.create.sh ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/index.html "${PLAYER}" "${G1PUB}" # VOEUX.refresh.sh ############################################################## ## RUN ASTROBOT G1Voeux SUBPROCESS (SPECIFIC Ŋ1 COPY) diff --git a/RUNTIME/VOEUX.create.sh b/RUNTIME/VOEUX.create.sh index 051a35c3..2268a21f 100755 --- a/RUNTIME/VOEUX.create.sh +++ b/RUNTIME/VOEUX.create.sh @@ -22,6 +22,13 @@ ASTRONAUTENS=$(ipfs key list -l | grep -w $PLAYER | cut -d ' ' -f1) [[ ! $ASTRONAUTENS ]] && echo "$PLAYER IPNS INTROUVABLE" && exit 1 +G1PUB="$3" +[[ -s $HOME/.zen/tmp/coucou/${G1PUB}.COINS ]] \ + && COINS=$(cat $HOME/.zen/tmp/coucou/${G1PUB}.COINS) \ + && [[ ${COINS} == "null" || ${COINS} == "" ]] \ + && echo ">>> ${COINS} : DESACTIVATED - NEED G1 TO MAKE A WISH - EXIT - " \ + && exit 0 + ## EXPORT [tag[voeu]] echo "## EXTRACTION DE NOUVEAUX VOEUX pour $PLAYER TW" echo "$INDEX [tag[voeu]] ?"