Merge Characters and Locations (#31) #77
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!77
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-31-merge-entities"
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?
Closes #31. Part of #24.
What
merged_intooncharacterandlocation, pluscharacter_aliasandlocation_alias.merge_charactersmoves dialogue Lines, Looks and Wardrobe items (clashing names get a suffix, and the survivor keeps its default Look).merge_locationsmoves Scenes and drops the absorbed Location's folder membership. Blank survivor fields are filled from the absorbed Entity.merge.rsreassign_character_references/reassign_location_references. Later tables that store Character or Location ids must be reassigned there and restored inrevert.Tests
tests/merge.rs.Checks
cargo test --workspace --all-features,cargo clippy --workspace --all-targets --all-features -- -D warningsandbun run checkpass.