NPCs/Vendors
* show restock time if available
This commit is contained in:
parent
32b4c451e4
commit
04e55b5498
9 changed files with 44 additions and 9 deletions
14
template/listviews/vendorRestockCol.tpl.php
Normal file
14
template/listviews/vendorRestockCol.tpl.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
var _ = {
|
||||
id: 'restock',
|
||||
name: LANG.restock,
|
||||
width: '10%',
|
||||
value: 'restock',
|
||||
after: 'stack',
|
||||
compute: function(data, td) {
|
||||
if (data.restock) {
|
||||
let t = g_formatTimeElapsed(data.restock);
|
||||
|
||||
$WH.ae(td, $WH.ct(t));
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue