|
5 | 5 |
|
6 | 6 | <nav class="sheet-tabs tabs vehicle" data-group="primary">
|
7 | 7 | <a class="item" data-tab="stats">{{localize "torgeternity.sheetLabels.stats"}}</a>
|
| 8 | + <a class="item" data-tab="gear">{{localize "torgeternity.sheetLabels.gear"}}</a> |
8 | 9 | <a class="item" data-tab="effects">{{localize "torgeternity.sheetLabels.effects"}}</a>
|
9 | 10 | <a class="item" data-tab="description">{{localize "torgeternity.sheetLabels.description"}}</a>
|
10 | 11 | </nav>
|
|
242 | 243 | <a class="item-control item-edit" data-tooltip="{{localize 'torgeternity.iconeTitles.edit'}}">
|
243 | 244 | <i class="fas fa-edit"></i>
|
244 | 245 | </a>
|
| 246 | + <a class="item-control" data-weapon="{{item}}" data-tooltip="{{localize "torgeternity.iconeTitles.reload"}}"> |
| 247 | + <i class="fa-solid fa-bullseye reload-weapon"></i> |
| 248 | + </a> |
245 | 249 | <a
|
246 | 250 | class="item-control item-delete"
|
247 | 251 | data-tooltip="{{localize 'torgeternity.iconeTitles.delete'}}"
|
|
251 | 255 | </div>
|
252 | 256 | </li>
|
253 | 257 | {{/each}}
|
254 |
| - </div> |
| 258 | + </div> |
255 | 259 | <h2>{{localize "torgeternity.sheetLabels.addOns"}}</h2>
|
256 | 260 | <div class="item-list">
|
257 | 261 | <li class="add-on-header">
|
|
289 | 293 | </div>
|
290 | 294 | </div>
|
291 | 295 |
|
| 296 | + <div class="tab gear" data-group="primary" data-tab="gear" style="display:unset"> |
| 297 | + {{#if heavyweapon}} |
| 298 | + <h2>{{localize "torgeternity.sheetLabels.heavyWeapons"}}/{{localize "torgeternity.sheetLabels.explosives"}}</h2> |
| 299 | + <ol class="item-list"> |
| 300 | + |
| 301 | + {{#each heavyweapon as |item id|}} |
| 302 | + <li class="item block" data-item-id="{{item._id}}"> |
| 303 | + <div class="item-row flexrow"> |
| 304 | + <img src="{{item.img}}" data-tooltip="{{item.name}}" /> |
| 305 | + <a class="item-name">{{item.name}} |
| 306 | + ({{localize 'torgeternity.sheetLabels.heavyWeapons'}}/{{localize |
| 307 | + 'torgeternity.sheetLabels.explosives'}})</a> |
| 308 | + <div class="item-controls"> |
| 309 | + <a class="item-control item-attackRoll" data-tooltip="{{localize 'torgeternity.iconeTitles.attackRoll'}}"> |
| 310 | + <i class="fas fa-dice-d20"></i> |
| 311 | + </a> |
| 312 | + <a class="item-control item-edit" data-tooltip="{{localize 'torgeternity.iconeTitles.edit'}}"> |
| 313 | + <i class="fas fa-edit"></i> |
| 314 | + </a> |
| 315 | + <a class="item-control item-delete" data-tooltip="{{localize 'torgeternity.iconeTitles.delete'}}"> |
| 316 | + <i class="fas fa-trash"></i> |
| 317 | + </a> |
| 318 | + </div> |
| 319 | + </div> |
| 320 | + <div class="item-detail"> |
| 321 | + <div class="item-dropdown-description"> |
| 322 | + {{{item.description}}} |
| 323 | + <p></p> |
| 324 | + <div class="item-dropdown-extras"> |
| 325 | + {{item.system.cosm}} |
| 326 | + </div> |
| 327 | + <div class="item-dropdown-extras"> |
| 328 | + {{localize 'torgeternity.gear.tl'}} |
| 329 | + {{item.system.techlevel}} |
| 330 | + </div> |
| 331 | + <div class="item-dropdown-extras"> |
| 332 | + {{item.system.price}} |
| 333 | + ({{item.system.value}}) |
| 334 | + </div> |
| 335 | + <div class="item-dropdown-extras"> |
| 336 | + {{item.system.range}} |
| 337 | + </div> |
| 338 | + <div class="item-dropdown-extras"> |
| 339 | + {{localize 'torgeternity.gear.ammo'}}: |
| 340 | + {{item.system.ammo.value}} |
| 341 | + / |
| 342 | + {{item.system.ammo.max}} |
| 343 | + </div> |
| 344 | + <div class="item-dropdown-extras"> |
| 345 | + {{item.system.notes}} |
| 346 | + </div> |
| 347 | + </div> |
| 348 | + </div> |
| 349 | + </li> |
| 350 | + {{/each}} |
| 351 | + </ol> |
| 352 | + {{/if}} |
| 353 | + {{#if ammunitions}} |
| 354 | + <h2>{{localize "torgeternity.sheetLabels.ammunition"}}</h2> |
| 355 | + <ol class="item-list"> |
| 356 | + {{#each ammunitions as |item id|}} |
| 357 | + <li class="item block gear" data-item-id="{{item._id}}"> |
| 358 | + <div class="item-row flexrow"> |
| 359 | + <img src="{{item.img}}" data-tooltip="{{item.name}}" /> |
| 360 | + <a class="item-name">{{item.name}} |
| 361 | + ({{localize 'torgeternity.sheetLabels.ammunition'}})</a> |
| 362 | + <div class="item-controls"> |
| 363 | + <a class="item-control item-edit" data-tooltip="{{localize 'torgeternity.iconeTitles.edit'}}"> |
| 364 | + <i class="fas fa-edit"></i> |
| 365 | + </a> |
| 366 | + <a class="item-control item-delete" data-tooltip="{{localize 'torgeternity.iconeTitles.delete'}}"> |
| 367 | + <i class="fas fa-trash"></i> |
| 368 | + </a> |
| 369 | + </div> |
| 370 | + </div> |
| 371 | + |
| 372 | + <div class="item-detail"> |
| 373 | + <div class="item-dropdown-description"> |
| 374 | + {{{item.description}}} |
| 375 | + <p></p> |
| 376 | + <div class="item-dropdown-extras"> |
| 377 | + {{localize 'torgeternity.sheetLabels.quantity'}} |
| 378 | + {{item.system.quantity}} |
| 379 | + </div> |
| 380 | + <div class="item-dropdown-extras"> |
| 381 | + {{localize 'torgeternity.gear.tl'}} |
| 382 | + {{item.system.techlevel}} |
| 383 | + </div> |
| 384 | + <div class="item-dropdown-extras"> |
| 385 | + {{item.system.price}} |
| 386 | + ({{item.system.value}}) |
| 387 | + </div> |
| 388 | + <div class="item-dropdown-extras"> |
| 389 | + {{item.system.notes}} |
| 390 | + </div> |
| 391 | + </div> |
| 392 | + </div> |
| 393 | + </li> |
| 394 | + {{/each}} |
| 395 | + </ol> |
| 396 | + {{/if}} |
| 397 | + {{#if gear}} |
| 398 | + <h2>{{localize "torgeternity.sheetLabels.gear"}}</h2> |
| 399 | + <ol class="item-list"> |
| 400 | + |
| 401 | + {{#each gear as |item id|}} |
| 402 | + <li class="item" data-item-id="{{item._id}}"> |
| 403 | + <div class="item-row flexrow"> |
| 404 | + <img src="{{item.img}}" data-tooltip="{{item.name}}" /> |
| 405 | + <a class="item-name">{{item.name}}</a> |
| 406 | + <div class="item-controls"> |
| 407 | + <a class="item-control item-tochat" data-tooltip="{{localize 'torgeternity.iconeTitles.sendToChat'}}"> |
| 408 | + <i class="fas fa-comment"></i> |
| 409 | + </a> |
| 410 | + <a class="item-control item-edit" data-tooltip="{{localize 'torgeternity.iconeTitles.edit'}}"> |
| 411 | + <i class="fas fa-edit"></i> |
| 412 | + </a> |
| 413 | + <a class="item-control item-delete" data-tooltip="{{localize 'torgeternity.iconeTitles.delete'}}"> |
| 414 | + <i class="fas fa-trash"></i> |
| 415 | + </a> |
| 416 | + </div> |
| 417 | + </div> |
| 418 | + <div class="item-detail"> |
| 419 | + <div class="item-dropdown-description"> |
| 420 | + {{{item.description}}} |
| 421 | + </div> |
| 422 | + <div class="item-dropdown-extras"> |
| 423 | + {{item.system.cosm}} |
| 424 | + </div> |
| 425 | + <div class="item-dropdown-extras"> |
| 426 | + {{item.system.price}} |
| 427 | + ({{item.system.value}}) |
| 428 | + </div> |
| 429 | + <div class="item-dropdown-extras"> |
| 430 | + {{localize 'torgeternity.gear.tl'}} |
| 431 | + {{item.system.techlevel}} |
| 432 | + </div> |
| 433 | + |
| 434 | + </div> |
| 435 | + </li> |
| 436 | + {{/each}} |
| 437 | + </ol> |
| 438 | + {{/if}} |
| 439 | + </div> |
| 440 | + |
292 | 441 | <div class="tab effects" data-group="primary" data-tab="effects">
|
293 | 442 | <div class="effects block">
|
294 | 443 | {{> "systems/torgeternity/templates/parts/active-effects.hbs"}}
|
|
0 commit comments