Merge branch 'master' into 'master'

DOC: Mention that screenSize accounts for GUI Scaling factor and how to work around it.

See merge request OpenMW/openmw!4915
This commit is contained in:
Dave Corley 2025-09-14 19:38:43 +00:00
commit 797d4a8778

View File

@ -1224,6 +1224,14 @@
-- @usage -- Start a new quest, add it to the player's quest list but don't add any journal entries
-- types.Player.quests(player)["ms_fargothring"].stage = 0
-- Adds a topic to the list of ones known by the player, so that is can be used in dialogues
-- @function [parent=#PLAYER] addTopic
-- @param string topicId
-- @usage -- Add topic to the list of known ones, in a player script
-- self.type.addTopic(self, "Some Work")
-- @usage -- Give all players in the current world a specific topic, in a global script
-- for _, player in ipairs(world.players) do player.type.addTopic(player, "Some Unrelated Work") end
---
-- Returns @{#PlayerJournal}, which contains the read-only access to journal text data accumulated by the player.
-- Not the same as @{openmw_core#Dialogue.journal} which holds raw game records: with placeholders for dynamic variables and no player-specific info.