6ef4c40e29
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>
25 lines
545 B
JSON
25 lines
545 B
JSON
[
|
|
{
|
|
"id": "daily_play_1_match",
|
|
"title": "Daily Match",
|
|
"description": "Play 1 match today.",
|
|
"objective_type": "daily",
|
|
"metric": "matchesplayed",
|
|
"target": 1,
|
|
"reward_coins": 500,
|
|
"reward_pack_id": null,
|
|
"reward_xp": 100
|
|
},
|
|
{
|
|
"id": "daily_score_3_goals",
|
|
"title": "Hat-Trick Hero",
|
|
"description": "Score 3 goals in matches today.",
|
|
"objective_type": "daily",
|
|
"metric": "goalsscored",
|
|
"target": 3,
|
|
"reward_coins": 750,
|
|
"reward_pack_id": null,
|
|
"reward_xp": 150
|
|
}
|
|
]
|