Log inGet started
World

Kicked Out of the Hero's Party — But Now I Use My Software Whispering Skill to Rise in This World (fork)

Branchmain
Branchesmain
Commit6c60403243

README.md

Whisper

game.whisper.Whisper — the Software Whisper minigame of Kicked Out of the Hero's Party.

The target's generated illustration sits in a holographic scan window in the centre and splits into floating cyan code panels; the right-hand command panel (gold-filigree indigo glass) holds READ / EDIT / PATCH, the segmented Mana meter, the Whisper Lv badge and gold. A goal banner runs across the top and a whisper log along the bottom. Puzzle content is data in game.whisper.Puzzles.

API (contract in design/spec.md)

  • start(puzzleId, onResult) — opens the whisper; calls Stage.whisperMode(true), Stage.fx("code_rain"), Audio.sfx("whisper_on"). onResult(Result) fires ~1.7 s after the end banner. A start that supersedes a running whisper delivers { success = false, reason = "aborted" } to the old callback.
  • isActive(), abort() (closes silently, no callback).
  • Result = { success, reason? ("mana" | "crash" | "aborted"), manaLeft, manaMax, difficulty }. Never grants rewards.
  • Extras for tools/tests: lastResult(), snapshot(), puzzles().

Play

  • Pick a command, then a code line (or a line, then a command). READ (1 Mana) decodes a hidden line and its note; EDIT (2) offers alternative values; PATCH (4) offers rewritten logic lines. Rewrites need the line READ first.
  • Commands unlock by Rules.commandUnlocked(State.whisperLevel); a puzzle's grants awaken one early (rusty_sword teaches EDIT at Lv 1); allowed seals the rest (party_buffs is READ only). Locked commands show a padlock and their unlock level.
  • Mana = State.maxMana(). A rejected value ("glitch") costs 1 extra Mana and shakes the line; a breaking value ("crash") ends with reason = "crash"; running out of affordable commands ends with reason = "mana".
  • Shop: Ring of Focus makes the first READ free; Debugger's Lens marks faulty lines with a gold "!" from the start.
  • Sounds: whisper_on/off, click, code_read, code_edit, code_patch, glitch, error. Stage: whisperMode, fx (code_rain, glitch, victory), shake, flash.

UI: screen whisper_mode at layer 90, callbacks prefixed wsp: through ui.registerCallbackEnv("whisper", …); element ids wsp_cmd_<READ|EDIT|PATCH>, wsp_line_<lineId>, wsp_opt_<n>, wsp_cancel, wsp_mana. Narrow screens (< 900 pt wide) get a stacked layout.