shudnal / ExtraSlots

Valheim mod. Extra inventory slots dedicated to certain item types.
The Unlicense
0 stars 0 forks source link

Unique utility item settings don't work for Jewelcrafting Rings #6

Closed frivolour closed 3 hours ago

frivolour commented 3 hours ago

Hi, I'm trying to set Jewelcrafting rings and Wizardry rings to be mutual exclusive, such that you can only equip one at a time. I have added the following to my unique utility items config:

$ring_blackforest_TW:$jc_ring_red

However, I can still equip the two rings simultaneously. This made me thing I was getting the names wrong, but looking at your code it seems that you are using m_name. I checked the m_name of both items using wackydb_save_item and those are indeed their m_names.

I have been able to successfully get Wizardry rings to be mutually exclusive, e.g

$ring_blackforest_TW:$ring_plains_TW:$ring_mountain_TW

But for Jewelcrafting rings I've had no luck. Not sure if I'm missing something?

frivolour commented 3 hours ago

Ah, turns out in the Jewelcrafting config I had rings set to use a dedicated ring slot instead of the utility slot. Set them to use the utility slot and the unique items list works like a charm.

Great mod by the way! I've had this ring conflict for ages using different slot mods and now it finally works!

shudnal commented 2 hours ago

Glad you've figured it out!