Rename Weapon Mod (B41 compatible)
О материале
«Rename Weapon Mod (B41 compatible)» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
UPDATE January 2022. Does work in Build 41 (41.65). I think there is potential for mod conflicts. I've played with a few mods on, and the rename menu option stopped displaying. Others have commented that the radial menu to interact with firearms stops functioning properly for renamed ones. My guess would be if weird stuff like that happens, it could be related to having other mods active.
Might need some more tweaks. There appears to be a few more item types now, e.g. I think Baseball Bat is "sporting" or something, so I'd not be too surprised if renaming is impacted.
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
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.