Commit c7aa852
Fix tutorial markets completely
1. Tutorial market items now load properly:
- Call GameWorld.setupMarketPrices() after loading tutorial world
- This populates marketPrices from sells/buys arrays
2. Market opens correctly:
- M key and market button both call openMarket()
- locationHasMarket() checks multiple sources for location ID
- Added quest progress tracking when market opens
3. All tutorial items are tradeable:
- tutorial_village: all items at 0.5-0.8x (cheap)
- tutorial_town: all items at 1.2-1.8x (expensive)
- Guaranteed 10%+ profit on every trade
π€ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1aec95f commit c7aa852
3 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6096 | 6096 | | |
6097 | 6097 | | |
6098 | 6098 | | |
| 6099 | + | |
| 6100 | + | |
| 6101 | + | |
| 6102 | + | |
| 6103 | + | |
| 6104 | + | |
6099 | 6105 | | |
6100 | 6106 | | |
6101 | 6107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
315 | 322 | | |
316 | 323 | | |
317 | 324 | | |
| |||
0 commit comments