Skip to content

Commit 069a2a1

Browse files
committed
fix(strategy): remove booster packs references
1 parent 3e4fc73 commit 069a2a1

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,11 @@ You **MUST** use one of the following tools to perform the intended action:
247247
- `consumables`: (list) New order of consumables (0-based indices, must include all consumables)
248248
- `reasoning`: (string) Strategic reasoning for this arrangement
249249
{% elif G.state == "SHOP" -%}
250-
- Buy a card, voucher, or pack from the shop
250+
- Buy a card or voucher from the shop
251251
- Function: `buy`
252252
- Parameters (provide exactly one of):
253253
- `card`: (integer) 0-based index of shop card to buy
254254
- `voucher`: (integer) 0-based index of voucher to buy
255-
- `pack`: (integer) 0-based index of booster pack to buy
256255
- `reasoning`: (string) Strategic reasoning for this purchase
257256
- Reroll the shop items
258257
- Function: `reroll`

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The game alternates between a two main game phases:
88

99
1. **Playing Phase**: You start with a initial hand of 8 cards. You play a limited number of pokers-like hands (hands left) which scores points according to the scoring system. Scores for the played hands sum together into the current score in order to reach the score target for the round. Under normal circumstances, you can play up to 5 cards at once. You have also access to a limited number of discards (discard left) where you can discard, under normal circumstances, up to 5 cards. In the case of a discard, you will draw from the deck the same amount of cards you have discarded and those cards are added to your current hand. By strategically discard useless cards, you will have a chance to draw new cards that help you creating high scoring hands. If you successfully reach the target score, you will proceed to the Shop Phase otherwise it's Game Over.
1010

11-
2. **Shop Phase**: You can buy jokers, consumables, packs, cards, and vouchers to modify the scoring system. The objective in this phase is to strategically use (or not use) the shop action to strategically invest (or save) money to upgrade the scoring system for the following rounds. After you have perform all the action you want to perform in the shop, you can proceed to the Playing Phase (next round).
11+
2. **Shop Phase**: You can buy jokers, consumables, cards, and vouchers to modify the scoring system. The objective in this phase is to strategically use (or not use) the shop action to strategically invest (or save) money to upgrade the scoring system for the following rounds. After you have perform all the action you want to perform in the shop, you can proceed to the Playing Phase (next round).
1212

1313
## Initial Setup
1414

@@ -195,17 +195,25 @@ The Shop is the location where Jokers, Consumables, and Vouchers can be acquired
195195
By default, the shop sells:
196196

197197
- 2 random cards (usually Jokers, but occasionally Tarot Cards and Planets)
198-
- 2 random Booster Packs
199198
- 1 Voucher
200199

200+
{#- Booster Packs not yet supported by BalatroBot API
201+
- 2 random Booster Packs
202+
-#}
203+
201204
All items in the shop have a buy cost (purchase price) and a sell cost (selling value) for the purchased items. The sell cost item is usually half of it buy cost.
202205

203206
### Reroll
204207

205208
The player may pay money to reroll the shop an unlimited number of times, removing any of the remaining random cards and replacing them with 2 new random cards. The reroll cost starts at $5 and increases by $1 each reroll, resetting to $5 upon entering a new shop.
206209

210+
{#- Pack purchase not yet supported by BalatroBot API
207211
However, rerolling the shop does not restock Booster Packs or the Voucher. Booster packs only restock upon entering a new shop, and the Voucher restocks after defeating the boss blind.
212+
-#}
213+
214+
However, rerolling the shop does not restock the Voucher. The Voucher restocks after defeating the boss blind.
208215

216+
{#- Pack purchase not yet supported by BalatroBot API
209217
### Booster Packs
210218
211219
Two Booster Packs are always offered in each Shop, often but not always of two different types. These come in five categories:
@@ -217,6 +225,7 @@ Two Booster Packs are always offered in each Shop, often but not always of two d
217225
- **Spectral Packs** containing Spectral Cards for immediate use.
218226
219227
A new set of Booster Packs will be offered with each shop. Booster Packs do not refresh when rerolling the Shop.
228+
-#}
220229

221230
## Jokers
222231

src/balatrollm/strategies/default/TOOLS.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"type": "function",
134134
"function": {
135135
"name": "buy",
136-
"description": "Buy a card, voucher, or pack from the shop. Provide exactly one of: card, voucher, or pack.",
136+
"description": "Buy a card or voucher from the shop. Provide exactly one of: card or voucher.",
137137
"parameters": {
138138
"type": "object",
139139
"properties": {
@@ -145,10 +145,6 @@
145145
"type": "integer",
146146
"description": "0-based index of voucher to buy"
147147
},
148-
"pack": {
149-
"type": "integer",
150-
"description": "0-based index of pack to buy"
151-
},
152148
"reasoning": {
153149
"type": "string",
154150
"description": "Strategic reasoning for this purchase"

0 commit comments

Comments
 (0)