summaryrefslogtreecommitdiff
path: root/nodes_straw.lua
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2015-07-27 17:51:58 +0200
committerSokomine <wegwerf@anarres.dyndns.org>2015-07-27 17:51:58 +0200
commit9d5db547f09bc568d095296c4885c78e8c7c56d4 (patch)
tree35c0c88cef86102b4405bdcf6d298286001de0f5 /nodes_straw.lua
parent2d05ae5b7d76128f423b05e36ba9171c9769d937 (diff)
took care of unregistered-globals-warnings
Diffstat (limited to 'nodes_straw.lua')
-rw-r--r--nodes_straw.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/nodes_straw.lua b/nodes_straw.lua
index 3eac6b6..10848a2 100644
--- a/nodes_straw.lua
+++ b/nodes_straw.lua
@@ -4,13 +4,7 @@
-- * straw mat - for animals and very poor NPC; also basis for other straw things
-- * straw bale - well, just a good source for building and decoration
--- Boilerplate to support localized strings if intllib mod is installed.
-local S
-if intllib then
- S = intllib.Getter()
-else
- S = function(s) return s end
-end
+local S = cottages.S
-- an even simpler from of bed - usually for animals
-- it is a nodebox and not wallmounted because that makes it easier to replace beds with straw mats