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

ID cards are now categorized as KEYS #53770

Merged
merged 3 commits into from
Dec 27, 2021

Conversation

bombasticSlacks
Copy link
Contributor

@bombasticSlacks bombasticSlacks commented Dec 25, 2021

Summary

Content "ID Cards are now categorized as KEYS not OTHER"

Purpose of change

ID cards now have a sort zone and can be caught by custom filters.

Describe the solution

Added new category, added it to all the items in id.json

Describe alternatives you've considered

manually adding every id to a custom filter in game

Testing

Load up the game spawn a visitors badge, spawn a military ID
image

Additional context

If someone wants a different name that's fine too. There is already some discussion and I think @Terrorforge argument of all items that unlock doors should be separated is valid.

@github-actions github-actions bot added the astyled astyled PR, label is assigned by github actions label Dec 25, 2021
@Maleclypse Maleclypse added Inventory / AIM / Zones Inventory, Advanced Inventory Management or Zones Items / Item Actions / Item Qualities Items and how they work and interact labels Dec 25, 2021
@github-actions github-actions bot added the json-styled JSON lint passed, label assigned by github actions label Dec 26, 2021
@Terrorforge
Copy link
Contributor

I don't think "documents" is the right term, because that implies the category would contain stuff like lab reports and the corporate accounting ledger. I suggest something like "ID"/"Identification", or perhaps the broader "Keys".

I also suggest the various TCL badhes be added to this category as well.

@bombasticSlacks
Copy link
Contributor Author

TCL badges are in this category by inheritance.

I'd like to split the books into 3 inventory categories, also for better sorting: manuals/instructional, leisure books, and documents. So I would actually like the corporate accounting ledger to go in this category 😆. Lab reports with recipes in them would be manuals.

If that isn't appropriate then credentials might be a good category name, keys seems a bit meta but I think ID would work too!

@PatrikLundell
Copy link
Contributor

What about score cards, loyalty cards, etc. that you can find in wallets together with the ID cards? And the maps that don't seem to fit into any category (and thus remain after having sorted loot)? And survivor notes?

I think all of those would fit into this category.

@Terrorforge
Copy link
Contributor

Terrorforge commented Dec 26, 2021

Personally I would prefer if all the door-opening ID cards and whatnot had their own category, separate from any books or lore documents. It's already kind of a pain to pick them out from whatever "Other" nonsense you may have picked up, no need to recreate that.

Maps are already listed under their own "Maps" category in the inventory, but I guess they aren't sorted by it in loot sorting? I never noticed, because there's zero reason to keep them around.

@PatrikLundell
Copy link
Contributor

Hm, if maps already have their own category, their failure to be sorted must be a hole in the sorting zone coverage, then.

@bombasticSlacks
Copy link
Contributor Author

I was also surprised to learn it while working on this PR but maps can in fact be sorted currently.
image

I think you are right Terrorforge I will go with keys instead of "documents" and it will just be items which allow access to specific areas. That is certainly a valuable category on its own.

@PatrikLundell
Copy link
Contributor

PatrikLundell commented Dec 26, 2021

What about both a Key category and a "Miscellaneous Documents" one?
Also, thanks for correcting the misconception regarding Maps sorting.

@bombasticSlacks
Copy link
Contributor Author

I'm gonna work on that in a separate PR, or someone else could if I don't get to it, but it would be a lot of JSON to work through. More than I can manage on a couch while chatting with the family 😄.

@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Dec 26, 2021
@ZhilkinSerg ZhilkinSerg changed the title ID cards are now categorized as DOCUMENTS ID cards are now categorized as KEYS Dec 27, 2021
@ZhilkinSerg ZhilkinSerg merged commit 7f32d77 into CleverRaven:master Dec 27, 2021
akrieger pushed a commit to akrieger/Cataclysm-DDA that referenced this pull request Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions Inventory / AIM / Zones Inventory, Advanced Inventory Management or Zones Items / Item Actions / Item Qualities Items and how they work and interact json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants