Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Problem with item flag countable

未关闭
#1,047 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
data

调研方向

首先检查 item_flags.csv,并将其中可计数的值与各游戏世代中的道具行为进行比较,尤其是 TM。确定应更改 flag 的含义,还是更改底层数据;当语义确定且道具 flag 已得到一致修正时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Might be a minor thing but I wondered what the item flag (item_flags.csv) countable actually means. It seems hard to misunderstand but if it really means items that can have a count of how many there are, the data is quite bad on this.
As example: all pokeballs are countable but berries are not. Actually most items that have a count in the games are not flagged as countable.
I wonder if there is a special reason for it or if nobody bothered setting it because almost everything can have a count anyway. The only items that are non-countable are actually key and story items with special purpose like the bike.

Would it not make more sense to change this to a non-countable flag and only mark these "few" items with it?
I know TMs are a bit more complicated on this since it depends on the generation if the item is unique or can have a count but since TMs are a bit special anyway this shouldn't be a reason to not correct this.

主要语言
Python
星标
5.4k
派生
1.2k
平均合并
2 天 4 小时
30 天内合并 PR
15

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PokeAPI/pokeapi 的其他 Issue

查看 PokeAPI/pokeapi 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。