Skip to content

Commit 30f901c

Browse files
committed
removed some references to fabdb.net
1 parent 50c3fec commit 30f901c

3 files changed

Lines changed: 5 additions & 20 deletions

File tree

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,11 @@ The sections below show how to add decks for the various games.
7171

7272
### Flesh and Blood
7373

74-
To add a Flesh and Blood deck, put a text file with the .fab extension in the content folder. These file are in
75-
the same format as [fabdb.net](https://fabdb.net/), though cards that have only one pitch option don't need to include
76-
the color (this will be fixed in later versions). The easiest way to get the list in the correct is to add it on fabdb,
77-
copy it to the clipboard and paste it into a .fab file. The format is pretty self explanatory even if you don't want to
78-
generate it through fabdb.
74+
To add a Flesh and Blood deck, put a text file with the .fab extension in the content folder. These files follow
75+
a simple text format where cards that have only one pitch option don't need to include the color (this will be fixed
76+
in later versions). The format is pretty self explanatory, see the example below.
7977

8078
```text
81-
Deck build - via https://fabdb.net :
82-
8379
Prism Blitz Precon
8480
8581
Class: Illusionist
@@ -110,8 +106,6 @@ Equipment: Dream Weavers, Halo of Illumination, Heartened Cross Strap, Spell Fra
110106
(2) Spears of Surreality (blue)
111107
(2) Wartune Herald (blue)
112108
(1) The Librarian
113-
114-
See the full deck at: https://fabdb.net/decks/GkNKXvRA/
115109
```
116110

117111
### Gwent

plugins/fab/reader.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ def load_decklist(filename):
169169
"hero": "",
170170
"weapons": [],
171171
"equipment": [],
172-
"cards": [],
173-
"url": None,
172+
"cards": []
174173
}
175174

176175
with open(filename) as fin:
@@ -196,8 +195,6 @@ def load_decklist(filename):
196195
output["equipment"] = [
197196
w.strip() for w in line.replace("Equipment: ", "").split(",")
198197
]
199-
elif line.startswith("See the full deck"):
200-
output["url"] = line.replace("See the full deck at: ", "")
201198
else:
202199
output["title"] = line
203200

@@ -341,8 +338,7 @@ def parse_decklist(self, decklist):
341338
"weapons": [self.cached_data[w] for w in decklist["weapons"]],
342339
"equipment": [self.cached_data[e] for e in decklist["equipment"]],
343340
"cards": parsed_cards,
344-
"format": "Blitz" if total_count == 40 else "Classic Constructed",
345-
"fabdb_url": decklist["url"],
341+
"format": "Blitz" if total_count == 40 else "Classic Constructed"
346342
}
347343

348344
def read(self, filename):

theme/templates/fab_deck.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515
</ol>
1616

1717
<h1>{{ article.title }} <small class="text-muted">({{ article.format }})</small></h1>
18-
{% if article.fabdb_url %}
19-
<div class="row top5">
20-
<div class="col text-right"><span>View deck on <a href="{{ article.fabdb_url }}">FaBDB.net</a></span></div>
21-
</div>
22-
{% endif %}
2318
<div class="row">
2419
<div class="col-md-12 top15">
2520
<div class="card h-100">

0 commit comments

Comments
 (0)