Module:GameData: Difference between revisions

Jump to navigation Jump to search
Vergir (talk | contribs)
Add get_prop: unified property lookup across abilities, heroes, and items (with help from vergir-bot LLM)
Vergir (talk | contribs)
Return visible error message when entity/property not found in get_prop (with help from vergir-bot LLM)
Line 181: Line 181:
     end
     end


     return ""
     return '<span style="color:red;">Prop not found: ' .. name .. ' | ' .. prop .. '</span>'
end
end


return p
return p