@@ -57,13 +57,15 @@ The current Consumables count is {{ G.consumables.config.card_count }}/{{ G.cons
5757{% - endif %}
5858{% - endfor %}
5959
60- {% if G .used_vouchers |length > 0 -%}
60+ {% if G .game . used_vouchers |length > 0 -%}
6161## Vouchers
6262
6363Here is the list of vouchers redeemed during the run:
6464
65- {% for v in G .used_vouchers .keys () -%}
66- - {{ constants.vouchers[v] }}
65+ {% for v , redeemed in G .game .used_vouchers .items () -%}
66+ {% if redeemed -%}
67+ - {{ v }}: {{ constants.vouchers[v] }}
68+ {% endif -%}
6769{% endfor -%}
6870{% endif -%}
6971
@@ -83,8 +85,8 @@ Here is a list of the poker hands and their levels:
8385
8486{% for name , hand in G .game .hands | dictsort -%}
8587- **{{ name }}** (Level {{ hand.level }}):
86- - **Chips**: {{ hand.chips }} (Base: {{ hand.s_chips }})
87- - **Mult**: {{ hand.mult }} (Base: {{ hand.s_mult }})
88+ - **Chips**: {{ hand.chips }}
89+ - **Mult**: {{ hand.mult }}
8890 - **Example**: `{% for c in hand .example %} {{ c[0] }}{% if not c [1] %} (not scored){% endif %}{% if not loop .last %} , {% endif %}{% endfor %} `
8991{% endfor %}
9092
@@ -136,9 +138,80 @@ You can play or discard up to {{ G.hand.config.highlighted_limit }} cards.
136138{% if G .state == 5 -%}
137139## Shop
138140
139- TODO
141+ Here are the available cards in the shop:
140142
141- {% endif -%}
143+ {% for card in G .shop_jokers .cards -%}
144+ {% if card .facing == "front" %}
145+ {% - if card .ability .set == "Joker" %}
146+ - {{ loop.index0 }}: {{ card.label }} ({{ constants.jokers[card.config.center_key] }})
147+ - **Set**: {{ card.ability.set }}
148+ - **Cost**: ${{ card.cost }}
149+ - **Sell value**: ${{ card.sell_cost }}
150+ {% - if card .edition %}
151+ - **{{ card.edition.type|title }} Edition**: {{ constants.editions[card.edition.key] }}
152+ {% - endif %}
153+ {% - if card .debuff %}
154+ - **Debuff**: this card is debuffed and will not be counted in scoring
155+ {% - endif %}
156+ {% - elif card .ability .set in ["Tarot" , "Planet" , "Spectral" ] %}
157+ - {{ loop.index0 }}: {{ card.label }} ({{ constants.consumables[card.config.center_key] }})
158+ - **Set**: {{ card.ability.set }}
159+ - **Cost**: ${{ card.cost }}
160+ - **Sell value**: ${{ card.sell_cost }}
161+ {% - if card .debuff %}
162+ - **Debuff**: this card is debuffed and will not be counted in scoring
163+ {% - endif %}
164+ {% - else %}
165+ {% - if card .ability .name == "Stone Card" %}
166+ - {{ loop.index0 }}: this is a stone card (no suit and no rank)
167+ - **Set**: {{ card.ability.set }}
168+ - **Cost**: ${{ card.cost }}
169+ - **Sell value**: ${{ card.sell_cost }}
170+ {% - else %}
171+ - {{ loop.index0 }}: {{ card.config.card.value }} of {{ card.config.card.suit }} (`{{ card.config.card_key }}`)
172+ - **Set**: {{ card.ability.set }}
173+ - **Cost**: ${{ card.cost }}
174+ - **Sell value**: ${{ card.sell_cost }}
175+ {% - if card .edition %}
176+ - **{{ card.edition.type|title }} Edition**: {{ constants.editions[card.edition.key] }}
177+ {% - endif %}
178+ {% - if card .ability .set == "Enhanced" %}
179+ - **{{card.ability.name}}**: {{ constants.enhancements['m_' + card.ability.name.lower().replace(' card', '').replace(' ', '_')] }}
180+ {% - endif %}
181+ {% - if card .seal %}
182+ - **{{ card.seal }} seal**: {{ constants.seals[card.seal] }}
183+ {% - endif %}
184+ {% - if card .debuff %}
185+ - **Debuff**: this card is debuffed and will not be counted in scoring
186+ {% - endif %}
187+ {% - endif %}
188+ {% - endif %}
189+ {% - else %}
190+ - {{ loop.index0 }}: the card is face down
191+ {% - endif %}
192+ {% - endfor %}
193+
194+ The cost of the reroll is ${{ G.game.current_round.reroll_cost }}.
195+
196+ Here are the vouchers that can be redeemed:
197+ {% for voucher in G .shop_vouchers .cards -%}
198+ {% - if voucher .facing == "front" %}
199+ - {{ loop.index0 }}: {{ voucher.label }} ({{ constants.vouchers[voucher.config.center_key] }})
200+ - **Cost**: ${{ voucher.cost }}
201+ - **Sell value**: ${{ voucher.sell_cost }}
202+ {% - else %}
203+ - {{ loop.index0 }}: the voucher is face down
204+ {% - endif %}
205+ {% - endfor %}
206+
207+ Here are the booster packs that can be opened:
208+
209+ {% for pack in G .shop_booster .cards -%}
210+ - {{ loop.index0 }}: {{ pack.label }}
211+ - **Cost**: ${{ pack.cost }}
212+ - **Sell value**: ${{ pack.sell_cost }}
213+ {% endfor %}
214+ {% - endif %}
142215
143216# Tools available
144217
0 commit comments