Import current DEMON v0.19 source, assets and development handoff

This commit is contained in:
JariKo
2026-10-28 15:39:06 +02:00
commit 2b9ae06592
347 changed files with 14404 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from pathlib import Path
import shutil
root=Path(__file__).resolve().parent.parent
src=root/'Demon_v0.17'
if src.exists():raise SystemExit('Demon_v0.17 exists')
shutil.copytree(root/'Demon_v0.16',src)
for name in ['main.gd','addons/build_stamp/plugin.gd','export_presets.cfg','workshop_tests.gd','sentence_tests.gd','hud_tests.gd','README_RU.md','README_0.13.md']:
p=src/name;s=p.read_text(encoding='utf-8-sig')
s=s.replace('"0.16','"0.17').replace('Demon_v0.16','Demon_v0.17').replace('DEMON 0.16','DEMON 0.17').replace('Demon 0.16','Demon 0.17')
p.write_text(s,encoding='utf-8')
for old,new in [('build_v16.ps1','build_v17.ps1'),('package_v16.py','package_v17.py')]:
s=(root/'tools'/old).read_text(encoding='utf-8-sig')
s=s.replace('Demon_v0.16','Demon_v0.17').replace("'0.16'","'0.17'").replace("'0.16-'","'0.17-'").replace("'0.16-editor'","'0.17-editor'")
s=s.replace('build_v16.ps1','build_v17.ps1').replace('package_v16.py','package_v17.py').replace("root/'qa_v16'","root/'qa_v17'")
(root/'tools'/new).write_text(s,encoding='utf-8')
(root/'qa_v17/references').mkdir(parents=True,exist_ok=True)
print('Prepared 0.17')