NPCs/Vendors

* show restock time if available
This commit is contained in:
Sarjuuk 2022-03-25 15:24:51 +01:00
parent 32b4c451e4
commit 04e55b5498
9 changed files with 44 additions and 9 deletions

View 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));
}
}
};