
The test scripts are now in nightly/tests/TURN/PLAYER. For each turn, the update script is executed first (except for turn 00), and then all the player scripts in the appropriate turn directory. This runs runfeed() in different directories; change it to accomodate for that. The update script runs "report *" on all updates. Before, it ran only on some of them.
18 lines
231 B
Bash
Executable file
18 lines
231 B
Bash
Executable file
#!/bin/sh
|
|
. "${SCRIPTDIR}"/common.sh
|
|
runfeed 1 << EOF
|
|
mov u 2,0 10 7,-1
|
|
des -2,2 i
|
|
thres l -2,2 600
|
|
thres h -2,2 300
|
|
thres s -2,2 1
|
|
thres o -2,2 0
|
|
mov o -2,2 1 4,-2
|
|
thres c * ?des#= 769
|
|
bmap #1
|
|
cen *
|
|
ship *
|
|
map #
|
|
read y
|
|
prod *
|
|
EOF
|