From 354e76ebbc811fc75586be7d86dd8f8b7fa4a262 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 17 May 2014 20:17:13 +0200 Subject: [PATCH 1/1] Optional remove win actions once they're used. --- naja/actions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/naja/actions.py b/naja/actions.py index 5aa465a..6f03358 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -175,6 +175,8 @@ class AcquireWinToken(LocationAction): board.player.bits.clear_bits(set([ BITS.RED, BITS.GREEN, BITS.BLUE, ])) + if self.data.get('once', False): + location.actions.remove(self) class GainHealth(LocationAction): -- 2.34.1