diff options
author | Wuzzy <almikes@aol.com> | 2016-08-05 02:55:51 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-05 02:55:51 +0200 |
commit | e77ebe16d2b39eaf03f2a641c2a1e472e423a20c (patch) | |
tree | 5eea92928868ef07f50a948ea0653f4dba1af719 /init.lua | |
parent | 0dcfcba9269f5eec9d59c7b2877f35cc0a4aca7f (diff) |
Make pointalbe factoid clearer
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |