Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

`exportlegends` export of `historical_event_relationship_supplements` is wrong

Aperta
#5,720 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp, xml
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
2.1k
Fork
509
Merge medio
2g 19h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DFHack/dfhack

Tutte le issue di DFHack/dfhack

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.