Fixed GetData() descriptions being unable to alter Modname, Quality and object icons

This commit is contained in:
Wofsauge committed 2022-11-05 17:24:29 +01:00
1 parent d00208df0b
commit 805d57540f
3 files changed
+29 -10

No files matched your search

+4 -1
View File
@@ -199,7 +199,10 @@ local function onDebugRender(t)
local descTable = {
["Name"] = "Some Item with seed ".. v.InitSeed ,
["Description"] = "Test specific description#Init seed: ".. v.InitSeed,
["Transformation"] = "1,2"
["Transformation"] = "1,2",
["ModName"] = "My Mod name",
["Quality"] = 4,
["Icon"] = EID.ObjectIcon["5.100.1"],
}
v:GetData()["EID_Description"] = descTable
end