feat: 15.13 npc module protocol and update NPC Lua scripts#3982
feat: 15.13 npc module protocol and update NPC Lua scripts#3982dudantas wants to merge 3 commits into
Conversation
|
Important Review skippedToo many files! This PR contains 300 files, which is 150 over the limit of 150. To get a review, narrow the scope: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (300)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request configures the profession and speechBubble properties for a large number of NPCs, and updates npcHandler:resetNpc calls to include the npc argument. The review feedback correctly identifies several NPCs that have been assigned incorrect professions and speech bubbles (such as setting animals, interactive objects, and non-banker merchants to "banker", "sailor", or "trader" instead of "normal" or "trader"). These configurations should be corrected to match the actual roles of the NPCs in the game.
Apply bulk updates to NPC scripts under data-otservbr-global/npc. Numerous .lua files were modified to synchronize NPC behavior and data (bug fixes, behavior tweaks, dialogue/localization improvements, and formatting/consistency changes). This is a broad maintenance commit touching many NPC definitions.
3e66fc6 to
5496d41
Compare
|
|
@dudantas How to test this PR? |
This is the new NPC window; it's literally just for testing trading NPCs, etc. |
|
@dudantas Can you make the client available? I couldn't find it to test |
Added download link to the PR description. |



This pull request standardizes NPC configuration in several Lua files by adding explicit
professionandspeechBubbleproperties to each NPC's config. These changes help clarify each NPC's role (such as "normal" or "trader") and ensure consistent behavior for speech bubbles in the game.NPC configuration standardization:
professionproperty tonpcConfig.flagsfor all affected NPCs, specifying either"normal"or"trader"to clarify NPC roles. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]speechBubbleproperty to each NPC config, using eitherSPEECHBUBBLE_NORMALorSPEECHBUBBLE_TRADEto match the NPC's profession and ensure consistent in-game dialogue presentation. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]Client:
dudantas/tibia-client#18