We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a9676 commit ad1e31fCopy full SHA for ad1e31f
necronomicon.lua
@@ -14,7 +14,7 @@ function get_book_interactions(item)
14
15
for _, ref in ipairs (written_content.refs) do
16
if ref._type == df.general_ref_interactionst then
17
- local interaction = df.global.world.raws.interactions[ref.interaction_id]
+ local interaction = df.interaction.find(ref.interaction_id)
18
table.insert(book_interactions, interaction)
19
end
20
@@ -34,7 +34,7 @@ end
34
function get_item_artifact(item)
35
for _, ref in ipairs(item.general_refs) do
36
if ref._type == df.general_ref_is_artifactst then
37
- return df.global.world.artifacts.all[ref.artifact_id]
+ return df.artifact_record.find(ref.artifact_id)
38
39
40
0 commit comments