Skip to content

feat: Add item count based vehicle storage#8359

Open
WishDuck wants to merge 3 commits intocataclysmbn:mainfrom
WishDuck:vehicleitemcountstacks
Open

feat: Add item count based vehicle storage#8359
WishDuck wants to merge 3 commits intocataclysmbn:mainfrom
WishDuck:vehicleitemcountstacks

Conversation

@WishDuck
Copy link
Collaborator

Purpose of change (The Why)

Some kind of cheap option that can load one single furniture or object regardless of volume would be nice

Describe the solution (The How)

Add a new way for item stacks to count storage: total charges
This limits storage to a certain number of charges
While it could be implemented in furnture, currently only implemented in vehicle land

Describe alternatives you've considered

Give up on balanced storage and give massive storage options because we want to be able to haul the one corpse
Let there be an total volume limit too?

Testing

Log truck works as expected

Additional context

I sadly did not ave a PR that reduced lines more then it added them today :(

Checklist

Mandatory

Optional

  • This is a C++ PR that modifies JSON loading or behavior.
    • I have documented the changes in the appropriate location in the docs/ folder.

@github-actions github-actions bot added docs PRs releated to docs page src changes related to source code. JSON related to game datas in JSON format. labels Mar 22, 2026
@github-actions
Copy link
Contributor

❌ PR Title Validation Failed

conventional-prs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by conventional-prs)
conventional-prs: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by conventional-prs)

ℹ️ How to fix

Your PR title must follow the Conventional Commits specification.

Check your repository's .github/semantic.yml for allowed types and scopes.

@autofix-ci
Copy link
Contributor

autofix-ci bot commented Mar 22, 2026

Autofix has formatted code style violation in this PR.

I edit commits locally (e.g: git, github desktop) and want to keep autofix
  1. Run git pull. this will merge the automated commit into your local copy of the PR branch.
  2. Continue working.
I do not want the automated commit
  1. Format your code locally, then commit it.
  2. Run git push --force to force push your branch. This will overwrite the automated commit on remote with your local one.
  3. Continue working.

If you don't do this, your following commits will be based on the old commit, and cause MERGE CONFLICT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs PRs releated to docs page JSON related to game datas in JSON format. src changes related to source code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant