summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-16 03:41:31 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commitaf6aa3ec9445ddf8cfeebd0810c6f123c4a11b2a (patch)
treed08339f58ce4e7dd2b1e0156d9742fedcc2654c0 /tools
parent32225c7165d9bbe1ef2c68aad45e3c6c9fd12dc1 (diff)
downloadtable-battles-af6aa3ec9445ddf8cfeebd0810c6f123c4a11b2a.tar.gz
data
Diffstat (limited to 'tools')
-rw-r--r--tools/cards.csv10
-rw-r--r--tools/gendata.js2
2 files changed, 5 insertions, 7 deletions
diff --git a/tools/cards.csv b/tools/cards.csv
index 82562d4..eb16031 100644
--- a/tools/cards.csv
+++ b/tools/cards.csv
@@ -43,7 +43,7 @@ BOSWORTH FIELD,,,,,,,,,,,,,,,,,,,,,
4,33A,blue,King Richard III,,,4,4/5,,,Attack,,"Oxford, Richmond",1 hit per die. 1 self per action.,,Command,Full House,Northumberland out of reserve,,place_2_blue,"While this card is in play, you may place dice on TWO Blue cards each turn, and on ONE Dark Blue card.",
4,34A,blue,Norfolk,,,4,5/6,,,Attack,,"Oxford, Richmond",1 hit per die. 1 self per action.,,Screen,Pair,Any enemy attack,,,,
4,35A,blue,Northumberland,,,6,4,,Commanded,Attack,,"Oxford, Richmond",1 hit per die. 1 self per action.,,Screen,Pair,Any enemy attack,,,,
-4,36A,red,Oxford,,,8,5/6,,,Attack,,"Norfolk, King Richard III",1 hit per die. 1 self per action.,,Counterattack,Pair,Any enemy attack,1 hit.,,,
+4,36A,red,Oxford,,,8,5/6,,,Attack,,"Norfolk, King Richard III",1 hit per die. 1 self per action.,,Counterattack,Pair,Any enemy attacking it,1 hit.,,,
4,37A,red,Richmond,,,2,3/4,,,Attack,Pair,"Norfolk, King Richard III",1 hit.,,Command,Full House,The Stanleys out of reserve,,,,"The future Henry VII. Contrary to popular belief, he gained his kingdom by winning this battle, not by trading Richard a horse."
4,38A,pink,The Stanleys,,,4,Doubles,,Commanded,Absorb,"Pair, Voluntary","Oxford, Richmond","When target suffers Hits, this card suffers them instead.",,,,,,,"When this card comes out of Reserve, Northumberland immediately Routs.","The Stanleys were political intriguers who spent most of the battle on the sidelines, waiting to see who was likely to win before intervening decisively for Henry."
,,,,,,,,,,,,,,,,,,,,,
@@ -332,7 +332,7 @@ EXPANSION 3 - GETTYSBURG,,,,,,,,,,,,,,,,,,,,,
LITTLE ROUND TOP,,,,,,,,,,,,,,,,,,,,,
24,136A,blue,Sharpshooters,,,1,Doubles,,,,,,,,Screen,Pair,15th Alabama,,remove_with=149A,"If there are dice on this card when the 20th Maine attacks, remove these dice and deal one additional hit. <p>When the 15th Alabama Routs, remove this card from play (this does not constitute a Rout).",
24,137A,dkblue,20th Maine,,,4*,(5)/(6),,,Attack,,"15th Alabama, 47th Alabama",1 hit per die. 1 self per action. (But see Sharpshooters.),,Counterattack,Pair,15th Alabama,"1 hit. Additionally, this unit suffers one less hit.",take_1_from=136A,,
-24,138A,dkblue,83rd Pennsylvania,,,4*,(4),,,Attack,,"47th Alabama, 4th Alabama, 15th Alabama",1 hit per die. 1 self per action.,,Counterattack,Pair,"47th Alabama, 4th Alabama",1 hit.,,,
+24,138A,dkblue,83rd Pennsylvania,,,4*,(4),,,Attack,,"47th Alabama, 4th Alabama, 15th Alabama",1 hit per die. 1 self per action.,,Counterattack,Pair,47th Alabama or 4th Alabama,1 hit.,,Can React to EITHER of the targets.,
24,139A,dkblue,44th New York,,,4*,(3),,,Attack,,"5th Texas, 4th Texas, 4th Alabama",1 hit per die. 1 self per action.,,Counterattack,Pair,5th Texas,1 hit.,,,
24,140A,dkblue,16th Michigan,,,4*,(2),,,Attack,,"4th Texas, 5th Texas",1 hit per die. 1 self per action.,,Counterattack,Pair,4th Texas,1 hit.,,,"Hurray, Michigan!"
24,141A,blue,Artillery,,,III,Straight 3,,,,,,,,Screen,Voluntary,Any enemy formation,,,,
@@ -621,7 +621,7 @@ RAMILLIES,,,,,,,,,,,,,,,,,,,,,
42,254B,dkblue,Taviers,,,4,Doubles,,,Counterattack,,Dutch Guards,"1 hit. Additionally, this unit suffers one less hit.",,Screen,Pair,Overkirk,,,,"""The fighting [at Taviers] was almost as murderous as the rest of the battle put together."" - Colonel de la Colonie"
,,,,,,,,,,,,,,,,,,,,,
DENAIN,,,,,,,,,,,,,,,,,,,,,
-43,255B,red,Dutch Garrison,,,6*,5/6,,,Attack,,"Villars's Right, Villars's Left","1 hit per die. 1 self per action. If reduced to one stick, no self hits.",,Counterattack,Pair,Any enemy attack,"1 hit. Additionally, this unit suffers one less hit.",,,
+43,255B,red,Dutch Garrison,,,6*,5/6,,,Attack,,"Villars's Right, Villars's Left","1 hit per die. 1 self per action. If reduced to one stick, no self hits.",,Counterattack,Pair,Any enemy attacking it,"1 hit. Additionally, this unit suffers one less hit.",,,
43,256B,red,Dutch Horse,,,6,3/4,,RETIRE,Attack,,"Broglie, Villars's Left",1 hit per die (two per die vs. Villars's Left). 1 self per action.,,Screen,Pair,"Broglie, Villars's Left*",,,* - May only Screen Villars's Left if Broglie has Routed.,
43,257B,red,Fortress Guns,,,1,Doubles,,,Screen,,"Villars's Left, Villars's Right",,,,,,,rout_with=255B,"When the Dutch Garrison Routs, this card Routs immediately.","While sheer numbers made the French victory over the small garrison perhaps inevitable, Dutch artillery ensured they paid for their victory in blood. Eventually a grisly bayonet charge breached the walls, forcing the doomed garrison to retreat across a mill bridge. It collapsed from underneath them; hundreds drowned."
43,258B,pink,Albemarle,,,4,5/6,,,Command,Two Pairs,Eugene out of reserve,,,Absorb,"Pair, Voluntary",Dutch Garrison,"When target suffers Hits, this card suffers 1 hit ONLY instead.",,,The Earl of Albemarle held out as long as he could against overwhelming odds. He and the survivors were taken prisoner.
@@ -671,7 +671,7 @@ ROCOUX,,,,,,,,,,,,,,,,,,,,,
46,294A,red,Ligonier's Left,,inf,4,4/5,R,RETIRE,Attack,,"Left Center, Left",1 hit per die.,,Counterattack,Pair,Left Center,1 hit.,rout_with=295A,"If Ligonier's Right Routs or Retires, this card Routs immediately.",
46,295A,red,Ligonier's Right,,inf,4,5/6,L,RETIRE,Attack,,"Left, Left Center",1 hit per die.,,Counterattack,Pair,"Left, Left Center",1 hit.,rout_with=294A,"If Ligonier's Left Routs or Retires, this card Routs immediately.",
46,296A,pink,Austrians,,inf,8,,,,,,,,,,,,,,"If you want, you can Shift sticks from this card like you would any other. It is at the very least more than our boy Chuckles did. You may not however Shift sticks to this card. <p>Sticks on this card count toward Tactical Victory. That is, at the start of the game, you already have 8! Of course, Shifting will reduce that number.","George II blamed the defeat on Charles's inaction. If you had asked Charles, though, he'd have said that holding their position near the Jeker kept the line of retreat open, and is what saved the Pragmatic Army. In any case, the Austrians don't have much to do in this scenario, but here they are just the same."
-46,297A,pink,Rearguard,,inf,4,4-6,,Ligonier's Left,Attack,,"Left, Left Center",1 hit plus 1 hit per die.,,Counterattack,Pair,Any enemy attack,1 hit. This unit suffers ONE less hit and never more than one.,,,
+46,297A,pink,Rearguard,,inf,4,4-6,,Ligonier's Left,Attack,,"Left, Left Center",1 hit plus 1 hit per die.,,Counterattack,Pair,Any enemy attacking it,1 hit. This unit suffers ONE less hit and never more than one.,,,
46,298A,dkblue,Left,,inf,6,(3)/(4),,,Attack,,"Ligonier's Right, Ligonier's Left, Rearguard",1 hit per die. 1 self per action.,,Counterattack,Pair,"Ligonier's Right, Rearguard","1 hit. Additionally, this unit suffers one less hit.",,,
46,299A,dkblue,Left Center,,inf,6,(5)/(6),,,Attack,,"Ligonier's Left, Ligonier's Right, Rearguard",1 hit per die. 1 self per action.,,Counterattack,Pair,"Ligonier's Left, Rearguard","1 hit. Additionally, this unit suffers one less hit.",,,
46,300A,dkblue,The Mouth of Hell,,,II,Straight 4,,,Bombard,Two Cubes,,,,Screen,One Cube*,Any enemy attack,,,"* If there are two cubes on this card when a Screen is triggered, expend both of them.","A Dutch officer dubbed the fire from the French batteries as ""one of the most terrible ever seen, and it looked as if hell had opened her mouth to swallow us up."""
@@ -706,7 +706,7 @@ BRESLAU,,,,,,,,,,,,,,,,,,,,,
48,285B,dkblue,Zieten,,inf,4,1/2,R,,Attack,,"Esterhazy, Kheul",1 hit per die.,,Counterattack,,Esterhazy,"1 hit. Additionally, this unit suffers one less hit per die.",,,
48,286B,dkblue,Schultze,,inf,4,3/4,LR,,Absorb,,Lestwitz or Zieten,"When target suffers Hits, this card suffers 1 less hit per die.",,,,,,,,
48,287B,blue,Lestwitz,,inf,4,3/4,LR,,Attack,,Kheul,1 hit per die.,,Counterattack,Pair,Kheul,1 hit.,,,
-48,288B,blue,Brandes,,inf,4,5/6,L,,Attack,,"Nadasdy, Kheul",1 hit per die.,,Counterattack,,Any enemy attack,"1 hit. Additionally, this unit suffers one less hit per die.",,,
+48,288B,blue,Brandes,,inf,4,5/6,L,,Attack,,"Nadasdy, Kheul",1 hit per die.,,Counterattack,,Any enemy attacking it,"1 hit. Additionally, this unit suffers one less hit per die.",,,
48,289B,dkblue,Bevern,,inf,4,4-6,,,Absorb,Voluntary,Any friendly formation,"When target suffers Hits, this card suffers 1 less hit per die.",,,,,,,"When there are dice on this card, friendly Counterattacks inflict one extra hit.","Though his defeat was perhaps inevitable, Bevern held out against impossible odds for twelve hours, and the Austrians paid for their victory, suffering nearly as many casaulties as the Prussians."
48,290B,blue,Prussian Guns,,,II,Straight 4/3,,,Screen,,Any enemy attack,,,,,,,,"If rolling five or more dice during your Roll Phase, you need a four-die straight to earn a cube. If rolling four or fewer, you need a three-die straight to earn a cube. <p><b>Artillery Duel:</b> If at the end of your turn there are no cubes on this card, but the Austrian Guns card has two cubes, remove this card from play. This does not count as a Rout.",
,,,,,,,,,,,,,,,,,,,,,
diff --git a/tools/gendata.js b/tools/gendata.js
index b2405ec..1740f70 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -401,8 +401,6 @@ cards.forEach((c, ix) => {
}
})
-fs.writeFileSync("info/all-cards.html", result.join("\n"))
-
result = [
`<!doctype html>
<html lang="en">