Narrnika Posted September 21, 2020 Share Posted September 21, 2020 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. Faalagorn 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now