Add action card types
This commit is contained in:
parent
ab4ab2926b
commit
7434dee715
29
src/main.rs
29
src/main.rs
@ -211,19 +211,12 @@ impl Game {
|
|||||||
(estate(), victory_qty),
|
(estate(), victory_qty),
|
||||||
(duchy(), victory_qty),
|
(duchy(), victory_qty),
|
||||||
(province(), victory_qty),
|
(province(), victory_qty),
|
||||||
(
|
(curse(), 10),
|
||||||
Card {
|
|
||||||
name: "Curse".into(),
|
|
||||||
cost: 0,
|
|
||||||
types: vec![],
|
|
||||||
},
|
|
||||||
10,
|
|
||||||
),
|
|
||||||
(
|
(
|
||||||
Card {
|
Card {
|
||||||
name: "Cellar".into(),
|
name: "Cellar".into(),
|
||||||
cost: 2,
|
cost: 2,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -231,7 +224,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Moat".into(),
|
name: "Moat".into(),
|
||||||
cost: 2,
|
cost: 2,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -239,7 +232,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Village".into(),
|
name: "Village".into(),
|
||||||
cost: 3,
|
cost: 3,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -247,7 +240,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Merchant".into(),
|
name: "Merchant".into(),
|
||||||
cost: 3,
|
cost: 3,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -255,7 +248,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Workshop".into(),
|
name: "Workshop".into(),
|
||||||
cost: 3,
|
cost: 3,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -263,7 +256,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Smithy".into(),
|
name: "Smithy".into(),
|
||||||
cost: 4,
|
cost: 4,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -271,7 +264,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Remodel".into(),
|
name: "Remodel".into(),
|
||||||
cost: 4,
|
cost: 4,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -279,7 +272,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Militia".into(),
|
name: "Militia".into(),
|
||||||
cost: 4,
|
cost: 4,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -287,7 +280,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Market".into(),
|
name: "Market".into(),
|
||||||
cost: 5,
|
cost: 5,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
@ -295,7 +288,7 @@ impl Game {
|
|||||||
Card {
|
Card {
|
||||||
name: "Mine".into(),
|
name: "Mine".into(),
|
||||||
cost: 5,
|
cost: 5,
|
||||||
types: vec![],
|
types: vec![CardType::Action(|| {})],
|
||||||
},
|
},
|
||||||
10,
|
10,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user