Skip to content

Add cheat menu: live attribute editor for all characters#18

Merged
narayan24 merged 1 commit into
masterfrom
feature/cheat-menu
May 14, 2026
Merged

Add cheat menu: live attribute editor for all characters#18
narayan24 merged 1 commit into
masterfrom
feature/cheat-menu

Conversation

@narayan24
Copy link
Copy Markdown
Owner

Summary

  • New Cheats button in the settings flyout (⚡ icon, above the restart button)
  • Opens a full-screen modal overlay (ZIndex 5000, above phone/wardrobe)
  • Scrollable list of character cards — MC first, then NPCs
  • Each attribute renders as: Name · value / max header row + live Slider
  • Slider ValueChanged writes directly to the in-memory character model and calls UpdateStatusBar() so the left panel reflects changes instantly
  • Hidden attributes are included and marked with a · suffix
  • Panel is dismissed with ✕ (top-right) which also restores mainContent visibility

Test plan

  • Open settings flyout → click Cheats button → overlay appears
  • Drag a slider → status bar value updates in real time
  • Close overlay → game view is fully restored, no blank screen
  • Verify changes persist for the current session (affect story checks)
  • Verify hidden attributes (e.g. inhibition, horny) appear and are editable

🤖 Generated with Claude Code

A gear-icon button in the settings flyout opens a full-screen modal
with a scrollable card per character. Each attribute gets a live
slider (min/max from chars.json) that writes through to the in-memory
model and immediately refreshes the status bar. Hidden attributes are
shown with a subtle marker. MC is listed first.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@narayan24 narayan24 merged commit 606c039 into master May 14, 2026
2 checks passed
@narayan24 narayan24 deleted the feature/cheat-menu branch May 14, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant