.
This commit is contained in:
parent
556424cd2a
commit
06a298678d
3 changed files with 43 additions and 17 deletions
|
|
@ -17,7 +17,9 @@
|
||||||
"Lane": "⬜ Passive",
|
"Lane": "⬜ Passive",
|
||||||
"Entropy": 0,
|
"Entropy": 0,
|
||||||
"Force": 0,
|
"Force": 0,
|
||||||
"_legal": true
|
"_legal": {
|
||||||
|
"playtest": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"001": {
|
"001": {
|
||||||
"id": "001",
|
"id": "001",
|
||||||
|
|
@ -37,7 +39,9 @@
|
||||||
"Lane": "⬜ Passive",
|
"Lane": "⬜ Passive",
|
||||||
"Entropy": 0,
|
"Entropy": 0,
|
||||||
"Force": 0,
|
"Force": 0,
|
||||||
"_legal": true
|
"_legal": {
|
||||||
|
"playtest": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"002": {
|
"002": {
|
||||||
"id": "002",
|
"id": "002",
|
||||||
|
|
@ -57,6 +61,8 @@
|
||||||
"Lane": "⬜ Passive",
|
"Lane": "⬜ Passive",
|
||||||
"Entropy": 0,
|
"Entropy": 0,
|
||||||
"Force": 0,
|
"Force": 0,
|
||||||
"_legal": true
|
"_legal": {
|
||||||
|
"playtest": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
36
Game.json
36
Game.json
|
|
@ -9,7 +9,8 @@
|
||||||
"cardRotation": "0",
|
"cardRotation": "0",
|
||||||
"cards": {
|
"cards": {
|
||||||
"dataUrl": "https://docs.brut.systems/judah/entropy/CardList.json",
|
"dataUrl": "https://docs.brut.systems/judah/entropy/CardList.json",
|
||||||
"cardBack": ""
|
"cardBack": "",
|
||||||
|
"cardBackColor": "#ffffff"
|
||||||
},
|
},
|
||||||
"deckBuilding": {
|
"deckBuilding": {
|
||||||
"mainFilters": [
|
"mainFilters": [
|
||||||
|
|
@ -22,29 +23,46 @@
|
||||||
{
|
{
|
||||||
"title": "Classic",
|
"title": "Classic",
|
||||||
"gameplay": "CL",
|
"gameplay": "CL",
|
||||||
"customCategories": []
|
"deckRuleset": "CL",
|
||||||
|
"customCategories": ["Passive"]
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"deckRulesets": {
|
||||||
|
"CL": {
|
||||||
|
"general": {
|
||||||
|
"maxPerCard": 3
|
||||||
|
},
|
||||||
|
"categories": [
|
||||||
|
{
|
||||||
|
"category": "Passive",
|
||||||
|
"min": 1,
|
||||||
|
"max": 1,
|
||||||
|
"maxPerCard": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"gameplay": {
|
"gameplay": {
|
||||||
"CL": {
|
"CL": {
|
||||||
"mulligan": {
|
"mulligan": {
|
||||||
"info": "",
|
"info": "",
|
||||||
"startingHandSize": "4",
|
"startingHandSize": 4,
|
||||||
"drawNewHand": true,
|
"drawNewHand": false,
|
||||||
"putSelectionAtBottom": false,
|
"putSelectionAtBottom": true,
|
||||||
"drawNewSelectedCards": false
|
"drawNewSelectedCards": false,
|
||||||
|
"triggeredByButton": true
|
||||||
},
|
},
|
||||||
"newTurn": {
|
"newTurn": {
|
||||||
"drawOnStart": false,
|
"drawOnStart": false,
|
||||||
"sharedTurn": false,
|
"sharedTurn": false,
|
||||||
"firstPlayerTokenName": "",
|
"firstPlayerTokenName": "",
|
||||||
"drawPerTurn": "0"
|
"drawPerTurn": 0
|
||||||
},
|
},
|
||||||
"defaultNotes": "",
|
"defaultNotes": "",
|
||||||
"tokens": [],
|
"tokens": [],
|
||||||
"countersStartingValues": [
|
"countersStartingValues": [
|
||||||
"50"
|
50
|
||||||
],
|
],
|
||||||
"hideFacedDownCards": false,
|
"hideFacedDownCards": false,
|
||||||
"sections": {
|
"sections": {
|
||||||
|
|
|
||||||
12
main.go
12
main.go
|
|
@ -91,10 +91,10 @@ func main() {
|
||||||
Token bool `json:"isToken"`
|
Token bool `json:"isToken"`
|
||||||
|
|
||||||
// custom
|
// custom
|
||||||
Lane string `json:"Lane"`
|
Lane string `json:"Lane"`
|
||||||
Entropy int `json:"Entropy"`
|
Entropy int `json:"Entropy"`
|
||||||
Force int `json:"Force"`
|
Force int `json:"Force"`
|
||||||
Legal bool `json:"_legal"`
|
Legal map[string]bool `json:"_legal"`
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -141,7 +141,9 @@ func main() {
|
||||||
Entropy: card.entropy,
|
Entropy: card.entropy,
|
||||||
Force: card.force,
|
Force: card.force,
|
||||||
Lane: card.lane.String(),
|
Lane: card.lane.String(),
|
||||||
Legal: true,
|
Legal: map[string]bool{
|
||||||
|
"playtest": true,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue