Initial commit

This commit is contained in:
Nate Bowman
2026-10-27 19:55:01 -04:00
commit aa6edd37de
9 changed files with 696 additions and 0 deletions

15
fighting/config.py Normal file
View File

@@ -0,0 +1,15 @@
from pathlib import Path
from types import SimpleNamespace
import yaml
config_file = 'settings.yaml'
with open(config_file, 'r') as f:
c = yaml.safe_load(f)
data_path = Path(c['storage']['data'])
config = SimpleNamespace()
config.bonus_data_file = data_path / 'bonuses.json'