Commit graph

215 commits

Author SHA1 Message Date
TJ
b701662dbe Initial commit for getting deployments to display 2021-06-11 23:30:06 -05:00
supervj
516e6a0bd1 Created Starship Deployment on actor drop
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
2021-06-11 16:08:15 -04:00
supervj
18f11013c1 Attached equipment to starships
calculated attributes based on armor, shields, power coupling, hyperdrive, and reactor.
2021-06-10 23:38:05 -04:00
supervj
0ac4d45302 Connect derived data to starships
another update to connect derived data to starships sheet only based on size so far.
2021-06-09 17:29:04 -04:00
supervj
a1a7843454 Further Updates to starship 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
2021-06-09 01:16:38 -04:00
supervj
de6d3d4eb7 Fix Upgrade cost and some Starship actor sheet data
updated data to be inline with new structure, but not seeing it transfer through.  need to figure out why.
2021-06-04 17:02:30 -04:00
supervj
22c962d4d3 Update Starship Data with new structure
Updated to bring actor data inline with the starship class.  Still need to do derived data for starship
2021-06-04 16:21:21 -04:00
supervj
0be98ab20c More work on starship sizes as "classes"
getting there, this seems to be droppable, but doesn't show on sheet yet.
2021-05-22 01:05:50 -04:00
supervj
b3344ba8b9 Integrate changes from the Prof
Received as-is changes from the Prof.
2021-05-21 14:58:11 -04:00
supervj
cacc43740e Flesh out New Dice structure - Not complete
add structure for Hull, Shield, and Power Dice to allow for recharge, refitting, and regeneration.  Not complete.
2021-05-20 03:45:18 -04:00
supervj
0607152f51 Revert back to hp instead of hull/shld for compatibility
Left the dice separated out since hit die are controlled by character level.
2021-05-05 01:37:44 -04:00
supervj
d0eae64241 Created Starship size as "class"
This will be used to automatically upgrade Tier and Dice.  Need to build in logic still
2021-05-02 00:53:46 -04:00
supervj
692538f0c2 Test for the Prof
Here are my changes, not sure if it will help.
2021-04-29 16:56:30 -04:00
CK
90a45dab55
Merge branch 'Develop' into professorbunbury-sw5e 2021-04-20 23:41:51 -04:00
Professor Bunbury
14f4e06788 SotG Update #1.2
+ Adds Starship Features compendium
^ Adds major updates to Starship sheet and related item compendia
^ Adds Mechanist Technique to Archetypes compendium
2021-04-17 13:26:13 -04:00
CK
20f47110cd
Merge pull request #190 from unrealkakeman89/character-importer-updates
Character importer updates
2021-04-13 23:14:23 -04:00
supervj
fa7b03109f Add Skills to Starships
Added skills to the starship sheets and made them rollable.

Sorry about the direct commit to Develop, but I forgot to branch it off...
2021-04-13 23:01:03 -04:00
TJ
eaac412cb3 Merge clean up 2021-04-13 21:39:53 -05:00
TJ
3eec52f647 Merge branch 'Develop' into character-importer-updates 2021-04-13 21:35:34 -05:00
Mike Magarino
c7ef91e9ed Merge branch 'Develop' 2021-04-12 11:49:17 -04:00
Professor Bunbury
f393670528 SotG Update #1.1 (Quick Fixes)
^ 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.
2021-04-07 14:10:56 -04:00
Professor Bunbury
c793949b37 SotG Update #1
+ 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)
2021-04-06 16:03:48 -04:00
TJ
e25140b529 Add skill proficiencies 2021-03-27 23:17:31 -05:00
TJ
e942a9b803 Added item quantity handling 2021-03-27 23:00:57 -05:00
TJ
4b1b3bbeed Fix for species data 2021-03-27 22:14:57 -05:00
TJ
9d6fabe8c2 Add adventuring gear 2021-03-27 21:48:58 -05:00
TJ
bd94d75086 Add weapons and armors 2021-03-27 16:14:50 -05:00
TJ
16d01207a7 Added tech powers 2021-03-27 15:38:37 -05:00
TJ
5477f9371d Add force powers 2021-03-27 15:23:27 -05:00
TJ
b057026328 Remove built in species bonuses 2021-03-27 14:45:05 -05:00
TJ
9bbc9af285 Add species 2021-03-24 19:55:33 -05:00
supervj
4d67bef903 Update default values of temp data
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.
2021-03-16 12:24:29 -04:00
CK
c586ae8c80
Merge pull request #170 from unrealkakeman89/Develop-VJ
Power point upgrades are finally done
2021-03-13 13:26:11 -05:00
supervj
9b63457ae1 Fine tune migration concurrency
Fix migration concurrency so that it goes in an orderly process.  This ensures that big migrations will not crash.
2021-03-12 16:47:24 -05:00
supervj
a99faad77c Code Cleanup and fix multiple migrations
see above
2021-03-11 01:30:03 -05:00
TJ
893c7b9d5e Async all the way down 2021-03-10 13:50:17 -06:00
supervj
2160508076 Update migration.js
more attempts at banging my head against the wall to no avail...  shortcut out if dataVersion matches though...
2021-03-09 23:37:20 -05:00
supervj
79e3286308 Update migration.js
Trying to add async to the entire migration function chain for owned actor entities s owe can use getUuid since it returns a promise.
2021-03-06 06:51:50 -05:00
ellimist25
9dfa851016 Merge remote-tracking branch 'upstream/Develop' 2021-03-05 21:49:19 -05:00
supervj
b9cf140e33 Update migration.js
Try to get items to work, just need to get the flag to work
2021-03-04 22:07:44 -05:00
supervj
d48a25bf2f Revert 000 Series Droid and update migration
- 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
2021-03-03 00:58:56 -05:00
baccalla
4594cbea06 init i18n FR + Fix some localise not set 2021-02-27 21:05:42 +01:00
TJ
2b723d051b Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-23 22:43:23 -06:00
TJ
6ca9b0c7b4 Merge branch 'master' into cyr-power-point-ui 2021-02-23 22:42:20 -06:00
TJ
1c58a1b813 Update migration.js 2021-02-23 17:49:07 -06:00
supervj
311854408c Update migration.js
thought this would work, but didn't?  Getting a reserved word error
2021-02-23 07:08:21 -05:00
supervj
6a7c65eefb Update migration.js
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.
2021-02-23 07:00:43 -05:00
supervj
6f2e9cdab2 Update Migration
Everything but powers and flags are working
2021-02-23 01:17:30 -05:00
supervj
e43444bc48 Adding flag to config.js for dataVersion control
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
2021-02-22 16:43:41 -05:00
supervj
6e37fd8306 Update migration.js
Found a case where power migration could be skipped if the actor had no items
2021-02-18 14:32:54 -05:00