Now that src/scripts/nightly/patches/All/prng.patch:1.5 makes sure that
all randomness is predictable and repeatable, we're ready for some real scripts.
This commit is contained in:
parent
b464a4876e
commit
153595a253
1 changed files with 8 additions and 10 deletions
|
@ -310,20 +310,15 @@ do
|
||||||
echo "Done (newcap_script / emp_client)."
|
echo "Done (newcap_script / emp_client)."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# After a platform independent PRNG is used, we can really do some
|
echo "TODO: Replace this with a real test script."
|
||||||
# useful testing here...
|
|
||||||
echo "TODO: Replace this with a real test script as soon as"
|
|
||||||
echo "a platform independent PRNG is used in fairland."
|
|
||||||
echo ""
|
|
||||||
echo "Just do some rudimentary testing for now."
|
echo "Just do some rudimentary testing for now."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "Preparing to ensure repeatable results"
|
echo "Prevent updates from happening without our consent."
|
||||||
runfeed POGO peter << EOF
|
runfeed POGO peter << EOF
|
||||||
disable
|
disable
|
||||||
give uw * ?uw>0 5
|
|
||||||
EOF
|
EOF
|
||||||
echo "Done (preparing)."
|
echo "Done (update stop)."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
@ -345,9 +340,10 @@ EOF
|
||||||
echo "explore for player ${PLAYER}"
|
echo "explore for player ${PLAYER}"
|
||||||
runfeed $PLAYER << EOF >/dev/null 2>&1
|
runfeed $PLAYER << EOF >/dev/null 2>&1
|
||||||
break
|
break
|
||||||
expl c 0,0 10 uh
|
expl c 0,0 1 uh
|
||||||
mov f 0,0 5 uh
|
|
||||||
desi 1,-1 +
|
desi 1,-1 +
|
||||||
|
mov c 0,0 205 uh
|
||||||
|
desi 1,-1 g
|
||||||
cen *
|
cen *
|
||||||
EOF
|
EOF
|
||||||
echo "Done (explore)."
|
echo "Done (explore)."
|
||||||
|
@ -378,7 +374,9 @@ EOF
|
||||||
|
|
||||||
echo "Check whether the update did anything"
|
echo "Check whether the update did anything"
|
||||||
runfeed POGO peter << EOF
|
runfeed POGO peter << EOF
|
||||||
|
power new
|
||||||
cen * ?own#0
|
cen * ?own#0
|
||||||
|
reso * ?own#0
|
||||||
read
|
read
|
||||||
n
|
n
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue