How to stop a player from equipping 2 of the same Bauble? (Curios API)

Started by Broccoplant on

Topic category: Plugins and third-party tools

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to stop a player from equipping 2 of the same Bauble? (Curios API)

I am making a mod the uses the Curios API. Due to the nature of the effects of the Baubles, equipping 2 of the same Bauble would be bad for game balancing, so I want to restrict the player to only one of each bauble equipped at once. How can I do this? I have not seen any way of doing it by just looking in the engine. Any help is greatly appreciated! Thanks all :thumbsup: