zomboid-revive

Revive dead characters in Project Zomboid Build 42.20 local saves by repairing players.db and body health.

Updated Jul 5, 2026
One-click install
npx skills add https://github.com/mrStorrs/pz-ai-modding-system --skill zomboid-revive-mrstorrs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zomboid-revive
Source: https://github.com/mrStorrs/pz-ai-modding-system/tree/main/.codex/skills/zomboid-revive
Command: npx skills add https://github.com/mrStorrs/pz-ai-modding-system --skill zomboid-revive-mrstorrs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? A dead character in a Project Zomboid Build 42.20 single-player save cannot simply be revived by flipping the isDead flag, because serialized body-part health can still calculate to zero and instantly kill the character again. This Skill safely inspects, backs up, and fully heals a dead local survivor without corrupting the save. ## Core Features & Use Cases - Guarded Save Inspection: Selects the newest local save containing players.db, verifies SQLite integrity, decodes the B42.20 body-damage blob, and reports isDead state, calculated body health, wounds, Food Sickness, and zombie infection. - Full Revival and Healing: Creates a timestamped backup and full save archive, clears isDead, rebuilds all 17 body-part records at 100 health, resets physical danger stats, and preserves inventory, XP, traits, and position. - Strict Safety Gates: Refuses to run while Project Zomboid is running, rejects unsupported worldversion values, ambiguous player selection, multiplayer characters, and any parse ambiguity instead of guessing byte offsets. - Use Case: Your character died to a zombie bite in your latest B42.20 save. Run the revive workflow to back up the save, clear the death flag, restore full body health, and verify the result before loading the game again. ## Quick Start Ask the assistant to use the zomboid-revive skill to revive your character in the most recent Project Zomboid save.

Frequently Asked Questions about zomboid-revive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I revive a dead character in Project Zomboid Build 42?

Run the revive_player.py script with the revive command against your local save. It backs up the save, clears the isDead flag in players.db, rebuilds all body-part health records at 100, and verifies the result with SQLite integrity checks.

Why does my character die instantly after setting isDead to 0?

Clearing isDead alone is not a complete revival because serialized body-part health can still calculate to zero, killing the character again on load. The revive workflow rebuilds the full body-damage records at 100 health to prevent this instant-death loop.

Does this work with Project Zomboid multiplayer or server saves?

No, multiplayer and server characters are unsupported. The script only processes localPlayers records in local single-player saves and stops if the character is only found in networkPlayers or another multiplayer store.

Can I revive a save while Project Zomboid is running?

No, the script refuses all access while the game is running to prevent save corruption. Close Project Zomboid completely before running either the inspect or revive command.

What Project Zomboid versions are supported for save revival?

Only Build 42.20 saves with worldversion 247 are supported. The script validates the worldversion and stops without editing if the save uses any other layout, rather than guessing byte offsets.

Does reviving a character delete inventory, XP, or traits?

No, the revival only resets physical danger stats and body-damage fields. Inventory, XP, traits, position, and unrelated character stats and payload bytes are preserved and verified unchanged after the update.