Project Zomboid

Project Zomboid

25 ratings
Rename Weapon Mod
 
Rate  
Favorite
Favorited
Unfavorite
Mod: Mod
File Size
Posted
Updated
0.327 MB
Jan 19, 2017 @ 11:46pm
Jan 20, 2017 @ 12:01am
2 Change Notes ( view )

Subscribe to download
Rename Weapon Mod

Subscribed
Unsubscribe
Description
Enable renaming weapons in inventory context menu, just like bags. Go forth and give that hammer you've been swinging around in the Exclusion Zone for 2 months a special name ;)

I expect renamed items should continue to work fine for recipes, as the display name is what's being changed, not the underlying ID.

Bit of a disclaimer:
- I've not personally tested in multiplayer, either hosted or joined, but it's been commented that it works, however.
- I've not personally tested with renaming weapons from mods, but that's also been commented to work. I expected it would, it operates against hand weapon items after all.


Credit / References:
- Indie Stone, of course. Basically, I've adapted relevant bits of the base ISInventoryPaneContextMenu.lua.
- I referred a bit to [Creating Inventory Context Menus] tutorial http://pz-mods.net/guide/how-to-create-inventory-context-menus/
and [Giving custom options to items when you right click them] TIS forum thread https://theindiestone.com/forums/index.php?/topic/16624-giving-custom-options-to-items-when-you-right-click-them/.


TIS Forum thread: https://theindiestone.com/forums/index.php?/topic/21682-rename-weapon-modlua-script/

-------------------------------
Workshop ID: 846122214
Mod ID: RenameWeapon
< >
15 Comments
caninmyham Oct 29, 2017 @ 12:18pm 
Alas, Now it is time for my 9 blunt accuracy character to name his hammer..
Mjolnir
RuleZ Jan 27, 2017 @ 11:38am 
"""axe of pussy slayin""" xDDD
Tobben Jan 27, 2017 @ 11:29am 
SAY HELLO TO MY LITTLE FRIEND!
shaggyboomboom Jan 26, 2017 @ 5:38am 
axe of pussy slayin
Frank Jan 23, 2017 @ 6:52pm 
This is hilarious. Nice one!
Thrandisher Jan 23, 2017 @ 3:58pm 
Nice! I used to use Heroic weapons just because it would rename weapons after so many kills, but it seemd i almost always got weapons that didnt wear down, so this is a must for me and my server.
Wayfarer  [author] Jan 23, 2017 @ 12:10am 
Cheers for confirming this works with weapons from other mods @Madman_Andre.

@Jester Bunny, the long hair is from https://theindiestone.com/forums/index.php?/topic/17088-custom-hair-via-character-creation-screendownload-now/
SolarFlare1234 Jan 22, 2017 @ 3:04pm 
"Axe of the Viking Warlord." Someone's been watching Robbaz.....
Madman_Andre Jan 22, 2017 @ 1:29am 
@this is shaolin shit I can confirm it works with Weapons from Hydrocraft - I renamed a Katana from HC using this mod. Same goes for OGRM, no issues. :D
Jester Bunny Jan 21, 2017 @ 12:33am 
why your hairs difrrent
i want it