Giter Club home page Giter Club logo

foundryvtt-lancer's People

Contributors

aarowaim avatar ashgar225 avatar boltsj avatar c-s-mcfarland avatar christhirtle avatar codyhod avatar davis-k-johnson avatar dependabot[bot] avatar descention avatar dodgepong avatar eranziel avatar grygon avatar kreisl avatar kuenaimaku avatar loldragoon avatar mason-bially avatar msprijatelj avatar oksombre avatar oneero avatar purringinsanity avatar rishenko avatar scyllpoesis avatar sohumb avatar stbz avatar tachester avatar tradiuz avatar wardce-2055510 avatar whitespine avatar z3nner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foundryvtt-lancer's Issues

[BUG] Frame name doesn't appear on pilot sheet

Describe the bug
User-created frames don't show their name on the pilot sheet when added to a pilot.

To Reproduce
Steps to reproduce the behavior:

  1. Create a frame item.
  2. Drag it onto a pilot sheet.
  3. Pilot sheet will say "Manufacturer" instead of "Manufacturer Frame Name"

Expected behavior
User-created frames should show name on pilot sheet.

[FEATURE] Expanded Macros

Implement macros which print effects text in a fancy chat block. Similar to Roll20 character sheet behaviour.

  1. Pilots:
  • Skill triggers
  • Talents
  • Mech systems
  • Core bonuses
  • Core system active
  • Core system passive
  • Pilot gear
  • Mech traits (are these necessary?) Removing from scope, unless feature is requested by users.
  1. NPCs:
  • Weapons
  • Tech Attacks
  • Reactions
  • Traits
  • Systems

[BUG] NPC features reverting to traits when using Adventure Importer/Exporter

Describe the bug
NPC features do not preserve their type when being exported using adventure importer/exporter module.
This does not, however, happen if you export the item as a JSON manually.
All data is preserved, but feature type is reset.

not the feature type.

To Reproduce
Create an NPC feature, and change it to a feature type that is anything other than a Trait
Use Adventure Importer/Exporter to export the entire world content.
In a different world, import the previous world content

Expected behavior
NPC Features should remember what they were.

