年运附表补上整宫、Tripataki 和特殊点公式轨迹。黄经沿用已算好的星盘,不改原有 Saham 数值。
Co-Authored-By: Grok (agent loop) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Grok (agent loop)
Cursor
parent
6b906f85c4
commit
9b2e6aa0b4
@@ -2619,12 +2619,20 @@ def render_pl9_parity_markdown(packet: dict) -> str:
|
||||
tripataki_placements = _list(tripataki.get('placements'))
|
||||
tripataki_vedha = _list(tripataki.get('vedha_rows'))
|
||||
if tripataki_placements:
|
||||
lines.extend([
|
||||
'### Tripataki Chakra 年盘落点',
|
||||
'',
|
||||
'| Body | Sign | Degree | Longitude |',
|
||||
'|------|------|--------|-----------|',
|
||||
])
|
||||
if _lang == 'en':
|
||||
lines.extend([
|
||||
'### Tripataki Chakra placements',
|
||||
'',
|
||||
'| Body | Sign | Degree | Longitude |',
|
||||
'|------|------|--------|-----------|',
|
||||
])
|
||||
else:
|
||||
lines.extend([
|
||||
'### Tripataki Chakra 年盘落点',
|
||||
'',
|
||||
'| 星体 | 星座 | 落座度数 | 黄经 |',
|
||||
'|------|------|----------|------|',
|
||||
])
|
||||
for row in tripataki_placements:
|
||||
if not isinstance(row, dict):
|
||||
continue
|
||||
@@ -2634,15 +2642,17 @@ def render_pl9_parity_markdown(packet: dict) -> str:
|
||||
)
|
||||
lines.append('')
|
||||
if tripataki_vedha:
|
||||
lines.extend([
|
||||
'| Target | Vedha sources |',
|
||||
'|--------|---------------|',
|
||||
])
|
||||
if _lang == 'en':
|
||||
lines.extend(['| Target | Vedha sources |', '|--------|---------------|'])
|
||||
joiner = ', '
|
||||
else:
|
||||
lines.extend(['| 目标 | Vedha 来源 |', '|------|-------------|'])
|
||||
joiner = '、'
|
||||
for row in tripataki_vedha:
|
||||
if not isinstance(row, dict):
|
||||
continue
|
||||
sources = row.get('sources') if isinstance(row.get('sources'), list) else []
|
||||
lines.append(f"| {_cell(row.get('target'))} | {_cell('、'.join(map(str, sources)))} |")
|
||||
lines.append(f"| {_cell(_token(row.get('target')))} | {_cell(joiner.join(_token(item) for item in sources))} |")
|
||||
lines.append('')
|
||||
monthly_pack = _dict(annual.get('monthly_chart_pack'))
|
||||
monthly_rows = _list(monthly_pack.get('rows'))
|
||||
|
||||
Reference in New Issue
Block a user