Commit graph

95 commits

Author SHA1 Message Date
supervj
ad6c694d16 Add Cyr's ugly update in to starship
Update entity.js
add failovers to deployment

Update swalt-crew.html
Show important fields
2021-07-16 16:08:54 -04:00
supervj
5fe2740b5a Add Prettier, fix Actor power DC's
See text above
2021-07-16 15:26:24 -04:00
supervj
4952f85df6 Update entity.js
fix item.data.data problem
2021-07-13 21:27:08 -04:00
supervj
d21898a8da 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-07-06 11:11:06 -04:00
supervj
89c7f7d7e7 Attached equipment to starships
calculated attributes based on armor, shields, power coupling, hyperdrive, and reactor.
2021-07-06 11:09:34 -04:00
supervj
3a7eafe267 Connect derived data to starships
another update to connect derived data to starships sheet only based on size so far.
2021-07-06 11:08:50 -04:00
supervj
d7879fad94 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-07-06 10:55:18 -04:00
supervj
3f4c8119ad 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-07-06 10:55:17 -04:00
supervj
40641aed95 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-07-06 10:55:17 -04:00
supervj
b3007aeecb More work on starship sizes as "classes"
getting there, this seems to be droppable, but doesn't show on sheet yet.
2021-07-06 10:54:42 -04:00
supervj
8b60052f65 Integrate changes from the Prof
Received as-is changes from the Prof.
2021-07-06 10:52:40 -04:00
supervj
ea0a874e38 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-07-06 10:47:16 -04:00
Jacob Lucas
cac466462b Removed unnecessary calculation 2021-07-03 01:42:08 +01:00
Jacob Lucas
063d529f09 Fixed bug that prevented NPCs power DCs from having values 2021-07-03 01:41:26 +01:00
Jacob Lucas
b343a06ef6 Fixed bug that caused power points to not have the mods 2021-07-03 01:40:48 +01:00
Jacob Lucas
e271c41239 Fixed error that caused max force & tech points to evaluate to NaN 2021-07-02 02:48:55 +01:00
supervj
25684173fa Update entity.js
looks good to me
2021-06-28 17:14:03 -04:00
supervj
74d841e9e1 split powercasting
Split where powercasting is done so that it can be changed by DAE.
2021-06-28 12:57:06 -04:00
Jacob Lucas
29a639ff90 Removed unnecessary imports which also caused system to fail to load 2021-06-23 18:31:19 +01:00
CK
bac8e3d642
Merge pull request #224 from unrealkakeman89/power-cell-fix
Always create a new power cell
2021-06-23 13:04:18 -04:00
supervj
9a86bf7857 Finish core upgrade to 1.3.5
Filled in some missing pieces in html for core upgrades.  Looked mostly good on both Cyr and Jacob's accounts.

I had a few questions about differences that were added from DND5e, they are as follows:

less\original\npc.less
	line 34 - is the "li" before .creature-type necessary, not in dnd5e

module\item\entity.js
	line 685 - dnd is game.user._id, we have game.user.data._id

module\pixi\ability-template.js
	line 22- dnd is game.user._id, we have game.user.data._id

templates\chat\item-card.html
	line 1- dnd has actor._id, we have actor.data._id
2021-06-23 02:53:39 -04:00
TJ
ffffe5da52 Always create a new power cell 2021-06-21 17:39:10 -05:00
Jacob Lucas
104e49615d Updated to 1.3.3, started removing evidence of statships 2021-06-13 04:25:56 +01:00
Jacob Lucas
92bf020cdf General Cleanup
CSS
 - Removed unnecessary units on 0 values
 - Replaced invalid css values (such as line-height default) with valid equivalents
Templates
 - Added missing closing tags
 - Fixed incorrect closing tags
 - Removed unnecessary closing tags
2021-06-04 22:20:48 +01:00
Jacob Lucas
b0c928c691 Patched issue that prevented the old actor sheet from opening 2021-06-04 22:20:48 +01:00
Jacob Lucas
c454c035a3 Fixed new character sheet's send language to chat function
- Cleaned up unused variables
 - Updated _id get to 0.8 standard
 - Patched fetching languages failing
 - Patched blind and gm chat option not doing anything while simultaneously calling a non existent function and dying
 - Patched self chat option still sending to everyone
2021-06-04 22:20:48 +01:00
Jacob Lucas
f839166082 Added changes from DND5e 1.3.3 2021-06-04 22:20:48 +01:00
Jacob Lucas
6295de9fd6 Cleaned up actor 2021-06-04 22:20:48 +01:00
Jacob Lucas
2a7e1c419e Updated to DND5e 1.3.2
Things unfinished:
 - Migration
 - The update adds new sections to the class sheet to allow some light customisation, this hasn't been included, but could be extended for the sake of dynamic classes with automatic class features and more
 - The French
 - The packs have not yet been updated, meaning due to the addition of a progression field to the class item, classes now don't set force or tech points
 - I updated the function calls in starships, but I didn't update it very thoroughly, it'll need checking
 - I only did a little testing
 - There has since been updates to DND5e that hasn't made it to release that patch bugs, those should be implemented
Things changed from base 5e:
 - Short rests and long rests were merged into one function, this needed some rewrites to account for force and tech points, and for printing the correct message
Extra Comments:
 - Unfinished code exists for automatic spell scrolls, this could be extended for single use force or tech powers
 - Weapon proficiencies probably need revising
 - Elven accuracy, halfling lucky, and reliable talent are present in the roll logic, this probably needs revising for sw5e
 - SW5e has a variant rule that permits force powers of any alignment to use either charisma or wisdom, that could be implemented
 - SW5e's version of gritty realism, [Longer Rests](https://sw5e.com/rules/variantRules/Longer%20Rests) differs from base dnd, this could be implemented
 - Extra ideas I've had while looking through the code can be found in Todos next to the ideas relevant context
2021-06-04 22:20:48 +01: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
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
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
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
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
supervj
7b71009fd7 Fix NPC power points
Ignore power point calculation for NPCs which are hardcoded in.
2021-02-18 10:14:06 -05:00
TJ
d716d514df Fix add buttons on powers sheet 2021-02-16 14:40:06 -06:00
supervj
7fc983b042 Update to help NPCs work better
This requires all the monsters to be updated with force powers, powerForce/TechLevels, and powercasting "classes"
2021-02-16 02:15:39 -05:00
TJ
58a4033bf1 Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-15 14:01:39 -06:00
TJ
74414e2257 Fixes for NPC display 2021-02-15 14:01:08 -06:00
supervj
e73c04b9f5 Update entity.js
whoops again :)
2021-02-15 14:05:45 -05:00
supervj
a893212b22 Change to Fix migration power lockdown
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.
2021-02-15 09:15:36 -05:00
TJ
55f084592c Smaller font size 2021-02-14 21:59:51 -06:00
TJ
b56e652192 Merge branch 'Develop-VJ' into cyr-power-point-ui 2021-02-11 16:01:45 -06:00
supervj
c82a4331a5 Calculate Powers Known
added ability to calculate how many force/tech powers are known
2021-02-11 10:29:35 -05:00
supervj
54d04f0642 Fix Long Rest to split force and tech powers
Updated  long rest functionality to handle the force tech split
2021-02-11 07:04:13 -05:00
TJ
1ce2e92ccd Fully split force and tech powers into their own sheets 2021-02-10 18:39:36 -06:00
supervj
fb73cdfc08 Split Force and Tech Power Limits
Split force and tech power limits.  Didn't test, may be broken.

Needs separate tab for force vs tech.  Still need to tally number of powers known
2021-02-10 15:41:02 -05:00