Skip to content

Commit 5930523

Browse files
committed
fix: consumables and tags representation in GAMESTATE.md.jinja
1 parent deb96a2 commit 5930523

1 file changed

Lines changed: 17 additions & 24 deletions

File tree

src/balatrollm/strategies/default/GAMESTATE.md.jinja

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ Here is the list of vouchers redeemed during the run:
6767
{% endfor -%}
6868
{% endif -%}
6969

70-
{% if G.tags|length > 0 -%}
70+
{% if G.game.tags|length > 0 -%}
7171
## Tags
7272

7373
Here is the list of tags you have accumulated so far:
7474

75-
{% for t in G.tags -%}
76-
- {{ constants.tags[t] }}
77-
{% endfor -%}
78-
{% endif -%}
75+
{% for t in G.game.tags -%}
76+
- {{t.name}}: {{ constants.tags[t.key] }}
77+
{%- endfor %}
78+
{%- endif %}
7979

8080
## Poker Hands
8181

@@ -86,29 +86,22 @@ Here is a list of the poker hands and their levels:
8686
- **Chips**: {{ hand.chips }} (Base: {{ hand.s_chips }})
8787
- **Mult**: {{ hand.mult }} (Base: {{ hand.s_mult }})
8888
- **Example**: `{% for c in hand.example %}{{ c[0] }}{% if not c[1] %} (not scored){% endif %}{% if not loop.last %}, {% endif %}{% endfor %}`
89-
{% endfor -%}
89+
{% endfor %}
9090

9191
{% if G.state == 7 -%}
9292
## Blind Select Game State
9393

94-
- **Small Blind**:
95-
- **target score**: {{ G.blinds.small.score }}
96-
- **status**: {{ G.blinds.small.status }}
97-
- **tag name**: {{ G.blinds.small.tag_name }}
98-
- **tag effect**: {{ G.blinds.small.tag_effect }}
99-
100-
- **Big Blind**:
101-
- **target score**: {{ G.blinds.big.score }}
102-
- **status**: {{ G.blinds.big.status }}
103-
- **tag name**: {{ G.blinds.big.tag_name }}
104-
- **tag effect**: {{ G.blinds.big.tag_effect }}
105-
106-
- **Boss Blind**:
107-
- **target score**: {{ G.blinds.boss.score }}
108-
- **status**: {{ G.blinds.boss.status }}
109-
- **name**: {{ G.blinds.boss.name }}
110-
- **effect**: {{ G.blinds.boss.effect }}
111-
{% endif %}
94+
- **Small Blind {{ G.blinds.small.score }} chips**{{ " (Current)" if G.blinds.small.status == "Select" }}
95+
- **Big Blind {{ G.blinds.big.score }} chips**{{ " (Current)" if G.blinds.big.status == "Select" }}
96+
- **Blind Boss — {{ G.blinds.boss.name }} {{ G.blinds.boss.score }} chips**: {{ G.blinds.boss.effect }}{{ "( Current)" if G.blinds.boss.status == "Select" }}
97+
{% if G.blinds.small.status == "Select" -%}
98+
If you decide to skip the Small Blind, you will be rewarded with the "{{G.blinds.small.tag_name}}" tag ({{G.blinds.small.tag_effect}})
99+
{% elif G.blinds.big.status == "Select" -%}
100+
If you decide to skip the Big Blind, you will be rewarded with the "{{G.blinds.big.tag_name}}" tag ({{G.blinds.big.tag_effect}})
101+
{%- else %}
102+
You have to select the Boss Blind to continue.
103+
{%- endif %}
104+
{%- endif %}
112105

113106
{% if G.state == 1 -%}
114107
## Current Hand

0 commit comments

Comments
 (0)