From e77ebe16d2b39eaf03f2a641c2a1e472e423a20c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 5 Aug 2016 02:55:51 +0200 Subject: Make pointalbe factoid clearer --- init.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 1e14158..3827220 100644 --- a/init.lua +++ b/init.lua @@ -224,14 +224,20 @@ doc.new_category("nodes", { formstring = formstring .. "Liquid viscosity: "..viscos.. "\n" formstring = formstring .. "Renewable liquid: "..yesno(renew).. "\n" end - formstring = formstring .. "Pointable: "..yesno(data.def.pointable).. "\n" - if data.def.liquids_pointable == true then - formstring = formstring .. "When you wield this block, you can point to liquids.\n" + if data.def.pointable == true then + formstring = formstring .. "Pointable: Yes\n" + elseif liquid then + formstring = formstring .. "Pointable: Only by special items\n" + else + formstring = formstring .. "Pointable: No\n" end formstring = formstring .. "\n" -- Global factoids + if data.def.liquids_pointable == true then + formstring = formstring .. "When you wield this block, you can point to liquids.\n" + end if data.def.floodable == true then formstring = formstring .. "Liquids can flow into this block and destroy it.\n" end -- cgit v1.2.3