This happens by making the SEED command also regenerate the magic word.
if (sscanf(buf, "seed %ld", &sv) == 1) {
set_seed(sv);
printf("Seed set to %ld\n", sv);
+ // here we reconfigure any global game state that uses random numbers
+ ZZWORD=RNDVOC(3,0)+MESH*2;
return true;
}
return false;
Around you is a forest. A small stream flows out of the building and
down a gully.
+<<<<<<< HEAD
> seed 1495763690
Seed set to 1495763690
> seed 1495752222
Seed set to 1495752222
+=======
+> seed 1494912171
+Seed set to 1494912171
+>>>>>>> f9eca41 (Ensure the ZZZZ magic word is reproducible.)
You're in front of building.
--- /dev/null
+## Death by dwarf.
+n
+seed 1494912171
+in
+take keys
+take lamp
+out
+down
+s
+s
+open grate
+down
+west
+take cage
+west
+light lamp
+take rod
+xyzzy
+xyzzy
+west
+drop rod
+west
+take bird
+east
+take rod
+west
+west
+down
+south
+take gold
+n
+n
+drop bird
+west
+take coins
+e
+s
+drop cage
+take jewelry
+take axe
+n
+n
+n
+plugh
+inven
+drop jewelry
+drop gold
+inven
+drop keys
+plugh
+s
+s
+up
+w
+wave rod
+w
+take diamonds
+e
+n