Mezryss / FVTT-Genesys

Foundry VTT: Unoffocial implementation of the Genesys RPG
MIT License
26 stars 11 forks source link

Adds support for vehicles #99

Closed Assembling-Kings closed 11 months ago

Assembling-Kings commented 1 year ago

This PR implements the vehicles optional rules from the CRB.

Progress Log # Commit 4176f29 - Adds some initial code to create a new actor sheet that'll represent vehicles. - It also implements the vehicle stats/characteristics. - Still tempted to add a '+' sign before the Handling characteristic when the value is positive. ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/c960f448-903d-4751-9c33-3dc51b0407c0) # Commit add4390 - Adds the Effects tab by reusing the existing EffectsView. - Modified the selection of stats that can be affected when the effect is tied to a vehicle. - Fixed the label when creating a new actor of vehicle type. ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/51212187-0f04-4e65-97f2-0dec8d56843c) ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/ed625352-2774-44fe-ac79-0c5f659e8d91) # Commit 7b577b9 - Adds the Details tab and expands the template to include additional fields. ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/b7c40679-e84b-425a-a9b5-77f00403b195) # Commit 879da53 - Adds the Inventory tab and expanded the template to also include currency as one of the things it can hold. - Currently nothing can be equipped and all active effects are suppressed. - Nothing can be "dropped to the ground" either but there's no plan to include that category unless a compelling use case is presented. ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/a5628c9b-c75e-431d-b6f6-97e119df3f3b) # Commit f2a99d7 - Adds the Crew tab and expands the template to hold all the new information. - Users can create new roles directly from the sheet and drop skills and/or actors to it. - Moving to/from a role can be done via drag & drop. Although there is no sorting inside a role. - I'm reusing the InventorySortSlot for sorting passengers but eventually I'll rename said component to be more generic. - Made some improvements to the sorting of equipment on the Inventory tab. These improvements will be ported to the character's Inventory tab at a later day. ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/0fdf76e0-5182-4221-9605-b5864dc0d6fe) ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/6f2de950-6ab5-4704-af18-ae0a84f391c1) ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/0f86e495-1fdd-473d-9988-08e07a6f9f66) ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/9f0cedcf-df39-4192-9ac9-a2f28481d22f) # Commit db2d5d5 - Adds the Skills tab which uses the role data to list the skills each character can role directly from the sheet. - A player can only roll for characters they own. - Made small changes to the ActorTile component. ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/e120a29e-254a-45a1-bcfe-fcb9def40350) # Commit b2d41e8 - Adds the VehicleWeapon item type - Most of the code for the Weapon item type was generalized in order to use it for vehicle weapons as well ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/2cc63cc4-77c3-4247-a707-24444971f48f) # Commit 81246c5 - Adds the Combat tab - Selecting a weapon will trigger a popup with a list of characters. The list contains only characters that are assigned to a role which also lists the weapon skill. - Similarly for repairing a Critical Hit. - A new setting was added to specify the skill typically used to repair hits (it defaults to 'Mechanics'). - Vehicles weapons can now be equipped. ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/6a2c2057-e8cb-4886-960f-bd5916b175dd) ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/da541d40-56c8-49e7-ab0a-0754c9f78d9e) ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/cdcc89c3-52b8-4c1a-8d01-54bf5856e44c) # Commit e4b93cd - Users can now move items from a character or vehicle's inventory to another one so long as they have enough permissions on both. # Commit e3e9111 - Modify the name of Critical Injuries to hint that they are also used for Critical Hits - Cleaned the list of attributes presented on the after effects dropdown - Shows all possibilities regardless of the parent container - Added icons to represent the type of actor they can affect - Added a new option to edit the encumbrance value directly (this can be helpful to inflate the encumbrance value for items that change encumbrance or to symbolize extra encumbrance from passengers) ![image](https://github.com/Mezryss/FVTT-Genesys/assets/1728535/aac06283-a4fa-4dbc-b0dc-ae27ed668f51)
cyanomys commented 12 months ago

looking forward to this!