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