Module:Inventory slot: Difference between revisions
m 1 revision imported: Bunch of templates and modules for testing crafting UI |
m Set all links to disable on inventory slot |
||
Line 164: | Line 164: | ||
if link == '' then | if link == '' then | ||
if mod then | if mod then | ||
link = | link = nil | ||
else | else | ||
-- Strip the “Damaged” prefix out | -- Strip the “Damaged” prefix out | ||
link = | link = nil | ||
end | end | ||
elseif link:lower() == 'none' then | elseif link:lower() == 'none' then |