Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace volume ints with strings for furniture and terrain #36328

Merged
merged 1 commit into from
Dec 21, 2019

Conversation

anothersimulacrum
Copy link
Member

Summary

SUMMARY: None

Purpose of change

Volume strings specifying the units are more readable and easily understandable, so they should be used instead of raw ints. Additionally, we'd like to obsolete the raw int loading with these strings, and this makes it easier.

Describe the solution

Run tools/json_tools/cddaUpdateVolume.js on data/json/furniture_and_terrain.json

Testing

Game loads correctly, values are loaded correctly.

Volume strings specifying the units are more readable and easily
understandable, so they should be used instead of raw ints.
@anothersimulacrum anothersimulacrum changed the title Replace volume ints with strings for furnituree and terrain Replace volume ints with strings for furniture and terrain Dec 21, 2019
@KorGgenT KorGgenT added [JSON] Changes (can be) made in JSON Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Dec 21, 2019
@KorGgenT KorGgenT merged commit b830be5 into CleverRaven:master Dec 21, 2019
@anothersimulacrum anothersimulacrum deleted the furn-str branch December 21, 2019 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style [JSON] Changes (can be) made in JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants