direwolf420
Terrarian


Download via Mod Browser ingame! Available on both 1.3 and 1.4 tModLoader!
Steam Workshop page: Workshop
This small mod allows the player to name the summon item of any pet, so that the pet will show its name when hovered over it (similar to how NPCs show their name)
There are two ways to use this mod: UI and chat command
UI
How to use:
* Press the hotkey (default: 'P') (YOU HAVE TO BIND IT FIRST!)
* Place a pet summoning item in it
* Type a name into the text box
* (optional) Press 'Random' for a random name
* (optional) Press 'Clear' to delete the text
* Press 'Apply' to set the text from the text box as the name for the pet
* (optional) Take out the item
* Press 'X' to close. Item will be returned to you if it's still in the UI
Notes:
* If you hold a pet summoning item in your cursor and press the hotkey, the item will be automatically placed in the UI
* If you leave the UI with the item in it open and close the game, it will appear again next time you play
Demonstration:


Chat Command
How to use:
* Either open your chat (default: 'Enter'), then left click on a summon item (so it sticks to your cursor), or hold an item in your cursor and then open your chat
* The chat will then say '/renamepet ', the following words you type in will be accepted as the new pet name
* To remove the name, simply type 'reset' as the name (yes, you can name your pet 'reset' aswell, but only if it doesn't have a name currently)
Example:
'/renamepet Mr. Bones' >> sets or renames the name of the pet item you are holding to 'Mr. Bones'
'/renamepet reset' >> deletes the current name
Demonstration:
Final notes:
* It will also save the name of the player that gave the pet its last nickname
* Pet names will be saved on the item, even when disabling the mod and enabling it again
* Multiplayer compatible
* Compatible with most modded pets if they do it the vanilla way:
* If a summon item happens to summon multiple different pets at once, only one of them will be named
* If the pet name hover text only shows up in a specific position, contact that other mods dev so he can fix the pets hitbox
Credits:
* jopojelly for UI
* darthmorf for UI help
Localization:
If you want to add support for different languages, you are welcome to contribute localizations here: Github
List of localization contributors:
* None!
Source code: Github
Last edited: