-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further generalizations to controller.{mod,fomod}
Previously, controller.fomod relied on bethesda-specific data, like the presence of a data directory. In order to remove this dependency, refactor controller.fomod so it relies on a new mod.fomod_target dir instead of the ammo_fomod/Data dir. Add a BethesdaMod dataclass so Bethesda fomods and other fomods can have a different fomod_target directory. This is needed since all Bethesda fomods will expect files which are output of fomod configuration wizards to be deployed under the game's Data directory. Non-bethesda games will simply deploy to the game's base directory. Remove unused enums from ammo/component.py. controller.fomod should be responsible for writing to <mod>/ammo_fomod, and controller.mod should be responsible for reading <mod>/ammo_fomod. As such, the responsibility of deleting that directory was moved to controller.fomod.
- Loading branch information
1 parent
7eacb02
commit 5d92a5c
Showing
7 changed files
with
182 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.