How Does Volume Work?

Started by gotdamnmiracle, November 28, 2018, 03:35:33 AM

The only two measurements available to a player are stones (weight) and coins (worth). I know volume is definitely a thing, but I'm not sure how you're supposed to identify it except for guess work, which is how I guess I've been doing it for the last few years. It's inconsistent enough to bug me. You can fit a 7 stone greatsword in a satchel, but not a scabbard that can hold up to 10 stone. Things designed with "many sheaths" only able to hold two throwing knives. Etcetera.

So how does it work, exactly? Is it a different measurement entirely codewise? Is it just how certain items interact? Please give me theories and good ways to maneuver the weirdness.
He is an individual cool cat. A cat who has taken more than nine lives.

I guess I could be wrong, but I don't think volume is a thing. Some rooms have limits based on how much containers can hold, but I don't think most containers do. And that limit, with rooms, is wierd and inconsistent. I can put one crate down in a room, and not be able to put anything else into any container in the room at all, getting the "there is no more room for that here" message when trying to put things into an empty container, but if I pick that crate up, and put a smaller one down, suddenly I'm able to fill every other container in the room to full capacity.

But with containers, I've seen rigid boxes that are the same size, where you can place one inside another one identical to it. Or even a larger box inside a smaller box, so long as the larger box doesn't have anything in it.
I used to have a funny signature, but I felt like no one took me seriously, so it's time to put on my serious face.

Containers have a capacity.  Lets say 50.
Containers have a weight.  Lets say 10.

So this container weighs 10 but fits 50.  So you can fit 5 of those into a sixth one.

Some things are set to have a max item weight.  So you have a knife belt that can fit 10, but the max item size is 2.  So nothing with a weight more than 2 can be placed in it.

And we have some very specific items where only certain types of things can be placed in them at all, knives being the most common example.

Thanks Brokkr! :)
I used to have a funny signature, but I felt like no one took me seriously, so it's time to put on my serious face.

I didn't expect the code response! Appreciated, Brokkr.
He is an individual cool cat. A cat who has taken more than nine lives.