Sign in to follow this  
Aceria

Remove default item name when a rename happened

Recommended Posts

When renaming a crate (for example) the default name always stays in the window. I'd love to have a mod that removes that default name. For example:

 

Default name: "large walnut crate"

After renaming: "large walnut crate (Iron Ore 10 - 20)"

After renaming with proposed mod: "Iron Ore 10 - 20"

 

I have no clue if it's possible at all, but I think it would make organising lots of stuff a lot cleaner!

  • Like 1

Share this post


Link to post
Share on other sites

I'd think it could be done, just a simple check for having a custom name (via rename) would display the custom name, if none set then it displays the default with material type.

 

I don't know how much strain it'd put on servers, since it'd have to perform these checks for every item around.  There's a few people around here much more versed then I that could answer it.

Edited by Nomadikhan

Share this post


Link to post
Share on other sites

Just need to set ITEM_TYPE_DESC_IS_NAME flag on that item template. That's how e.g. shelfs work.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this