feat(@projects/@magic-civilization): ✨ add ai personality env var support
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
93f94ac78f
commit
307c6fee33
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
" || {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue