summaryrefslogtreecommitdiff
path: root/src/main/resources/org/luxons/sevenwonders
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2016-12-10 19:21:19 +0100
committerJoffrey BION <joffrey.bion@gmail.com>2016-12-10 19:21:19 +0100
commitf1592d3f88cbb4729f5c450146175b28d24542b0 (patch)
tree7916fd88dd0ec486427f44b5b1163c8c29a2e90d /src/main/resources/org/luxons/sevenwonders
parentAdd BoardTest (diff)
downloadseven-wonders-f1592d3f88cbb4729f5c450146175b28d24542b0.tar.gz
seven-wonders-f1592d3f88cbb4729f5c450146175b28d24542b0.tar.bz2
seven-wonders-f1592d3f88cbb4729f5c450146175b28d24542b0.zip
Add special action skeleton to finish wonders data parsing
These special actions imply a new input from the user, which is not implemented yet
Diffstat (limited to 'src/main/resources/org/luxons/sevenwonders')
-rw-r--r--src/main/resources/org/luxons/sevenwonders/game/data/wonders.json23
1 files changed, 15 insertions, 8 deletions
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"
}
}
],
bgstack15