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

new tool: json -- like the markdown tool #1268

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RobertHolstein
Copy link

Creates a json file with information about the select unit or item. Similar to the markdown tool but exports more data.

Copy link
Member

@lethosor lethosor left a comment

Choose a reason for hiding this comment

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

Thoughts on naming this export-json or similar? I have mild concerns about us having multiple json.lua files with different purposes, and I think the "json" name is a little vague for a script that exports specific objects to JSON.

I wouldn't be opposed to renaming "markdown" either... I had written some more generic text-export script back in the day that supported additional formats like bbcode, but never got it ready to distribute.

@myk002
Copy link
Member

myk002 commented Aug 15, 2024

yeah, we could combine this script and markdown (and forum-dwarves) into a generic unit and item export tool named.. what, export? textify?

@lethosor
Copy link
Member

https://github.com/lethosor/dfhack-scripts/blob/master/text-export.lua is what I had. Not sure if any of it is useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review In Progress
Development

Successfully merging this pull request may close these issues.

3 participants