diff options
author | Wuzzy <almikes@aol.com> | 2016-08-29 11:48:16 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-29 11:48:16 +0200 |
commit | a961539931e1cfa84c0ea9d3151b7a8057028b41 (patch) | |
tree | 1539441dd02da360b30d068ded6dea79cd955056 | |
parent | 5b680134d4e86dc1ee084f91f507fc0d4d2b3001 (diff) |
Just hide not_in_creative_inventory items
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -892,7 +892,7 @@ local function gather_descs() else name = def.description end - if not (name == nil or name == "" or def.groups.not_in_doc or def.groups.not_in_creative_inventory or forced_items[id] == false) or forced then + if not (name == nil or name == "" or def.groups.not_in_doc or forced_items[id] == false) or forced then if help.longdesc[id] ~= nil then ld = help.longdesc[id] end @@ -902,7 +902,7 @@ local function gather_descs() if help.image[id] ~= nil then im = help.image[id] end - local hide = false + local hide = def.groups.not_in_creative_inventory == 1 local custom_image name = scrub_newlines(name) local infotable = { |