From: Ian Jackson Date: Mon, 25 Apr 2022 22:58:31 +0000 (+0100) Subject: currency: Make currency pieces be fastsplit X-Git-Tag: otter-1.1.0~408 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9f8ae3c0f47045c75a944c523421e5a74291a117;p=otter.git currency: Make currency pieces be fastsplit The actual machinery does all the hard work. This shouldn't have any overall visible functional change. It just engages new contraptions during piece creation and load/save, but right now they shouldn't have any work to do because we don't actually ever split (or merge) currency. Signed-off-by: Ian Jackson --- diff --git a/src/currency.rs b/src/currency.rs index b427e248..8221dbc0 100644 --- a/src/currency.rs +++ b/src/currency.rs @@ -69,6 +69,8 @@ impl PieceSpec for Spec { itemname, }; + gpc.fastsplit = FastSplitId::new_placeholder(); + let special = PieceSpecialProperties { multigrab: true, ..default()