Giter Club home page Giter Club logo

fvtt-2n's People

Contributors

lukelavan avatar lyndseytoft avatar

Stargazers

 avatar

Watchers

 avatar

fvtt-2n's Issues

re-orderable tables

the mod tables and gear tables should be re-orderable via drag and drop

  • sort by column value (natural sort order), ascending/descending
  • lock toggle prevents row from being moved by sort/drag
  • possibly allow re-ordering columns as well?

possibly use handlebars partial blocks if extra html is needed, or just use css classes and TwoDotNealActorSheet.activateListeners

roll modifier dialog for `.rollable`s

before a .rollable is rolled, create a dialog that asks for a modifier which is applied to the roll

additionally, .rollables can define pre-configured modifiers with a checkbox and description (label + tooltip) for each, included but probably not limited to:

  • poison save based on con
  • magical defense adjust based on wis
  • surprise roll adjustments
  • initiative roll adjustments
  • attack roll adjustments (possibly ac adjust of enemy?)

stretch: list of pre-configured modifiers can be edited and added to, and edits are preserved in actor data

refactor roll modifiers added via Handlebars to use `rollConfig`s instead

Certain rolls have modifiers added to the data-roll attribute of a rollable via Handlebars. These should be moved into the rollConfig for that rollable so that it appears on the sheet and the rollResult like other modifiers do. These mods will probably be protected (togglable but not editable).

add atttack rollResult

Add a rollResult template for attacks. This template should have buttons for rolling multiple attacks, rolling damage, and rolling crits. Each of these rolls should be tied to a different rollConfig.
The template should live here. Use the resultTemplate attribute of the rollConfig here to change which template a roll uses.

add npc actor type

Add npc actor type with all of the fields that the MM has, including description. Sheet should have rollables for intelligence, treasure, no. appearing, hit dice, attack (replace thac0 with bonus to hit) (see #10 and use that rollResult and encode no. of attacks and damage), damage, magic resistance, morale, and inline rolls in the description.

add spell item sheet

The spell item sheet lives here. It should have fields for all of the details a spell should have, should look like this.

split up large into multiple, smaller files

/templates/actor-sheet.html and /system/actor.mjs are both over 1000 lines long. for readability and editability it would be worth it to split the files up in a consistent, scalable way via module importing and Handlebars partials

add 'to chat' button on spell sheet

Add a button somewhere (probably top-right next to lock) that sends a chat message with spell details.

It might be easier to simply have a link in the chat message that opens the item sheet directly, Not sure how that would interact with item permissions and such. If not, then it's probably ok to just dump everything into one big message (maybe collapsible sections within the message?).

add some `rollConfig` items upon actor creation

These rollConfigs should have some protected (togglable but not editable) modifiers that are updated using values from the actor. For example, saving throws against PPD should have a modifier from CON that's meant to be active only for poison saves.

Make roll results more visible

If users don't have the chat tab open, the only place where roll results show up is hidden from view.

  • Maybe show result on rollConfig sheet?
  • Maybe show a temporary toaster-style 'Notification' of chat result in addition to chat message?
  • Maybe just automatically switch tab to chat on roll?

update weapon item sheet

The item sheet for weapons isn't really styled at all and should have rollables. It lives here.
Also this sheet should be openable from the actor sheet just like spells are.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.