Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Th17 - New Th, Troop, Spell, Hero, & Equipment #248

Merged
merged 37 commits into from
Jan 2, 2025
Merged

Th17 - New Th, Troop, Spell, Hero, & Equipment #248

merged 37 commits into from
Jan 2, 2025

Conversation

MagicTheDev
Copy link
Collaborator

updated relevant static files & enums

coc/enums.py Outdated Show resolved Hide resolved
coc/enums.py Outdated Show resolved Hide resolved
coc/static/update_static.py Show resolved Hide resolved
coc/static/update_static.py Outdated Show resolved Hide resolved
@mathsman5133
Copy link
Owner

Happy to hear thoughts, but does anyone actually look through the json files? Ie. do we need them "beautified"?

I did a quick test and just about halved the buildings.json file by loading and re-dumping the contents into a single line json file.

If people actually look through them I don't hugely mind, but if we have the option it'd be nice to keep this static data small-ish for pypi and releases, and not having enormous git diffs.

coc/abc.py Show resolved Hide resolved
coc/abc.py Show resolved Hide resolved
coc/abc.py Outdated Show resolved Hide resolved
coc/abc.py Outdated Show resolved Hide resolved
coc/client.py Show resolved Hide resolved
coc/troop.py Outdated Show resolved Hide resolved
coc/static/townhall_levels.json Show resolved Hide resolved
Current war index error, cls classes and more cache control
@MagicTheDev MagicTheDev merged commit fe291d4 into master Jan 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants