ENH: Demo, clean template
							parent
							
								
									1c28b286d9
								
							
						
					
					
						commit
						14f77057b8
					
				|  | @ -82,6 +82,9 @@ | ||||||
|           </p> |           </p> | ||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
|  |       <div id="demo" class="row" style="text-align: center;"> | ||||||
|  |         <iframe width="560" height="315" src="https://www.youtube.com/embed/xKFuPXfyMoE" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||||||
|  |       </div> | ||||||
|       <div id="setup" class="row"> |       <div id="setup" class="row"> | ||||||
|         <h4>Setup</h4> |         <h4>Setup</h4> | ||||||
|         <p>You can find System settings in the Configure Settings dialog you |         <p>You can find System settings in the Configure Settings dialog you | ||||||
|  |  | ||||||
|  | @ -50,7 +50,7 @@ export class OseItem extends Item { | ||||||
|     const labels = this.labels; |     const labels = this.labels; | ||||||
| 
 | 
 | ||||||
|     if (this.data.type == "weapon") { |     if (this.data.type == "weapon") { | ||||||
|       props.push(data.qualities); |       data.tags.forEach(t => props.push(t.value)); | ||||||
|     } |     } | ||||||
|     if (this.data.type == "spell") { |     if (this.data.type == "spell") { | ||||||
|       props.push(`${data.class} ${data.lvl}`, data.range, data.duration); |       props.push(`${data.class} ${data.lvl}`, data.range, data.duration); | ||||||
|  |  | ||||||
|  | @ -165,7 +165,7 @@ | ||||||
|       }, |       }, | ||||||
|       "treasure": false, |       "treasure": false, | ||||||
|       "cost": 0, |       "cost": 0, | ||||||
|       "weight": 80 |       "weight": 0 | ||||||
|     }, |     }, | ||||||
|     "weapon": { |     "weapon": { | ||||||
|       "range": { |       "range": { | ||||||
|  | @ -174,14 +174,13 @@ | ||||||
|         "long": 0 |         "long": 0 | ||||||
|       }, |       }, | ||||||
|       "save": "", |       "save": "", | ||||||
|       "pattern": "white", |       "pattern": "transparent", | ||||||
|       "description": "", |       "description": "", | ||||||
|       "damage": "1d6", |       "damage": "1d6", | ||||||
|       "bonus": 0, |       "bonus": 0, | ||||||
|       "tags": [], |       "tags": [], | ||||||
|       "qualities": "", |  | ||||||
|       "slow": false, |       "slow": false, | ||||||
|       "missile": true, |       "missile": false, | ||||||
|       "melee": true, |       "melee": true, | ||||||
|       "cost": 0, |       "cost": 0, | ||||||
|       "equipped": false, |       "equipped": false, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue