Ajout du modèle de données pour les rencontres.
This commit is contained in:
		| @@ -14,6 +14,9 @@ | ||||
| {{#if (equals data.category "equipment")}} | ||||
|     {{> "systems/bol/templates/item/parts/properties/item/equipment-properties.hbs"}} | ||||
| {{/if}} | ||||
| {{#if (equals data.category "capacity")}} | ||||
|     {{> "systems/bol/templates/item/parts/properties/item/capacity-properties.hbs"}} | ||||
| {{/if}} | ||||
| {{#if (equals data.category "vehicle")}} | ||||
|     {{> "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs"}} | ||||
| {{/if}} | ||||
|   | ||||
							
								
								
									
										25
									
								
								templates/item/parts/properties/item/capacity-properties.hbs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								templates/item/parts/properties/item/capacity-properties.hbs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| <h3 class="form-header">{{localize "BOL.ui.capacityProperties"}}</h3> | ||||
| <div class="form-group"> | ||||
|     <label class="property-label">{{localize "BOL.ui.type"}}</label> | ||||
|     <div class="form-fields"> | ||||
|         <label class="checkbox"> | ||||
|             <input class="field-value" type="checkbox" name="data.properties.weapon" {{checked data.properties.weapon}}> {{localize "BOL.itemProperty.weapon"}} | ||||
|         </label> | ||||
|         <label class="checkbox"> | ||||
|             <input class="field-value" type="checkbox" name="data.properties.protection" {{checked data.properties.protection}}> {{localize "BOL.itemProperty.protection"}} | ||||
|         </label> | ||||
|         <label class="checkbox"> | ||||
|             <input class="field-value" type="checkbox" name="data.properties.magical" {{checked data.properties.magical}}> {{localize "BOL.itemProperty.magical"}} | ||||
|         </label> | ||||
|     </div> | ||||
| </div> | ||||
|  | ||||
| {{#if data.properties.weapon}} | ||||
|     {{> "systems/bol/templates/item/parts/properties/item/weapon-properties.hbs"}} | ||||
| {{/if}} | ||||
| {{#if data.properties.protection}} | ||||
|     {{> "systems/bol/templates/item/parts/properties/item/protection-properties.hbs"}} | ||||
| {{/if}} | ||||
| {{#if data.properties.magical}} | ||||
|     {{> "systems/bol/templates/item/parts/properties/item/magical-properties.hbs"}} | ||||
| {{/if}} | ||||
| @@ -73,6 +73,18 @@ | ||||
|     </div> | ||||
| </div> | ||||
| <hr/> | ||||
| <div class="form-group"> | ||||
|     <label class="property-label">{{localize "BOL.itemProperty.weaponSize"}}</label> | ||||
|     <div class="form-fields"> | ||||
|         <select class="field-value" name="data.properties.weaponSize" data-dtype="String"> | ||||
|             {{#select data.properties.weaponSize}} | ||||
|                 {{#each config.weaponSizes as |value id|}} | ||||
|                     <option value="{{id}}">{{localize value}}</option> | ||||
|                 {{/each}} | ||||
|             {{/select}} | ||||
|         </select> | ||||
|     </div> | ||||
| </div> | ||||
| <div class="form-group"> | ||||
|     <label class="property-label">{{localize "BOL.itemProperty.damage"}}</label> | ||||
|     <div class="form-fields"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user