Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

`exportlegends` export of `historical_event_relationship_supplements` is wrong

Aberta
#5,720 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
cpp, xml
Domínio
tooling

Direção de pesquisa

Start by locating the exportlegends code that serializes historical_event_relationship_supplements and checking how circumstance and circumstance_id are represented. Determine which circumstances have a valid ID and what XML element fits each referenced type; evaluate compatibility with downstream tools before changing the export. Done when the output represents these fields correctly and downstream impact has been assessed.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

exportlegends exports objects of type historical_event_relationship_supplements using XML elements of occasion_type and site for DF's circumstance and circumstance_id fields. In reality, the field being exported as site is only valid for certain circumstances and is never a site.

The script should, realistically, only export the circumstance_id field for the circumstances for which it is valid, and should use an XML element appropriate for the specific type of thing the circumstance_id is referring to. It should probably also call tghe event a circumstance (instead of an occasion_type).

All this needs to be evaluated for the potential impact on downstream tools.

Linguagem predominante
C++
Estrelas
2.1k
Forks
509
Merge médio
2d 19h
PRs com merge (30d)
25

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DFHack/dfhack

Todas as issues de DFHack/dfhack

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.