Files
OpenFUT/openfut-core/data/packs/pack_definitions.json
T
funman300 6ef4c40e29 Initial commit: OpenFUT Core + Bridge scaffold
Two-repo monorepo for an offline FUT backend inspired by SPT.

openfut-core: game-independent REST API backend (Axum, SQLite, SQLx)
- 19 API endpoints: auth, profiles, clubs, cards, packs, squads,
  objectives, SBCs, match rewards, NPC market, statistics
- JSON-driven card/pack/objective/SBC data (fully moddable)
- SQLx migrations, weighted pack generator, SBC validation engine
- 5 integration tests passing

openfut-bridge: FIFA 23 traffic proxy + reverse-engineering scaffold
- Catch-all HTTP proxy with request capture to captures/
- Known-route mapper (FUT paths → Core API calls)
- Placeholder responses for unknown endpoints
- Admin endpoints: captures, unknown endpoint list
- 4 unit tests passing

cargo fmt ✓  cargo clippy -D warnings ✓  cargo test ✓

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 14:42:16 -07:00

65 lines
1.3 KiB
JSON

[
{
"id": "bronze_pack",
"name": "Bronze Pack",
"description": "Contains 12 bronze players.",
"cost_coins": 400,
"slots": [
{
"count": 12,
"min_overall": null,
"rarity_filter": ["bronze"],
"guaranteed_rare": false
}
]
},
{
"id": "silver_pack",
"name": "Silver Pack",
"description": "Contains 12 silver players.",
"cost_coins": 2500,
"slots": [
{
"count": 12,
"min_overall": 65,
"rarity_filter": null,
"guaranteed_rare": false
}
]
},
{
"id": "gold_pack",
"name": "Gold Pack",
"description": "Contains 12 gold players, at least one rare.",
"cost_coins": 7500,
"slots": [
{
"count": 11,
"min_overall": 75,
"rarity_filter": ["gold"],
"guaranteed_rare": false
},
{
"count": 1,
"min_overall": 75,
"rarity_filter": ["raregold"],
"guaranteed_rare": true
}
]
},
{
"id": "rare_gold_pack",
"name": "Rare Gold Pack",
"description": "Contains 12 rare gold players.",
"cost_coins": 15000,
"slots": [
{
"count": 12,
"min_overall": 75,
"rarity_filter": ["raregold"],
"guaranteed_rare": true
}
]
}
]