terrarium-earth / Heracles

A tree style questing mod allowing creators to set completable quests for their users
MIT License
35 stars 19 forks source link

[Feature Request]: Allow create quest only CJK character #63

Closed SettingDust closed 1 year ago

SettingDust commented 1 year ago

Is your feature request related to a problem?

I can't create a task with only these characters. But I can create it with two letter and edit the quest name at sidebar to only CJK chars. 图片 图片 图片

Solution(s)

No response

Describe alternatives you've considered

No response

Mod Version

1.0.4

Mod Loader Version

1.20.1 0.20.1

Mod Loader

Quilt

Additional context

No response

ThatGravyBoat commented 1 year ago

Quest id are the identifier used for the file system they must be file system compatible and as such they only allow a-zA-Z_- as those are all the common characters between all file systems allowed characters in file names

ThatGravyBoat commented 1 year ago

It is only used as an identifier and can not be seen a user

SettingDust commented 1 year ago

But I can actually input CJK characters and the file name is contains CJK. Need restrict I think

ThatGravyBoat commented 1 year ago

your file system may allow CJK characters but not all do, I have to make sure that it works on most systems as such restricting the characters allowed in an identifier that is used for a file name is what I do and will continue doing.

SettingDust commented 1 year ago

your file system may allow CJK characters but not all do, I have to make sure that it works on most systems as such restricting the characters allowed in an identifier that is used for a file name is what I do and will continue doing.

Ya. So, adding a restrict to the input box is needed, isn't it?