Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:GetGivenRewardsData

From RoR Wiki
Revision as of 19:43, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Game functions
Version: WAR 1.4.8

Returns the rewards that the open quest dialog gives without a choice.

rewards = GetGivenRewardsData()

Arguments

None.

Returns

rewards
table – Array of item data tables, indexed from 1. Empty if there are no fixed item rewards.

Details

  • If the Lua state is not available, the function returns nothing.

Errors

None.

Example

From ea_interactionwindow/source/interactionquestwindow.lua:

EA_Window_InteractionQuest.choiceRewardsData = GetChoiceRewardsData()
EA_Window_InteractionQuest.givenRewardsData  = GetGivenRewardsData()

See also