Dear imthenewguy,
First of all, thank you for the great ItemPerksLegendaryItems plugin – it adds a fantastic layer of depth to the game, and my players absolutely love hunting for legendary gear.
I’m currently trying to set up legendary item drops from NPCs that are spawned by the BetterNpc plugin, and I want to configure different loot tables for each monument individually.
Here’s my setup:
I use BetterNpc to spawn custom NPCs at monuments (without using NpcSpawn presets – I define the NPC configuration directly inside each monument’s JSON file).
Inside the NpcConfig of each monument, I have a LootTable section with ItemsTable where I define custom loot.
My goal is to have certain legendary items drop only from specific monuments (e.g., AK-47 legendary drops only from Launch Site NPCs, while a medical legendary drops only from Outpost NPCs, etc.).
I have a few questions:
How can I make legendary items drop from BetterNpc NPCs?
Do I simply add the legendary item’s Shortname and Skin to the Items array in the monument’s LootTable, or is there a special way to integrate with ItemPerksLegendaryItems (e.g., using a specific Shortname format or a hook)?
Can I control legendary drop chances per monument?
For example, can I set a 5% chance for a legendary AK at Launch Site, but only 1% at Airfield? Or is the drop rate controlled globally in the ItemPerksLegendaryItems config?
Does ItemPerksLegendaryItems support per‑source loot tables?
I saw that the plugin supports various loot sources like crate_normal_2, heli_crate, and even NPC prefabs like scientistnpc_heavy. Can I define different legendary drop lists for specific NPC types or specific monument locations? If so, how?
Are there any hooks or API methods that I can call from BetterNpc’s loot system to trigger a legendary roll for a specific NPC?
Is there an example configuration showing how to set up legendary drops from custom NPCs (not from default Rust NPCs or crates)?
I’ve already read the documentation and searched the support threads, but I couldn’t find a clear guide for this specific use case. I’d really appreciate any guidance or best practices you can share.
Thank you for your time and for creating such an awesome plugin!