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
+ Adds Starship Features compendium
^ Adds major updates to Starship sheet and related item compendia
^ Adds Mechanist Technique to Archetypes compendium
^ 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.
- Reverted UUID for 000 Series Protocol Droid.
- Updated NPC migration to check for dataVersion flag and shortcut out
- Attempted to add Item migration like NPC migration to fix power concentration and prerequisites, but it fails on compendium pull
Changed to use newer createEmbeddedEntity (createOwnedItem will be deprecated in 0.8.x) and push the entire newPowers array at the same time. Still saying createEmbeddedEntity doesn't exist on actor.
Adding flag for dataVersion control
** added shell of migration.js for updating NPC Data. This is only being pushed for visibility by people other than me and is by no means done or tested and probably very broken.
Line 159 commented out to keep from running broken function. Uncomment for testing.
Broken _updateNPCData from lines 242 to 289