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

Сontainer grid sizes and footprints #2213

Merged

Conversation

ErhardSteinhauer
Copy link
Contributor

@ErhardSteinhauer ErhardSteinhauer commented Oct 13, 2024

About the PR

Right now, for example, a utility belt has a 2x8 inventory space, but its current footprint is 6x6, and it can't be stored in duffels or backpacks. In this PR I'm adjusting its footprint to match its actual inventory size, such as 2x8 or 4x4, and removing the restriction on placing them in larger containers like backpacks. This could similarly apply to other belt slot storage accessories or containers like toolboxes. This change should not significantly impact game balance, but it could enhance the quality of life for players in certain edge cases.

Slightly more context in this post. Here is the table of new values.

Container Container size Max stored size Grid Footprint
duffel Huge Huge 8x5 8x5
backpack Huge Large 7x4 7x4
satchel Huge Large two 2x4, 4x4 8x4
messenger bag Huge Large four 2x2, 4x4 8x4
toolbox Large Medium/Normal 7x4 7x4
belt Large Medium/Normal 4x4 4x4
webbing Medium/Normal Small 4x4 4x4
cardboard box Medium/Normal Small 3x3 3x3
medkit Medium/Normal Small 4x2 4x2
weapon case (short) Medium/Normal Small 4x2 4x2
weapon case (long) Huge Huge 4x4, 2x4 6x4
weapon case (heavy) Ginoromous Ginoromous 8x6 9x6

Why / Balance

I thought that something like this should be a reasonable change:
belt -> duffel/backpack/toolbox
toolbox -/-> toolbox
toolbox -> duffel/backpack
duffel/backpack -/-> duffel/backpack

How to test

Spawn various bags, try to put one in another.

Media

New messenger bag inventory grid
image

New long weapon case grid
image

Requirements

Breaking changes

Changelog
🆑 erhardsteinhauer

  • tweak: Slightly changed how wearable containers (like backpacks etc) work: now it's possible (but rather pointless) to put a belt in backpack, a backpack in duffel, a toolbox fits in a backpack.

@GreaseMonk GreaseMonk merged commit 016c2c3 into new-frontiers-14:master Oct 15, 2024
12 checks passed
FrontierATC added a commit that referenced this pull request Oct 15, 2024
@MisterMecky MisterMecky mentioned this pull request Oct 21, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants