13 lines
982 B
JavaScript
13 lines
982 B
JavaScript
import { DYNASTIES } from '../src/dynasties.js';
|
|
let n=0;
|
|
for (const d of DYNASTIES) {
|
|
console.log(`\n=== ${d.id} (${d.era} ${d.span}) tracks=${(d.tracks||[]).map(t=>t.id).join(',')}`);
|
|
for (const c of d.channels) {
|
|
n++;
|
|
const x = c.xuan||{};
|
|
console.log(` ${c.id.padEnd(18)} gate=${JSON.stringify(c.gate||{})} seat=${x.seat} kemu=${JSON.stringify((x.kemu||[]).map(k=>k.axis+'>='+k.need))} key=${JSON.stringify(x.key||[])} keySrc=${x.keySource===null?'null':'YES'} ceil=${c.ceiling?.tier} track=${c.track||'-'}`);
|
|
console.log(` hollow=${!!c.hollow} hollowNote=${c.hollowNote?'Y':'-'} stigma=${!!c.stigma} stigmaNote=${c.stigmaNote?'Y':'-'} assim=${c.assimilation||0} assimNote=${c.assimilationNote?'Y':'-'} regular=${!!c.regular} cat=${JSON.stringify(c.category||'')} penalty=${c.penaltyIfNoWang===undefined?'-':c.penaltyIfNoWang} penaltyNote=${c.penaltyNote?'Y':'-'} absence=${(x.kemuAbsence||{}).kind||'-'}`);
|
|
}
|
|
}
|
|
console.log('\nTOTAL channels =', n);
|