Jump to content
Narrnika

Erroneous reduction boredomlevel

Recommended Posts

Demonstration in vanilla game:
 

While indoors, start reading the wrong skillbook (less or greater than your current level). The character will say "I don't understand..." or "I already know that...", after which the level of boredom will decrease by 5 points.


 

The error appears due to the use of the function `Say` in client/TimedActions/ISReadABook.lua:

37: self.character:Say(getText("IGUI_PlayerText_DontGet"));
39: self.character:Say(getText("IGUI_PlayerText_TooComplicated"));
41: self.character:Say(getText("IGUI_PlayerText_DontUnderstand"));
53: self.character:Say(getText("IGUI_PlayerText_KnowSkill"));
55: self.character:Say(getText("IGUI_PlayerText_BookObsolete"));

 

Testing this function with additional parameters (in debug console):

Player = getSpecificPlayer(0)
Player:Say("Test") -- BoredomLevel -5
Player:Say("Test", 1.0, 1.0, 1.0, UIFont.Dialogue, 30.0F, "default") -- BoredomLevel -5
Player:Say("Test", 1.0, 1.0, 1.0, UIFont.Dialogue, 30.0F, "whisper") -- no effect
Player:Say("Test", 1.0, 1.0, 1.0, UIFont.Dialogue, 30.0F, "shout") -- BoredomLevel -5
Player:Say("Test", 1.0, 1.0, 1.0, UIFont.Dialogue, 30.0F, "radio") -- no effect

 

The boredom reduction was probably intended for talking to NPCs, but when "talking" to oneself, it looks like a bug. At the same time, it seems rather strange that this happens only indoors - outdoors, boredom changes as usual.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...