diff --git a/Mongoose_Traveller2e/MongooseTraveller.css b/Mongoose_Traveller2e/MongooseTraveller.css index b621a51bb4..390d1a32ef 100644 --- a/Mongoose_Traveller2e/MongooseTraveller.css +++ b/Mongoose_Traveller2e/MongooseTraveller.css @@ -30,7 +30,9 @@ select[multiple]:focus option:checked { .sheet-speculative, .sheet-tradelog, .sheet-trade, -.sheet-vehicle { +.sheet-vehicle, +.sheet-vehicledetails, +.sheet-vehiclenotes { display: none; opacity: 0; } @@ -77,7 +79,7 @@ select[multiple]:focus option:checked { animation-duration: 1s; opacity: 1; } - +/* .sheet-shiptypetoggle[value="ship"] ~ .sheet-ship { display: block; animation-name: slide-in; @@ -91,7 +93,7 @@ select[multiple]:focus option:checked { animation-duration: 1s; opacity: 1; } - +*/ .sheet-shiptype[value="shipdetails"] ~ .sheet-shipdetails { display: block; animation-name: slide-in; @@ -120,6 +122,20 @@ select[multiple]:focus option:checked { opacity: 1; } +.sheet-vehicletype[value="vehicledetails"] ~ .sheet-vehicledetails { + display: block; + animation-name: slide-in; + animation-duration: 1s; + opacity: 1; +} + +.sheet-vehicletype[value="vehiclenotes"] ~ .sheet-vehiclenotes { + display: block; + animation-name: slide-in; + animation-duration: 1s; + opacity: 1; +} + .sheet-tradetoggle[value="passengers"] ~ .sheet-passengers { display: block; margin-left: 3px; @@ -1337,6 +1353,8 @@ input.sheet-typeshow[value="ship"] ~ .sheet-type-ship, input.sheet-shiptypeshow[value="shipdetails"] ~ .sheet-type-shipdetails, input.sheet-shiptypeshow[value="shipnotes"] ~ .sheet-type-shipnotes, input.sheet-typeshow[value="vehicle"] ~ .sheet-type-vehicle, +input.sheet-vehicletypeshow[value="vehicledetails"] ~ .sheet-type-vehicledetails, +input.sheet-vehicletypeshow[value="vehiclenotes"] ~ .sheet-type-vehiclenotes, input.sheet-tradetypeshow[value="passengers"] ~ .sheet-type-passengers, input.sheet-tradetypeshow[value="freight"] ~ .sheet-type-freight, input.sheet-tradetypeshow[value="speculative"] ~ .sheet-type-speculative, diff --git a/Mongoose_Traveller2e/MongooseTraveller.html b/Mongoose_Traveller2e/MongooseTraveller.html index 980a51717c..63d1e511f7 100644 --- a/Mongoose_Traveller2e/MongooseTraveller.html +++ b/Mongoose_Traveller2e/MongooseTraveller.html @@ -3316,184 +3316,235 @@
-

Vehicle Name

-
- -
-
-

Armor

-
- Front - - Rear - - Sides - -
-
-

Details

-
- Tech Level - - Skill - - Agility - - Speed (Cruise) - - Range (Cruise) - - Crew - - Passengers - - Cargo - - Hull - - Shipping - - Cost - -
-
-
- Autopilot (skill level) -
- - -
- Communications Range - - Navigation (Navigation DM) -
- - -
- Sensors (Electronics (sensors) DM) -
- - -
- Camoflage (Recon DM) -
- - -
- Stealth (Electronics (sensors) DM) -
- - -
-
-
-
-

Sensors

-
- Type - Sensor Mod - Player Mod - Roll - - - - - -
-
-
-
-
-

Mounts

-

Add a mount then add the weapons below for that mount. Destructive weapons should have their damage in the form e.g.: 2DD

- -
-
-
- Name: - - Type: - - Gunner Skill: - - DEX Mod. - - Custom Mod. - - -
+ + +
+ + + +
+
+ +

Vehicle Name

+
+ +
+
+

Armor

+
+ Front + + Rear + + Sides + +
+
+

Critical Damage

+
+
+
+ + + + + +
+ +
-

Weapons

-
- Note: For Destructive weapons enter the damage as e.g. 3DD. -
- -
-
- Mount - Weapon - Range - Damage - Magazine - Mag. Cost - Traits - Fire Control - - +

Details

+
+ Tech Level + + Skill + + Agility + + Speed (Cruise) + + Range (Cruise) + + Crew + + Passengers + + Cargo + + Hull + + Shipping + + Cost + +
+
+
+ Autopilot (skill level) +
+ +
-
-
-
- - - - - - - - - - + Communications Range + + Navigation (Navigation DM) +
+ + +
+ Sensors (Electronics (sensors) DM) +
+ + +
+ Camoflage (Recon DM) +
+ + +
+ Stealth (Electronics (sensors) DM) +
+ + +
+
+
+
+

Sensors

+
+ Type + Sensor Mod + Player Mod + Roll + + + + + +
+
+
+
+
+

Mounts

+

Add a mount then add the weapons below for that mount. Destructive weapons should have their damage in the form e.g.: 2DD

+ +
+
+
+ Name: + + Type: + + Gunner Skill: + + DEX Mod. + + Custom Mod. + + + +
+
+

Weapons

+
+ Note: For Destructive weapons enter the damage as e.g. 3DD. +
+ +
+
+ Mount + Weapon + Range + Damage + Magazine + Mag. Cost + Traits + Fire Control + + +
+
+
+
+ + + + + + + + + + +
+
+
+
+
+
+
+
+

Traits

+ +
+
+

Equipment

+ +
+
+

Description

+ +
+
+

Notes

+
-
-
-
-

Traits

- -
-
-

Equipment

- -
-
-

Description

- -
-
-

Notes

- +
+
+ +
@@ -6109,6 +6160,16 @@ }); }); + const buttonlist_sheetvehicletype = ["vehicledetails", "vehiclenotes"]; + buttonlist_sheetvehicletype.forEach(button => { + on(`clicked:${button}`, function() { + setAttrs({ + sheetVehicleType: button, + sheetVehicleTypeShow: button + }); + }); + }); + const buttonlist_sheettradetype = ["passengers", "freight", "speculative", "tradelog"]; buttonlist_sheettradetype.forEach(button => { on(`clicked:${button}`, function() { @@ -9721,5 +9782,6 @@ +