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

[Feature Request] Stack identical objects in clothing contrib's custom inventory #3315

Open
InspectorCaracal opened this issue Oct 30, 2023 · 0 comments
Labels
good first issue Low hanging fruit for those wanting to help out.

Comments

@InspectorCaracal
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently, using the contrib's provided inventory command results in output like this:

You are carrying:
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 
 log of wood  A decent-sized wooden log. Not so big you can't carry it. 

This is obviously less than ideal.

Describe the solution you'd like

It would be much more useful if objects that share the same key and description were compressed into a single line, more like core Evennia's behavior:

You are carrying:
 8 logs of wood  A decent-sized wooden log. Not so big you can't carry it. 

Describe alternatives you've considered

Obviously this could be customized by implementing your own inventory command, but it does make the contrib's command fairly useless for any game which has any kind of standardized objects.

@InspectorCaracal InspectorCaracal added feature-request A suggestion for new functionality. needs-triage Yet to be looked at and verified as an a real issue/feature that could be worked on labels Oct 30, 2023
@Griatch Griatch added Hacktoberfest Help out in October and win prizes! https://hacktoberfest.digitalocean.com/ good first issue Low hanging fruit for those wanting to help out. and removed feature-request A suggestion for new functionality. Hacktoberfest Help out in October and win prizes! https://hacktoberfest.digitalocean.com/ needs-triage Yet to be looked at and verified as an a real issue/feature that could be worked on labels Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Low hanging fruit for those wanting to help out.
Projects
None yet
Development

No branches or pull requests

2 participants