fix: remove hardcoded /Users/apayne persistence path from standalone game engines (Closes #831) #946
Reference in New Issue
Block a user
Delete Branch "step35/831-evennia-local-world-remove-h"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Evennia-local-world simulators previously hardcoded
/Users/apayne/.timmy/evennia/timmy_world,making them non-portable and coupling state/log writes to one machine layout.
Change:
WORLD_DIRnow reads fromTIMMY_WORLD_DIRenvironment variable, with default~/.timmy/evennia/timmy_world(expanded viaos.path.expanduser) so it works for any user.Files changed:
timmy-world/game.pyevennia/timmy_world/game.pyevennia/timmy_world/world/game.pyAcceptance criteria:
/Users/apaynepaths in any standalone Evennia game engineTIMMY_WORLD_DIRwhen setCloses #831
Agent PR Gate
Failure details
Recommendation: human review.
Low-risk documentation/test-only PRs may be auto-merged. Operational changes stay in human review.