chiark / gitweb /
at-currency: wip occult test
[otter.git] / apitest / at-currency.rs
index 478871ca708d653cd47977742900d8113064e65a..6bf7123aa56f6353c54531f3364bed5c31d47d5e 100644 (file)
@@ -64,6 +64,16 @@ impl Ctx {
                                    "wrc": WRC::Unpredictable })))?;
     let hand_pos = a_pieces[hand].pos;
 
+    alice.synchu(&mut a_pieces)?;
+
+    let bank = a_pieces.find_by_desc_glob("*400ƒ*");
+    alice.api_piece_op_single(PuSynch((&mut a_pieces, bank)).id(), (
+      "multigrab", json!({ "n": 399, 'z': "u000000000" })
+    ))?;
+
+    alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, bank)), hand_pos)?;
+    alice.synchu(&mut a_pieces)?;
+    
     let _ = &mut bob;
     let _ = bob;
   }