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

Implement treasure generator command or application #147

Open
Re4XN opened this issue Apr 11, 2022 · 3 comments
Open

Implement treasure generator command or application #147

Re4XN opened this issue Apr 11, 2022 · 3 comments

Comments

@Re4XN
Copy link
Member

Re4XN commented Apr 11, 2022

Determining random treasure can be a cumbersome process for the GM. Having a simple command, e.g. /treasure, that takes care of this work would be a massive QoL improvement. These could also be separated into their respective categories:

  • Small Treasures, e.g. /small-treasure.
  • Gemstones, e.g. /gemstones.
  • Fineries, e.g. /fineries.
  • Commodities, e.g. /commodities

This could also be implemented as an actual Application if the process proves to be complex enough.

@fmunoz-geo
Copy link
Contributor

Can I have a try?
My idea is to add tables to it and make code to roll on the table.
IIRC all commodities are already created, so we need an individual gem (as template, maybe one for each step of value), finery and small treasures (one of each, maybe).

This will be the plan:

  • Move all treasure items to their own compendium (named loot-and-lucre ?) and create the missing ones
  • Create tables for each type. Part of them should be text (baubles, objects d'art, heirlooms, maybe gemstones) other can be compendium entries (comodities)
  • Create code to roll on the tables and and post create a copy of the items (adding values and names and descriptions where needed) and post them to chat, also for coin purse contents.
  • Add a hook to the chat to get the /treasure and show a list of available options.
  • Add hooks to chat for the categories
    Fin

So even if I flake halfway you get useful contributions. :-)

@Re4XN
Copy link
Member Author

Re4XN commented Apr 13, 2022

Sure thing, go ahead! We are currently using a module, Library: Chat Commands to easily add commands such as /treasure, you might find some use in it.

@fmunoz-geo
Copy link
Contributor

Oh.. my creature generator just add it old fashioned style. Maybe I should check it.
Otherwise that part is just around 20 lines of code, not too hard.

@kvndrsslr kvndrsslr assigned kvndrsslr and fmunoz-geo and unassigned kvndrsslr Apr 13, 2022
@kvndrsslr kvndrsslr moved this from Todo to In Progress in Zweihander FVTT Development Apr 13, 2022
fmunoz-geo added a commit to fmunoz-geo/zweihander that referenced this issue Apr 13, 2022
Added rollable tables for Small Treasures and Commodities. 1st step to fh-fvtt#147
kvndrsslr pushed a commit that referenced this issue Apr 14, 2022
Added rollable tables for Small Treasures and Commodities. 1st step to #147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

3 participants