Compare commits
No commits in common. "b95d755d6e41767968a0d6b4db1d7d2aab7cc97f" and "809fa78d35f395375bdd431d8d7f5fb5e6d664b0" have entirely different histories.
b95d755d6e
...
809fa78d35
|
@ -48,7 +48,7 @@ module.exports = {
|
||||||
priority: 1,
|
priority: 1,
|
||||||
load: async (plugin, app) => {
|
load: async (plugin, app) => {
|
||||||
// Load up our DB.
|
// Load up our DB.
|
||||||
const db_dir = path.resolve(app.config.aedifex)
|
const db_dir = path.resolve(path.join(app.config.srd, 'db'))
|
||||||
|
|
||||||
await refresh(plugin, app, db_dir)
|
await refresh(plugin, app, db_dir)
|
||||||
|
|
||||||
|
|
|
@ -82,26 +82,6 @@
|
||||||
{{? it.results }}
|
{{? it.results }}
|
||||||
{{#def.entry:it.results[0] || ''}}
|
{{#def.entry:it.results[0] || ''}}
|
||||||
<h2>got results</h2>
|
<h2>got results</h2>
|
||||||
|
|
||||||
{{? it.collection === "gear" }}
|
|
||||||
gear
|
|
||||||
{{? it.type }}
|
|
||||||
got type
|
|
||||||
{{? it.type === "weapon"}}
|
|
||||||
<h1>Weapons</h1>
|
|
||||||
{{#def.weapons_table:it.results || ''}}
|
|
||||||
{{?? it.type === "armor"}}
|
|
||||||
<h1>Armor</h1>
|
|
||||||
TODO
|
|
||||||
{{?? it.type === "consumable"}}
|
|
||||||
<h1>Consumables</h1>
|
|
||||||
{{#def.consumables_table:it.results || ''}}
|
|
||||||
{{?}}
|
|
||||||
{{?}}
|
|
||||||
{{?? it.collection === "specimens" }}
|
|
||||||
specimens
|
|
||||||
{{?}}
|
|
||||||
|
|
||||||
{{?? !it.name }}
|
{{?? !it.name }}
|
||||||
{{? it.type === "weapon"}}
|
{{? it.type === "weapon"}}
|
||||||
<h1>Weapons</h1>
|
<h1>Weapons</h1>
|
||||||
|
|
Loading…
Reference in New Issue