ENH: Exploration fixes
							parent
							
								
									9a9c78f717
								
							
						
					
					
						commit
						21e42928d2
					
				|  | @ -91,6 +91,9 @@ | |||
| 
 | ||||
|     "OSE.SpokenLanguages": "Spoken Languages", | ||||
|     "OSE.Literacy": "Literacy", | ||||
|     "OSE.Literate": "Literate", | ||||
|     "OSE.LiteracyBasic": "Basic", | ||||
|     "OSE.Illiterate": "Illiterate", | ||||
|     "OSE.NPCReaction": "NPC Reaction", | ||||
|     "OSE.RetainersMax": "#Retainers", | ||||
|      | ||||
|  | @ -142,5 +145,12 @@ | |||
| 
 | ||||
|     "OSE.abilities.Requirements": "Requirements", | ||||
| 
 | ||||
|     "OSE.exploration.OpenDoors": "Open Doors" | ||||
|     "OSE.exploration.ListenDoor.long": "Listen at Door", | ||||
|     "OSE.exploration.ListenDoor.short": "Listen Door", | ||||
|     "OSE.exploration.OpenDoor.long": "Open Stuck Door", | ||||
|     "OSE.exploration.OpenDoor.short": "Open Door", | ||||
|     "OSE.exploration.SecretDoor.long": "Find Secret Door", | ||||
|     "OSE.exploration.SecretDoor.short": "Secret Door", | ||||
|     "OSE.exploration.RoomTrap.long": "Find Room Trap", | ||||
|     "OSE.exploration.RoomTrap.short": "Find Trap" | ||||
| } | ||||
|  | @ -13,7 +13,7 @@ | |||
|     .panel-title { | ||||
|       color: whitesmoke; | ||||
|       background: $darkBackground; | ||||
|       line-height: 14px; | ||||
|       line-height: 12px; | ||||
|       height: 20px; | ||||
|       text-align: center; | ||||
|       margin: 0; | ||||
|  | @ -307,6 +307,9 @@ | |||
|         } | ||||
|       } | ||||
|       &.spells { | ||||
|         .item-titles { | ||||
|           padding: 0; | ||||
|         } | ||||
|         .item-controls { | ||||
|           flex-basis: 30px; | ||||
|         } | ||||
|  |  | |||
|  | @ -69,6 +69,17 @@ | |||
|         line-height: 30px; | ||||
|       } | ||||
|     } | ||||
|     .exploration { | ||||
|       .attribute { | ||||
|         margin: 4px; | ||||
|         .attribute-name { | ||||
|           text-align: left; | ||||
|           flex: 1 0 60px; | ||||
|           line-height: 25px; | ||||
|           font-size: 12px; | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   /* ----------------------------------------- */ | ||||
|   /*  Item Controls                            */ | ||||
|  |  | |||
|  | @ -86,6 +86,12 @@ | |||
|           "bonus": 0 | ||||
|         } | ||||
|       }, | ||||
|       "exploration": { | ||||
|         "ld": 1, | ||||
|         "od": 1, | ||||
|         "sd": 1, | ||||
|         "ft": 1 | ||||
|       }, | ||||
|       "scores": { | ||||
|         "str": { | ||||
|           "value": 0, | ||||
|  |  | |||
|  | @ -1,3 +1,32 @@ | |||
| <ul class="attributes exploration flexrow"> | ||||
|   <li class="attribute flexrow"> | ||||
|     <h4 class="attribute-name box-title" title="{{localize 'OSE.exploration.ListenDoor.long'}}"><a>{{ localize "OSE.exploration.ListenDoor.short" }}</a></h4> | ||||
|     <div class="attribute-value"> | ||||
|       <input name="data.exploration.ld" type="text" value="{{data.exploration.ld}}" data-dtype="Number" placeholder="0" /> | ||||
|     </div> | ||||
|   </li> | ||||
|   <li class="attribute flexrow"> | ||||
|     <h4 class="attribute-name box-title" title="{{localize 'OSE.exploration.OpenDoor.long'}}"><a>{{ localize "OSE.exploration.OpenDoor.short" }}</a> | ||||
|     </h4> | ||||
|     <div class="attribute-value"> | ||||
|       <input name="data.exploration.od" type="text" value="{{data.exploration.od}}" placeholder="0" data-dtype="String" /> | ||||
|     </div> | ||||
|   </li> | ||||
|   <li class="attribute flexrow"> | ||||
|     <h4 class="attribute-name box-title" title="{{localize 'OSE.exploration.SecretDoor.long'}}"><a>{{ localize "OSE.exploration.SecretDoor.short" }}</a> | ||||
|     </h4> | ||||
|     <div class="attribute-value"> | ||||
|       <input name="data.exploration.sd" type="text" value="{{data.exploration.sd}}" placeholder="0" data-dtype="String" /> | ||||
|     </div> | ||||
|   </li> | ||||
|   <li class="attribute flexrow"> | ||||
|     <h4 class="attribute-name box-title" title="{{localize 'OSE.exploration.RoomTrap.long'}}"><a>{{ localize "OSE.exploration.RoomTrap.short" }}</a> | ||||
|     </h4> | ||||
|     <div class="attribute-value"> | ||||
|       <input name="data.exploration.rt" type="text" value="{{data.exploration.rt}}" placeholder="0" data-dtype="String" /> | ||||
|     </div> | ||||
|   </li> | ||||
| </ul> | ||||
| <div class="inventory abilities"> | ||||
|   <div class="item-titles flexrow"> | ||||
|     <div class="item-name">{{localize 'OSE.panel.abilities'}}</div> | ||||
|  | @ -8,7 +37,7 @@ | |||
|       {{/if}} | ||||
|     </div> | ||||
|   </div> | ||||
|   <ol class="item-list resizable" data-base-size="300"> | ||||
|   <ol class="item-list resizable" data-base-size="260"> | ||||
|     {{#each abilities as |item|}} | ||||
|     <li class="item-entry"> | ||||
|       <div class="item flexrow" data-item-id="{{item._id}}"> | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ | |||
|                 </div> | ||||
|                 <div class="attribute-bonuses"> | ||||
|                     {{localize 'OSE.Melee'}} ({{mods.str}})<br/> | ||||
|                     {{localize 'OSE.exploration.OpenDoors'}} | ||||
|                     {{localize 'OSE.exploration.OpenDoor.long'}} | ||||
|                 <span class="attribute-mod"><a><i class="fas fa-minus"></i></a></span> | ||||
|                 </div> | ||||
|             </li> | ||||
|  |  | |||
|  | @ -58,6 +58,7 @@ | |||
|                     data-dtype="Number" /> | ||||
|             </div> | ||||
|         </li> | ||||
|     </ul> | ||||
| </section> | ||||
| <section class="flexrow attribute-row"> | ||||
|     {{!-- Skills and abilities --}} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue