good first issuehelp wanted
仓库指标
- 星标
- (12 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
#83 introduced input and output. While very useful, the amount property can sometimes be awkward as it doesn't make sense for all resources (e.g. AchievementOutput)
Consider refactoring it to also implement a getAmount() which defaults to input.amount if it's available and if not errors. Basically ensure that one is implemented. Can also already be done at engine construction