Easy NPC

Easy NPC

2M Downloads

[Feature Request] Levelling Up

Popcornboy333 opened this issue ยท 1 comments

commented

๐Ÿ’ก Check the Wiki and
Feature Request Tracker
before reporting a feature request.
There you can find a lot of useful information and solutions for common problems.

Is your feature request related to a problem? Please describe. ๐Ÿค”
I'd like to make it so you need to level up the npc to unlock new items like you can do with villagers, I tried the wiki but there was nothing that mentioned it, and in-game I tried playing with some of the values in advanced trading but none of them changed anything related to my issue

Describe the solution you'd like ๐Ÿ’ญ
I'd like there to be a similar system to how villagers work, giving you basic items at their lowest level, needing you to buy things from them to level them up and unlock better equipment

Describe alternatives you've considered ๐Ÿ”„
I've tried making the items needed for the better equipment harder to find but I'd prefer just using emeralds

commented

Thank you for the feedback; I like the idea.

Currently, this feature is not implemented. Technically, NPCs cannot gain experience to ensure they don't collect XP meant for players.

However, the progression system for Villagers is more of a custom implementation. Here's how it works: trades are defined for each profession and level of the villager. Depending on the profession and level, you get specific trades.

Implementing this would require the following steps:

  • Adding configurable levels and experience to the NPCs.
  • Creating custom trading data with level requirements.
  • Building the corresponding trading screens.

Technically, this is feasible and doable, but it will take some time to implement all the necessary steps.