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

[#3629, #4142] Add units to container capacity, add volume capacity #4912

Open
wants to merge 1 commit into
base: 4.2.x
Choose a base branch
from

Conversation

arbron
Copy link
Collaborator

@arbron arbron commented Dec 20, 2024

Reworks container capacity to allow for defining more than one capacity type (so a container can define a maximum number of items and a maximum weight). Weight capacity now accepts actual units so the weight can be measured in kilograms or tonnes if desired.

Container Units

Adds a volume capacity type to containers for measuring in cubic feet or liters. This includes the addition of volumeUnits to the configuration and a "Use Metric Volume Units" setting to match the other units settings.

Closes #3629
Closes #4142

Reworks container capacity to allow for defining more than one
capacity type (so a container can define a maximum number of items
and a maximum weight). Weight capacity now accepts actual units
so the weight can be measured in kilograms or tonnes if desired.

Adds a volume capacity type to containers for measuring in cubic
feet or liters. This includes the addition of `volumeUnits` to
the configuration and a "Use Metric Volume Units" setting to match
the other units settings.

Closes #3629
Closes #4142
@arbron arbron added this to the D&D5E 4.2.0 milestone Dec 20, 2024
@arbron arbron self-assigned this Dec 20, 2024
liter: {
label: "DND5E.UNITS.VOLUME.Liter.Label",
abbreviation: "DND5E.UNITS.Volume.Liter.Abbreviation",
conversion: 1 / 28.317, // Should we do an approximate conversion here? Does it matter?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure localized 5e books have some simplified conversion of cubic feet to liters. Got an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants