We should use 100x values for resources
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by tracing how YAML resource values become cash values and how those values are displayed to players, using the repairable construction yard example from the issue and related context in #20109. Identify every affected conversion path and determine how tests can verify that internal values use 100x precision while displayed amounts remain unchanged.
Written by the indexing model from the issue text.
Description
In #20109 I made repairable building use 100x values as due to the small numbers we are losing quite a lot of information. For instance for repairing construction yard from 0 health should cost 400$ credits but we only use up 214$
We could in every place where we translate yaml to cash multiply by 100 and where we display it to the player divide 100. That way we won't inflate yaml values and everything should still function correctly
- Dominant language
- C#
- Stars
- 17.4k
- Forks
- 3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenRA/OpenRA
-
Idea/Wishlist Red Alert
Difficulty 2/5 1-2 days Newbie friendliness 68/100
-
Polish
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Crash
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Refactor
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Idea/Wishlist
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100