8,756
edits
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
end | end | ||
local result = cargo.query('ItemsTable,GeneralData', | local result = cargo.query('ItemsTable=IT,GeneralData=GD', | ||
'PlainName,Vibro,MaxPV,BasePV,Damage, | 'PlainName,Vibro,MaxPV,BasePV,Damage,GD._pageName=Page', | ||
{ where='(_pageNamespace="0" OR _pageNamespace="10002") AND | { where='(GD._pageNamespace="0" OR GD._pageNamespace="10002") AND GD.ObjectID="' .. objname .. '"', | ||
default='0', | default='0', | ||
limit='1', | limit='1', | ||
join=' | join='GD._pageName=IT._pageName'} ) | ||
if not next(result) then | if not next(result) then |