Use the signed i64 profile encoding identified in PR #13. Make attached backups selectable in LocalMP after the daily quota, and debit backups only after the engine confirms the selected slot entered play. Record the stock daily allowance once per room and slot. Settle owned backups using the confirmed spawn facts and keep repeat settlement from charging the same battle again. Verified server and launcher types, MSVC compilation, three client builds for patch and Quirrel checks, and a temporary 2.61.0.58 build. In-game acceptance is pending. Co-authored-by: duduyagame <[email protected]>
18 lines
805 B
JSON
18 lines
805 B
JSON
// Offer backups on a consumed LocalMP lineup slot when a daily, attached or universal spare is available.
|
|
// The game reads slot masks in process. The local service sends the account's quota and balances at launch.
|
|
// Without this bridge, a consumed slot with only attached backups can be unavailable.
|
|
{
|
|
"id": "battle/available-local-backups",
|
|
"title": "Use the local account's backup availability in battle",
|
|
"features": ["K-Spawn score and respawns"],
|
|
"variants": [{
|
|
"written_for": "2.61.0.37",
|
|
"file": "scripts/respawn/respawnstate.nut",
|
|
"edits": [
|
|
{ "find": "find-quota.nut", "replace": "replace-quota.nut" },
|
|
{ "find": "find-availability.nut", "replace": "replace-availability.nut" },
|
|
{ "find": "find-export.nut", "replace": "replace-export.nut" }
|
|
]
|
|
}]
|
|
}
|