From f1592d3f88cbb4729f5c450146175b28d24542b0 Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Sat, 10 Dec 2016 19:21:19 +0100 Subject: Add special action skeleton to finish wonders data parsing These special actions imply a new input from the user, which is not implemented yet --- .../org/luxons/sevenwonders/game/data/wonders.json | 23 ++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'src/main/resources/org/luxons/sevenwonders') diff --git a/src/main/resources/org/luxons/sevenwonders/game/data/wonders.json b/src/main/resources/org/luxons/sevenwonders/game/data/wonders.json index cac9e82d..eb04b90e 100644 --- a/src/main/resources/org/luxons/sevenwonders/game/data/wonders.json +++ b/src/main/resources/org/luxons/sevenwonders/game/data/wonders.json @@ -121,7 +121,7 @@ "resources": "WWG" }, "effects": { - "custom": "play2" + "action": "PLAY_LAST_CARD" } }, { @@ -307,7 +307,7 @@ "resources": "OOO" }, "effects": { - "custom": "discard" + "action": "PLAY_DISCARDED" } }, { @@ -332,7 +332,7 @@ }, "effects": { "points": 2, - "custom": "discard" + "action": "PLAY_DISCARDED" } }, { @@ -342,7 +342,7 @@ }, "effects": { "points": 1, - "custom": "discard" + "action": "PLAY_DISCARDED" } }, { @@ -351,7 +351,7 @@ "resources": "GPL" }, "effects": { - "custom": "discard" + "action": "PLAY_DISCARDED" } } ], @@ -378,7 +378,7 @@ "resources": "SS" }, "effects": { - "custom": "1free" + "action": "ONE_FREE" } }, { @@ -402,7 +402,14 @@ "resources": "WW" }, "effects": { - "custom": "discount" + "discount": { + "resourceTypes": "WSOC", + "providers": [ + "LEFT_PLAYER", + "RIGHT_PLAYER" + ], + "discountedPrice": 1 + } } }, { @@ -420,7 +427,7 @@ "resources": "OOL" }, "effects": { - "custom": "guild" + "action": "COPY_GUILD" } } ], -- cgit