feat(@projects/@magic-civilization): add ai personality env var support

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Natalie 2026-04-17 03:48:03 -07:00
parent 93f94ac78f
commit 307c6fee33

View file

@ -142,6 +142,7 @@ _run_local() {
"--env=AUTO_PLAY_TURN_LIMIT=$TURN_LIMIT"
"--env=AUTO_PLAY_DIR=$game_dir"
"--env=AI_DIFFICULTY=${AI_DIFFICULTY:-}"
"--env=AI_PIN_PERSONALITY=${AI_PIN_PERSONALITY:-}"
)
local GODOT_ARGS=("--path" "$GAME_DIR" "--rendering-method" "gl_compatibility")
@ -204,6 +205,7 @@ _run_remote() {
AUTO_PLAY_TURN_LIMIT='$TURN_LIMIT' \
AUTO_PLAY_DIR='$remote_game_dir' \
AI_DIFFICULTY='${AI_DIFFICULTY:-}' \
AI_PIN_PERSONALITY='${AI_PIN_PERSONALITY:-}' \
RENDER_MODE='$RENDER_MODE' \
bash '$remote_runner' >'$remote_game_dir/game.log' 2>&1
" || {