Compare commits
	
		
			4 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8a5d1cc1d8 | |||
| 99d9cb435f | |||
| f57b016b46 | |||
| 09907dbbf7 | 
| @@ -343,24 +343,26 @@ i.fvtt-ftl-nomad { | |||||||
|   min-width: 5.2rem; |   min-width: 5.2rem; | ||||||
| } | } | ||||||
| .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance { | .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance { | ||||||
|   display: grid; |   display: flex; | ||||||
|   grid-template-columns: repeat(3, 1fr); |  | ||||||
|   gap: 4px; |   gap: 4px; | ||||||
| } | } | ||||||
| .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance .form-group { | .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance .form-group { | ||||||
|   display: flex; |   display: flex; | ||||||
|   flex-direction: row; |   flex-direction: row; | ||||||
|   align-items: center; |  | ||||||
|   margin-bottom: 4px; |   margin-bottom: 4px; | ||||||
| } | } | ||||||
| .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance label { | .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance label { | ||||||
|   min-width: 4rem; |   min-width: 3rem; | ||||||
|   max-width: 4rem; |   max-width: 3rem; | ||||||
| } | } | ||||||
| .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance input { | .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance input { | ||||||
|   max-width: 3rem; |   max-width: 3rem; | ||||||
|   min-width: 3rem; |   min-width: 3rem; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .character-main .character-pc .character-right .encumbrance .character-credit input { | ||||||
|  |   max-width: 9rem; | ||||||
|  |   min-width: 9rem; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .character-main .character-pc .character-right .character-name { | .fvtt-ftl-nomad .character-main .character-pc .character-right .character-name { | ||||||
|   display: flex; |   display: flex; | ||||||
| } | } | ||||||
| @@ -1123,6 +1125,12 @@ i.fvtt-ftl-nomad { | |||||||
| .fvtt-ftl-nomad .vehicle-description .section-editor { | .fvtt-ftl-nomad .vehicle-description .section-editor { | ||||||
|   min-height: 10rem; |   min-height: 10rem; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .vehicle-description .section-editor .editor { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .vehicle-description .section-editor .editor-content { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .vehicle-description .biodata { | .fvtt-ftl-nomad .vehicle-description .biodata { | ||||||
|   display: grid; |   display: grid; | ||||||
|   grid-template-columns: repeat(2, 1fr); |   grid-template-columns: repeat(2, 1fr); | ||||||
| @@ -1301,6 +1309,7 @@ i.fvtt-ftl-nomad { | |||||||
| } | } | ||||||
| .fvtt-ftl-nomad .robot-main .robot-pc .robot-left { | .fvtt-ftl-nomad .robot-main .robot-pc .robot-left { | ||||||
|   min-width: 180px; |   min-width: 180px; | ||||||
|  |   max-width: 180px; | ||||||
|   display: flex; |   display: flex; | ||||||
|   flex-direction: column; |   flex-direction: column; | ||||||
| } | } | ||||||
| @@ -1315,6 +1324,14 @@ i.fvtt-ftl-nomad { | |||||||
|   width: auto; |   width: auto; | ||||||
|   border: none; |   border: none; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .robot-main .robot-pc .robot-left .robot-cost label { | ||||||
|  |   min-width: 3rem; | ||||||
|  |   max-width: 3rem; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .robot-main .robot-pc .robot-left .robot-cost input { | ||||||
|  |   min-width: 6rem; | ||||||
|  |   max-width: 6rem; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .robot-main .robot-pc .robot-right { | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right { | ||||||
|   display: flex; |   display: flex; | ||||||
|   flex-direction: column; |   flex-direction: column; | ||||||
| @@ -1326,12 +1343,26 @@ i.fvtt-ftl-nomad { | |||||||
| .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .robot-name input { | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .robot-name input { | ||||||
|   font-family: var(--font-title); |   font-family: var(--font-title); | ||||||
|   font-size: calc(var(--font-size-standard) * 1.4); |   font-size: calc(var(--font-size-standard) * 1.4); | ||||||
|   width: 400px; |   width: 380px; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .robot-brain { | ||||||
|  |   min-width: 25rem; | ||||||
|  |   max-width: 25rem; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .robot-brain textarea { | ||||||
|  |   min-width: 23rem; | ||||||
|  |   max-width: 23rem; | ||||||
|  |   background-color: rgba(0, 0, 0, 0.2); | ||||||
|  |   color: var(--color-dark-3); | ||||||
| } | } | ||||||
| .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .main-stats { | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .main-stats { | ||||||
|   min-width: 25rem; |   min-width: 25rem; | ||||||
|   max-width: 25rem; |   max-width: 25rem; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .main-stats .encumbered { | ||||||
|  |   color: red; | ||||||
|  |   font-weight: bold; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .cargo label, | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .cargo label, | ||||||
| .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .capacity label { | .fvtt-ftl-nomad .robot-main .robot-pc .robot-right .capacity label { | ||||||
|   min-width: 4rem; |   min-width: 4rem; | ||||||
| @@ -1462,6 +1493,12 @@ i.fvtt-ftl-nomad { | |||||||
| .fvtt-ftl-nomad .robot-description .section-editor { | .fvtt-ftl-nomad .robot-description .section-editor { | ||||||
|   min-height: 10rem; |   min-height: 10rem; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .robot-description .section-editor .editor { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .robot-description .section-editor .editor-content { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .robot-description .biodata { | .fvtt-ftl-nomad .robot-description .biodata { | ||||||
|   display: grid; |   display: grid; | ||||||
|   grid-template-columns: repeat(2, 1fr); |   grid-template-columns: repeat(2, 1fr); | ||||||
| @@ -1682,6 +1719,10 @@ i.fvtt-ftl-nomad { | |||||||
|   text-shadow: 0 0 8px var(--color-shadow-primary); |   text-shadow: 0 0 8px var(--color-shadow-primary); | ||||||
|   cursor: pointer; |   cursor: pointer; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .starship-main .starship-pc .starship-right .capacity .hull-field select { | ||||||
|  |   min-width: 10rem; | ||||||
|  |   max-width: 10rem; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .starship-main .starship-pc .starship-right .capacity label { | .fvtt-ftl-nomad .starship-main .starship-pc .starship-right .capacity label { | ||||||
|   margin-left: 0.2rem; |   margin-left: 0.2rem; | ||||||
|   max-width: 7rem; |   max-width: 7rem; | ||||||
| @@ -1774,6 +1815,12 @@ i.fvtt-ftl-nomad { | |||||||
| .fvtt-ftl-nomad .starship-description .section-editor { | .fvtt-ftl-nomad .starship-description .section-editor { | ||||||
|   min-height: 10rem; |   min-height: 10rem; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .starship-description .section-editor .editor { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .starship-description .section-editor .editor-content { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .starship-description .biodata { | .fvtt-ftl-nomad .starship-description .biodata { | ||||||
|   display: grid; |   display: grid; | ||||||
|   grid-template-columns: repeat(2, 1fr); |   grid-template-columns: repeat(2, 1fr); | ||||||
| @@ -2110,6 +2157,15 @@ i.fvtt-ftl-nomad { | |||||||
| .fvtt-ftl-nomad .creature-biography .rank input { | .fvtt-ftl-nomad .creature-biography .rank input { | ||||||
|   max-width: 4rem; |   max-width: 4rem; | ||||||
| } | } | ||||||
|  | .fvtt-ftl-nomad .creature-biography .section-editor { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .creature-biography .section-editor .editor { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
|  | .fvtt-ftl-nomad .creature-biography .section-editor .editor-content { | ||||||
|  |   min-height: 10rem; | ||||||
|  | } | ||||||
| .fvtt-ftl-nomad .creature-biography .biodata { | .fvtt-ftl-nomad .creature-biography .biodata { | ||||||
|   display: grid; |   display: grid; | ||||||
|   grid-template-columns: repeat(2, 1fr); |   grid-template-columns: repeat(2, 1fr); | ||||||
|   | |||||||
| @@ -304,6 +304,15 @@ | |||||||
|         "Gargantuan": "Gargantuan" |         "Gargantuan": "Gargantuan" | ||||||
|       }, |       }, | ||||||
|       "FIELDS": { |       "FIELDS": { | ||||||
|  |         "enc": { | ||||||
|  |           "label": "Enc", | ||||||
|  |           "value": { | ||||||
|  |             "label": "Enc Curr." | ||||||
|  |           }, | ||||||
|  |           "max": { | ||||||
|  |             "label": "Enc Max" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|         "brain": { |         "brain": { | ||||||
|           "label": "Brain" |           "label": "Brain" | ||||||
|         }, |         }, | ||||||
|   | |||||||
| @@ -49,7 +49,19 @@ export default class FTLNomadRobot extends foundry.abstract.TypeDataModel { | |||||||
|  |  | ||||||
|   prepareDerivedData() { |   prepareDerivedData() { | ||||||
|     super.prepareDerivedData(); |     super.prepareDerivedData(); | ||||||
|  |     let encMax = this.durability + (2 * this.skills.physical.value) | ||||||
|  |     if (encMax !== this.enc.max) { | ||||||
|  |       this.enc.max = encMax | ||||||
|  |     } | ||||||
|  |     let enc = 0 | ||||||
|  |     for (let i of this.parent.items) { | ||||||
|  |       if (i.system?.enc) { | ||||||
|  |         enc += i.system.enc | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |     if (enc !== this.enc.value) { | ||||||
|  |       this.enc.value = enc | ||||||
|  |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   isEncumbered() { |   isEncumbered() { | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| MANIFEST-000086 | MANIFEST-000099 | ||||||
|   | |||||||
| @@ -1,14 +1,7 @@ | |||||||
| 2025/10/15-13:50:39.028219 7f189f7fe6c0 Recovering log #84 | 2025/10/18-17:56:08.077097 7f7b75bfa6c0 Recovering log #97 | ||||||
| 2025/10/15-13:50:39.038979 7f189f7fe6c0 Delete type=3 #82 | 2025/10/18-17:56:08.086491 7f7b75bfa6c0 Delete type=3 #95 | ||||||
| 2025/10/15-13:50:39.039047 7f189f7fe6c0 Delete type=0 #84 | 2025/10/18-17:56:08.086541 7f7b75bfa6c0 Delete type=0 #97 | ||||||
| 2025/10/15-15:26:39.732570 7f189e7fc6c0 Level-0 table #89: started | 2025/10/18-18:03:15.510704 7f7b6f3ff6c0 Level-0 table #102: started | ||||||
| 2025/10/15-15:26:39.736109 7f189e7fc6c0 Level-0 table #89: 12073 bytes OK | 2025/10/18-18:03:15.510749 7f7b6f3ff6c0 Level-0 table #102: 0 bytes OK | ||||||
| 2025/10/15-15:26:39.742312 7f189e7fc6c0 Delete type=0 #87 | 2025/10/18-18:03:15.548325 7f7b6f3ff6c0 Delete type=0 #100 | ||||||
| 2025/10/15-15:26:39.748688 7f189e7fc6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at '!items!zoE4ITyfl3od6hYD' @ 721 : 1 | 2025/10/18-18:03:15.624002 7f7b6f3ff6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end) | ||||||
| 2025/10/15-15:26:39.748706 7f189e7fc6c0 Compacting 1@0 + 1@1 files |  | ||||||
| 2025/10/15-15:26:39.753893 7f189e7fc6c0 Generated table #90@0: 316 keys, 126470 bytes |  | ||||||
| 2025/10/15-15:26:39.753929 7f189e7fc6c0 Compacted 1@0 + 1@1 files => 126470 bytes |  | ||||||
| 2025/10/15-15:26:39.760361 7f189e7fc6c0 compacted to: files[ 0 1 0 0 0 0 0 ] |  | ||||||
| 2025/10/15-15:26:39.760492 7f189e7fc6c0 Delete type=2 #73 |  | ||||||
| 2025/10/15-15:26:39.760637 7f189e7fc6c0 Delete type=2 #89 |  | ||||||
| 2025/10/15-15:26:39.774069 7f189e7fc6c0 Manual compaction at level-0 from '!items!zoE4ITyfl3od6hYD' @ 721 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end) |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| 2025/10/15-10:02:54.141015 7f189f7fe6c0 Recovering log #80 | 2025/10/16-19:48:48.571698 7f18a4ffa6c0 Recovering log #93 | ||||||
| 2025/10/15-10:02:54.151620 7f189f7fe6c0 Delete type=3 #78 | 2025/10/16-19:48:48.582163 7f18a4ffa6c0 Delete type=3 #91 | ||||||
| 2025/10/15-10:02:54.151691 7f189f7fe6c0 Delete type=0 #80 | 2025/10/16-19:48:48.582233 7f18a4ffa6c0 Delete type=0 #93 | ||||||
| 2025/10/15-10:23:16.651592 7f189e7fc6c0 Level-0 table #85: started | 2025/10/16-19:50:49.674486 7f189e7fc6c0 Level-0 table #98: started | ||||||
| 2025/10/15-10:23:16.651628 7f189e7fc6c0 Level-0 table #85: 0 bytes OK | 2025/10/16-19:50:49.674520 7f189e7fc6c0 Level-0 table #98: 0 bytes OK | ||||||
| 2025/10/15-10:23:16.657926 7f189e7fc6c0 Delete type=0 #83 | 2025/10/16-19:50:49.681475 7f189e7fc6c0 Delete type=0 #96 | ||||||
| 2025/10/15-10:23:16.664228 7f189e7fc6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end) | 2025/10/16-19:50:49.691929 7f189e7fc6c0 Manual compaction at level-0 from '!folders!AuBtSOj1mJmh88qx' @ 72057594037927935 : 1 .. '!items!zv9dwgL3p7ThQn7j' @ 0 : 0; will stop at (end) | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								packs/ftl-nomad-items/MANIFEST-000099
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								packs/ftl-nomad-items/MANIFEST-000099
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -1 +1 @@ | |||||||
| MANIFEST-000064 | MANIFEST-000077 | ||||||
|   | |||||||
| @@ -1,14 +1,7 @@ | |||||||
| 2025/10/15-13:50:39.042685 7f18a4ffa6c0 Recovering log #62 | 2025/10/18-17:56:08.089616 7f7b6ffff6c0 Recovering log #75 | ||||||
| 2025/10/15-13:50:39.052767 7f18a4ffa6c0 Delete type=3 #60 | 2025/10/18-17:56:08.099835 7f7b6ffff6c0 Delete type=3 #73 | ||||||
| 2025/10/15-13:50:39.052843 7f18a4ffa6c0 Delete type=0 #62 | 2025/10/18-17:56:08.099933 7f7b6ffff6c0 Delete type=0 #75 | ||||||
| 2025/10/15-15:26:39.665250 7f189e7fc6c0 Level-0 table #67: started | 2025/10/18-18:03:15.586602 7f7b6f3ff6c0 Level-0 table #80: started | ||||||
| 2025/10/15-15:26:39.668457 7f189e7fc6c0 Level-0 table #67: 12881 bytes OK | 2025/10/18-18:03:15.586654 7f7b6f3ff6c0 Level-0 table #80: 0 bytes OK | ||||||
| 2025/10/15-15:26:39.674498 7f189e7fc6c0 Delete type=0 #65 | 2025/10/18-18:03:15.623769 7f7b6f3ff6c0 Delete type=0 #78 | ||||||
| 2025/10/15-15:26:39.688322 7f189e7fc6c0 Manual compaction at level-0 from '!actors!0FQ6XaRi24OorI21' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at '!folders!HobFutlnH6HPTEfT' @ 93 : 1 | 2025/10/18-18:03:15.624032 7f7b6f3ff6c0 Manual compaction at level-0 from '!actors!0FQ6XaRi24OorI21' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end) | ||||||
| 2025/10/15-15:26:39.688334 7f189e7fc6c0 Compacting 1@0 + 1@1 files |  | ||||||
| 2025/10/15-15:26:39.692347 7f189e7fc6c0 Generated table #68@0: 78 keys, 62826 bytes |  | ||||||
| 2025/10/15-15:26:39.692380 7f189e7fc6c0 Compacted 1@0 + 1@1 files => 62826 bytes |  | ||||||
| 2025/10/15-15:26:39.698356 7f189e7fc6c0 compacted to: files[ 0 1 0 0 0 0 0 ] |  | ||||||
| 2025/10/15-15:26:39.698484 7f189e7fc6c0 Delete type=2 #51 |  | ||||||
| 2025/10/15-15:26:39.698645 7f189e7fc6c0 Delete type=2 #67 |  | ||||||
| 2025/10/15-15:26:39.709845 7f189e7fc6c0 Manual compaction at level-0 from '!folders!HobFutlnH6HPTEfT' @ 93 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end) |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| 2025/10/15-10:02:54.154455 7f18a4ffa6c0 Recovering log #58 | 2025/10/16-19:48:48.588685 7f189f7fe6c0 Recovering log #71 | ||||||
| 2025/10/15-10:02:54.164920 7f18a4ffa6c0 Delete type=3 #56 | 2025/10/16-19:48:48.599841 7f189f7fe6c0 Delete type=3 #69 | ||||||
| 2025/10/15-10:02:54.164970 7f18a4ffa6c0 Delete type=0 #58 | 2025/10/16-19:48:48.599924 7f189f7fe6c0 Delete type=0 #71 | ||||||
| 2025/10/15-10:23:16.644379 7f189e7fc6c0 Level-0 table #63: started | 2025/10/16-19:50:49.586198 7f189e7fc6c0 Level-0 table #76: started | ||||||
| 2025/10/15-10:23:16.644413 7f189e7fc6c0 Level-0 table #63: 0 bytes OK | 2025/10/16-19:50:49.586239 7f189e7fc6c0 Level-0 table #76: 0 bytes OK | ||||||
| 2025/10/15-10:23:16.651461 7f189e7fc6c0 Delete type=0 #61 | 2025/10/16-19:50:49.598518 7f189e7fc6c0 Delete type=0 #74 | ||||||
| 2025/10/15-10:23:16.664216 7f189e7fc6c0 Manual compaction at level-0 from '!actors!3pydTJsM73Z4o0V6' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end) | 2025/10/16-19:50:49.610365 7f189e7fc6c0 Manual compaction at level-0 from '!actors!0FQ6XaRi24OorI21' @ 72057594037927935 : 1 .. '!folders!vRnrOJqSMlxbSgyX' @ 0 : 0; will stop at (end) | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								packs/ftl-nomad-vehicles/MANIFEST-000077
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								packs/ftl-nomad-vehicles/MANIFEST-000077
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -123,23 +123,27 @@ | |||||||
|       } |       } | ||||||
|  |  | ||||||
|       .encumbrance { |       .encumbrance { | ||||||
|         display: grid; |         display: flex; | ||||||
|         grid-template-columns: repeat(3, 1fr); |  | ||||||
|         gap: 4px; |         gap: 4px; | ||||||
|         .form-group { |         .form-group { | ||||||
|           display: flex; |           display: flex; | ||||||
|           flex-direction: row; |           flex-direction: row; | ||||||
|           align-items: center; |  | ||||||
|           margin-bottom: 4px; |           margin-bottom: 4px; | ||||||
|         } |         } | ||||||
|         label { |         label { | ||||||
|           min-width: 4rem; |           min-width: 3rem; | ||||||
|           max-width: 4rem; |           max-width: 3rem; | ||||||
|         } |         } | ||||||
|         input { |         input { | ||||||
|           max-width: 3rem; |           max-width: 3rem; | ||||||
|           min-width: 3rem; |           min-width: 3rem; | ||||||
|         } |         } | ||||||
|  |         .character-credit { | ||||||
|  |           input { | ||||||
|  |             max-width: 9rem; | ||||||
|  |             min-width: 9rem; | ||||||
|  |           } | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|  |  | ||||||
|       .character-name { |       .character-name { | ||||||
|   | |||||||
| @@ -201,6 +201,16 @@ | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |   .section-editor { | ||||||
|  |     min-height: 10rem; | ||||||
|  |     .editor { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|  |     .editor-content { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  |  | ||||||
|   .biodata { |   .biodata { | ||||||
|     display: grid; |     display: grid; | ||||||
|     grid-template-columns: repeat(2, 1fr); |     grid-template-columns: repeat(2, 1fr); | ||||||
|   | |||||||
| @@ -19,6 +19,7 @@ | |||||||
|  |  | ||||||
|     .robot-left { |     .robot-left { | ||||||
|       min-width: 180px; |       min-width: 180px; | ||||||
|  |       max-width: 180px; | ||||||
|       display: flex; |       display: flex; | ||||||
|       flex-direction: column; |       flex-direction: column; | ||||||
|  |  | ||||||
| @@ -33,6 +34,17 @@ | |||||||
|           border: none; |           border: none; | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  |       .robot-cost { | ||||||
|  |         label { | ||||||
|  |           min-width: 3rem; | ||||||
|  |           max-width: 3rem; | ||||||
|  |         } | ||||||
|  |         input { | ||||||
|  |           min-width: 6rem; | ||||||
|  |           max-width: 6rem; | ||||||
|  |         } | ||||||
|  |       } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     .robot-right { |     .robot-right { | ||||||
| @@ -45,13 +57,28 @@ | |||||||
|         input { |         input { | ||||||
|           font-family: var(--font-title); |           font-family: var(--font-title); | ||||||
|           font-size: calc(var(--font-size-standard) * 1.4); |           font-size: calc(var(--font-size-standard) * 1.4); | ||||||
|           width: 400px; |           width: 380px; | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |  | ||||||
|  |       .robot-brain { | ||||||
|  |         min-width: 25rem; | ||||||
|  |         max-width: 25rem; | ||||||
|  |         textarea { | ||||||
|  |           min-width: 23rem; | ||||||
|  |           max-width: 23rem; | ||||||
|  |           background-color: rgba(0, 0, 0, 0.2); | ||||||
|  |           color: var(--color-dark-3); | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|  |  | ||||||
|       .main-stats { |       .main-stats { | ||||||
|         min-width: 25rem; |         min-width: 25rem; | ||||||
|         max-width: 25rem; |         max-width: 25rem; | ||||||
|  |         .encumbered { | ||||||
|  |           color: red; | ||||||
|  |           font-weight: bold; | ||||||
|  |         } | ||||||
|       } |       } | ||||||
|       .cargo, |       .cargo, | ||||||
|       .capacity { |       .capacity { | ||||||
| @@ -198,6 +225,12 @@ | |||||||
|   } |   } | ||||||
|   .section-editor { |   .section-editor { | ||||||
|     min-height: 10rem; |     min-height: 10rem; | ||||||
|  |     .editor { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|  |     .editor-content { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .biodata { |   .biodata { | ||||||
|   | |||||||
| @@ -68,6 +68,12 @@ | |||||||
|           text-shadow: 0 0 8px var(--color-shadow-primary); |           text-shadow: 0 0 8px var(--color-shadow-primary); | ||||||
|           cursor: pointer; |           cursor: pointer; | ||||||
|         } |         } | ||||||
|  |         .hull-field { | ||||||
|  |           select { | ||||||
|  |             min-width: 10rem; | ||||||
|  |             max-width: 10rem; | ||||||
|  |           } | ||||||
|  |         } | ||||||
|         label { |         label { | ||||||
|           margin-left: 0.2rem; |           margin-left: 0.2rem; | ||||||
|           max-width: 7rem; |           max-width: 7rem; | ||||||
| @@ -173,6 +179,12 @@ | |||||||
|  |  | ||||||
|   .section-editor { |   .section-editor { | ||||||
|     min-height: 10rem; |     min-height: 10rem; | ||||||
|  |     .editor { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|  |     .editor-content { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .biodata { |   .biodata { | ||||||
|   | |||||||
| @@ -33,7 +33,6 @@ | |||||||
|           border: none; |           border: none; | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|  |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     .vehicle-right { |     .vehicle-right { | ||||||
| @@ -136,8 +135,15 @@ | |||||||
|   .field-label { |   .field-label { | ||||||
|     margin-left: 8px; |     margin-left: 8px; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .section-editor { |   .section-editor { | ||||||
|     min-height: 10rem; |     min-height: 10rem; | ||||||
|  |     .editor { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|  |     .editor-content { | ||||||
|  |       min-height: 10rem; | ||||||
|  |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   .biodata { |   .biodata { | ||||||
| @@ -145,7 +151,7 @@ | |||||||
|     grid-template-columns: repeat(2, 1fr); |     grid-template-columns: repeat(2, 1fr); | ||||||
|     gap: 8px; |     gap: 8px; | ||||||
|     label { |     label { | ||||||
|       min-width: 3.0rem; |       min-width: 3rem; | ||||||
|     } |     } | ||||||
|     .feature { |     .feature { | ||||||
|       display: flex; |       display: flex; | ||||||
| @@ -155,7 +161,6 @@ | |||||||
|       max-width: 18rem; |       max-width: 18rem; | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
| } | } | ||||||
|  |  | ||||||
| .tab.vehicle-equipment .main-div { | .tab.vehicle-equipment .main-div { | ||||||
|   | |||||||
| @@ -113,7 +113,14 @@ | |||||||
|             rootId=partId |             rootId=partId | ||||||
|             disabled=isPlayMode |             disabled=isPlayMode | ||||||
|           }} |           }} | ||||||
|           {{formField systemFields.credits value=system.credits rootId=partId}} |           <span class="character-credit"> | ||||||
|  |             {{formField | ||||||
|  |               systemFields.credits | ||||||
|  |               value=system.credits | ||||||
|  |               rootId=partId | ||||||
|  |               disabled=isPlayMode | ||||||
|  |             }} | ||||||
|  |           </span> | ||||||
|         </fieldset> |         </fieldset> | ||||||
|  |  | ||||||
|       </div> |       </div> | ||||||
|   | |||||||
| @@ -1,16 +1,31 @@ | |||||||
| <section class="tab creature-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}"> | <section | ||||||
|  |   class="tab creature-{{tab.id}} {{tab.cssClass}}" | ||||||
|  |   data-tab="{{tab.id}}" | ||||||
|  |   data-group="{{tab.group}}" | ||||||
|  | > | ||||||
|  |  | ||||||
|   <div class="main-div"> |   <div class="main-div"> | ||||||
|  |  | ||||||
|   <fieldset> |     <fieldset class="section-editor"> | ||||||
|       <legend>{{localize "FTLNOMAD.Label.description"}}</legend> |       <legend>{{localize "FTLNOMAD.Label.description"}}</legend> | ||||||
|     {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" |       {{formInput | ||||||
|     toggled=true}} |         systemFields.description | ||||||
|  |         enriched=enrichedDescription | ||||||
|  |         value=system.description | ||||||
|  |         name="system.description" | ||||||
|  |         toggled=true | ||||||
|  |       }} | ||||||
|     </fieldset> |     </fieldset> | ||||||
|  |  | ||||||
|   <fieldset> |     <fieldset class="section-editor"> | ||||||
|       <legend>{{localize "FTLNOMAD.Label.notes"}}</legend> |       <legend>{{localize "FTLNOMAD.Label.notes"}}</legend> | ||||||
|     {{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}} |       {{formInput | ||||||
|  |         systemFields.notes | ||||||
|  |         enriched=enrichedNotes | ||||||
|  |         value=system.notes | ||||||
|  |         name="system.notes" | ||||||
|  |         toggled=true | ||||||
|  |       }} | ||||||
|     </fieldset> |     </fieldset> | ||||||
|  |  | ||||||
|   </div> |   </div> | ||||||
|   | |||||||
| @@ -6,11 +6,16 @@ | |||||||
|   <fieldset> |   <fieldset> | ||||||
|     <legend>Tech Age</legend> |     <legend>Tech Age</legend> | ||||||
|     <div class="flexrow"> |     <div class="flexrow"> | ||||||
|       {{formField systemFields.techAge value=system.techAge localize=true}} |       {{formField | ||||||
|  |         systemFields.techAge | ||||||
|  |         value=system.techAge | ||||||
|  |         localize=true | ||||||
|  |         disabled=isPlayMode | ||||||
|  |       }} | ||||||
|     </div> |     </div> | ||||||
|   </fieldset> |   </fieldset> | ||||||
|  |  | ||||||
|   <fieldset> |   <!-- <fieldset> | ||||||
|     <legend>{{localize "FTLNOMAD.Label.damages"}}</legend> |     <legend>{{localize "FTLNOMAD.Label.damages"}}</legend> | ||||||
|     <div class="text-center"> |     <div class="text-center"> | ||||||
|       <textarea |       <textarea | ||||||
| @@ -21,7 +26,7 @@ | |||||||
|         data-tooltip="{{localize 'FTLNOMAD.Tooltip.damages'}}" |         data-tooltip="{{localize 'FTLNOMAD.Tooltip.damages'}}" | ||||||
|       >{{system.damages}}</textarea> |       >{{system.damages}}</textarea> | ||||||
|     </div> |     </div> | ||||||
|   </fieldset> |   </fieldset> --> | ||||||
|  |  | ||||||
|   <fieldset class="section-editor"> |   <fieldset class="section-editor"> | ||||||
|     <legend>{{localize "FTLNOMAD.Label.description"}}</legend> |     <legend>{{localize "FTLNOMAD.Label.description"}}</legend> | ||||||
|   | |||||||
| @@ -3,6 +3,7 @@ | |||||||
|   <fieldset> |   <fieldset> | ||||||
|     <legend>{{localize "FTLNOMAD.Label.robot"}}</legend> |     <legend>{{localize "FTLNOMAD.Label.robot"}}</legend> | ||||||
|     <div class="robot-pc robot-pc-{{ifThen isPlayMode 'play' 'edit'}}"> |     <div class="robot-pc robot-pc-{{ifThen isPlayMode 'play' 'edit'}}"> | ||||||
|  |  | ||||||
|       <div class="robot-left"> |       <div class="robot-left"> | ||||||
|         <div class="robot-left-image"> |         <div class="robot-left-image"> | ||||||
|           <img |           <img | ||||||
| @@ -13,7 +14,19 @@ | |||||||
|             data-tooltip="{{actor.name}}" |             data-tooltip="{{actor.name}}" | ||||||
|           /> |           /> | ||||||
|         </div> |         </div> | ||||||
|  |         <div> | ||||||
|  |           <fieldset class="robot-cost"> | ||||||
|  |             <legend>Cost</legend> | ||||||
|  |             <div class="flexrow"> | ||||||
|  |               {{formField | ||||||
|  |                 systemFields.cost | ||||||
|  |                 value=system.cost | ||||||
|  |                 localize=true | ||||||
|  |                 disabled=isPlayMode | ||||||
|  |               }} | ||||||
|  |             </div> | ||||||
|  |           </fieldset> | ||||||
|  |         </div> | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
|       <div class="robot-right"> |       <div class="robot-right"> | ||||||
| @@ -67,21 +80,41 @@ | |||||||
|             }} |             }} | ||||||
|           </div> |           </div> | ||||||
|           <div class="flexrow"> |           <div class="flexrow"> | ||||||
|  |           {{#if isEncumbered}} | ||||||
|             {{formField |             {{formField | ||||||
|               systemFields.cost |               systemFields.enc.fields.value | ||||||
|               value=system.cost |               value=system.enc.value | ||||||
|               localize=true |               rootId=partId | ||||||
|  |               disabled=true | ||||||
|  |               classes="encumbered" | ||||||
|  |             }} | ||||||
|  |           {{else}} | ||||||
|  |             {{formField | ||||||
|  |               systemFields.enc.fields.value | ||||||
|  |               value=system.enc.value | ||||||
|  |               rootId=partId | ||||||
|  |               disabled=true | ||||||
|  |             }} | ||||||
|  |           {{/if}} | ||||||
|  |              | ||||||
|  |           {{formField | ||||||
|  |             systemFields.enc.fields.max | ||||||
|  |             value=system.enc.max | ||||||
|  |             rootId=partId | ||||||
|             disabled=isPlayMode |             disabled=isPlayMode | ||||||
|           }} |           }} | ||||||
|           </div> |           </div> | ||||||
|  |         </fieldset> | ||||||
|  |  | ||||||
|  |         <fieldset class="robot-brain"> | ||||||
|  |           <legend>Brain</legend> | ||||||
|           <div class="flexrow"> |           <div class="flexrow"> | ||||||
|             {{formField |             <textarea | ||||||
|               systemFields.brain |               cols="64" | ||||||
|               value=system.brain |               rows="2" | ||||||
|               localize=true |               name="system.brain" | ||||||
|               classes="robot-brain" |               data-tooltip="{{localize 'FTLNOMAD.Tooltip.brain'}}" | ||||||
|               disabled=isPlayMode |               {{#if isPlayMode}}disabled{{/if}}>{{system.brain}}</textarea> | ||||||
|             }} |  | ||||||
|           </div> |           </div> | ||||||
|         </fieldset> |         </fieldset> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -58,20 +58,13 @@ | |||||||
|  |  | ||||||
|         <fieldset class="capacity"> |         <fieldset class="capacity"> | ||||||
|           <legend>{{localize "FTLNOMAD.Label.capacity"}}</legend> |           <legend>{{localize "FTLNOMAD.Label.capacity"}}</legend> | ||||||
|           <div class="flexrow"> |           <div class="flexrow hull-field"> | ||||||
|             {{formField |             {{formField | ||||||
|               systemFields.hullType |               systemFields.hullType | ||||||
|               value=system.hullType |               value=system.hullType | ||||||
|               localize=true |               localize=true | ||||||
|               disabled=isPlayMode |               disabled=isPlayMode | ||||||
|             }} |             }} | ||||||
|             {{formField |  | ||||||
|               systemFields.travelMultiplier |  | ||||||
|               value=system.travelMultiplier |  | ||||||
|               localize=true |  | ||||||
|               disabled=isPlayMode |  | ||||||
|             }} |  | ||||||
|  |  | ||||||
|           </div> |           </div> | ||||||
|  |  | ||||||
|           <div class="flexrow-guns"> |           <div class="flexrow-guns"> | ||||||
| @@ -87,6 +80,14 @@ | |||||||
|               localize=true |               localize=true | ||||||
|               disabled=isPlayMode |               disabled=isPlayMode | ||||||
|             }} |             }} | ||||||
|  |  | ||||||
|  |             {{formField | ||||||
|  |               systemFields.travelMultiplier | ||||||
|  |               value=system.travelMultiplier | ||||||
|  |               localize=true | ||||||
|  |               disabled=isPlayMode | ||||||
|  |             }} | ||||||
|  |  | ||||||
|           </div> |           </div> | ||||||
|  |  | ||||||
|         </fieldset> |         </fieldset> | ||||||
|   | |||||||
| @@ -6,7 +6,12 @@ | |||||||
|   <fieldset> |   <fieldset> | ||||||
|     <legend>{{localize "FTLNOMAD.Label.techAge"}}</legend> |     <legend>{{localize "FTLNOMAD.Label.techAge"}}</legend> | ||||||
|     <div class="flexrow"> |     <div class="flexrow"> | ||||||
|       {{formField systemFields.techAge value=system.techAge localize=true}} |       {{formField | ||||||
|  |         systemFields.techAge | ||||||
|  |         value=system.techAge | ||||||
|  |         localize=true | ||||||
|  |         disabled=isPlayMode | ||||||
|  |       }} | ||||||
|         |         | ||||||
|       {{formField |       {{formField | ||||||
|         systemFields.cost |         systemFields.cost | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user