2020-09-10 11_47_05-Blank_Scifi jpg @ 66 7% (RGB_8#) _

Why are the SVG icons so large?

They seem to have a large amount of unused metadata from Adobe Illustrator that makes up the bulk of their size. Simply opening and saving them with Inkscape gets rid of about 780kb. SVGO makes them even smaller.

[FEATURE] NPC Item sheets

Create editable sheets for the NPC Item types:

  • NPC Class
  • NPC Template
  • NPC Feature, with handling for the following sub-types:
    • Weapon
    • Trait/System

[BUG] Traits and mounts can't be added to new frame items

When making a new frame item, new mounts and traits can't be added.

To Reproduce
Make a new item of the frame type in the items tab
Edit the new item, then click the "+" buttons next to either "Available Weapons" or "Traits"

No mount-type drop down or trait text box appears to be edited after doing so

[FEATURE] Pilot/Mech Mount and Dismount Macros

Implement support for separate pilot and mech images and tokens for each Pilot.

Need a good UX for selecting which token to place. Mech token should be default. Possibly have a draggable token-generator on the pilot/mech sections of the sheet?

Add a HUD button for dismounting/mounting on the canvas. Dismounting will generate the pilot token on top of the mech token. Mounting should only be an option when adjacent to that pilot's mech, and will remove the pilot token from the canvas.

[FEATURE] Convert lancer-data into Compendiums

Create Compendiums from the parts of lancer-data which are needed to assemble pilots and mechs:

  • Skill Triggers
  • Talents
  • Core Bonuses
  • Pilot Equipment
  • Mech Frames
  • Mech Systems
  • Mech Weapons
  • Licenses (derived from Mech data, doesn't exist directly in lancer-data)

[FEATURE] Targeted Attack Macros

Make attack macros responsive to targeting on the canvas. Compare attack rolls to target's evasion/e-defense, damage to target's armor, and preview damage done.

Optional: add a system setting which automatically subtracts damage dealt from recipient's HP? Creates issues around overshield, resistance, damage mitigation reactions, etc...

[FEATURE] OwnedItem Update Macro

When there is an update to lancer-data and the Compendiums get updated, only those items get updated. Copies owned by actors don't get updated.

Implement a macro which updates rules text on Items owned by Actors.

  • Search Compendium for the lancer-data id that the item has.
  • If a match is found, copy the new compendium data to the owned item. Some properties shouldn't be updated - flavor names and descriptions, for example.

[BUG] NPC Features do not commit to chat log

NPC features do not seem to roll to chat log. Also their formatting is ugly.

If this is part of non-rendered Systems data in Changelog, please feel free to close.

To Reproduce
Steps to reproduce the behavior:
Create an NPC with Class and template.
Create an NPC Feature. Make it a weapon.
Click on the dice icon.

Expected behavior
The accuracy/difficulty slider window should pop up and allow you to commit the roll to chat log like a PC roll.

Screenshots
image

Windows 10, Electron applet, no mods that affect sheet/chat logs.

[BUG] Usability - right click to delete

Describe the bug
Right clicking items on the pilot sheet deletes the item without notification.

To Reproduce
Steps to reproduce the behavior:

  1. Open pilot sheet.
  2. Right click on an item card.
  3. Item is deleted from the Actor.

Expected behavior
Right-click deletion is unintuitive. Should at least have a confirmation prompt.

[BUG] Closing Accuracy/Difficulty window rolls it anyway

Describe the bug
As title.

To Reproduce
Click on dice icon. When accuracy/difficulty window shows up, close the window. Chat log indicates that the roll has been committed to the log.

Expected behavior
Clicking on the close button should not send the roll to log.

Windows 10, Electron applet, no mods that affect sheet/chat logs.

Incorporate Lancer data changes

Not yet published. Description from Discord:


in the next few weeks there will be some breaking changes incoming to the c/c data structure:
1) frames are going to require a license_level integer. License level 0 frames/equipment etc will be available to players from LL0 (like Everest/starter GMS stuff is)
2) item effects (abilities) will now be broken into effects and actions, the former being passive or within the context of the triggering action (eg an on-hit attack is contained within the context of 'skirmish', it's something attacks with that weapon do) and the latter being new actions a piece of equipment allows for (reactions, protocols, tech options, etc). This will likely break most of the homebrew lcps out there currently. sorry :pain: 
3) frame core powers are now explicitly actions, to be handled by active modes
and a few nonbreaking updates:
1) talents, frame traits, items, and core bonuses will now accept synergy fields, discrete data objects that populate a set of decorators that will highlight eg. weapon/talent synergies on player views, targeted to the relevant user view
2) frame traits can optionally furnish item actions
5) talent ranks that confer an integrated weapon or system will link that system with a new data object(talent_item), with an exclusive field for linear upgrades (eg. technophile I > II > III)

[FEATURE] Numbered Condition Icons

Implement a feature to facilitate visually tracking conditions with numbered states on the canvas. Useful for burn, or anything with a tracking die.

The Pathfinder 2e system implements something similar, for a source of inspiration.

[FEATURE] Drag-and-Drop Character Building

Allow character building/level-up/loadout by drag-and-drop with applicable Item types.

For example, dragging a Talent onto a pilot sheet will add that Talent to the pilot. Dragging a weapon will add that weapon to the pilot or mech. Etc...

Edit:

  • Weapon Mount handling
  • Mech frame handling

Rollup with Gulp

Integrate rollup build with gulp. Config file is done and works separately (npx rollup -c), but gulp needs to call rollup through its JS API.

This is needed so that lancer-data (and any other external dependencies) are available when the system runs from within Foundry.

[FEATURE] Hex Size >1 Built-in Support

Investigate the possibility and feasibility of building support for hex token footprints for sizes above 1.

The API in general seems extensible enough that it should be possible. The larger question is how much work it would be.

[BUG] Most system effects missing

Describe the bug
System effects appear to be missing in the compendium.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new "pilot" actor
  2. Open the Systems compendium pack
  3. Click on a system to open the description, or drag it onto a pilot actor to equip it to the character
  4. Check to see if the Effects field is populated

Expected behavior
I would expect the system effects to be part of the compendium. Some are there - the Autoloader Drone has the full text, and the ASURA-class NHP has part of its text.

Screenshots
Compendium missing

Desktop (please complete the following information):

  • OS: Win10
  • Browser: Chrome
  • LANCER System Version 0.1.2
  • Foundry Version 0.6.5

Additional context
The console did not produce any errors when I opened the system and applied it to an actor.
I checked as player and gamemaster, and saw the same behavior.

[FEATURE] Change data template to reflect per-actor values for items within the actor object

