Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8576d25c2c | 
| @@ -179,6 +179,17 @@ i.fvtt-ftl-nomad { | ||||
|   min-width: 180px; | ||||
|   display: flex; | ||||
|   flex-direction: column; | ||||
|   /*.character-dmax-edit { | ||||
|         input { | ||||
|           display: flex; | ||||
|           width: 60px; | ||||
|           font-size: calc(var(--font-size-standard) * 1.4); | ||||
|           align-items: center; | ||||
|           justify-content: center; | ||||
|           padding: 0 5px 0 5px; | ||||
|           text-align: center; | ||||
|         } | ||||
|       }*/ | ||||
| } | ||||
| .fvtt-ftl-nomad .character-main .character-pc .character-left .character-left-image { | ||||
|   display: flex; | ||||
| @@ -211,15 +222,6 @@ i.fvtt-ftl-nomad { | ||||
| .fvtt-ftl-nomad .character-main .character-pc .character-left .character-dmax .form-fields { | ||||
|   flex: none; | ||||
| } | ||||
| .fvtt-ftl-nomad .character-main .character-pc .character-left .character-dmax-edit input { | ||||
|   display: flex; | ||||
|   width: 60px; | ||||
|   font-size: calc(var(--font-size-standard) * 1.4); | ||||
|   align-items: center; | ||||
|   justify-content: center; | ||||
|   padding: 0 5px 0 5px; | ||||
|   text-align: center; | ||||
| } | ||||
| .fvtt-ftl-nomad .character-main .character-pc .character-right { | ||||
|   display: flex; | ||||
|   flex-direction: column; | ||||
| @@ -251,7 +253,7 @@ i.fvtt-ftl-nomad { | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .character-main .character-pc-edit { | ||||
|   min-width: 650px; | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .character-main .character-skills { | ||||
|   background-color: var(--color-light-1); | ||||
| @@ -298,7 +300,7 @@ i.fvtt-ftl-nomad { | ||||
|   min-width: 225px; | ||||
| } | ||||
| .fvtt-ftl-nomad .character-main .character-skill-edit { | ||||
|   min-width: 400px; | ||||
|   min-width: 225px; | ||||
| } | ||||
| .fvtt-ftl-nomad .character-biography { | ||||
|   background-color: var(--color-light-1); | ||||
| @@ -944,7 +946,7 @@ i.fvtt-ftl-nomad { | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .vehicle-main .vehicle-pc-edit { | ||||
|   min-width: 650px; | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .vehicle-description { | ||||
|   background-color: var(--color-light-1); | ||||
| @@ -1227,7 +1229,7 @@ i.fvtt-ftl-nomad { | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .starship-main .starship-pc-edit { | ||||
|   min-width: 650px; | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .starship-description { | ||||
|   background-color: var(--color-light-1); | ||||
| @@ -1486,7 +1488,7 @@ i.fvtt-ftl-nomad { | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .creature-main .creature-pc-edit { | ||||
|   min-width: 650px; | ||||
|   min-width: 500px; | ||||
| } | ||||
| .fvtt-ftl-nomad .creature-main .creature-skills { | ||||
|   background-color: var(--color-light-1); | ||||
| @@ -1533,7 +1535,7 @@ i.fvtt-ftl-nomad { | ||||
|   min-width: 225px; | ||||
| } | ||||
| .fvtt-ftl-nomad .creature-main .creature-skill-edit { | ||||
|   min-width: 400px; | ||||
|   min-width: 225px; | ||||
| } | ||||
| .fvtt-ftl-nomad .creature-biography { | ||||
|   background-color: var(--color-light-1); | ||||
|   | ||||
| @@ -336,6 +336,7 @@ | ||||
|       } | ||||
|     }, | ||||
|     "Label": { | ||||
|       "damages": "Damages", | ||||
|       "modifications": "Modifications", | ||||
|       "abilities": "Abilities", | ||||
|       "Details": "Details",  | ||||
| @@ -562,7 +563,8 @@ | ||||
|       "addLanguage" : "Add Language", | ||||
|       "addPsionic" : "Add Psionic", | ||||
|       "addCreatureAbility" : "Add Creature Ability", | ||||
|       "addCreatureTrait" : "Add Creature Trait" | ||||
|       "addCreatureTrait" : "Add Creature Trait", | ||||
|       "damages": "Enter current damages suffered" | ||||
|     }, | ||||
|     "Vehicle": { | ||||
|       "FIELDS": { | ||||
|   | ||||
| @@ -3,13 +3,13 @@ import FTLNomadActorSheet from "./base-actor-sheet.mjs" | ||||
| export default class FTLNomadCreatureSheet extends FTLNomadActorSheet { | ||||
|   /** @override */ | ||||
|   static DEFAULT_OPTIONS = { | ||||
|     classes: ["npc"], | ||||
|     classes: ["creature"], | ||||
|     position: { | ||||
|       width: 860, | ||||
|       height: 620, | ||||
|     }, | ||||
|     window: { | ||||
|       contentClasses: ["npc-content"], | ||||
|       contentClasses: ["creature-content"], | ||||
|     }, | ||||
|     actions: { | ||||
|       createTrait: FTLNomadCreatureSheet.#onCreateTrait, | ||||
|   | ||||
| @@ -35,7 +35,7 @@ export default class FTLNomadProtagonist extends foundry.abstract.TypeDataModel | ||||
|     schema.health = new fields.SchemaField({ | ||||
|       staminaValue: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }), | ||||
|       staminaMax: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }), | ||||
|       wounds: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }), | ||||
|       wounds: new fields.NumberField({ ...requiredInteger, initial:0, min: 0 }), | ||||
|       triageResults:  new fields.StringField({ required: true, nullable: false, initial: "none", choices: SYSTEM.TRIAGE_RESULTS }) | ||||
|     }) | ||||
|  | ||||
|   | ||||
| @@ -17,6 +17,7 @@ export default class FTLNomadStarship extends foundry.abstract.TypeDataModel { | ||||
|     schema.travelMultiplier = new fields.NumberField({ required: true, initial: 1, min: 0 }) | ||||
|     schema.cost = new fields.NumberField({ required: true, initial: 0, min: 0 }) | ||||
|     schema.monthlyCost = new fields.NumberField({ required: true, initial: 0, min: 0 }) | ||||
|     schema.damages = new fields.StringField({ required: true, initial: "" }) | ||||
|  | ||||
|     schema.description = new fields.HTMLField({ required: true, textSearch: true }) | ||||
|     schema.modifications = new fields.HTMLField({ required: true, textSearch: true })  | ||||
|   | ||||
| @@ -8,7 +8,7 @@ export default class FTLNomadVehicle extends foundry.abstract.TypeDataModel { | ||||
|     const schema = {} | ||||
|  | ||||
|     schema.agility = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 }) | ||||
|     schema.armor = new fields.StringField({ required: true, initial: 0, min:0 }) | ||||
|     schema.armor = new fields.StringField({ required: true, initial: "" }) | ||||
|     schema.cargo = new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 }) | ||||
|     schema.crew = new fields.NumberField({ ...requiredInteger, initial: 1, min: 1 }) | ||||
|     schema.force = new fields.NumberField({ ...requiredInteger, initial: 1, min: 1 }) | ||||
| @@ -16,6 +16,7 @@ export default class FTLNomadVehicle extends foundry.abstract.TypeDataModel { | ||||
|     schema.speed = new fields.StringField({ required: true, initial: "1d6" }) | ||||
|     schema.techAge = new fields.StringField({ required: true, initial: "1d6" }) | ||||
|     schema.tonnage = new fields.NumberField({ required: true, initial: 1, min: 0 }) | ||||
|     schema.damages = new fields.StringField({ required: true, initial: "" }) | ||||
|  | ||||
|     schema.cost = new fields.NumberField({ required: true, initial: 0, min: 0 }) | ||||
|      | ||||
|   | ||||
| @@ -57,7 +57,7 @@ | ||||
|           flex: none; | ||||
|         } | ||||
|       } | ||||
|       .character-dmax-edit { | ||||
|       /*.character-dmax-edit { | ||||
|         input { | ||||
|           display: flex; | ||||
|           width: 60px; | ||||
| @@ -67,7 +67,7 @@ | ||||
|           padding: 0 5px 0 5px; | ||||
|           text-align: center; | ||||
|         } | ||||
|       } | ||||
|       }*/ | ||||
|     } | ||||
|  | ||||
|     .character-right { | ||||
| @@ -107,7 +107,7 @@ | ||||
|   } | ||||
|  | ||||
|   .character-pc-edit { | ||||
|     min-width: 650px; | ||||
|     min-width: 500px; | ||||
|   } | ||||
|  | ||||
|   .character-skills { | ||||
| @@ -158,7 +158,7 @@ | ||||
|   } | ||||
|  | ||||
|   .character-skill-edit { | ||||
|     min-width: 400px; | ||||
|     min-width: 225px; | ||||
|   } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -116,7 +116,7 @@ | ||||
|   } | ||||
|  | ||||
|   .creature-pc-edit { | ||||
|     min-width: 650px; | ||||
|     min-width: 500px; | ||||
|   } | ||||
|  | ||||
|   .creature-skills { | ||||
| @@ -167,7 +167,7 @@ | ||||
|   } | ||||
|  | ||||
|   .creature-skill-edit { | ||||
|     min-width: 400px; | ||||
|     min-width: 225px; | ||||
|   } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -145,7 +145,7 @@ | ||||
|   } | ||||
|  | ||||
|   .starship-pc-edit { | ||||
|     min-width: 650px; | ||||
|     min-width: 500px; | ||||
|   } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -111,7 +111,7 @@ | ||||
|   } | ||||
|  | ||||
|   .vehicle-pc-edit { | ||||
|     min-width: 650px; | ||||
|     min-width: 500px; | ||||
|   } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -11,7 +11,7 @@ | ||||
|         <fieldset class="character-hp"> | ||||
|           <legend>{{localize "FTLNOMAD.Label.Stamina"}}</legend> | ||||
|           <div class="flexrow"> | ||||
|             {{formField systemFields.health.fields.staminaValue value=health.staminaValue}} | ||||
|             {{formField systemFields.health.fields.staminaValue value=system.health.staminaValue}} | ||||
|             {{formField systemFields.health.fields.staminaMax value=system.health.staminaMax rootId=partId disabled=true}} | ||||
|           </div> | ||||
|           <div class="flexrow"> | ||||
|   | ||||
| @@ -1,5 +1,11 @@ | ||||
| <section class="tab starship-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}"> | ||||
|  | ||||
|   <fieldset> | ||||
|     <legend>{{localize "FTLNOMAD.Label.damages"}}</legend> | ||||
|     <textarea class="form-control" rows="5" name="system.damages"  | ||||
|       data-tooltip="{{localize "FTLNOMAD.Tooltip.damages"}}">{{system.damages}}</textarea> | ||||
|   </fieldset> | ||||
|  | ||||
|   <fieldset> | ||||
|     <legend>{{localize "FTLNOMAD.Label.description"}}</legend> | ||||
|     {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}} | ||||
|   | ||||
| @@ -1,5 +1,11 @@ | ||||
| <section class="tab vehicle-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}"> | ||||
|  | ||||
|   <fieldset> | ||||
|     <legend>{{localize "FTLNOMAD.Label.damages"}}</legend> | ||||
|     <textarea class="form-control" rows="5" name="system.damages"  | ||||
|       data-tooltip="{{localize "FTLNOMAD.Tooltip.damages"}}">{{system.damages}}</textarea> | ||||
|   </fieldset> | ||||
|  | ||||
|   <fieldset> | ||||
|     <legend>{{localize "FTLNOMAD.Label.description"}}</legend> | ||||
|     {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user