Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`exportlegends` export of `historical_event_relationship_supplements` is wrong

Đang mở
#5,720 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, xml
Lĩnh vực
tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
2.1k
Fork
509
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DFHack/dfhack

Tất cả issue của DFHack/dfhack

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.