Skip to content
This repository was archived by the owner on May 10, 2026. It is now read-only.

fix: operation siren ap regen refill and reset integration - #236

Merged
ggmolly merged 3 commits into
mainfrom
feat/timed-background-packet
Feb 22, 2026
Merged

fix: operation siren ap regen refill and reset integration#236
ggmolly merged 3 commits into
mainfrom
feat/timed-background-packet

Conversation

@ggmolly

@ggmolly ggmolly commented Feb 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Operation Siren action power now regenerates naturally at +1 per 10 minutes while below cap and keeps recovery timestamps in sync with cap/overcap states.
  • Weekly oil purchase ladder behavior now resets correctly on weekly boundaries and also resets when monthly Operation Siren rollover happens.
  • Operation Siren AP refill world items now apply their configured AP gains (S/M/L) directly to world runtime state.

Changes

  • Added world runtime sync logic for weekly/monthly reset windows plus AP regen settings sourced from gameset defaults/config entries.
  • Wired runtime sync into world check/base/map operation/map request/stamina exchange handlers and surfaced monthly rollover through SC_33107.is_reset.
  • Updated stamina exchange flow to apply reset-aware ladder indexing and preserve AP recovery timestamp behavior when AP reaches/exceeds cap.
  • Added AP recovery item handling in world item use flow for usage_world_recoverAP usage args.
  • Expanded world tests to cover natural AP regen, weekly ladder reset, monthly reset signaling/coupling, and AP refill item runtime mutation.

@ggmolly ggmolly added type/bug Defect or incorrect behavior area/event Limited events area/inventory Items/currency status/needs-review Ready for review labels Feb 22, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 47ea19b570

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/answer/world_item_use.go Outdated
@ggmolly
ggmolly merged commit 888c247 into main Feb 22, 2026
1 check passed
@ggmolly
ggmolly deleted the feat/timed-background-packet branch February 22, 2026 14:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/event Limited events area/inventory Items/currency status/needs-review Ready for review type/bug Defect or incorrect behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant