使得“外部消耗”一栏能够接受浮点数#4
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
生产息壤装备和红装备时,有时希望获得一个0.5/min或者1.5/min的产速,但原网页版输入1.5时会自动变成2。
因此在GPT 5.2的协助下做了这个功能,把只接受整数的输入框改成了可以接受浮点数,同时验证了仍能正确求解。
demo:https://surflurer.github.io/end-cli/
(demo里我还加了一个“限制设备数量”的功能(天有烘炉不能超过4台),但没有在本PR中体现)