This lets actors drop onto ships. It mostly works data wise. Tokens are stored separately from characters at this point, need to bring that part in from polymorph.
Actors dropped do not appear on character sheet
With the help of Cyr we made some progress
Connected fuel burn and refuel
connected power die
connected power routing
added debug handlebar helper to help see scope of html pages
^ Updates entity.js and starship.js to fix drag-and-drop and NaN errors and prepare for Starship Features.
^ Updates en.json, config.js, sw5e.js, and template.json to prepare for Starship Features.
+ Adds compendia for Deployments, Deployment Features, Starship Armor, Starship Equipment, Starship Weapons, and Ventures and associated artwork
+ Adds Starship actor sheet (very, very rough draft, somewhat unpredictable, not fully functional)
+ Adds function to Character sheet to collapse/expand Feature tab rows (major assist from Cyr)
+ Adds function to Character sheet to increment/decrement class levels directly from character sheet (another major assist from Cyr)
Update defaults to null from 0 to allow descriptor of fields to show
Noted by Bacalla:
8206774843
I followed suit from the HP model, need to test to make sure this doesn't break anything. All the code appears to default to 0 if it is null.
I think this will migrate every value over to have 1000 casts, which will then get reset to the lower of the value or character max once the actor is loaded. Essentially pushing a long rest for power casting limits upon migration.
System main update to be inline with dnd5e 1.1.1
Added active effects to as many sheets as I thought applicable. Please check loot, I made an attempt but it may be broken
All .less .css and actor .html updates were made to the old actors. New actors may be broken with this update
removed templates\actors\oldActor\parts\actor-effects.html for newer templates\actors\parts\active-effects.html
removed module\apps\cast-dialog, templates\apps\cast-cast.html, and templates\items\cast.html. I do not think they are used, I think they were deprecated when powers were treated as items, if not we can add them back in.
**NOTE** REQUIRES Foundry 0.7.6
Updated to 0.98 core for 0.7.x compatability (untested)
Class Skills are pulling in automatically on class item drop to character sheet.
TODO: Expand automated skill drop for Archetypes
KNOWN ISSUE: init.value is being converted to a string causing some NaN errors on the html. Initiative was changed to a number instead of a string in 0.98 likely some place is assuming it is still a string. I had to use Number() on the value because it was forcing other vales to be a string because the value is "". Maybe someone can fix this