Makes indexes of stat lists a type rather then string#743
Makes indexes of stat lists a type rather then string#743XeonMations merged 8 commits intoDarkPack13:masterfrom
Conversation
…o yet-another-stat-rework
|
|
|
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~7 days. Please address any outstanding review items and ensure your PR is finished - if both are true, and you have auto-staled anyway, you need to actively ask maintainers (by pinging them in the /tg/station Discord) to (re)review or merge your PR. If no maintainer responds to your request, you may wish to close this PR yourself while you seek maintainer comment, as you will later be able to reopen the PR yourself. |
…o yet-another-stat-rework
About The Pull Request
Makes indexes of stat holder lists a type rather then string
Why It's Good For The Game
The only place a string was useful was tgui so we do text2path there instead of EVERYWHERE else.
Allows for better handling, as you can access the type directly if you need something like a name, and dont have to wrap all logic on strings which is annoying.
Its a hanger-on from when we were direct saving the list for prefs. this is no longer needed.
Changelog
🆑
code: List index for stats was made its type instead of a type as a string
/:cl: