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

feat(server/inventory): Split randomloot convar #1647

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jag3dagster
Copy link
Contributor

  • Splits inventory:randomloot convar functionality between two new convars: inventory:randomdumpsterloot and inventory:randomvehicleloot
  • Has backwards compatibility with inventory:randomloot

NOTE: Don't worry about the massive line change count, I just cleaned up the leading whitespace to be all tabs instead of tabs / spaces mixed. Turn off whitespace comparison to see the ~20 lines actually changed

- Backwards compatible separate of random loot values
- Allows for users to utilize one random loot without the other
@jag3dagster
Copy link
Contributor Author

This is a proposed change to split the functionality of the randomloot convar. I've noticed several people wanting to turn off just the dumpster diving loot but leave the vehicle loot, this is one backwards compatible way to do that.

@thelindat
Copy link
Member

Whitespace should be 4 spaces - inventory is mixed since I haven't done a full reformat since it's generally a nuisance when rebasing.

@jag3dagster
Copy link
Contributor Author

Swapped to 4 space whitespace

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

Successfully merging this pull request may close these issues.

2 participants