The game's ANSI file API calls are hooked; paths under save\ and Settings.cfg are redirected to Documents\Sacred\save and Documents\Sacred\config, copied there once from the game folder. The shared chest uses the same save folder. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
9 lines
189 B
C++
9 lines
189 B
C++
#pragma once
|
|
|
|
namespace mods::sharedchest {
|
|
|
|
// Writes the shared chest (shared_chest.json in the save folder); called after a hero is saved.
|
|
void Save();
|
|
|
|
} // namespace mods::sharedchest
|