Is your feature request related to a problem? Please describe.
In the current way template.json is formatted, we have values such as "loaded", "destroyed", "uses", etc being tracked on the item object.

This would mean that these have to be tracked on each individual object, rather than being actor-specific--if two mechs are using the same weapon, the GM will need to have two copies of that item in the game, in order to have players differentiate between uses.

Describe the solution you'd like
Change the actor data object to hold any info that should be actor-specific within the array of weapons etc. Key things I've noticed (but may not be comprehensive) are:

mech_equip->uses
mech_equip->max_use_override
mech_equip->loaded
talent->rank
license->rank
pilot_armor->speed_bonus
pilot_armor->edef_bonus
pilot_armor->evasion_bonus
pilot_gear->uses
mech_weapon->mod

Describe alternatives you've considered
Track these within the Actor->pilot object. The sheet would also need to be changed to accommodate this

Additional context
Been bouncing around my head for a while, but I wanted to make sure this went out there because I may not have time to get around to it for a while--someone else should probably pick it up.
Also, didn't just throw in a change to the data model myself because I wanted to put it out here so there's an opportunity for discussion. I think any sort of change to the template merits some discussion, even if it's much smaller than this.

[BUG] Sheet Updates Consume Click Events

Window for NPC class creation opens undersized, and you have to double click to commit values to the template. This is somewhat counterintuitive. Also, the up/down values have wierd hitboxes and need to be almost pixel perfect to click.

image

Windows 10, Electron applet, no mods that affect sheet/chat logs.

[FEATURE] Status/Condition Icons

Bring status/condition icons into the system itself. Three sets to include: Hayley's and Cancermantis' from the lancer-conditions module, and the Comp/Con icons should be added as a third set of options.

[FEATURE] Attack Macros

Implement macros which automate the majority of attack behaviour.

  • For pilots, use associated pilot (Actor) stats to determine attack bonus (grit).
  • For pilots, use associated weapon (Item) stats to determine natural accuracy/difficulty, damage, and weapon effects.
  • For NPCs, use associated NPC feature stats to determine attack bonus, natural accuracy/difficulty, damage, and weapon effects.
  • Implement pop-up prompt for accuracy/difficulty.

[BUG] NPC Mechs start out with full heat.

Per title.

To Reproduce
Make a new NPC
Apply a class template to it.

Expected behavior
Heat values should be treated like PC sheets, starting at 0.

Screenshots
image

Windows 10, Electron applet, no mods that affect sheet/chat logs.

[FEATURE] Comp/Con Pilot Importing

Implement importing pilots from Comp/Con in two ways:

  • JSON import - copy from C/C, paste into Foundry.
  • Cloud import - enter cloud ID, download the gist and build the pilot.

If importing from cloud, save the cloud ID to the Actor and show a sync button on the pilot's sheet.

NPC Attack Macros

Implement macros which automate the majority of attack behaviour for NPCs.

Use associated NPC feature to determine attack bonus, natural accuracy/difficulty, damage, and weapon effects.

Handle accuracy using the same method as for Pilot attack macros (#7).

[BUG] Can't change name of NPC sheet once made.

Describe the bug
Trying to change name of the NPC sheet (to speed up NPC token overview) and could not.

To Reproduce
Steps to reproduce the behavior:

  1. Make and NPC and Name it.
  2. Try to find a way to change the name of sheet.
  3. Can't.
  4. See error

Expected behavior
I would be able to change the sheet name

Screenshots
Not Super applicable

Additional context
Thanks for being rad.

[FEATURE] Item-type Sheets

Create sheet templates and logic for the Item-types:

  • Skill Triggers
  • Talents
  • Core Bonuses
  • Pilot Equipment
  • Mech Frames
  • Mech Systems
  • Mech Weapons
  • Licenses

[BUG] Systems Text boxes unexpected behaviour

Describe the bug
Some systems have no description in their entries when viewed in the compendium. When opened up and then closed, "[object Object] Effect" updates on the sheet.

If this is part of non-rendered Systems data in Changelog, please feel free to close.

To Reproduce

  1. Open a new character.
  2. Go to Frame//Loadout and set up a mech.
  3. Drag PATTERN-A SMOKE CHARGES to the mech loadout.
  4. Click on PATTERN-A SMOKE CHARGES and then close the window.

Expected behavior
Text should match and also empty boxes should not display odd things.
image

Windows 10, Electron applet, no mods that affect sheet/chat logs.

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.