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

Missing Trade Encounters

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
api, database

Hướng nghiên cứu

Bắt đầu với Encounter_Conditions.csv, PR Pokémon XD: Gale of Darkness được liên kết và danh sách trao đổi generation-I được liên kết trên Bulbapedia; so sánh dữ liệu trao đổi với NPC hiện có của generation 7. Được xem là hoàn tất khi các encounter trao đổi với NPC của generation được chọn được biểu diễn, bao gồm điều kiện trao đổi và thông tin chi tiết về NPC hoặc Pokémon được yêu cầu, không bao gồm các trao đổi giữa người chơi.

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

Mô tả

The API is missing a lot of trade encounters, what I've noticed so far is:

All RBY trades are missing.

All GSC Trades are missing:

All RSE Trades are missing:

All FRLG Trades are missing:

All G4 Trades are missing in HGSS and DPPt:

All G5 Trades are missing in BW and B2W2:

All G6 Trades are missing in XY/ORAS:

Gen 7 is the only gen with encounters that actually has the NPC trades, and it has them for both LGPE and SM/USUM!

Obviously they're missing in gens 8/9 as well, but there's currently no encounter data at all for them yet in the API anyway.

In addition to this, as discussed in my PR for Pokemon XD: Gale of Darkness, I think we should be add a new Encounter_Condition in Encounter_Conditions.csv called Trade.

And then, when adding NPC-Trade encounters to the API, we should add an encounter condition for each one that says what Pokemon to trade for them, and what the NPCs name is if they're named. Let's use Mimien the Mr. Mime as an example:

  • 108,15,trade-REYLEY-abra,0

This notes which NPC to trade with and which Pokemon to give them. We would have to go back and add the conditions for the gen 7 pokemon trades as well.

Lastly, I do think it's important to have this data in the API. Certain Pokemon are only catchable in games via trade from an NPC, such as Mr Mime, Farfech'd, and a few others.

Things I think this issue should not cover:

  • Trading for a Pokemon with another real gameboy

That is a much bigger task, out of scope with the NPC-Trade encounter_method, and also solvable by the end user.

Currently I'm working on a website with a friend and we can have the site display trade or transfer from X game just by using logic to deduce if the Pokemon is in the selected game or not, and what is the nearest game you could receive it from, so I don't think it's necessary to include in the API at all.

As with any issue like this I bring up, I'm of course willing to do the work and write down all these encounters. I would probably do 1 PR per gen as to not make a massive PR with like 85 trade pokemon from 7 regions and 10 games.

I would start with gen 1 and work my way up, but if anyone is interested in doing any of these I'd ask you post here so we don't both do the same gen at once!

Ngôn ngữ chính
Python
Star
5.4k
Fork
1.2k
Merge trung bình
2 ngày 4 giờ
Pull request đã merge (30 ngày)
18

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 PokeAPI/pokeapi

Tất cả issue của PokeAPI/pokeapi

Issue tương tự

Thêm issue về Python

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.