Skip to content

Automated item and block data fetching#39

Open
Argmaster wants to merge 11 commits into
PixelGuys:mainfrom
Argmaster:asset_gen_prototype
Open

Automated item and block data fetching#39
Argmaster wants to merge 11 commits into
PixelGuys:mainfrom
Argmaster:asset_gen_prototype

Conversation

@Argmaster

@Argmaster Argmaster commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

To generate asset stubs run:

python -m scripts.assetgen2 -d C:\Users\argma\dev\Cubyz-Wiki\scripts\assets.yml --generate

To update asset info db:

python -m scripts.assetgen2 -r C:\Users\argma\dev\Cubyz4 -d C:\Users\argma\dev\Cubyz-Wiki\scripts\assets.yml

Zensical doesn't watch changes in infobox templates, nor in assets.yml, so serve won't automatically refresh those parts of wiki, you will have to run:

zensical build --clean

Attempts to make Zensical watch assets.yml were unsuccessful as of now.

Screenshot 2026-07-11 212420 Screenshot 2026-07-11 212315 Screenshot 2026-07-11 212404

Comment thread scripts/assets.yml Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains a compilation of asset information, it is generated by script from Cubyz repo, but the script requires clone of Cubyz repo, which is inconvenient for average wiki contributor, so heres an intermediate data source that allows you to not have the repo locally when working on wiki. It needs to be updated every now and then,

@Argmaster Argmaster marked this pull request as ready for review July 16, 2026 12:54
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.

1 participant