Module:Inventory: Difference between revisions
Jump to navigation
Jump to search
(support 'piercing' PV arrow in inventory list) |
(Support ID Aliases in inventory) |
||
Line 27: | Line 27: | ||
local result = cargo.query('ItemsTable=IT,GeneralData=GD,MissileWeaponData=MWD', | local result = cargo.query('ItemsTable=IT,GeneralData=GD,MissileWeaponData=MWD', | ||
'PlainName,Vibro,MaxPV,BasePV,Damage,PenetratingAmmo,GD.JoinKey=Page', | 'PlainName,Vibro,MaxPV,BasePV,Damage,PenetratingAmmo,GD.JoinKey=Page', | ||
{ where='(GD._pageNamespace="0" OR GD._pageNamespace="10002") AND GD.ObjectID="' .. objname .. '"', | { where='(GD._pageNamespace="0" OR GD._pageNamespace="10002") AND (GD.ObjectID="' .. objname .. '" OR GD.IDAliases HOLDS "' .. objname .. '")', | ||
default='0', | default='0', | ||
limit='1', | limit='1', |