📱Smartphone Widget v1.9.0: Battery System, Charging Stations & Boot Animations
v1.9.0 introduces a complete battery lifecycle for your in-game smartphones. Phones now drain over time, shut down when dead, and must be recharged — adding a whole new layer of resource management and immersion to your sessions. Every aspect is fully optional and configurable.
✨New Features
🔋 Battery System
A full battery drain and recharge cycle for every smartphone.
Battery Drain: Batteries deplete over in-game time at a configurable rate (% per hour). When a phone hits 0%, it shuts down with a dead screen overlay.
Low Battery Warnings: Toast notifications alert the player at configurable thresholds (default 20%, 10%, 5%).
Status Bar Icon: The battery icon in the status bar dynamically updates with color-coded states — green, yellow, orange, and red.
Per-Phone Control: GMs can apply the battery system to all phones, or only to specific phones. A dedicated phone list with PC/NPC tabs, search, and select all/deselect all makes management effortless.
GM Battery Panel: Click the battery icon (GM only) to directly set any phone's battery level or stop active charging with a quick slider.
⚡ Charging Stations (Tile)
Turn any tile into a charging station via the Tile HUD ⚡ button.
Configurable: Set charge rate (% per hour), charge target (max level), and proximity range (default 2 squares, or 0 for unlimited).
Fast Charge: Optional instant charge mode — fills the battery to the target immediately on click.
Visual Indicator: Charging station tiles glow green on the canvas so players can spot them easily.
📡 Charging Zones (Region, V13)
A new Region Behavior type for seamless, automatic charging.
Tokens entering the region receive a "Charging station detected!" notification.
Configurable charge rate, charge target, and fast charge toggle — same options as tile stations.
Works alongside tile-based stations placed inside the region.
🔌 Charge Items
Register any item as a portable charger in GM settings.
Drag & Drop: Players drag the item onto the phone to start charging.
Per-Item Config: Set charge amount (%), charge rate, and whether it charges gradually or instantly.
Consumable Toggle: Items can be single-use (quantity decreases) or reusable.
💀 Dead Screen Experience
When a phone dies, the experience doesn't just stop — it evolves.
Dead Screen Overlay: A black screen with a battery-empty icon replaces the phone UI at 0%.
Charge from Dead: If the token is in a charging zone, a "Start Charging" button appears right on the dead screen.
Charging Indicator: While charging at 0%, the icon changes to a green ⚡ bolt with a pulse animation.
Long-Press Boot: Hold the power button for 1.2 seconds to force-boot the phone while charging — a circular progress ring animates around the button as you hold.
GM Peek: A GM-only 👁 button lets the GM view the phone's contents without booting it.
✨ Boot & Shutdown Animations
power on/off transitions for maximum immersion.
Boot Screen: Black screen with a logo fade-in, hold, then fade-out to the home screen.
Shutdown: Screen dims and fades to black when powering off.
Custom Boot Logo: GMs can set a per-phone boot logo via the in-phone Settings app, or configure a default boot logo for all phones in module settings.
🔴 Power Off Button A new power off button in the Control Center for manually shutting down the phone.
🛠️Improvements & Fixes
Disable Update Notifications: Added an option to disable update notification popups. Toggle in module settings, or click "Don't show again" from the update dialog.
V12 Compatibility: Fixed a crash related to DialogV2 callback differences between V12 and V13.
Update Dialog Scroll: Long patch notes no longer overflow the update notification dialog.
